Class Event
Event is a report of an event somewhere in the cluster.
Inherited Members
Namespace: Pulumi.Kubernetes.Core.V1
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> |
Count
The number of times this event has occurred.
Declaration
public Output<int> Count { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
EventTime
Time when this Event was first observed.
Declaration
public Output<string> EventTime { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
FirstTimestamp
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)
Declaration
public Output<string> FirstTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InvolvedObject
The object that this event is about.
Declaration
public Output<ObjectReference> InvolvedObject { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectReference> |
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> |
LastTimestamp
The time at which the most recent occurrence of this event was recorded.
Declaration
public Output<string> LastTimestamp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Message
A human-readable description of the status of this operation.
Declaration
public Output<string> Message { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Metadata
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
Declaration
public Output<ObjectMeta> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectMeta> |
Reason
This should be a short, machine understandable string that gives the reason for the transition into the object's current status.
Declaration
public Output<string> Reason { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Related
Optional secondary object for more complex actions.
Declaration
public Output<ObjectReference> Related { get; }
Property Value
| Type | Description |
|---|---|
| Output<ObjectReference> |
ReportingComponent
Name of the controller that emitted this Event, e.g. kubernetes.io/kubelet.
Declaration
public Output<string> ReportingComponent { 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> |
Source
The component reporting this event. Should be a short machine understandable string.
Declaration
public Output<EventSource> Source { get; }
Property Value
| Type | Description |
|---|---|
| Output<EventSource> |
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 |