Module events/v1beta1

This page documents the language specification for the kubernetes package. If you're looking for help working with the inputs, outputs, or functions of kubernetes resources in a Pulumi program, please see the resource documentation for examples and API reference.

Resources

Others

Resources

Resource Event

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?: EventArgs, opts?: pulumi.CustomResourceOptions)

Create a 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 an existing Event resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Event

Returns true if the given object is an instance of Event. 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/sig-architecture/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<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/sig-architecture/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<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<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<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<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.

Resource EventList

class EventList extends CustomResource

EventList is a list of Event objects.

constructor

new EventList(name: string, args?: EventListArgs, opts?: pulumi.CustomResourceOptions)

Create a 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 an existing EventList resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is EventList

Returns true if the given object is an instance of EventList. 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/sig-architecture/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<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/sig-architecture/api-conventions.md#types-kinds

property metadata

public metadata: pulumi.Output<ListMeta>;

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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.

Others

interface EventArgs

interface EventArgs

The set of arguments for constructing a Event resource.

property action

action?: pulumi.Input<string>;

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

property apiVersion

apiVersion?: pulumi.Input<"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/sig-architecture/api-conventions.md#resources

property deprecatedCount

deprecatedCount?: pulumi.Input<number>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedFirstTimestamp

deprecatedFirstTimestamp?: pulumi.Input<string>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedLastTimestamp

deprecatedLastTimestamp?: pulumi.Input<string>;

Deprecated field assuring backward compatibility with core.v1 Event type

property deprecatedSource

deprecatedSource?: pulumi.Input<EventSource>;

Deprecated field assuring backward compatibility with core.v1 Event type

property eventTime

eventTime: pulumi.Input<string>;

Required. Time when this Event was first observed.

property kind

kind?: pulumi.Input<"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/sig-architecture/api-conventions.md#types-kinds

property metadata

metadata?: pulumi.Input<ObjectMeta>;

property note

note?: pulumi.Input<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

reason?: pulumi.Input<string>;

Why the action was taken.

property regarding

regarding?: pulumi.Input<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.

related?: pulumi.Input<ObjectReference>;

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

property reportingController

reportingController?: pulumi.Input<string>;

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

property reportingInstance

reportingInstance?: pulumi.Input<string>;

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

property series

series?: pulumi.Input<EventSeries>;

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

property type

type?: pulumi.Input<string>;

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

interface EventListArgs

interface EventListArgs

The set of arguments for constructing a EventList resource.

property apiVersion

apiVersion?: pulumi.Input<"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/sig-architecture/api-conventions.md#resources

property items

items: pulumi.Input<pulumi.Input<Event>[]>;

Items is a list of schema objects.

property kind

kind?: pulumi.Input<"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/sig-architecture/api-conventions.md#types-kinds

property metadata

metadata?: pulumi.Input<ListMeta>;

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