Module autoscaling/v2beta1

Resources

Resources

Resource HorizontalPodAutoscaler

class HorizontalPodAutoscaler extends CustomResource

HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.

constructor

new HorizontalPodAutoscaler(name: string, args?: inputs.autoscaling.v2beta1.HorizontalPodAutoscaler, opts?: pulumi.CustomResourceOptions)

Create a autoscaling.v2beta1.HorizontalPodAutoscaler 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): HorizontalPodAutoscaler

Get the state of an existing HorizontalPodAutoscaler 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 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/v2beta1">;

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<outputs.meta.v1.ObjectMeta>;

metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

property spec

public spec: pulumi.Output<outputs.autoscaling.v2beta1.HorizontalPodAutoscalerSpec>;

spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.

property status

public status: pulumi.Output<outputs.autoscaling.v2beta1.HorizontalPodAutoscalerStatus>;

status is the 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 CustomResource

HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

constructor

new HorizontalPodAutoscalerList(name: string, args?: inputs.autoscaling.v2beta1.HorizontalPodAutoscalerList, opts?: pulumi.CustomResourceOptions)

Create a autoscaling.v2beta1.HorizontalPodAutoscalerList 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): HorizontalPodAutoscalerList

Get the state of an existing HorizontalPodAutoscalerList 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 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/v2beta1">;

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<outputs.autoscaling.v2beta1.HorizontalPodAutoscaler[]>;

items is the 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<outputs.meta.v1.ListMeta>;

metadata is the 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.