Show / Hide Table of Contents

Class Event

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

Inheritance
System.Object
Resource
CustomResource
KubernetesResource
Event
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Events.V1Beta1
Assembly: Pulumi.Kubernetes.dll
Syntax
public class Event : KubernetesResource

Constructors

View Source

Event(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 Source

Action

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

Declaration
public Output<string> Action { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

DeprecatedCount

Deprecated field assuring backward compatibility with core.v1 Event type

Declaration
public Output<int> DeprecatedCount { get; }
Property Value
Type Description
Output<System.Int32>
View Source

DeprecatedFirstTimestamp

Deprecated field assuring backward compatibility with core.v1 Event type

Declaration
public Output<string> DeprecatedFirstTimestamp { get; }
Property Value
Type Description
Output<System.String>
View Source

DeprecatedLastTimestamp

Deprecated field assuring backward compatibility with core.v1 Event type

Declaration
public Output<string> DeprecatedLastTimestamp { get; }
Property Value
Type Description
Output<System.String>
View Source

DeprecatedSource

Deprecated field assuring backward compatibility with core.v1 Event type

Declaration
public Output<EventSource> DeprecatedSource { get; }
Property Value
Type Description
Output<EventSource>
View Source

EventTime

Required. Time when this Event was first observed.

Declaration
public Output<string> EventTime { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

Metadata

Declaration
public Output<ObjectMeta> Metadata { get; }
Property Value
Type Description
Output<ObjectMeta>
View Source

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>
View Source

Reason

Why the action was taken.

Declaration
public Output<string> Reason { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

ReportingInstance

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

Declaration
public Output<string> ReportingInstance { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.