import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Patch resources are used to modify existing Kubernetes resources by using * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. * Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data. */ export declare class EventPatch extends pulumi.CustomResource { /** * Get an existing EventPatch resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): EventPatch; /** * Returns true if the given object is an instance of EventPatch. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EventPatch; /** * action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. */ readonly action: pulumi.Output; /** * 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 */ readonly apiVersion: pulumi.Output<"events.k8s.io/v1">; /** * deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. */ readonly deprecatedCount: pulumi.Output; /** * deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. */ readonly deprecatedFirstTimestamp: pulumi.Output; /** * deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. */ readonly deprecatedLastTimestamp: pulumi.Output; /** * deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type. */ readonly deprecatedSource: pulumi.Output; /** * eventTime is the time when this Event was first observed. It is required. */ readonly eventTime: pulumi.Output; /** * 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 */ readonly kind: pulumi.Output<"Event">; /** * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata */ readonly metadata: pulumi.Output; /** * note is 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. */ readonly note: pulumi.Output; /** * reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. */ readonly reason: pulumi.Output; /** * regarding contains 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. */ readonly regarding: pulumi.Output; /** * related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object. */ readonly related: pulumi.Output; /** * reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. */ readonly reportingController: pulumi.Output; /** * reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. */ readonly reportingInstance: pulumi.Output; /** * series is data about the Event series this event represents or nil if it's a singleton Event. */ readonly series: pulumi.Output; /** * type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. */ readonly type: pulumi.Output; /** * Create a EventPatch resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: EventPatchArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a EventPatch resource. */ export interface EventPatchArgs { /** * action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters. */ action?: pulumi.Input; /** * 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 */ apiVersion?: pulumi.Input<"events.k8s.io/v1">; /** * deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. */ deprecatedCount?: pulumi.Input; /** * deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. */ deprecatedFirstTimestamp?: pulumi.Input; /** * deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. */ deprecatedLastTimestamp?: pulumi.Input; /** * deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type. */ deprecatedSource?: pulumi.Input; /** * eventTime is the time when this Event was first observed. It is required. */ eventTime?: pulumi.Input; /** * 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 */ kind?: pulumi.Input<"Event">; /** * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata */ metadata?: pulumi.Input; /** * note is 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. */ note?: pulumi.Input; /** * reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters. */ reason?: pulumi.Input; /** * regarding contains 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. */ regarding?: pulumi.Input; /** * related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object. */ related?: pulumi.Input; /** * reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. This field cannot be empty for new Events. */ reportingController?: pulumi.Input; /** * reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. This field cannot be empty for new Events and it can have at most 128 characters. */ reportingInstance?: pulumi.Input; /** * series is data about the Event series this event represents or nil if it's a singleton Event. */ series?: pulumi.Input; /** * type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events. */ type?: pulumi.Input; }