Module meta/v1



Resource Status

class Status extends CustomResource

Status is a return value for calls that don’t return other objects.


new Status(name: string, args?: inputs.meta.v1.Status, opts?: pulumi.CustomResourceOptions)

Create a meta.v1.Status resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Status

Get the state of an existing Status resource, as identified by id. The ID is of the form [namespace]/&lt;name&gt;; if namespace is omitted, then (per Kubernetes convention) the ID becomes default/&lt;name&gt;.

Pulumi will keep track of this resource using name as the Pulumi ID.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): boolean

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

property code

public code: pulumi.Output<number>;

Suggested HTTP return code for this status, 0 if not set.

property details

public details: pulumi.Output<outputs.meta.v1.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:

property message

public message: pulumi.Output<string>;

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

property metadata

public metadata: pulumi.Output<outputs.meta.v1.ListMeta>;

Standard list metadata. More info:

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:

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.