Class Event
Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.
Inherited Members
Namespace: Pulumi.Kubernetes.Events.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class Event : KubernetesResource
Constructors
View SourceEvent(String, EventArgs, CustomResourceOptions)
Create a Event resource with the given unique name, arguments, and options.
Declaration
public Event(string name, EventArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| EventArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAction
What action was taken/failed regarding to the regarding object.
Declaration
public Output<string> Action { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ApiVersion
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
Declaration
public Output<string> ApiVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeprecatedCount
Deprecated field assuring backward compatibility with core.v1 Event type
Declaration
public Output<int> DeprecatedCount { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
DeprecatedFirstTimestamp
Deprecated field assuring backward compatibility with core.v1 Event type
Declaration
public Output<string> DeprecatedFirstTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeprecatedLastTimestamp
Deprecated field assuring backward compatibility with core.v1 Event type
Declaration
public Output<string> DeprecatedLastTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeprecatedSource
Deprecated field assuring backward compatibility with core.v1 Event type
Declaration
public Output<EventSource> DeprecatedSource { get; }
Property Value
| Type | Description |
|---|---|
| Output<EventSource> |
EventTime
Required. Time when this Event was first observed.
Declaration
public Output<string> EventTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Kind
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
Declaration
public Output<string> Kind { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Metadata
Declaration
public Output<ObjectMeta> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectMeta> |
Note
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.
Declaration
public Output<string> Note { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Reason
Why the action was taken.
Declaration
public Output<string> Reason { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Regarding
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.
Declaration
public Output<ObjectReference> Regarding { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectReference> |
Related
Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
Declaration
public Output<ObjectReference> Related { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectReference> |
ReportingController
Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.
Declaration
public Output<string> ReportingController { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ReportingInstance
ID of the controller instance, e.g. kubelet-xyzf.
Declaration
public Output<string> ReportingInstance { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Series
Data about the Event series this event represents or nil if it's a singleton Event.
Declaration
public Output<EventSeries> Series { get; }
Property Value
| Type | Description |
|---|---|
| Output<EventSeries> |
Type
Type of this event (Normal, Warning), new types could be added in the future.
Declaration
public Output<string> Type { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, CustomResourceOptions)
Get an existing Event resource's state with the given name and ID.
Declaration
public static Event Get(string name, Input<string> id, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Event |