Show / Hide Table of Contents

Class Event

Event is a report of an event somewhere in the cluster.

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.Core.V1
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

Count

The number of times this event has occurred.

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

EventTime

Time when this Event was first observed.

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

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

InvolvedObject

The object that this event is about.

Declaration
public Output<ObjectReference> InvolvedObject { get; }
Property Value
Type Description
Output<ObjectReference>
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

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

Message

A human-readable description of the status of this operation.

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

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

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

Related

Optional secondary object for more complex actions.

Declaration
public Output<ObjectReference> Related { get; }
Property Value
Type Description
Output<ObjectReference>
View Source

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

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>
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.