Module coordination/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 Lease
class Lease extends CustomResourceLease defines a lease concept.
constructor
new Lease(name: string, args?: LeaseArgs, opts?: pulumi.CustomResourceOptions)Create a Lease 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): LeaseGet an existing Lease 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 LeaseReturns true if the given object is an instance of Lease. 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<"coordination.k8s.io/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 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<"Lease">;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 metadata
public metadata: pulumi.Output<ObjectMeta>;More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
public spec: pulumi.Output<LeaseSpec>;Specification of the Lease. 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.
Resource LeaseList
class LeaseList extends CustomResourceLeaseList is a list of Lease objects.
constructor
new LeaseList(name: string, args?: LeaseListArgs, opts?: pulumi.CustomResourceOptions)Create a LeaseList 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): LeaseListGet an existing LeaseList 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 LeaseListReturns true if the given object is an instance of LeaseList. 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<"coordination.k8s.io/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 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 items
public items: pulumi.Output<Lease[]>;Items is a list of schema objects.
property kind
public kind: pulumi.Output<"LeaseList">;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 metadata
public metadata: pulumi.Output<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface LeaseArgs
interface LeaseArgsThe set of arguments for constructing a Lease resource.
property apiVersion
apiVersion?: pulumi.Input<"coordination.k8s.io/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 kind
kind?: pulumi.Input<"Lease">;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 metadata
metadata?: pulumi.Input<ObjectMeta>;More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
spec?: pulumi.Input<LeaseSpec>;Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
interface LeaseListArgs
interface LeaseListArgsThe set of arguments for constructing a LeaseList resource.
property apiVersion
apiVersion?: pulumi.Input<"coordination.k8s.io/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 items
items: pulumi.Input<pulumi.Input<Lease>[]>;Items is a list of schema objects.
property kind
kind?: pulumi.Input<"LeaseList">;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 metadata
metadata?: pulumi.Input<ListMeta>;Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata