Module events/v1beta1

@pulumi/kubernetes > events > v1beta1

class Event

extends CustomResource

Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.

constructor

new Event(name: string, args?: inputApi.events.v1beta1.Event, opts?: pulumi.CustomResourceOptions)

Create a events.v1beta1.Event resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Event

Get the state of an existing Event resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.events.v1beta1.Event

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property action

public action: pulumi.Output<string>;

What action was taken/failed regarding to the regarding object.

property apiVersion

public apiVersion: pulumi.Output<"events.k8s.io/v1beta1">;

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/api-conventions.md#resources

property deprecatedCount

public deprecatedCount: pulumi.Output<number>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedFirstTimestamp

public deprecatedFirstTimestamp: pulumi.Output<string>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedLastTimestamp

public deprecatedLastTimestamp: pulumi.Output<string>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedSource

public deprecatedSource: pulumi.Output<outputApi.core.v1.EventSource>;

Deprecated field assuring backward compatibility with core.v1 Event type

property eventTime

public eventTime: pulumi.Output<string>;

Required. Time when this Event was first observed.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kind

public kind: pulumi.Output<"Event">;

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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ObjectMeta>;

property note

public note: pulumi.Output<string>;

Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.

property reason

public reason: pulumi.Output<string>;

Why the action was taken.

property regarding

public regarding: pulumi.Output<outputApi.core.v1.ObjectReference>;

The object this Event is about. In most cases it’s an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.

public related: pulumi.Output<outputApi.core.v1.ObjectReference>;

Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

property reportingController

public reportingController: pulumi.Output<string>;

Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.

property reportingInstance

public reportingInstance: pulumi.Output<string>;

ID of the controller instance, e.g. kubelet-xyzf.

property series

public series: pulumi.Output<outputApi.events.v1beta1.EventSeries>;

Data about the Event series this event represents or nil if it’s a singleton Event.

property type

public type: pulumi.Output<string>;

Type of this event (Normal, Warning), new types could be added in the future.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class EventList

extends CustomResource

EventList is a list of Event objects.

constructor

new EventList(name: string, args?: inputApi.events.v1beta1.EventList, opts?: pulumi.CustomResourceOptions)

Create a events.v1beta1.EventList resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): EventList

Get the state of an existing EventList resource, as identified by id. Typically this ID is of the form /; if is omitted, then (per Kubernetes convention) the ID becomes default/.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getInputs

public getInputs(): inputApi.events.v1beta1.EventList

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiVersion

public apiVersion: pulumi.Output<"events.k8s.io/v1beta1">;

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/api-conventions.md#resources

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property items

public items: pulumi.Output<outputApi.events.v1beta1.Event[]>;

Items is a list of schema objects.

property kind

public kind: pulumi.Output<"EventList">;

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/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<outputApi.meta.v1.ListMeta>;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.