Module meta/v1
This page documents the language specification for the kubernetes package. If you're looking for help working with the inputs, outputs, or functions of kubernetes resources in a Pulumi program, please see the resource documentation for examples and API reference.
Resources
Others
Resources
Resource Status
class Status extends CustomResourceStatus is a return value for calls that don’t return other objects.
constructor
new Status(name: string, args?: StatusArgs, opts?: pulumi.CustomResourceOptions)Create a Status resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): StatusGet an existing Status resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is StatusReturns true if the given object is an instance of Status. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property apiVersion
public apiVersion: pulumi.Output<"v1">;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
property code
public code: pulumi.Output<number>;Suggested HTTP return code for this status, 0 if not set.
property details
public details: pulumi.Output<StatusDetails>;Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property kind
public kind: pulumi.Output<"Status">;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
property message
public message: pulumi.Output<string>;A human-readable description of the status of this operation.
property metadata
public metadata: pulumi.Output<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property reason
public reason: pulumi.Output<string>;A machine-readable description of why this operation is in the “Failure” status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
property status
public status: pulumi.Output<string>;Status of the operation. One of: “Success” or “Failure”. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface StatusArgs
interface StatusArgsThe set of arguments for constructing a Status resource.
property apiVersion
apiVersion?: pulumi.Input<"v1">;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
property code
code?: pulumi.Input<number>;Suggested HTTP return code for this status, 0 if not set.
property details
details?: pulumi.Input<StatusDetails>;Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
property kind
kind?: pulumi.Input<"Status">;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
property message
message?: pulumi.Input<string>;A human-readable description of the status of this operation.
property metadata
metadata?: pulumi.Input<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
property reason
reason?: pulumi.Input<string>;A machine-readable description of why this operation is in the “Failure” status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.