Module autoscaling/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 HorizontalPodAutoscaler
class HorizontalPodAutoscaler extends CustomResourceconfiguration of a horizontal pod autoscaler.
constructor
new HorizontalPodAutoscaler(name: string, args?: HorizontalPodAutoscalerArgs, opts?: pulumi.CustomResourceOptions)Create a HorizontalPodAutoscaler 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): HorizontalPodAutoscalerGet an existing HorizontalPodAutoscaler 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 HorizontalPodAutoscalerReturns true if the given object is an instance of HorizontalPodAutoscaler. 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<"autoscaling/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<"HorizontalPodAutoscaler">;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>;Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
public spec: pulumi.Output<HorizontalPodAutoscalerSpec>;behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
property status
public status: pulumi.Output<HorizontalPodAutoscalerStatus>;current information about the autoscaler.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource HorizontalPodAutoscalerList
class HorizontalPodAutoscalerList extends CustomResourcelist of horizontal pod autoscaler objects.
constructor
new HorizontalPodAutoscalerList(name: string, args?: HorizontalPodAutoscalerListArgs, opts?: pulumi.CustomResourceOptions)Create a HorizontalPodAutoscalerList 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): HorizontalPodAutoscalerListGet an existing HorizontalPodAutoscalerList 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 HorizontalPodAutoscalerListReturns true if the given object is an instance of HorizontalPodAutoscalerList. 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<"autoscaling/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<HorizontalPodAutoscaler[]>;list of horizontal pod autoscaler objects.
property kind
public kind: pulumi.Output<"HorizontalPodAutoscalerList">;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.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface HorizontalPodAutoscalerArgs
interface HorizontalPodAutoscalerArgsThe set of arguments for constructing a HorizontalPodAutoscaler resource.
property apiVersion
apiVersion?: pulumi.Input<"autoscaling/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<"HorizontalPodAutoscaler">;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>;Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
property spec
spec?: pulumi.Input<HorizontalPodAutoscalerSpec>;behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
interface HorizontalPodAutoscalerListArgs
interface HorizontalPodAutoscalerListArgsThe set of arguments for constructing a HorizontalPodAutoscalerList resource.
property apiVersion
apiVersion?: pulumi.Input<"autoscaling/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<HorizontalPodAutoscaler>[]>;list of horizontal pod autoscaler objects.
property kind
kind?: pulumi.Input<"HorizontalPodAutoscalerList">;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.