Class Event


  • public class Event
    extends com.pulumi.resources.CustomResource
    Event is a report of an event somewhere in the cluster. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Constructor Summary

      Constructors 
      Constructor Description
      Event​(java.lang.String name)  
      Event​(java.lang.String name, EventArgs args)  
      Event​(java.lang.String name, EventArgs args, com.pulumi.resources.CustomResourceOptions options)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> action()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> apiVersion()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> count()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> eventTime()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> firstTimestamp()  
      static Event get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<ObjectReference> involvedObject()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> kind()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> lastTimestamp()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> message()  
      com.pulumi.core.Output<ObjectMeta> metadata()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> reason()  
      com.pulumi.core.Output<java.util.Optional<ObjectReference>> related()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> reportingComponent()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> reportingInstance()  
      com.pulumi.core.Output<java.util.Optional<EventSeries>> series()  
      com.pulumi.core.Output<java.util.Optional<EventSource>> source()  
      com.pulumi.core.Output<java.util.Optional<java.lang.String>> type()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Event

        public Event​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • Event

        public Event​(java.lang.String name,
                     EventArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • Event

        public Event​(java.lang.String name,
                     EventArgs args,
                     @Nullable
                     com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • action

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> action()
        Returns:
        What action was taken/failed regarding to the Regarding object.
      • apiVersion

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> apiVersion()
        Returns:
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
      • count

        public com.pulumi.core.Output<java.util.Optional<java.lang.Integer>> count()
        Returns:
        The number of times this event has occurred.
      • eventTime

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> eventTime()
        Returns:
        Time when this Event was first observed.
      • firstTimestamp

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> firstTimestamp()
        Returns:
        The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
      • involvedObject

        public com.pulumi.core.Output<ObjectReference> involvedObject()
        Returns:
        The object that this event is about.
      • kind

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> kind()
        Returns:
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • lastTimestamp

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> lastTimestamp()
        Returns:
        The time at which the most recent occurrence of this event was recorded.
      • message

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> message()
        Returns:
        A human-readable description of the status of this operation.
      • metadata

        public com.pulumi.core.Output<ObjectMeta> metadata()
        Returns:
        Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      • reason

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> reason()
        Returns:
        This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
      • related

        public com.pulumi.core.Output<java.util.Optional<ObjectReference>> related()
        Returns:
        Optional secondary object for more complex actions.
      • reportingComponent

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> reportingComponent()
        Returns:
        Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
      • reportingInstance

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> reportingInstance()
        Returns:
        ID of the controller instance, e.g. `kubelet-xyzf`.
      • series

        public com.pulumi.core.Output<java.util.Optional<EventSeries>> series()
        Returns:
        Data about the Event series this event represents or nil if it's a singleton Event.
      • source

        public com.pulumi.core.Output<java.util.Optional<EventSource>> source()
        Returns:
        The component reporting this event. Should be a short machine understandable string.
      • type

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> type()
        Returns:
        Type of this event (Normal, Warning), new types could be added in the future
      • get

        public static Event get​(java.lang.String name,
                                com.pulumi.core.Output<java.lang.String> id,
                                @Nullable
                                com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        options - Optional settings to control the behavior of the CustomResource.