v2beta1

package
v3.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerResourceMetricSource

type ContainerResourceMetricSource struct {
	// container is the name of the container in the pods of the scaling target
	Container string `pulumi:"container"`
	// name is the name of the resource in question.
	Name string `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization *int `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
}

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

type ContainerResourceMetricSourceArgs

type ContainerResourceMetricSourceArgs struct {
	// container is the name of the container in the pods of the scaling target
	Container pulumi.StringInput `pulumi:"container"`
	// name is the name of the resource in question.
	Name pulumi.StringInput `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization pulumi.IntPtrInput `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
}

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ContainerResourceMetricSourceArgs) ElementType

func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutput

func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput

func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutputWithContext

func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput

func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutput

func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput

func (ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutputWithContext

func (i ContainerResourceMetricSourceArgs) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput

type ContainerResourceMetricSourceInput

type ContainerResourceMetricSourceInput interface {
	pulumi.Input

	ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput
	ToContainerResourceMetricSourceOutputWithContext(context.Context) ContainerResourceMetricSourceOutput
}

ContainerResourceMetricSourceInput is an input type that accepts ContainerResourceMetricSourceArgs and ContainerResourceMetricSourceOutput values. You can construct a concrete instance of `ContainerResourceMetricSourceInput` via:

ContainerResourceMetricSourceArgs{...}

type ContainerResourceMetricSourceOutput

type ContainerResourceMetricSourceOutput struct{ *pulumi.OutputState }

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ContainerResourceMetricSourceOutput) Container

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricSourceOutput) ElementType

func (ContainerResourceMetricSourceOutput) Name

name is the name of the resource in question.

func (ContainerResourceMetricSourceOutput) TargetAverageUtilization

func (o ContainerResourceMetricSourceOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ContainerResourceMetricSourceOutput) TargetAverageValue

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutput

func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutput() ContainerResourceMetricSourceOutput

func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutputWithContext

func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourceOutputWithContext(ctx context.Context) ContainerResourceMetricSourceOutput

func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutput

func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput

func (ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutputWithContext

func (o ContainerResourceMetricSourceOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput

type ContainerResourceMetricSourcePatch added in v3.20.0

type ContainerResourceMetricSourcePatch struct {
	// container is the name of the container in the pods of the scaling target
	Container *string `pulumi:"container"`
	// name is the name of the resource in question.
	Name *string `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization *int `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
}

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

type ContainerResourceMetricSourcePatchArgs added in v3.20.0

type ContainerResourceMetricSourcePatchArgs struct {
	// container is the name of the container in the pods of the scaling target
	Container pulumi.StringPtrInput `pulumi:"container"`
	// name is the name of the resource in question.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization pulumi.IntPtrInput `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
}

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ContainerResourceMetricSourcePatchArgs) ElementType added in v3.20.0

func (ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchOutput added in v3.20.0

func (i ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchOutput() ContainerResourceMetricSourcePatchOutput

func (ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchOutputWithContext added in v3.20.0

func (i ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePatchOutput

func (ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchPtrOutput added in v3.20.0

func (i ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchPtrOutput() ContainerResourceMetricSourcePatchPtrOutput

func (ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (i ContainerResourceMetricSourcePatchArgs) ToContainerResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePatchPtrOutput

type ContainerResourceMetricSourcePatchInput added in v3.20.0

type ContainerResourceMetricSourcePatchInput interface {
	pulumi.Input

	ToContainerResourceMetricSourcePatchOutput() ContainerResourceMetricSourcePatchOutput
	ToContainerResourceMetricSourcePatchOutputWithContext(context.Context) ContainerResourceMetricSourcePatchOutput
}

ContainerResourceMetricSourcePatchInput is an input type that accepts ContainerResourceMetricSourcePatchArgs and ContainerResourceMetricSourcePatchOutput values. You can construct a concrete instance of `ContainerResourceMetricSourcePatchInput` via:

ContainerResourceMetricSourcePatchArgs{...}

type ContainerResourceMetricSourcePatchOutput added in v3.20.0

type ContainerResourceMetricSourcePatchOutput struct{ *pulumi.OutputState }

ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ContainerResourceMetricSourcePatchOutput) Container added in v3.20.0

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricSourcePatchOutput) ElementType added in v3.20.0

func (ContainerResourceMetricSourcePatchOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ContainerResourceMetricSourcePatchOutput) TargetAverageUtilization added in v3.20.0

func (o ContainerResourceMetricSourcePatchOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ContainerResourceMetricSourcePatchOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchOutput added in v3.20.0

func (o ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchOutput() ContainerResourceMetricSourcePatchOutput

func (ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchOutputWithContext added in v3.20.0

func (o ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePatchOutput

func (ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchPtrOutput added in v3.20.0

func (o ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchPtrOutput() ContainerResourceMetricSourcePatchPtrOutput

func (ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ContainerResourceMetricSourcePatchOutput) ToContainerResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePatchPtrOutput

type ContainerResourceMetricSourcePatchPtrInput added in v3.20.0

type ContainerResourceMetricSourcePatchPtrInput interface {
	pulumi.Input

	ToContainerResourceMetricSourcePatchPtrOutput() ContainerResourceMetricSourcePatchPtrOutput
	ToContainerResourceMetricSourcePatchPtrOutputWithContext(context.Context) ContainerResourceMetricSourcePatchPtrOutput
}

ContainerResourceMetricSourcePatchPtrInput is an input type that accepts ContainerResourceMetricSourcePatchArgs, ContainerResourceMetricSourcePatchPtr and ContainerResourceMetricSourcePatchPtrOutput values. You can construct a concrete instance of `ContainerResourceMetricSourcePatchPtrInput` via:

        ContainerResourceMetricSourcePatchArgs{...}

or:

        nil

type ContainerResourceMetricSourcePatchPtrOutput added in v3.20.0

type ContainerResourceMetricSourcePatchPtrOutput struct{ *pulumi.OutputState }

func (ContainerResourceMetricSourcePatchPtrOutput) Container added in v3.20.0

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricSourcePatchPtrOutput) Elem added in v3.20.0

func (ContainerResourceMetricSourcePatchPtrOutput) ElementType added in v3.20.0

func (ContainerResourceMetricSourcePatchPtrOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ContainerResourceMetricSourcePatchPtrOutput) TargetAverageUtilization added in v3.20.0

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ContainerResourceMetricSourcePatchPtrOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ContainerResourceMetricSourcePatchPtrOutput) ToContainerResourceMetricSourcePatchPtrOutput added in v3.20.0

func (o ContainerResourceMetricSourcePatchPtrOutput) ToContainerResourceMetricSourcePatchPtrOutput() ContainerResourceMetricSourcePatchPtrOutput

func (ContainerResourceMetricSourcePatchPtrOutput) ToContainerResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ContainerResourceMetricSourcePatchPtrOutput) ToContainerResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePatchPtrOutput

type ContainerResourceMetricSourcePtrInput

type ContainerResourceMetricSourcePtrInput interface {
	pulumi.Input

	ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput
	ToContainerResourceMetricSourcePtrOutputWithContext(context.Context) ContainerResourceMetricSourcePtrOutput
}

ContainerResourceMetricSourcePtrInput is an input type that accepts ContainerResourceMetricSourceArgs, ContainerResourceMetricSourcePtr and ContainerResourceMetricSourcePtrOutput values. You can construct a concrete instance of `ContainerResourceMetricSourcePtrInput` via:

        ContainerResourceMetricSourceArgs{...}

or:

        nil

type ContainerResourceMetricSourcePtrOutput

type ContainerResourceMetricSourcePtrOutput struct{ *pulumi.OutputState }

func (ContainerResourceMetricSourcePtrOutput) Container

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricSourcePtrOutput) Elem

func (ContainerResourceMetricSourcePtrOutput) ElementType

func (ContainerResourceMetricSourcePtrOutput) Name

name is the name of the resource in question.

func (ContainerResourceMetricSourcePtrOutput) TargetAverageUtilization

func (o ContainerResourceMetricSourcePtrOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ContainerResourceMetricSourcePtrOutput) TargetAverageValue

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutput

func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutput() ContainerResourceMetricSourcePtrOutput

func (ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutputWithContext

func (o ContainerResourceMetricSourcePtrOutput) ToContainerResourceMetricSourcePtrOutputWithContext(ctx context.Context) ContainerResourceMetricSourcePtrOutput

type ContainerResourceMetricStatus

type ContainerResourceMetricStatus struct {
	// container is the name of the container in the pods of the scaling target
	Container string `pulumi:"container"`
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization *int `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue string `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name string `pulumi:"name"`
}

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

type ContainerResourceMetricStatusArgs

type ContainerResourceMetricStatusArgs struct {
	// container is the name of the container in the pods of the scaling target
	Container pulumi.StringInput `pulumi:"container"`
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization pulumi.IntPtrInput `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue pulumi.StringInput `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name pulumi.StringInput `pulumi:"name"`
}

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ContainerResourceMetricStatusArgs) ElementType

func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutput

func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput

func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutputWithContext

func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput

func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutput

func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput

func (ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutputWithContext

func (i ContainerResourceMetricStatusArgs) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput

type ContainerResourceMetricStatusInput

type ContainerResourceMetricStatusInput interface {
	pulumi.Input

	ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput
	ToContainerResourceMetricStatusOutputWithContext(context.Context) ContainerResourceMetricStatusOutput
}

ContainerResourceMetricStatusInput is an input type that accepts ContainerResourceMetricStatusArgs and ContainerResourceMetricStatusOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusInput` via:

ContainerResourceMetricStatusArgs{...}

type ContainerResourceMetricStatusOutput

type ContainerResourceMetricStatusOutput struct{ *pulumi.OutputState }

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ContainerResourceMetricStatusOutput) Container

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricStatusOutput) CurrentAverageUtilization

func (o ContainerResourceMetricStatusOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ContainerResourceMetricStatusOutput) CurrentAverageValue

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ContainerResourceMetricStatusOutput) ElementType

func (ContainerResourceMetricStatusOutput) Name

name is the name of the resource in question.

func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutput

func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutput() ContainerResourceMetricStatusOutput

func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutputWithContext

func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusOutputWithContext(ctx context.Context) ContainerResourceMetricStatusOutput

func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutput

func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput

func (ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutputWithContext

func (o ContainerResourceMetricStatusOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput

type ContainerResourceMetricStatusPatch added in v3.20.0

type ContainerResourceMetricStatusPatch struct {
	// container is the name of the container in the pods of the scaling target
	Container *string `pulumi:"container"`
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization *int `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue *string `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name *string `pulumi:"name"`
}

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

type ContainerResourceMetricStatusPatchArgs added in v3.20.0

type ContainerResourceMetricStatusPatchArgs struct {
	// container is the name of the container in the pods of the scaling target
	Container pulumi.StringPtrInput `pulumi:"container"`
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization pulumi.IntPtrInput `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue pulumi.StringPtrInput `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ContainerResourceMetricStatusPatchArgs) ElementType added in v3.20.0

func (ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchOutput added in v3.20.0

func (i ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchOutput() ContainerResourceMetricStatusPatchOutput

func (ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchOutputWithContext added in v3.20.0

func (i ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPatchOutput

func (ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchPtrOutput added in v3.20.0

func (i ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchPtrOutput() ContainerResourceMetricStatusPatchPtrOutput

func (ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (i ContainerResourceMetricStatusPatchArgs) ToContainerResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPatchPtrOutput

type ContainerResourceMetricStatusPatchInput added in v3.20.0

type ContainerResourceMetricStatusPatchInput interface {
	pulumi.Input

	ToContainerResourceMetricStatusPatchOutput() ContainerResourceMetricStatusPatchOutput
	ToContainerResourceMetricStatusPatchOutputWithContext(context.Context) ContainerResourceMetricStatusPatchOutput
}

ContainerResourceMetricStatusPatchInput is an input type that accepts ContainerResourceMetricStatusPatchArgs and ContainerResourceMetricStatusPatchOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusPatchInput` via:

ContainerResourceMetricStatusPatchArgs{...}

type ContainerResourceMetricStatusPatchOutput added in v3.20.0

type ContainerResourceMetricStatusPatchOutput struct{ *pulumi.OutputState }

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ContainerResourceMetricStatusPatchOutput) Container added in v3.20.0

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricStatusPatchOutput) CurrentAverageUtilization added in v3.20.0

func (o ContainerResourceMetricStatusPatchOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ContainerResourceMetricStatusPatchOutput) CurrentAverageValue added in v3.20.0

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ContainerResourceMetricStatusPatchOutput) ElementType added in v3.20.0

func (ContainerResourceMetricStatusPatchOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchOutput added in v3.20.0

func (o ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchOutput() ContainerResourceMetricStatusPatchOutput

func (ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchOutputWithContext added in v3.20.0

func (o ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPatchOutput

func (ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchPtrOutput added in v3.20.0

func (o ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchPtrOutput() ContainerResourceMetricStatusPatchPtrOutput

func (ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ContainerResourceMetricStatusPatchOutput) ToContainerResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPatchPtrOutput

type ContainerResourceMetricStatusPatchPtrInput added in v3.20.0

type ContainerResourceMetricStatusPatchPtrInput interface {
	pulumi.Input

	ToContainerResourceMetricStatusPatchPtrOutput() ContainerResourceMetricStatusPatchPtrOutput
	ToContainerResourceMetricStatusPatchPtrOutputWithContext(context.Context) ContainerResourceMetricStatusPatchPtrOutput
}

ContainerResourceMetricStatusPatchPtrInput is an input type that accepts ContainerResourceMetricStatusPatchArgs, ContainerResourceMetricStatusPatchPtr and ContainerResourceMetricStatusPatchPtrOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusPatchPtrInput` via:

        ContainerResourceMetricStatusPatchArgs{...}

or:

        nil

type ContainerResourceMetricStatusPatchPtrOutput added in v3.20.0

type ContainerResourceMetricStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ContainerResourceMetricStatusPatchPtrOutput) Container added in v3.20.0

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricStatusPatchPtrOutput) CurrentAverageUtilization added in v3.20.0

func (o ContainerResourceMetricStatusPatchPtrOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ContainerResourceMetricStatusPatchPtrOutput) CurrentAverageValue added in v3.20.0

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ContainerResourceMetricStatusPatchPtrOutput) Elem added in v3.20.0

func (ContainerResourceMetricStatusPatchPtrOutput) ElementType added in v3.20.0

func (ContainerResourceMetricStatusPatchPtrOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ContainerResourceMetricStatusPatchPtrOutput) ToContainerResourceMetricStatusPatchPtrOutput added in v3.20.0

func (o ContainerResourceMetricStatusPatchPtrOutput) ToContainerResourceMetricStatusPatchPtrOutput() ContainerResourceMetricStatusPatchPtrOutput

func (ContainerResourceMetricStatusPatchPtrOutput) ToContainerResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ContainerResourceMetricStatusPatchPtrOutput) ToContainerResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPatchPtrOutput

type ContainerResourceMetricStatusPtrInput

type ContainerResourceMetricStatusPtrInput interface {
	pulumi.Input

	ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput
	ToContainerResourceMetricStatusPtrOutputWithContext(context.Context) ContainerResourceMetricStatusPtrOutput
}

ContainerResourceMetricStatusPtrInput is an input type that accepts ContainerResourceMetricStatusArgs, ContainerResourceMetricStatusPtr and ContainerResourceMetricStatusPtrOutput values. You can construct a concrete instance of `ContainerResourceMetricStatusPtrInput` via:

        ContainerResourceMetricStatusArgs{...}

or:

        nil

type ContainerResourceMetricStatusPtrOutput

type ContainerResourceMetricStatusPtrOutput struct{ *pulumi.OutputState }

func (ContainerResourceMetricStatusPtrOutput) Container

container is the name of the container in the pods of the scaling target

func (ContainerResourceMetricStatusPtrOutput) CurrentAverageUtilization

func (o ContainerResourceMetricStatusPtrOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ContainerResourceMetricStatusPtrOutput) CurrentAverageValue

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ContainerResourceMetricStatusPtrOutput) Elem

func (ContainerResourceMetricStatusPtrOutput) ElementType

func (ContainerResourceMetricStatusPtrOutput) Name

name is the name of the resource in question.

func (ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutput

func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutput() ContainerResourceMetricStatusPtrOutput

func (ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutputWithContext

func (o ContainerResourceMetricStatusPtrOutput) ToContainerResourceMetricStatusPtrOutputWithContext(ctx context.Context) ContainerResourceMetricStatusPtrOutput

type CrossVersionObjectReference

type CrossVersionObjectReference struct {
	// API version of the referent
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind string `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

type CrossVersionObjectReferenceArgs

type CrossVersionObjectReferenceArgs struct {
	// API version of the referent
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind pulumi.StringInput `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name pulumi.StringInput `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferenceArgs) ElementType

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext

func (i CrossVersionObjectReferenceArgs) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferenceInput

type CrossVersionObjectReferenceInput interface {
	pulumi.Input

	ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput
	ToCrossVersionObjectReferenceOutputWithContext(context.Context) CrossVersionObjectReferenceOutput
}

CrossVersionObjectReferenceInput is an input type that accepts CrossVersionObjectReferenceArgs and CrossVersionObjectReferenceOutput values. You can construct a concrete instance of `CrossVersionObjectReferenceInput` via:

CrossVersionObjectReferenceArgs{...}

type CrossVersionObjectReferenceOutput

type CrossVersionObjectReferenceOutput struct{ *pulumi.OutputState }

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferenceOutput) ApiVersion

API version of the referent

func (CrossVersionObjectReferenceOutput) ElementType

func (CrossVersionObjectReferenceOutput) Name

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutput() CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferenceOutputWithContext(ctx context.Context) CrossVersionObjectReferenceOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext

func (o CrossVersionObjectReferenceOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferencePatch added in v3.20.0

type CrossVersionObjectReferencePatch struct {
	// API version of the referent
	ApiVersion *string `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind *string `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name *string `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

type CrossVersionObjectReferencePatchArgs added in v3.20.0

type CrossVersionObjectReferencePatchArgs struct {
	// API version of the referent
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name pulumi.StringPtrInput `pulumi:"name"`
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferencePatchArgs) ElementType added in v3.20.0

func (CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchOutput added in v3.20.0

func (i CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchOutput() CrossVersionObjectReferencePatchOutput

func (CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchOutputWithContext added in v3.20.0

func (i CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchOutputWithContext(ctx context.Context) CrossVersionObjectReferencePatchOutput

func (CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchPtrOutput added in v3.20.0

func (i CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchPtrOutput() CrossVersionObjectReferencePatchPtrOutput

func (CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (i CrossVersionObjectReferencePatchArgs) ToCrossVersionObjectReferencePatchPtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePatchPtrOutput

type CrossVersionObjectReferencePatchInput added in v3.20.0

type CrossVersionObjectReferencePatchInput interface {
	pulumi.Input

	ToCrossVersionObjectReferencePatchOutput() CrossVersionObjectReferencePatchOutput
	ToCrossVersionObjectReferencePatchOutputWithContext(context.Context) CrossVersionObjectReferencePatchOutput
}

CrossVersionObjectReferencePatchInput is an input type that accepts CrossVersionObjectReferencePatchArgs and CrossVersionObjectReferencePatchOutput values. You can construct a concrete instance of `CrossVersionObjectReferencePatchInput` via:

CrossVersionObjectReferencePatchArgs{...}

type CrossVersionObjectReferencePatchOutput added in v3.20.0

type CrossVersionObjectReferencePatchOutput struct{ *pulumi.OutputState }

CrossVersionObjectReference contains enough information to let you identify the referred resource.

func (CrossVersionObjectReferencePatchOutput) ApiVersion added in v3.20.0

API version of the referent

func (CrossVersionObjectReferencePatchOutput) ElementType added in v3.20.0

func (CrossVersionObjectReferencePatchOutput) Kind added in v3.20.0

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

func (CrossVersionObjectReferencePatchOutput) Name added in v3.20.0

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchOutput added in v3.20.0

func (o CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchOutput() CrossVersionObjectReferencePatchOutput

func (CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchOutputWithContext added in v3.20.0

func (o CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchOutputWithContext(ctx context.Context) CrossVersionObjectReferencePatchOutput

func (CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchPtrOutput added in v3.20.0

func (o CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchPtrOutput() CrossVersionObjectReferencePatchPtrOutput

func (CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (o CrossVersionObjectReferencePatchOutput) ToCrossVersionObjectReferencePatchPtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePatchPtrOutput

type CrossVersionObjectReferencePatchPtrInput added in v3.20.0

type CrossVersionObjectReferencePatchPtrInput interface {
	pulumi.Input

	ToCrossVersionObjectReferencePatchPtrOutput() CrossVersionObjectReferencePatchPtrOutput
	ToCrossVersionObjectReferencePatchPtrOutputWithContext(context.Context) CrossVersionObjectReferencePatchPtrOutput
}

CrossVersionObjectReferencePatchPtrInput is an input type that accepts CrossVersionObjectReferencePatchArgs, CrossVersionObjectReferencePatchPtr and CrossVersionObjectReferencePatchPtrOutput values. You can construct a concrete instance of `CrossVersionObjectReferencePatchPtrInput` via:

        CrossVersionObjectReferencePatchArgs{...}

or:

        nil

type CrossVersionObjectReferencePatchPtrOutput added in v3.20.0

type CrossVersionObjectReferencePatchPtrOutput struct{ *pulumi.OutputState }

func (CrossVersionObjectReferencePatchPtrOutput) ApiVersion added in v3.20.0

API version of the referent

func (CrossVersionObjectReferencePatchPtrOutput) Elem added in v3.20.0

func (CrossVersionObjectReferencePatchPtrOutput) ElementType added in v3.20.0

func (CrossVersionObjectReferencePatchPtrOutput) Kind added in v3.20.0

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

func (CrossVersionObjectReferencePatchPtrOutput) Name added in v3.20.0

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferencePatchPtrOutput) ToCrossVersionObjectReferencePatchPtrOutput added in v3.20.0

func (o CrossVersionObjectReferencePatchPtrOutput) ToCrossVersionObjectReferencePatchPtrOutput() CrossVersionObjectReferencePatchPtrOutput

func (CrossVersionObjectReferencePatchPtrOutput) ToCrossVersionObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (o CrossVersionObjectReferencePatchPtrOutput) ToCrossVersionObjectReferencePatchPtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePatchPtrOutput

type CrossVersionObjectReferencePtrInput

type CrossVersionObjectReferencePtrInput interface {
	pulumi.Input

	ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput
	ToCrossVersionObjectReferencePtrOutputWithContext(context.Context) CrossVersionObjectReferencePtrOutput
}

CrossVersionObjectReferencePtrInput is an input type that accepts CrossVersionObjectReferenceArgs, CrossVersionObjectReferencePtr and CrossVersionObjectReferencePtrOutput values. You can construct a concrete instance of `CrossVersionObjectReferencePtrInput` via:

        CrossVersionObjectReferenceArgs{...}

or:

        nil

type CrossVersionObjectReferencePtrOutput

type CrossVersionObjectReferencePtrOutput struct{ *pulumi.OutputState }

func (CrossVersionObjectReferencePtrOutput) ApiVersion

API version of the referent

func (CrossVersionObjectReferencePtrOutput) Elem

func (CrossVersionObjectReferencePtrOutput) ElementType

func (CrossVersionObjectReferencePtrOutput) Name

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput

func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutput() CrossVersionObjectReferencePtrOutput

func (CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext

func (o CrossVersionObjectReferencePtrOutput) ToCrossVersionObjectReferencePtrOutputWithContext(ctx context.Context) CrossVersionObjectReferencePtrOutput

type ExternalMetricSource

type ExternalMetricSource struct {
	// metricName is the name of the metric in question.
	MetricName string `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *metav1.LabelSelector `pulumi:"metricSelector"`
	// targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
	// targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
	TargetValue *string `pulumi:"targetValue"`
}

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

type ExternalMetricSourceArgs

type ExternalMetricSourceArgs struct {
	// metricName is the name of the metric in question.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector metav1.LabelSelectorPtrInput `pulumi:"metricSelector"`
	// targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
	// targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
	TargetValue pulumi.StringPtrInput `pulumi:"targetValue"`
}

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

func (ExternalMetricSourceArgs) ElementType

func (ExternalMetricSourceArgs) ElementType() reflect.Type

func (ExternalMetricSourceArgs) ToExternalMetricSourceOutput

func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutput() ExternalMetricSourceOutput

func (ExternalMetricSourceArgs) ToExternalMetricSourceOutputWithContext

func (i ExternalMetricSourceArgs) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput

func (ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutput

func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput

func (ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutputWithContext

func (i ExternalMetricSourceArgs) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput

type ExternalMetricSourceInput

type ExternalMetricSourceInput interface {
	pulumi.Input

	ToExternalMetricSourceOutput() ExternalMetricSourceOutput
	ToExternalMetricSourceOutputWithContext(context.Context) ExternalMetricSourceOutput
}

ExternalMetricSourceInput is an input type that accepts ExternalMetricSourceArgs and ExternalMetricSourceOutput values. You can construct a concrete instance of `ExternalMetricSourceInput` via:

ExternalMetricSourceArgs{...}

type ExternalMetricSourceOutput

type ExternalMetricSourceOutput struct{ *pulumi.OutputState }

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

func (ExternalMetricSourceOutput) ElementType

func (ExternalMetricSourceOutput) ElementType() reflect.Type

func (ExternalMetricSourceOutput) MetricName

metricName is the name of the metric in question.

func (ExternalMetricSourceOutput) MetricSelector

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricSourceOutput) TargetAverageValue

func (o ExternalMetricSourceOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.

func (ExternalMetricSourceOutput) TargetValue

targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.

func (ExternalMetricSourceOutput) ToExternalMetricSourceOutput

func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutput() ExternalMetricSourceOutput

func (ExternalMetricSourceOutput) ToExternalMetricSourceOutputWithContext

func (o ExternalMetricSourceOutput) ToExternalMetricSourceOutputWithContext(ctx context.Context) ExternalMetricSourceOutput

func (ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutput

func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput

func (ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutputWithContext

func (o ExternalMetricSourceOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput

type ExternalMetricSourcePatch added in v3.20.0

type ExternalMetricSourcePatch struct {
	// metricName is the name of the metric in question.
	MetricName *string `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *metav1.LabelSelectorPatch `pulumi:"metricSelector"`
	// targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
	// targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
	TargetValue *string `pulumi:"targetValue"`
}

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

type ExternalMetricSourcePatchArgs added in v3.20.0

type ExternalMetricSourcePatchArgs struct {
	// metricName is the name of the metric in question.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector metav1.LabelSelectorPatchPtrInput `pulumi:"metricSelector"`
	// targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
	// targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
	TargetValue pulumi.StringPtrInput `pulumi:"targetValue"`
}

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

func (ExternalMetricSourcePatchArgs) ElementType added in v3.20.0

func (ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchOutput added in v3.20.0

func (i ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchOutput() ExternalMetricSourcePatchOutput

func (ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchOutputWithContext added in v3.20.0

func (i ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchOutputWithContext(ctx context.Context) ExternalMetricSourcePatchOutput

func (ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchPtrOutput added in v3.20.0

func (i ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchPtrOutput() ExternalMetricSourcePatchPtrOutput

func (ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (i ExternalMetricSourcePatchArgs) ToExternalMetricSourcePatchPtrOutputWithContext(ctx context.Context) ExternalMetricSourcePatchPtrOutput

type ExternalMetricSourcePatchInput added in v3.20.0

type ExternalMetricSourcePatchInput interface {
	pulumi.Input

	ToExternalMetricSourcePatchOutput() ExternalMetricSourcePatchOutput
	ToExternalMetricSourcePatchOutputWithContext(context.Context) ExternalMetricSourcePatchOutput
}

ExternalMetricSourcePatchInput is an input type that accepts ExternalMetricSourcePatchArgs and ExternalMetricSourcePatchOutput values. You can construct a concrete instance of `ExternalMetricSourcePatchInput` via:

ExternalMetricSourcePatchArgs{...}

type ExternalMetricSourcePatchOutput added in v3.20.0

type ExternalMetricSourcePatchOutput struct{ *pulumi.OutputState }

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

func (ExternalMetricSourcePatchOutput) ElementType added in v3.20.0

func (ExternalMetricSourcePatchOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ExternalMetricSourcePatchOutput) MetricSelector added in v3.20.0

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricSourcePatchOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.

func (ExternalMetricSourcePatchOutput) TargetValue added in v3.20.0

targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.

func (ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchOutput added in v3.20.0

func (o ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchOutput() ExternalMetricSourcePatchOutput

func (ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchOutputWithContext added in v3.20.0

func (o ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchOutputWithContext(ctx context.Context) ExternalMetricSourcePatchOutput

func (ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchPtrOutput added in v3.20.0

func (o ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchPtrOutput() ExternalMetricSourcePatchPtrOutput

func (ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ExternalMetricSourcePatchOutput) ToExternalMetricSourcePatchPtrOutputWithContext(ctx context.Context) ExternalMetricSourcePatchPtrOutput

type ExternalMetricSourcePatchPtrInput added in v3.20.0

type ExternalMetricSourcePatchPtrInput interface {
	pulumi.Input

	ToExternalMetricSourcePatchPtrOutput() ExternalMetricSourcePatchPtrOutput
	ToExternalMetricSourcePatchPtrOutputWithContext(context.Context) ExternalMetricSourcePatchPtrOutput
}

ExternalMetricSourcePatchPtrInput is an input type that accepts ExternalMetricSourcePatchArgs, ExternalMetricSourcePatchPtr and ExternalMetricSourcePatchPtrOutput values. You can construct a concrete instance of `ExternalMetricSourcePatchPtrInput` via:

        ExternalMetricSourcePatchArgs{...}

or:

        nil

func ExternalMetricSourcePatchPtr added in v3.20.0

type ExternalMetricSourcePatchPtrOutput added in v3.20.0

type ExternalMetricSourcePatchPtrOutput struct{ *pulumi.OutputState }

func (ExternalMetricSourcePatchPtrOutput) Elem added in v3.20.0

func (ExternalMetricSourcePatchPtrOutput) ElementType added in v3.20.0

func (ExternalMetricSourcePatchPtrOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ExternalMetricSourcePatchPtrOutput) MetricSelector added in v3.20.0

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricSourcePatchPtrOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.

func (ExternalMetricSourcePatchPtrOutput) TargetValue added in v3.20.0

targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.

func (ExternalMetricSourcePatchPtrOutput) ToExternalMetricSourcePatchPtrOutput added in v3.20.0

func (o ExternalMetricSourcePatchPtrOutput) ToExternalMetricSourcePatchPtrOutput() ExternalMetricSourcePatchPtrOutput

func (ExternalMetricSourcePatchPtrOutput) ToExternalMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ExternalMetricSourcePatchPtrOutput) ToExternalMetricSourcePatchPtrOutputWithContext(ctx context.Context) ExternalMetricSourcePatchPtrOutput

type ExternalMetricSourcePtrInput

type ExternalMetricSourcePtrInput interface {
	pulumi.Input

	ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput
	ToExternalMetricSourcePtrOutputWithContext(context.Context) ExternalMetricSourcePtrOutput
}

ExternalMetricSourcePtrInput is an input type that accepts ExternalMetricSourceArgs, ExternalMetricSourcePtr and ExternalMetricSourcePtrOutput values. You can construct a concrete instance of `ExternalMetricSourcePtrInput` via:

        ExternalMetricSourceArgs{...}

or:

        nil

type ExternalMetricSourcePtrOutput

type ExternalMetricSourcePtrOutput struct{ *pulumi.OutputState }

func (ExternalMetricSourcePtrOutput) Elem

func (ExternalMetricSourcePtrOutput) ElementType

func (ExternalMetricSourcePtrOutput) MetricName

metricName is the name of the metric in question.

func (ExternalMetricSourcePtrOutput) MetricSelector

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricSourcePtrOutput) TargetAverageValue

func (o ExternalMetricSourcePtrOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.

func (ExternalMetricSourcePtrOutput) TargetValue

targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.

func (ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutput

func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutput() ExternalMetricSourcePtrOutput

func (ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutputWithContext

func (o ExternalMetricSourcePtrOutput) ToExternalMetricSourcePtrOutputWithContext(ctx context.Context) ExternalMetricSourcePtrOutput

type ExternalMetricStatus

type ExternalMetricStatus struct {
	// currentAverageValue is the current value of metric averaged over autoscaled pods.
	CurrentAverageValue *string `pulumi:"currentAverageValue"`
	// currentValue is the current value of the metric (as a quantity)
	CurrentValue string `pulumi:"currentValue"`
	// metricName is the name of a metric used for autoscaling in metric system.
	MetricName string `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *metav1.LabelSelector `pulumi:"metricSelector"`
}

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

type ExternalMetricStatusArgs

type ExternalMetricStatusArgs struct {
	// currentAverageValue is the current value of metric averaged over autoscaled pods.
	CurrentAverageValue pulumi.StringPtrInput `pulumi:"currentAverageValue"`
	// currentValue is the current value of the metric (as a quantity)
	CurrentValue pulumi.StringInput `pulumi:"currentValue"`
	// metricName is the name of a metric used for autoscaling in metric system.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector metav1.LabelSelectorPtrInput `pulumi:"metricSelector"`
}

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

func (ExternalMetricStatusArgs) ElementType

func (ExternalMetricStatusArgs) ElementType() reflect.Type

func (ExternalMetricStatusArgs) ToExternalMetricStatusOutput

func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutput() ExternalMetricStatusOutput

func (ExternalMetricStatusArgs) ToExternalMetricStatusOutputWithContext

func (i ExternalMetricStatusArgs) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput

func (ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutput

func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput

func (ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutputWithContext

func (i ExternalMetricStatusArgs) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput

type ExternalMetricStatusInput

type ExternalMetricStatusInput interface {
	pulumi.Input

	ToExternalMetricStatusOutput() ExternalMetricStatusOutput
	ToExternalMetricStatusOutputWithContext(context.Context) ExternalMetricStatusOutput
}

ExternalMetricStatusInput is an input type that accepts ExternalMetricStatusArgs and ExternalMetricStatusOutput values. You can construct a concrete instance of `ExternalMetricStatusInput` via:

ExternalMetricStatusArgs{...}

type ExternalMetricStatusOutput

type ExternalMetricStatusOutput struct{ *pulumi.OutputState }

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

func (ExternalMetricStatusOutput) CurrentAverageValue

func (o ExternalMetricStatusOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of metric averaged over autoscaled pods.

func (ExternalMetricStatusOutput) CurrentValue

currentValue is the current value of the metric (as a quantity)

func (ExternalMetricStatusOutput) ElementType

func (ExternalMetricStatusOutput) ElementType() reflect.Type

func (ExternalMetricStatusOutput) MetricName

metricName is the name of a metric used for autoscaling in metric system.

func (ExternalMetricStatusOutput) MetricSelector

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricStatusOutput) ToExternalMetricStatusOutput

func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutput() ExternalMetricStatusOutput

func (ExternalMetricStatusOutput) ToExternalMetricStatusOutputWithContext

func (o ExternalMetricStatusOutput) ToExternalMetricStatusOutputWithContext(ctx context.Context) ExternalMetricStatusOutput

func (ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutput

func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput

func (ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutputWithContext

func (o ExternalMetricStatusOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput

type ExternalMetricStatusPatch added in v3.20.0

type ExternalMetricStatusPatch struct {
	// currentAverageValue is the current value of metric averaged over autoscaled pods.
	CurrentAverageValue *string `pulumi:"currentAverageValue"`
	// currentValue is the current value of the metric (as a quantity)
	CurrentValue *string `pulumi:"currentValue"`
	// metricName is the name of a metric used for autoscaling in metric system.
	MetricName *string `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector *metav1.LabelSelectorPatch `pulumi:"metricSelector"`
}

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

type ExternalMetricStatusPatchArgs added in v3.20.0

type ExternalMetricStatusPatchArgs struct {
	// currentAverageValue is the current value of metric averaged over autoscaled pods.
	CurrentAverageValue pulumi.StringPtrInput `pulumi:"currentAverageValue"`
	// currentValue is the current value of the metric (as a quantity)
	CurrentValue pulumi.StringPtrInput `pulumi:"currentValue"`
	// metricName is the name of a metric used for autoscaling in metric system.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// metricSelector is used to identify a specific time series within a given metric.
	MetricSelector metav1.LabelSelectorPatchPtrInput `pulumi:"metricSelector"`
}

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

func (ExternalMetricStatusPatchArgs) ElementType added in v3.20.0

func (ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchOutput added in v3.20.0

func (i ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchOutput() ExternalMetricStatusPatchOutput

func (ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchOutputWithContext added in v3.20.0

func (i ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchOutputWithContext(ctx context.Context) ExternalMetricStatusPatchOutput

func (ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchPtrOutput added in v3.20.0

func (i ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchPtrOutput() ExternalMetricStatusPatchPtrOutput

func (ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (i ExternalMetricStatusPatchArgs) ToExternalMetricStatusPatchPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPatchPtrOutput

type ExternalMetricStatusPatchInput added in v3.20.0

type ExternalMetricStatusPatchInput interface {
	pulumi.Input

	ToExternalMetricStatusPatchOutput() ExternalMetricStatusPatchOutput
	ToExternalMetricStatusPatchOutputWithContext(context.Context) ExternalMetricStatusPatchOutput
}

ExternalMetricStatusPatchInput is an input type that accepts ExternalMetricStatusPatchArgs and ExternalMetricStatusPatchOutput values. You can construct a concrete instance of `ExternalMetricStatusPatchInput` via:

ExternalMetricStatusPatchArgs{...}

type ExternalMetricStatusPatchOutput added in v3.20.0

type ExternalMetricStatusPatchOutput struct{ *pulumi.OutputState }

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

func (ExternalMetricStatusPatchOutput) CurrentAverageValue added in v3.20.0

func (o ExternalMetricStatusPatchOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of metric averaged over autoscaled pods.

func (ExternalMetricStatusPatchOutput) CurrentValue added in v3.20.0

currentValue is the current value of the metric (as a quantity)

func (ExternalMetricStatusPatchOutput) ElementType added in v3.20.0

func (ExternalMetricStatusPatchOutput) MetricName added in v3.20.0

metricName is the name of a metric used for autoscaling in metric system.

func (ExternalMetricStatusPatchOutput) MetricSelector added in v3.20.0

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchOutput added in v3.20.0

func (o ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchOutput() ExternalMetricStatusPatchOutput

func (ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchOutputWithContext added in v3.20.0

func (o ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchOutputWithContext(ctx context.Context) ExternalMetricStatusPatchOutput

func (ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchPtrOutput added in v3.20.0

func (o ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchPtrOutput() ExternalMetricStatusPatchPtrOutput

func (ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ExternalMetricStatusPatchOutput) ToExternalMetricStatusPatchPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPatchPtrOutput

type ExternalMetricStatusPatchPtrInput added in v3.20.0

type ExternalMetricStatusPatchPtrInput interface {
	pulumi.Input

	ToExternalMetricStatusPatchPtrOutput() ExternalMetricStatusPatchPtrOutput
	ToExternalMetricStatusPatchPtrOutputWithContext(context.Context) ExternalMetricStatusPatchPtrOutput
}

ExternalMetricStatusPatchPtrInput is an input type that accepts ExternalMetricStatusPatchArgs, ExternalMetricStatusPatchPtr and ExternalMetricStatusPatchPtrOutput values. You can construct a concrete instance of `ExternalMetricStatusPatchPtrInput` via:

        ExternalMetricStatusPatchArgs{...}

or:

        nil

func ExternalMetricStatusPatchPtr added in v3.20.0

type ExternalMetricStatusPatchPtrOutput added in v3.20.0

type ExternalMetricStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ExternalMetricStatusPatchPtrOutput) CurrentAverageValue added in v3.20.0

currentAverageValue is the current value of metric averaged over autoscaled pods.

func (ExternalMetricStatusPatchPtrOutput) CurrentValue added in v3.20.0

currentValue is the current value of the metric (as a quantity)

func (ExternalMetricStatusPatchPtrOutput) Elem added in v3.20.0

func (ExternalMetricStatusPatchPtrOutput) ElementType added in v3.20.0

func (ExternalMetricStatusPatchPtrOutput) MetricName added in v3.20.0

metricName is the name of a metric used for autoscaling in metric system.

func (ExternalMetricStatusPatchPtrOutput) MetricSelector added in v3.20.0

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricStatusPatchPtrOutput) ToExternalMetricStatusPatchPtrOutput added in v3.20.0

func (o ExternalMetricStatusPatchPtrOutput) ToExternalMetricStatusPatchPtrOutput() ExternalMetricStatusPatchPtrOutput

func (ExternalMetricStatusPatchPtrOutput) ToExternalMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ExternalMetricStatusPatchPtrOutput) ToExternalMetricStatusPatchPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPatchPtrOutput

type ExternalMetricStatusPtrInput

type ExternalMetricStatusPtrInput interface {
	pulumi.Input

	ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput
	ToExternalMetricStatusPtrOutputWithContext(context.Context) ExternalMetricStatusPtrOutput
}

ExternalMetricStatusPtrInput is an input type that accepts ExternalMetricStatusArgs, ExternalMetricStatusPtr and ExternalMetricStatusPtrOutput values. You can construct a concrete instance of `ExternalMetricStatusPtrInput` via:

        ExternalMetricStatusArgs{...}

or:

        nil

type ExternalMetricStatusPtrOutput

type ExternalMetricStatusPtrOutput struct{ *pulumi.OutputState }

func (ExternalMetricStatusPtrOutput) CurrentAverageValue

func (o ExternalMetricStatusPtrOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of metric averaged over autoscaled pods.

func (ExternalMetricStatusPtrOutput) CurrentValue

currentValue is the current value of the metric (as a quantity)

func (ExternalMetricStatusPtrOutput) Elem

func (ExternalMetricStatusPtrOutput) ElementType

func (ExternalMetricStatusPtrOutput) MetricName

metricName is the name of a metric used for autoscaling in metric system.

func (ExternalMetricStatusPtrOutput) MetricSelector

metricSelector is used to identify a specific time series within a given metric.

func (ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutput

func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutput() ExternalMetricStatusPtrOutput

func (ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutputWithContext

func (o ExternalMetricStatusPtrOutput) ToExternalMetricStatusPtrOutputWithContext(ctx context.Context) ExternalMetricStatusPtrOutput

type HorizontalPodAutoscaler

type HorizontalPodAutoscaler struct {
	pulumi.CustomResourceState

	// 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
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// 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
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// 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.
	Spec HorizontalPodAutoscalerSpecPtrOutput `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPtrOutput `pulumi:"status"`
}

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.

func GetHorizontalPodAutoscaler

func GetHorizontalPodAutoscaler(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HorizontalPodAutoscalerState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)

GetHorizontalPodAutoscaler gets an existing HorizontalPodAutoscaler resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHorizontalPodAutoscaler

func NewHorizontalPodAutoscaler(ctx *pulumi.Context,
	name string, args *HorizontalPodAutoscalerArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscaler, error)

NewHorizontalPodAutoscaler registers a new resource with the given unique name, arguments, and options.

func (*HorizontalPodAutoscaler) ElementType

func (*HorizontalPodAutoscaler) ElementType() reflect.Type

func (*HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutput

func (i *HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput

func (*HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutputWithContext

func (i *HorizontalPodAutoscaler) ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput

type HorizontalPodAutoscalerArgs

type HorizontalPodAutoscalerArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput
	// 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
	Kind pulumi.StringPtrInput
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// 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.
	Spec HorizontalPodAutoscalerSpecPtrInput
}

The set of arguments for constructing a HorizontalPodAutoscaler resource.

func (HorizontalPodAutoscalerArgs) ElementType

type HorizontalPodAutoscalerArray

type HorizontalPodAutoscalerArray []HorizontalPodAutoscalerInput

func (HorizontalPodAutoscalerArray) ElementType

func (HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutput

func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput

func (HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutputWithContext

func (i HorizontalPodAutoscalerArray) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput

type HorizontalPodAutoscalerArrayInput

type HorizontalPodAutoscalerArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput
	ToHorizontalPodAutoscalerArrayOutputWithContext(context.Context) HorizontalPodAutoscalerArrayOutput
}

HorizontalPodAutoscalerArrayInput is an input type that accepts HorizontalPodAutoscalerArray and HorizontalPodAutoscalerArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerArrayInput` via:

HorizontalPodAutoscalerArray{ HorizontalPodAutoscalerArgs{...} }

type HorizontalPodAutoscalerArrayOutput

type HorizontalPodAutoscalerArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerArrayOutput) ElementType

func (HorizontalPodAutoscalerArrayOutput) Index

func (HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutput

func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutput() HorizontalPodAutoscalerArrayOutput

func (HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutputWithContext

func (o HorizontalPodAutoscalerArrayOutput) ToHorizontalPodAutoscalerArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerArrayOutput

type HorizontalPodAutoscalerCondition

type HorizontalPodAutoscalerCondition struct {
	// lastTransitionTime is the last time the condition transitioned from one status to another
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// message is a human-readable explanation containing details about the transition
	Message *string `pulumi:"message"`
	// reason is the reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// status is the status of the condition (True, False, Unknown)
	Status string `pulumi:"status"`
	// type describes the current condition
	Type string `pulumi:"type"`
}

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

type HorizontalPodAutoscalerConditionArgs

type HorizontalPodAutoscalerConditionArgs struct {
	// lastTransitionTime is the last time the condition transitioned from one status to another
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// message is a human-readable explanation containing details about the transition
	Message pulumi.StringPtrInput `pulumi:"message"`
	// reason is the reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// status is the status of the condition (True, False, Unknown)
	Status pulumi.StringInput `pulumi:"status"`
	// type describes the current condition
	Type pulumi.StringInput `pulumi:"type"`
}

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

func (HorizontalPodAutoscalerConditionArgs) ElementType

func (HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutput

func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput

func (HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutputWithContext

func (i HorizontalPodAutoscalerConditionArgs) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput

type HorizontalPodAutoscalerConditionArray

type HorizontalPodAutoscalerConditionArray []HorizontalPodAutoscalerConditionInput

func (HorizontalPodAutoscalerConditionArray) ElementType

func (HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutput

func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput

func (HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutputWithContext

func (i HorizontalPodAutoscalerConditionArray) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput

type HorizontalPodAutoscalerConditionArrayInput

type HorizontalPodAutoscalerConditionArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput
	ToHorizontalPodAutoscalerConditionArrayOutputWithContext(context.Context) HorizontalPodAutoscalerConditionArrayOutput
}

HorizontalPodAutoscalerConditionArrayInput is an input type that accepts HorizontalPodAutoscalerConditionArray and HorizontalPodAutoscalerConditionArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionArrayInput` via:

HorizontalPodAutoscalerConditionArray{ HorizontalPodAutoscalerConditionArgs{...} }

type HorizontalPodAutoscalerConditionArrayOutput

type HorizontalPodAutoscalerConditionArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerConditionArrayOutput) ElementType

func (HorizontalPodAutoscalerConditionArrayOutput) Index

func (HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutput

func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutput() HorizontalPodAutoscalerConditionArrayOutput

func (HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutputWithContext

func (o HorizontalPodAutoscalerConditionArrayOutput) ToHorizontalPodAutoscalerConditionArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionArrayOutput

type HorizontalPodAutoscalerConditionInput

type HorizontalPodAutoscalerConditionInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput
	ToHorizontalPodAutoscalerConditionOutputWithContext(context.Context) HorizontalPodAutoscalerConditionOutput
}

HorizontalPodAutoscalerConditionInput is an input type that accepts HorizontalPodAutoscalerConditionArgs and HorizontalPodAutoscalerConditionOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionInput` via:

HorizontalPodAutoscalerConditionArgs{...}

type HorizontalPodAutoscalerConditionOutput

type HorizontalPodAutoscalerConditionOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

func (HorizontalPodAutoscalerConditionOutput) ElementType

func (HorizontalPodAutoscalerConditionOutput) LastTransitionTime

lastTransitionTime is the last time the condition transitioned from one status to another

func (HorizontalPodAutoscalerConditionOutput) Message

message is a human-readable explanation containing details about the transition

func (HorizontalPodAutoscalerConditionOutput) Reason

reason is the reason for the condition's last transition.

func (HorizontalPodAutoscalerConditionOutput) Status

status is the status of the condition (True, False, Unknown)

func (HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutput

func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutput() HorizontalPodAutoscalerConditionOutput

func (HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutputWithContext

func (o HorizontalPodAutoscalerConditionOutput) ToHorizontalPodAutoscalerConditionOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionOutput

func (HorizontalPodAutoscalerConditionOutput) Type

type describes the current condition

type HorizontalPodAutoscalerConditionPatch added in v3.20.0

type HorizontalPodAutoscalerConditionPatch struct {
	// lastTransitionTime is the last time the condition transitioned from one status to another
	LastTransitionTime *string `pulumi:"lastTransitionTime"`
	// message is a human-readable explanation containing details about the transition
	Message *string `pulumi:"message"`
	// reason is the reason for the condition's last transition.
	Reason *string `pulumi:"reason"`
	// status is the status of the condition (True, False, Unknown)
	Status *string `pulumi:"status"`
	// type describes the current condition
	Type *string `pulumi:"type"`
}

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

type HorizontalPodAutoscalerConditionPatchArgs added in v3.20.0

type HorizontalPodAutoscalerConditionPatchArgs struct {
	// lastTransitionTime is the last time the condition transitioned from one status to another
	LastTransitionTime pulumi.StringPtrInput `pulumi:"lastTransitionTime"`
	// message is a human-readable explanation containing details about the transition
	Message pulumi.StringPtrInput `pulumi:"message"`
	// reason is the reason for the condition's last transition.
	Reason pulumi.StringPtrInput `pulumi:"reason"`
	// status is the status of the condition (True, False, Unknown)
	Status pulumi.StringPtrInput `pulumi:"status"`
	// type describes the current condition
	Type pulumi.StringPtrInput `pulumi:"type"`
}

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

func (HorizontalPodAutoscalerConditionPatchArgs) ElementType added in v3.20.0

func (HorizontalPodAutoscalerConditionPatchArgs) ToHorizontalPodAutoscalerConditionPatchOutput added in v3.20.0

func (i HorizontalPodAutoscalerConditionPatchArgs) ToHorizontalPodAutoscalerConditionPatchOutput() HorizontalPodAutoscalerConditionPatchOutput

func (HorizontalPodAutoscalerConditionPatchArgs) ToHorizontalPodAutoscalerConditionPatchOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerConditionPatchArgs) ToHorizontalPodAutoscalerConditionPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionPatchOutput

type HorizontalPodAutoscalerConditionPatchArray added in v3.20.0

type HorizontalPodAutoscalerConditionPatchArray []HorizontalPodAutoscalerConditionPatchInput

func (HorizontalPodAutoscalerConditionPatchArray) ElementType added in v3.20.0

func (HorizontalPodAutoscalerConditionPatchArray) ToHorizontalPodAutoscalerConditionPatchArrayOutput added in v3.20.0

func (i HorizontalPodAutoscalerConditionPatchArray) ToHorizontalPodAutoscalerConditionPatchArrayOutput() HorizontalPodAutoscalerConditionPatchArrayOutput

func (HorizontalPodAutoscalerConditionPatchArray) ToHorizontalPodAutoscalerConditionPatchArrayOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerConditionPatchArray) ToHorizontalPodAutoscalerConditionPatchArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionPatchArrayOutput

type HorizontalPodAutoscalerConditionPatchArrayInput added in v3.20.0

type HorizontalPodAutoscalerConditionPatchArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerConditionPatchArrayOutput() HorizontalPodAutoscalerConditionPatchArrayOutput
	ToHorizontalPodAutoscalerConditionPatchArrayOutputWithContext(context.Context) HorizontalPodAutoscalerConditionPatchArrayOutput
}

HorizontalPodAutoscalerConditionPatchArrayInput is an input type that accepts HorizontalPodAutoscalerConditionPatchArray and HorizontalPodAutoscalerConditionPatchArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionPatchArrayInput` via:

HorizontalPodAutoscalerConditionPatchArray{ HorizontalPodAutoscalerConditionPatchArgs{...} }

type HorizontalPodAutoscalerConditionPatchArrayOutput added in v3.20.0

type HorizontalPodAutoscalerConditionPatchArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerConditionPatchArrayOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerConditionPatchArrayOutput) Index added in v3.20.0

func (HorizontalPodAutoscalerConditionPatchArrayOutput) ToHorizontalPodAutoscalerConditionPatchArrayOutput added in v3.20.0

func (o HorizontalPodAutoscalerConditionPatchArrayOutput) ToHorizontalPodAutoscalerConditionPatchArrayOutput() HorizontalPodAutoscalerConditionPatchArrayOutput

func (HorizontalPodAutoscalerConditionPatchArrayOutput) ToHorizontalPodAutoscalerConditionPatchArrayOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerConditionPatchArrayOutput) ToHorizontalPodAutoscalerConditionPatchArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionPatchArrayOutput

type HorizontalPodAutoscalerConditionPatchInput added in v3.20.0

type HorizontalPodAutoscalerConditionPatchInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerConditionPatchOutput() HorizontalPodAutoscalerConditionPatchOutput
	ToHorizontalPodAutoscalerConditionPatchOutputWithContext(context.Context) HorizontalPodAutoscalerConditionPatchOutput
}

HorizontalPodAutoscalerConditionPatchInput is an input type that accepts HorizontalPodAutoscalerConditionPatchArgs and HorizontalPodAutoscalerConditionPatchOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerConditionPatchInput` via:

HorizontalPodAutoscalerConditionPatchArgs{...}

type HorizontalPodAutoscalerConditionPatchOutput added in v3.20.0

type HorizontalPodAutoscalerConditionPatchOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.

func (HorizontalPodAutoscalerConditionPatchOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerConditionPatchOutput) LastTransitionTime added in v3.20.0

lastTransitionTime is the last time the condition transitioned from one status to another

func (HorizontalPodAutoscalerConditionPatchOutput) Message added in v3.20.0

message is a human-readable explanation containing details about the transition

func (HorizontalPodAutoscalerConditionPatchOutput) Reason added in v3.20.0

reason is the reason for the condition's last transition.

func (HorizontalPodAutoscalerConditionPatchOutput) Status added in v3.20.0

status is the status of the condition (True, False, Unknown)

func (HorizontalPodAutoscalerConditionPatchOutput) ToHorizontalPodAutoscalerConditionPatchOutput added in v3.20.0

func (o HorizontalPodAutoscalerConditionPatchOutput) ToHorizontalPodAutoscalerConditionPatchOutput() HorizontalPodAutoscalerConditionPatchOutput

func (HorizontalPodAutoscalerConditionPatchOutput) ToHorizontalPodAutoscalerConditionPatchOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerConditionPatchOutput) ToHorizontalPodAutoscalerConditionPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerConditionPatchOutput

func (HorizontalPodAutoscalerConditionPatchOutput) Type added in v3.20.0

type describes the current condition

type HorizontalPodAutoscalerInput

type HorizontalPodAutoscalerInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput
	ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput
}

type HorizontalPodAutoscalerList

type HorizontalPodAutoscalerList struct {
	pulumi.CustomResourceState

	// 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
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// items is the list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayOutput `pulumi:"items"`
	// 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
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// metadata is the standard list metadata.
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

func GetHorizontalPodAutoscalerList

func GetHorizontalPodAutoscalerList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HorizontalPodAutoscalerListState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)

GetHorizontalPodAutoscalerList gets an existing HorizontalPodAutoscalerList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHorizontalPodAutoscalerList

func NewHorizontalPodAutoscalerList(ctx *pulumi.Context,
	name string, args *HorizontalPodAutoscalerListArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerList, error)

NewHorizontalPodAutoscalerList registers a new resource with the given unique name, arguments, and options.

func (*HorizontalPodAutoscalerList) ElementType

func (*HorizontalPodAutoscalerList) ElementType() reflect.Type

func (*HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutput

func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput

func (*HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutputWithContext

func (i *HorizontalPodAutoscalerList) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput

type HorizontalPodAutoscalerListArgs

type HorizontalPodAutoscalerListArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput
	// items is the list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayInput
	// 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
	Kind pulumi.StringPtrInput
	// metadata is the standard list metadata.
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a HorizontalPodAutoscalerList resource.

func (HorizontalPodAutoscalerListArgs) ElementType

type HorizontalPodAutoscalerListArray

type HorizontalPodAutoscalerListArray []HorizontalPodAutoscalerListInput

func (HorizontalPodAutoscalerListArray) ElementType

func (HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutput

func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput

func (HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutputWithContext

func (i HorizontalPodAutoscalerListArray) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput

type HorizontalPodAutoscalerListArrayInput

type HorizontalPodAutoscalerListArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput
	ToHorizontalPodAutoscalerListArrayOutputWithContext(context.Context) HorizontalPodAutoscalerListArrayOutput
}

HorizontalPodAutoscalerListArrayInput is an input type that accepts HorizontalPodAutoscalerListArray and HorizontalPodAutoscalerListArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListArrayInput` via:

HorizontalPodAutoscalerListArray{ HorizontalPodAutoscalerListArgs{...} }

type HorizontalPodAutoscalerListArrayOutput

type HorizontalPodAutoscalerListArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerListArrayOutput) ElementType

func (HorizontalPodAutoscalerListArrayOutput) Index

func (HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutput

func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutput() HorizontalPodAutoscalerListArrayOutput

func (HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutputWithContext

func (o HorizontalPodAutoscalerListArrayOutput) ToHorizontalPodAutoscalerListArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListArrayOutput

type HorizontalPodAutoscalerListInput

type HorizontalPodAutoscalerListInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput
	ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput
}

type HorizontalPodAutoscalerListMap

type HorizontalPodAutoscalerListMap map[string]HorizontalPodAutoscalerListInput

func (HorizontalPodAutoscalerListMap) ElementType

func (HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutput

func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput

func (HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutputWithContext

func (i HorizontalPodAutoscalerListMap) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput

type HorizontalPodAutoscalerListMapInput

type HorizontalPodAutoscalerListMapInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput
	ToHorizontalPodAutoscalerListMapOutputWithContext(context.Context) HorizontalPodAutoscalerListMapOutput
}

HorizontalPodAutoscalerListMapInput is an input type that accepts HorizontalPodAutoscalerListMap and HorizontalPodAutoscalerListMapOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListMapInput` via:

HorizontalPodAutoscalerListMap{ "key": HorizontalPodAutoscalerListArgs{...} }

type HorizontalPodAutoscalerListMapOutput

type HorizontalPodAutoscalerListMapOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerListMapOutput) ElementType

func (HorizontalPodAutoscalerListMapOutput) MapIndex

func (HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutput

func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutput() HorizontalPodAutoscalerListMapOutput

func (HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutputWithContext

func (o HorizontalPodAutoscalerListMapOutput) ToHorizontalPodAutoscalerListMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListMapOutput

type HorizontalPodAutoscalerListOutput

type HorizontalPodAutoscalerListOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerListOutput) ApiVersion added in v3.19.1

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

func (HorizontalPodAutoscalerListOutput) ElementType

func (HorizontalPodAutoscalerListOutput) Items added in v3.19.1

items is the list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListOutput) Kind added in v3.19.1

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

func (HorizontalPodAutoscalerListOutput) Metadata added in v3.19.1

metadata is the standard list metadata.

func (HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutput

func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutput() HorizontalPodAutoscalerListOutput

func (HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutputWithContext

func (o HorizontalPodAutoscalerListOutput) ToHorizontalPodAutoscalerListOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListOutput

type HorizontalPodAutoscalerListState

type HorizontalPodAutoscalerListState struct {
}

func (HorizontalPodAutoscalerListState) ElementType

type HorizontalPodAutoscalerListType

type HorizontalPodAutoscalerListType struct {
	// 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
	ApiVersion *string `pulumi:"apiVersion"`
	// items is the list of horizontal pod autoscaler objects.
	Items []HorizontalPodAutoscalerType `pulumi:"items"`
	// 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
	Kind *string `pulumi:"kind"`
	// metadata is the standard list metadata.
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

type HorizontalPodAutoscalerListTypeArgs

type HorizontalPodAutoscalerListTypeArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// items is the list of horizontal pod autoscaler objects.
	Items HorizontalPodAutoscalerTypeArrayInput `pulumi:"items"`
	// 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
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// metadata is the standard list metadata.
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListTypeArgs) ElementType

func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput

func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput

func (HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext

func (i HorizontalPodAutoscalerListTypeArgs) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerListTypeInput

type HorizontalPodAutoscalerListTypeInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput
	ToHorizontalPodAutoscalerListTypeOutputWithContext(context.Context) HorizontalPodAutoscalerListTypeOutput
}

HorizontalPodAutoscalerListTypeInput is an input type that accepts HorizontalPodAutoscalerListTypeArgs and HorizontalPodAutoscalerListTypeOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerListTypeInput` via:

HorizontalPodAutoscalerListTypeArgs{...}

type HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerListTypeOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscaler is a list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListTypeOutput) ApiVersion

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

func (HorizontalPodAutoscalerListTypeOutput) ElementType

func (HorizontalPodAutoscalerListTypeOutput) Items

items is the list of horizontal pod autoscaler objects.

func (HorizontalPodAutoscalerListTypeOutput) Kind

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

func (HorizontalPodAutoscalerListTypeOutput) Metadata

metadata is the standard list metadata.

func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput

func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutput() HorizontalPodAutoscalerListTypeOutput

func (HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext

func (o HorizontalPodAutoscalerListTypeOutput) ToHorizontalPodAutoscalerListTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerListTypeOutput

type HorizontalPodAutoscalerMap

type HorizontalPodAutoscalerMap map[string]HorizontalPodAutoscalerInput

func (HorizontalPodAutoscalerMap) ElementType

func (HorizontalPodAutoscalerMap) ElementType() reflect.Type

func (HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutput

func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput

func (HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutputWithContext

func (i HorizontalPodAutoscalerMap) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput

type HorizontalPodAutoscalerMapInput

type HorizontalPodAutoscalerMapInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput
	ToHorizontalPodAutoscalerMapOutputWithContext(context.Context) HorizontalPodAutoscalerMapOutput
}

HorizontalPodAutoscalerMapInput is an input type that accepts HorizontalPodAutoscalerMap and HorizontalPodAutoscalerMapOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerMapInput` via:

HorizontalPodAutoscalerMap{ "key": HorizontalPodAutoscalerArgs{...} }

type HorizontalPodAutoscalerMapOutput

type HorizontalPodAutoscalerMapOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerMapOutput) ElementType

func (HorizontalPodAutoscalerMapOutput) MapIndex

func (HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutput

func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutput() HorizontalPodAutoscalerMapOutput

func (HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutputWithContext

func (o HorizontalPodAutoscalerMapOutput) ToHorizontalPodAutoscalerMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerMapOutput

type HorizontalPodAutoscalerOutput

type HorizontalPodAutoscalerOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerOutput) ApiVersion added in v3.19.1

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

func (HorizontalPodAutoscalerOutput) ElementType

func (HorizontalPodAutoscalerOutput) Kind added in v3.19.1

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

func (HorizontalPodAutoscalerOutput) Metadata added in v3.19.1

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

func (HorizontalPodAutoscalerOutput) Spec added in v3.19.1

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.

func (HorizontalPodAutoscalerOutput) Status added in v3.19.1

status is the current information about the autoscaler.

func (HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutput

func (o HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutput() HorizontalPodAutoscalerOutput

func (HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutputWithContext

func (o HorizontalPodAutoscalerOutput) ToHorizontalPodAutoscalerOutputWithContext(ctx context.Context) HorizontalPodAutoscalerOutput

type HorizontalPodAutoscalerPatch added in v3.20.0

type HorizontalPodAutoscalerPatch struct {
	pulumi.CustomResourceState

	// 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
	ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"`
	// 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
	Kind pulumi.StringPtrOutput `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrOutput `pulumi:"metadata"`
	// 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.
	Spec HorizontalPodAutoscalerSpecPatchPtrOutput `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPatchPtrOutput `pulumi:"status"`
}

Patch resources are used to modify existing Kubernetes resources by using Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource. Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi. 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.

func GetHorizontalPodAutoscalerPatch added in v3.20.0

func GetHorizontalPodAutoscalerPatch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HorizontalPodAutoscalerPatchState, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerPatch, error)

GetHorizontalPodAutoscalerPatch gets an existing HorizontalPodAutoscalerPatch resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHorizontalPodAutoscalerPatch added in v3.20.0

func NewHorizontalPodAutoscalerPatch(ctx *pulumi.Context,
	name string, args *HorizontalPodAutoscalerPatchArgs, opts ...pulumi.ResourceOption) (*HorizontalPodAutoscalerPatch, error)

NewHorizontalPodAutoscalerPatch registers a new resource with the given unique name, arguments, and options.

func (*HorizontalPodAutoscalerPatch) ElementType added in v3.20.0

func (*HorizontalPodAutoscalerPatch) ElementType() reflect.Type

func (*HorizontalPodAutoscalerPatch) ToHorizontalPodAutoscalerPatchOutput added in v3.20.0

func (i *HorizontalPodAutoscalerPatch) ToHorizontalPodAutoscalerPatchOutput() HorizontalPodAutoscalerPatchOutput

func (*HorizontalPodAutoscalerPatch) ToHorizontalPodAutoscalerPatchOutputWithContext added in v3.20.0

func (i *HorizontalPodAutoscalerPatch) ToHorizontalPodAutoscalerPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchOutput

type HorizontalPodAutoscalerPatchArgs added in v3.20.0

type HorizontalPodAutoscalerPatchArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput
	// 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
	Kind pulumi.StringPtrInput
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput
	// 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.
	Spec HorizontalPodAutoscalerSpecPatchPtrInput
}

The set of arguments for constructing a HorizontalPodAutoscalerPatch resource.

func (HorizontalPodAutoscalerPatchArgs) ElementType added in v3.20.0

type HorizontalPodAutoscalerPatchArray added in v3.20.0

type HorizontalPodAutoscalerPatchArray []HorizontalPodAutoscalerPatchInput

func (HorizontalPodAutoscalerPatchArray) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchArray) ToHorizontalPodAutoscalerPatchArrayOutput added in v3.20.0

func (i HorizontalPodAutoscalerPatchArray) ToHorizontalPodAutoscalerPatchArrayOutput() HorizontalPodAutoscalerPatchArrayOutput

func (HorizontalPodAutoscalerPatchArray) ToHorizontalPodAutoscalerPatchArrayOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerPatchArray) ToHorizontalPodAutoscalerPatchArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchArrayOutput

type HorizontalPodAutoscalerPatchArrayInput added in v3.20.0

type HorizontalPodAutoscalerPatchArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerPatchArrayOutput() HorizontalPodAutoscalerPatchArrayOutput
	ToHorizontalPodAutoscalerPatchArrayOutputWithContext(context.Context) HorizontalPodAutoscalerPatchArrayOutput
}

HorizontalPodAutoscalerPatchArrayInput is an input type that accepts HorizontalPodAutoscalerPatchArray and HorizontalPodAutoscalerPatchArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerPatchArrayInput` via:

HorizontalPodAutoscalerPatchArray{ HorizontalPodAutoscalerPatchArgs{...} }

type HorizontalPodAutoscalerPatchArrayOutput added in v3.20.0

type HorizontalPodAutoscalerPatchArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerPatchArrayOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchArrayOutput) Index added in v3.20.0

func (HorizontalPodAutoscalerPatchArrayOutput) ToHorizontalPodAutoscalerPatchArrayOutput added in v3.20.0

func (o HorizontalPodAutoscalerPatchArrayOutput) ToHorizontalPodAutoscalerPatchArrayOutput() HorizontalPodAutoscalerPatchArrayOutput

func (HorizontalPodAutoscalerPatchArrayOutput) ToHorizontalPodAutoscalerPatchArrayOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerPatchArrayOutput) ToHorizontalPodAutoscalerPatchArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchArrayOutput

type HorizontalPodAutoscalerPatchInput added in v3.20.0

type HorizontalPodAutoscalerPatchInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerPatchOutput() HorizontalPodAutoscalerPatchOutput
	ToHorizontalPodAutoscalerPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchOutput
}

type HorizontalPodAutoscalerPatchMap added in v3.20.0

type HorizontalPodAutoscalerPatchMap map[string]HorizontalPodAutoscalerPatchInput

func (HorizontalPodAutoscalerPatchMap) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchMap) ToHorizontalPodAutoscalerPatchMapOutput added in v3.20.0

func (i HorizontalPodAutoscalerPatchMap) ToHorizontalPodAutoscalerPatchMapOutput() HorizontalPodAutoscalerPatchMapOutput

func (HorizontalPodAutoscalerPatchMap) ToHorizontalPodAutoscalerPatchMapOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerPatchMap) ToHorizontalPodAutoscalerPatchMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchMapOutput

type HorizontalPodAutoscalerPatchMapInput added in v3.20.0

type HorizontalPodAutoscalerPatchMapInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerPatchMapOutput() HorizontalPodAutoscalerPatchMapOutput
	ToHorizontalPodAutoscalerPatchMapOutputWithContext(context.Context) HorizontalPodAutoscalerPatchMapOutput
}

HorizontalPodAutoscalerPatchMapInput is an input type that accepts HorizontalPodAutoscalerPatchMap and HorizontalPodAutoscalerPatchMapOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerPatchMapInput` via:

HorizontalPodAutoscalerPatchMap{ "key": HorizontalPodAutoscalerPatchArgs{...} }

type HorizontalPodAutoscalerPatchMapOutput added in v3.20.0

type HorizontalPodAutoscalerPatchMapOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerPatchMapOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchMapOutput) MapIndex added in v3.20.0

func (HorizontalPodAutoscalerPatchMapOutput) ToHorizontalPodAutoscalerPatchMapOutput added in v3.20.0

func (o HorizontalPodAutoscalerPatchMapOutput) ToHorizontalPodAutoscalerPatchMapOutput() HorizontalPodAutoscalerPatchMapOutput

func (HorizontalPodAutoscalerPatchMapOutput) ToHorizontalPodAutoscalerPatchMapOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerPatchMapOutput) ToHorizontalPodAutoscalerPatchMapOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchMapOutput

type HorizontalPodAutoscalerPatchOutput added in v3.20.0

type HorizontalPodAutoscalerPatchOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerPatchOutput) ApiVersion added in v3.20.0

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

func (HorizontalPodAutoscalerPatchOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchOutput) Kind added in v3.20.0

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

func (HorizontalPodAutoscalerPatchOutput) Metadata added in v3.20.0

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

func (HorizontalPodAutoscalerPatchOutput) Spec added in v3.20.0

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.

func (HorizontalPodAutoscalerPatchOutput) Status added in v3.20.0

status is the current information about the autoscaler.

func (HorizontalPodAutoscalerPatchOutput) ToHorizontalPodAutoscalerPatchOutput added in v3.20.0

func (o HorizontalPodAutoscalerPatchOutput) ToHorizontalPodAutoscalerPatchOutput() HorizontalPodAutoscalerPatchOutput

func (HorizontalPodAutoscalerPatchOutput) ToHorizontalPodAutoscalerPatchOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerPatchOutput) ToHorizontalPodAutoscalerPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchOutput

type HorizontalPodAutoscalerPatchState added in v3.20.0

type HorizontalPodAutoscalerPatchState struct {
}

func (HorizontalPodAutoscalerPatchState) ElementType added in v3.20.0

type HorizontalPodAutoscalerPatchType added in v3.20.0

type HorizontalPodAutoscalerPatchType struct {
	// 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
	ApiVersion *string `pulumi:"apiVersion"`
	// 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
	Kind *string `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// 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.
	Spec *HorizontalPodAutoscalerSpecPatch `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status *HorizontalPodAutoscalerStatusPatch `pulumi:"status"`
}

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.

type HorizontalPodAutoscalerPatchTypeArgs added in v3.20.0

type HorizontalPodAutoscalerPatchTypeArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// 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
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// 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.
	Spec HorizontalPodAutoscalerSpecPatchPtrInput `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPatchPtrInput `pulumi:"status"`
}

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.

func (HorizontalPodAutoscalerPatchTypeArgs) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchTypeArgs) ToHorizontalPodAutoscalerPatchTypeOutput added in v3.20.0

func (i HorizontalPodAutoscalerPatchTypeArgs) ToHorizontalPodAutoscalerPatchTypeOutput() HorizontalPodAutoscalerPatchTypeOutput

func (HorizontalPodAutoscalerPatchTypeArgs) ToHorizontalPodAutoscalerPatchTypeOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerPatchTypeArgs) ToHorizontalPodAutoscalerPatchTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchTypeOutput

type HorizontalPodAutoscalerPatchTypeInput added in v3.20.0

type HorizontalPodAutoscalerPatchTypeInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerPatchTypeOutput() HorizontalPodAutoscalerPatchTypeOutput
	ToHorizontalPodAutoscalerPatchTypeOutputWithContext(context.Context) HorizontalPodAutoscalerPatchTypeOutput
}

HorizontalPodAutoscalerPatchTypeInput is an input type that accepts HorizontalPodAutoscalerPatchTypeArgs and HorizontalPodAutoscalerPatchTypeOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerPatchTypeInput` via:

HorizontalPodAutoscalerPatchTypeArgs{...}

type HorizontalPodAutoscalerPatchTypeOutput added in v3.20.0

type HorizontalPodAutoscalerPatchTypeOutput struct{ *pulumi.OutputState }

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.

func (HorizontalPodAutoscalerPatchTypeOutput) ApiVersion added in v3.20.0

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

func (HorizontalPodAutoscalerPatchTypeOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerPatchTypeOutput) Kind added in v3.20.0

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

func (HorizontalPodAutoscalerPatchTypeOutput) Metadata added in v3.20.0

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

func (HorizontalPodAutoscalerPatchTypeOutput) Spec added in v3.20.0

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.

func (HorizontalPodAutoscalerPatchTypeOutput) Status added in v3.20.0

status is the current information about the autoscaler.

func (HorizontalPodAutoscalerPatchTypeOutput) ToHorizontalPodAutoscalerPatchTypeOutput added in v3.20.0

func (o HorizontalPodAutoscalerPatchTypeOutput) ToHorizontalPodAutoscalerPatchTypeOutput() HorizontalPodAutoscalerPatchTypeOutput

func (HorizontalPodAutoscalerPatchTypeOutput) ToHorizontalPodAutoscalerPatchTypeOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerPatchTypeOutput) ToHorizontalPodAutoscalerPatchTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerPatchTypeOutput

type HorizontalPodAutoscalerSpec

type HorizontalPodAutoscalerSpec struct {
	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	MaxReplicas int `pulumi:"maxReplicas"`
	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond.
	Metrics []MetricSpec `pulumi:"metrics"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas *int `pulumi:"minReplicas"`
	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	ScaleTargetRef CrossVersionObjectReference `pulumi:"scaleTargetRef"`
}

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

type HorizontalPodAutoscalerSpecArgs

type HorizontalPodAutoscalerSpecArgs struct {
	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	MaxReplicas pulumi.IntInput `pulumi:"maxReplicas"`
	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond.
	Metrics MetricSpecArrayInput `pulumi:"metrics"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas pulumi.IntPtrInput `pulumi:"minReplicas"`
	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	ScaleTargetRef CrossVersionObjectReferenceInput `pulumi:"scaleTargetRef"`
}

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

func (HorizontalPodAutoscalerSpecArgs) ElementType

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (i HorizontalPodAutoscalerSpecArgs) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecInput

type HorizontalPodAutoscalerSpecInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput
	ToHorizontalPodAutoscalerSpecOutputWithContext(context.Context) HorizontalPodAutoscalerSpecOutput
}

HorizontalPodAutoscalerSpecInput is an input type that accepts HorizontalPodAutoscalerSpecArgs and HorizontalPodAutoscalerSpecOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecInput` via:

HorizontalPodAutoscalerSpecArgs{...}

type HorizontalPodAutoscalerSpecOutput

type HorizontalPodAutoscalerSpecOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

func (HorizontalPodAutoscalerSpecOutput) ElementType

func (HorizontalPodAutoscalerSpecOutput) MaxReplicas

maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.

func (HorizontalPodAutoscalerSpecOutput) Metrics

metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.

func (HorizontalPodAutoscalerSpecOutput) MinReplicas

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecOutput) ScaleTargetRef

scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutput() HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (o HorizontalPodAutoscalerSpecOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecPatch added in v3.20.0

type HorizontalPodAutoscalerSpecPatch struct {
	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	MaxReplicas *int `pulumi:"maxReplicas"`
	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond.
	Metrics []MetricSpecPatch `pulumi:"metrics"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas *int `pulumi:"minReplicas"`
	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	ScaleTargetRef *CrossVersionObjectReferencePatch `pulumi:"scaleTargetRef"`
}

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

type HorizontalPodAutoscalerSpecPatchArgs added in v3.20.0

type HorizontalPodAutoscalerSpecPatchArgs struct {
	// maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
	MaxReplicas pulumi.IntPtrInput `pulumi:"maxReplicas"`
	// metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used).  The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods.  Ergo, metrics used must decrease as the pod count is increased, and vice-versa.  See the individual metric source types for more information about how each type of metric must respond.
	Metrics MetricSpecPatchArrayInput `pulumi:"metrics"`
	// minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.
	MinReplicas pulumi.IntPtrInput `pulumi:"minReplicas"`
	// scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
	ScaleTargetRef CrossVersionObjectReferencePatchPtrInput `pulumi:"scaleTargetRef"`
}

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

func (HorizontalPodAutoscalerSpecPatchArgs) ElementType added in v3.20.0

func (HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchOutput added in v3.20.0

func (i HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchOutput() HorizontalPodAutoscalerSpecPatchOutput

func (HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPatchOutput

func (HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchPtrOutput added in v3.20.0

func (i HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchPtrOutput() HorizontalPodAutoscalerSpecPatchPtrOutput

func (HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerSpecPatchArgs) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPatchPtrOutput

type HorizontalPodAutoscalerSpecPatchInput added in v3.20.0

type HorizontalPodAutoscalerSpecPatchInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecPatchOutput() HorizontalPodAutoscalerSpecPatchOutput
	ToHorizontalPodAutoscalerSpecPatchOutputWithContext(context.Context) HorizontalPodAutoscalerSpecPatchOutput
}

HorizontalPodAutoscalerSpecPatchInput is an input type that accepts HorizontalPodAutoscalerSpecPatchArgs and HorizontalPodAutoscalerSpecPatchOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecPatchInput` via:

HorizontalPodAutoscalerSpecPatchArgs{...}

type HorizontalPodAutoscalerSpecPatchOutput added in v3.20.0

type HorizontalPodAutoscalerSpecPatchOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.

func (HorizontalPodAutoscalerSpecPatchOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerSpecPatchOutput) MaxReplicas added in v3.20.0

maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.

func (HorizontalPodAutoscalerSpecPatchOutput) Metrics added in v3.20.0

metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.

func (HorizontalPodAutoscalerSpecPatchOutput) MinReplicas added in v3.20.0

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecPatchOutput) ScaleTargetRef added in v3.20.0

scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

func (HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchOutput added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchOutput() HorizontalPodAutoscalerSpecPatchOutput

func (HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPatchOutput

func (HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutput added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutput() HorizontalPodAutoscalerSpecPatchPtrOutput

func (HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPatchPtrOutput

type HorizontalPodAutoscalerSpecPatchPtrInput added in v3.20.0

type HorizontalPodAutoscalerSpecPatchPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecPatchPtrOutput() HorizontalPodAutoscalerSpecPatchPtrOutput
	ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext(context.Context) HorizontalPodAutoscalerSpecPatchPtrOutput
}

HorizontalPodAutoscalerSpecPatchPtrInput is an input type that accepts HorizontalPodAutoscalerSpecPatchArgs, HorizontalPodAutoscalerSpecPatchPtr and HorizontalPodAutoscalerSpecPatchPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecPatchPtrInput` via:

        HorizontalPodAutoscalerSpecPatchArgs{...}

or:

        nil

type HorizontalPodAutoscalerSpecPatchPtrOutput added in v3.20.0

type HorizontalPodAutoscalerSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerSpecPatchPtrOutput) Elem added in v3.20.0

func (HorizontalPodAutoscalerSpecPatchPtrOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerSpecPatchPtrOutput) MaxReplicas added in v3.20.0

maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.

func (HorizontalPodAutoscalerSpecPatchPtrOutput) Metrics added in v3.20.0

metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.

func (HorizontalPodAutoscalerSpecPatchPtrOutput) MinReplicas added in v3.20.0

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecPatchPtrOutput) ScaleTargetRef added in v3.20.0

scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

func (HorizontalPodAutoscalerSpecPatchPtrOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutput added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchPtrOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutput() HorizontalPodAutoscalerSpecPatchPtrOutput

func (HorizontalPodAutoscalerSpecPatchPtrOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerSpecPatchPtrOutput) ToHorizontalPodAutoscalerSpecPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPatchPtrOutput

type HorizontalPodAutoscalerSpecPtrInput

type HorizontalPodAutoscalerSpecPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput
	ToHorizontalPodAutoscalerSpecPtrOutputWithContext(context.Context) HorizontalPodAutoscalerSpecPtrOutput
}

HorizontalPodAutoscalerSpecPtrInput is an input type that accepts HorizontalPodAutoscalerSpecArgs, HorizontalPodAutoscalerSpecPtr and HorizontalPodAutoscalerSpecPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerSpecPtrInput` via:

        HorizontalPodAutoscalerSpecArgs{...}

or:

        nil

type HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerSpecPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerSpecPtrOutput) Elem

func (HorizontalPodAutoscalerSpecPtrOutput) ElementType

func (HorizontalPodAutoscalerSpecPtrOutput) MaxReplicas

maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.

func (HorizontalPodAutoscalerSpecPtrOutput) Metrics

metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.

func (HorizontalPodAutoscalerSpecPtrOutput) MinReplicas

minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.

func (HorizontalPodAutoscalerSpecPtrOutput) ScaleTargetRef

scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.

func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput

func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutput() HorizontalPodAutoscalerSpecPtrOutput

func (HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext

func (o HorizontalPodAutoscalerSpecPtrOutput) ToHorizontalPodAutoscalerSpecPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerSpecPtrOutput

type HorizontalPodAutoscalerState

type HorizontalPodAutoscalerState struct {
}

func (HorizontalPodAutoscalerState) ElementType

type HorizontalPodAutoscalerStatus

type HorizontalPodAutoscalerStatus struct {
	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	Conditions []HorizontalPodAutoscalerCondition `pulumi:"conditions"`
	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics []MetricStatus `pulumi:"currentMetrics"`
	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	CurrentReplicas int `pulumi:"currentReplicas"`
	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	DesiredReplicas int `pulumi:"desiredReplicas"`
	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime *string `pulumi:"lastScaleTime"`
	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration *int `pulumi:"observedGeneration"`
}

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

type HorizontalPodAutoscalerStatusArgs

type HorizontalPodAutoscalerStatusArgs struct {
	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	Conditions HorizontalPodAutoscalerConditionArrayInput `pulumi:"conditions"`
	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics MetricStatusArrayInput `pulumi:"currentMetrics"`
	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	CurrentReplicas pulumi.IntInput `pulumi:"currentReplicas"`
	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	DesiredReplicas pulumi.IntInput `pulumi:"desiredReplicas"`
	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime pulumi.StringPtrInput `pulumi:"lastScaleTime"`
	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
}

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerStatusArgs) ElementType

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (i HorizontalPodAutoscalerStatusArgs) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusInput

type HorizontalPodAutoscalerStatusInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput
	ToHorizontalPodAutoscalerStatusOutputWithContext(context.Context) HorizontalPodAutoscalerStatusOutput
}

HorizontalPodAutoscalerStatusInput is an input type that accepts HorizontalPodAutoscalerStatusArgs and HorizontalPodAutoscalerStatusOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusInput` via:

HorizontalPodAutoscalerStatusArgs{...}

type HorizontalPodAutoscalerStatusOutput

type HorizontalPodAutoscalerStatusOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerStatusOutput) Conditions

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

func (HorizontalPodAutoscalerStatusOutput) CurrentMetrics

currentMetrics is the last read state of the metrics used by this autoscaler.

func (HorizontalPodAutoscalerStatusOutput) CurrentReplicas

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

func (HorizontalPodAutoscalerStatusOutput) DesiredReplicas

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

func (HorizontalPodAutoscalerStatusOutput) ElementType

func (HorizontalPodAutoscalerStatusOutput) LastScaleTime

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusOutput) ObservedGeneration

observedGeneration is the most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutput() HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (o HorizontalPodAutoscalerStatusOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusPatch added in v3.20.0

type HorizontalPodAutoscalerStatusPatch struct {
	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	Conditions []HorizontalPodAutoscalerConditionPatch `pulumi:"conditions"`
	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics []MetricStatusPatch `pulumi:"currentMetrics"`
	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	CurrentReplicas *int `pulumi:"currentReplicas"`
	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	DesiredReplicas *int `pulumi:"desiredReplicas"`
	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime *string `pulumi:"lastScaleTime"`
	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration *int `pulumi:"observedGeneration"`
}

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

type HorizontalPodAutoscalerStatusPatchArgs added in v3.20.0

type HorizontalPodAutoscalerStatusPatchArgs struct {
	// conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
	Conditions HorizontalPodAutoscalerConditionPatchArrayInput `pulumi:"conditions"`
	// currentMetrics is the last read state of the metrics used by this autoscaler.
	CurrentMetrics MetricStatusPatchArrayInput `pulumi:"currentMetrics"`
	// currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
	CurrentReplicas pulumi.IntPtrInput `pulumi:"currentReplicas"`
	// desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
	DesiredReplicas pulumi.IntPtrInput `pulumi:"desiredReplicas"`
	// lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
	LastScaleTime pulumi.StringPtrInput `pulumi:"lastScaleTime"`
	// observedGeneration is the most recent generation observed by this autoscaler.
	ObservedGeneration pulumi.IntPtrInput `pulumi:"observedGeneration"`
}

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerStatusPatchArgs) ElementType added in v3.20.0

func (HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchOutput added in v3.20.0

func (i HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchOutput() HorizontalPodAutoscalerStatusPatchOutput

func (HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPatchOutput

func (HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchPtrOutput added in v3.20.0

func (i HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchPtrOutput() HorizontalPodAutoscalerStatusPatchPtrOutput

func (HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext added in v3.20.0

func (i HorizontalPodAutoscalerStatusPatchArgs) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPatchPtrOutput

type HorizontalPodAutoscalerStatusPatchInput added in v3.20.0

type HorizontalPodAutoscalerStatusPatchInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusPatchOutput() HorizontalPodAutoscalerStatusPatchOutput
	ToHorizontalPodAutoscalerStatusPatchOutputWithContext(context.Context) HorizontalPodAutoscalerStatusPatchOutput
}

HorizontalPodAutoscalerStatusPatchInput is an input type that accepts HorizontalPodAutoscalerStatusPatchArgs and HorizontalPodAutoscalerStatusPatchOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusPatchInput` via:

HorizontalPodAutoscalerStatusPatchArgs{...}

type HorizontalPodAutoscalerStatusPatchOutput added in v3.20.0

type HorizontalPodAutoscalerStatusPatchOutput struct{ *pulumi.OutputState }

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

func (HorizontalPodAutoscalerStatusPatchOutput) Conditions added in v3.20.0

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

func (HorizontalPodAutoscalerStatusPatchOutput) CurrentMetrics added in v3.20.0

currentMetrics is the last read state of the metrics used by this autoscaler.

func (HorizontalPodAutoscalerStatusPatchOutput) CurrentReplicas added in v3.20.0

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

func (HorizontalPodAutoscalerStatusPatchOutput) DesiredReplicas added in v3.20.0

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

func (HorizontalPodAutoscalerStatusPatchOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerStatusPatchOutput) LastScaleTime added in v3.20.0

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusPatchOutput) ObservedGeneration added in v3.20.0

observedGeneration is the most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchOutput added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchOutput() HorizontalPodAutoscalerStatusPatchOutput

func (HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPatchOutput

func (HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutput added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutput() HorizontalPodAutoscalerStatusPatchPtrOutput

func (HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPatchPtrOutput

type HorizontalPodAutoscalerStatusPatchPtrInput added in v3.20.0

type HorizontalPodAutoscalerStatusPatchPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusPatchPtrOutput() HorizontalPodAutoscalerStatusPatchPtrOutput
	ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext(context.Context) HorizontalPodAutoscalerStatusPatchPtrOutput
}

HorizontalPodAutoscalerStatusPatchPtrInput is an input type that accepts HorizontalPodAutoscalerStatusPatchArgs, HorizontalPodAutoscalerStatusPatchPtr and HorizontalPodAutoscalerStatusPatchPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusPatchPtrInput` via:

        HorizontalPodAutoscalerStatusPatchArgs{...}

or:

        nil

type HorizontalPodAutoscalerStatusPatchPtrOutput added in v3.20.0

type HorizontalPodAutoscalerStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerStatusPatchPtrOutput) Conditions added in v3.20.0

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) CurrentMetrics added in v3.20.0

currentMetrics is the last read state of the metrics used by this autoscaler.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) CurrentReplicas added in v3.20.0

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) DesiredReplicas added in v3.20.0

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) Elem added in v3.20.0

func (HorizontalPodAutoscalerStatusPatchPtrOutput) ElementType added in v3.20.0

func (HorizontalPodAutoscalerStatusPatchPtrOutput) LastScaleTime added in v3.20.0

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) ObservedGeneration added in v3.20.0

observedGeneration is the most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusPatchPtrOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutput added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchPtrOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutput() HorizontalPodAutoscalerStatusPatchPtrOutput

func (HorizontalPodAutoscalerStatusPatchPtrOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext added in v3.20.0

func (o HorizontalPodAutoscalerStatusPatchPtrOutput) ToHorizontalPodAutoscalerStatusPatchPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPatchPtrOutput

type HorizontalPodAutoscalerStatusPtrInput

type HorizontalPodAutoscalerStatusPtrInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput
	ToHorizontalPodAutoscalerStatusPtrOutputWithContext(context.Context) HorizontalPodAutoscalerStatusPtrOutput
}

HorizontalPodAutoscalerStatusPtrInput is an input type that accepts HorizontalPodAutoscalerStatusArgs, HorizontalPodAutoscalerStatusPtr and HorizontalPodAutoscalerStatusPtrOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerStatusPtrInput` via:

        HorizontalPodAutoscalerStatusArgs{...}

or:

        nil

type HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerStatusPtrOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerStatusPtrOutput) Conditions

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

func (HorizontalPodAutoscalerStatusPtrOutput) CurrentMetrics

currentMetrics is the last read state of the metrics used by this autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) CurrentReplicas

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) DesiredReplicas

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) Elem

func (HorizontalPodAutoscalerStatusPtrOutput) ElementType

func (HorizontalPodAutoscalerStatusPtrOutput) LastScaleTime

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

func (HorizontalPodAutoscalerStatusPtrOutput) ObservedGeneration

observedGeneration is the most recent generation observed by this autoscaler.

func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput

func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutput() HorizontalPodAutoscalerStatusPtrOutput

func (HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext

func (o HorizontalPodAutoscalerStatusPtrOutput) ToHorizontalPodAutoscalerStatusPtrOutputWithContext(ctx context.Context) HorizontalPodAutoscalerStatusPtrOutput

type HorizontalPodAutoscalerType

type HorizontalPodAutoscalerType struct {
	// 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
	ApiVersion *string `pulumi:"apiVersion"`
	// 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
	Kind *string `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// 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.
	Spec *HorizontalPodAutoscalerSpec `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status *HorizontalPodAutoscalerStatus `pulumi:"status"`
}

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.

type HorizontalPodAutoscalerTypeArgs

type HorizontalPodAutoscalerTypeArgs struct {
	// 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
	ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"`
	// 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
	Kind pulumi.StringPtrInput `pulumi:"kind"`
	// metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// 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.
	Spec HorizontalPodAutoscalerSpecPtrInput `pulumi:"spec"`
	// status is the current information about the autoscaler.
	Status HorizontalPodAutoscalerStatusPtrInput `pulumi:"status"`
}

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.

func (HorizontalPodAutoscalerTypeArgs) ElementType

func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput

func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput

func (HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext

func (i HorizontalPodAutoscalerTypeArgs) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput

type HorizontalPodAutoscalerTypeArray

type HorizontalPodAutoscalerTypeArray []HorizontalPodAutoscalerTypeInput

func (HorizontalPodAutoscalerTypeArray) ElementType

func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput

func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput

func (HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext

func (i HorizontalPodAutoscalerTypeArray) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeArrayInput

type HorizontalPodAutoscalerTypeArrayInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput
	ToHorizontalPodAutoscalerTypeArrayOutputWithContext(context.Context) HorizontalPodAutoscalerTypeArrayOutput
}

HorizontalPodAutoscalerTypeArrayInput is an input type that accepts HorizontalPodAutoscalerTypeArray and HorizontalPodAutoscalerTypeArrayOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerTypeArrayInput` via:

HorizontalPodAutoscalerTypeArray{ HorizontalPodAutoscalerTypeArgs{...} }

type HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeArrayOutput struct{ *pulumi.OutputState }

func (HorizontalPodAutoscalerTypeArrayOutput) ElementType

func (HorizontalPodAutoscalerTypeArrayOutput) Index

func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput

func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutput() HorizontalPodAutoscalerTypeArrayOutput

func (HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext

func (o HorizontalPodAutoscalerTypeArrayOutput) ToHorizontalPodAutoscalerTypeArrayOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeArrayOutput

type HorizontalPodAutoscalerTypeInput

type HorizontalPodAutoscalerTypeInput interface {
	pulumi.Input

	ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput
	ToHorizontalPodAutoscalerTypeOutputWithContext(context.Context) HorizontalPodAutoscalerTypeOutput
}

HorizontalPodAutoscalerTypeInput is an input type that accepts HorizontalPodAutoscalerTypeArgs and HorizontalPodAutoscalerTypeOutput values. You can construct a concrete instance of `HorizontalPodAutoscalerTypeInput` via:

HorizontalPodAutoscalerTypeArgs{...}

type HorizontalPodAutoscalerTypeOutput

type HorizontalPodAutoscalerTypeOutput struct{ *pulumi.OutputState }

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.

func (HorizontalPodAutoscalerTypeOutput) ApiVersion

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

func (HorizontalPodAutoscalerTypeOutput) ElementType

func (HorizontalPodAutoscalerTypeOutput) Kind

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

func (HorizontalPodAutoscalerTypeOutput) Metadata

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

func (HorizontalPodAutoscalerTypeOutput) Spec

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.

func (HorizontalPodAutoscalerTypeOutput) Status

status is the current information about the autoscaler.

func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput

func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutput() HorizontalPodAutoscalerTypeOutput

func (HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext

func (o HorizontalPodAutoscalerTypeOutput) ToHorizontalPodAutoscalerTypeOutputWithContext(ctx context.Context) HorizontalPodAutoscalerTypeOutput

type MetricSpec

type MetricSpec struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
	ContainerResource *ContainerResourceMetricSource `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *ExternalMetricSource `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *ObjectMetricSource `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *PodsMetricSource `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *ResourceMetricSource `pulumi:"resource"`
	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	Type string `pulumi:"type"`
}

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

type MetricSpecArgs

type MetricSpecArgs struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
	ContainerResource ContainerResourceMetricSourcePtrInput `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External ExternalMetricSourcePtrInput `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object ObjectMetricSourcePtrInput `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods PodsMetricSourcePtrInput `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource ResourceMetricSourcePtrInput `pulumi:"resource"`
	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	Type pulumi.StringInput `pulumi:"type"`
}

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

func (MetricSpecArgs) ElementType

func (MetricSpecArgs) ElementType() reflect.Type

func (MetricSpecArgs) ToMetricSpecOutput

func (i MetricSpecArgs) ToMetricSpecOutput() MetricSpecOutput

func (MetricSpecArgs) ToMetricSpecOutputWithContext

func (i MetricSpecArgs) ToMetricSpecOutputWithContext(ctx context.Context) MetricSpecOutput

type MetricSpecArray

type MetricSpecArray []MetricSpecInput

func (MetricSpecArray) ElementType

func (MetricSpecArray) ElementType() reflect.Type

func (MetricSpecArray) ToMetricSpecArrayOutput

func (i MetricSpecArray) ToMetricSpecArrayOutput() MetricSpecArrayOutput

func (MetricSpecArray) ToMetricSpecArrayOutputWithContext

func (i MetricSpecArray) ToMetricSpecArrayOutputWithContext(ctx context.Context) MetricSpecArrayOutput

type MetricSpecArrayInput

type MetricSpecArrayInput interface {
	pulumi.Input

	ToMetricSpecArrayOutput() MetricSpecArrayOutput
	ToMetricSpecArrayOutputWithContext(context.Context) MetricSpecArrayOutput
}

MetricSpecArrayInput is an input type that accepts MetricSpecArray and MetricSpecArrayOutput values. You can construct a concrete instance of `MetricSpecArrayInput` via:

MetricSpecArray{ MetricSpecArgs{...} }

type MetricSpecArrayOutput

type MetricSpecArrayOutput struct{ *pulumi.OutputState }

func (MetricSpecArrayOutput) ElementType

func (MetricSpecArrayOutput) ElementType() reflect.Type

func (MetricSpecArrayOutput) Index

func (MetricSpecArrayOutput) ToMetricSpecArrayOutput

func (o MetricSpecArrayOutput) ToMetricSpecArrayOutput() MetricSpecArrayOutput

func (MetricSpecArrayOutput) ToMetricSpecArrayOutputWithContext

func (o MetricSpecArrayOutput) ToMetricSpecArrayOutputWithContext(ctx context.Context) MetricSpecArrayOutput

type MetricSpecInput

type MetricSpecInput interface {
	pulumi.Input

	ToMetricSpecOutput() MetricSpecOutput
	ToMetricSpecOutputWithContext(context.Context) MetricSpecOutput
}

MetricSpecInput is an input type that accepts MetricSpecArgs and MetricSpecOutput values. You can construct a concrete instance of `MetricSpecInput` via:

MetricSpecArgs{...}

type MetricSpecOutput

type MetricSpecOutput struct{ *pulumi.OutputState }

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

func (MetricSpecOutput) ContainerResource

container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.

func (MetricSpecOutput) ElementType

func (MetricSpecOutput) ElementType() reflect.Type

func (MetricSpecOutput) External

external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

func (MetricSpecOutput) Object

object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).

func (MetricSpecOutput) Pods

pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (MetricSpecOutput) Resource

resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricSpecOutput) ToMetricSpecOutput

func (o MetricSpecOutput) ToMetricSpecOutput() MetricSpecOutput

func (MetricSpecOutput) ToMetricSpecOutputWithContext

func (o MetricSpecOutput) ToMetricSpecOutputWithContext(ctx context.Context) MetricSpecOutput

func (MetricSpecOutput) Type

type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.

type MetricSpecPatch added in v3.20.0

type MetricSpecPatch struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
	ContainerResource *ContainerResourceMetricSourcePatch `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *ExternalMetricSourcePatch `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *ObjectMetricSourcePatch `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *PodsMetricSourcePatch `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *ResourceMetricSourcePatch `pulumi:"resource"`
	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	Type *string `pulumi:"type"`
}

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

type MetricSpecPatchArgs added in v3.20.0

type MetricSpecPatchArgs struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
	ContainerResource ContainerResourceMetricSourcePatchPtrInput `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External ExternalMetricSourcePatchPtrInput `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object ObjectMetricSourcePatchPtrInput `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods PodsMetricSourcePatchPtrInput `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource ResourceMetricSourcePatchPtrInput `pulumi:"resource"`
	// type is the type of metric source.  It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

func (MetricSpecPatchArgs) ElementType added in v3.20.0

func (MetricSpecPatchArgs) ElementType() reflect.Type

func (MetricSpecPatchArgs) ToMetricSpecPatchOutput added in v3.20.0

func (i MetricSpecPatchArgs) ToMetricSpecPatchOutput() MetricSpecPatchOutput

func (MetricSpecPatchArgs) ToMetricSpecPatchOutputWithContext added in v3.20.0

func (i MetricSpecPatchArgs) ToMetricSpecPatchOutputWithContext(ctx context.Context) MetricSpecPatchOutput

type MetricSpecPatchArray added in v3.20.0

type MetricSpecPatchArray []MetricSpecPatchInput

func (MetricSpecPatchArray) ElementType added in v3.20.0

func (MetricSpecPatchArray) ElementType() reflect.Type

func (MetricSpecPatchArray) ToMetricSpecPatchArrayOutput added in v3.20.0

func (i MetricSpecPatchArray) ToMetricSpecPatchArrayOutput() MetricSpecPatchArrayOutput

func (MetricSpecPatchArray) ToMetricSpecPatchArrayOutputWithContext added in v3.20.0

func (i MetricSpecPatchArray) ToMetricSpecPatchArrayOutputWithContext(ctx context.Context) MetricSpecPatchArrayOutput

type MetricSpecPatchArrayInput added in v3.20.0

type MetricSpecPatchArrayInput interface {
	pulumi.Input

	ToMetricSpecPatchArrayOutput() MetricSpecPatchArrayOutput
	ToMetricSpecPatchArrayOutputWithContext(context.Context) MetricSpecPatchArrayOutput
}

MetricSpecPatchArrayInput is an input type that accepts MetricSpecPatchArray and MetricSpecPatchArrayOutput values. You can construct a concrete instance of `MetricSpecPatchArrayInput` via:

MetricSpecPatchArray{ MetricSpecPatchArgs{...} }

type MetricSpecPatchArrayOutput added in v3.20.0

type MetricSpecPatchArrayOutput struct{ *pulumi.OutputState }

func (MetricSpecPatchArrayOutput) ElementType added in v3.20.0

func (MetricSpecPatchArrayOutput) ElementType() reflect.Type

func (MetricSpecPatchArrayOutput) Index added in v3.20.0

func (MetricSpecPatchArrayOutput) ToMetricSpecPatchArrayOutput added in v3.20.0

func (o MetricSpecPatchArrayOutput) ToMetricSpecPatchArrayOutput() MetricSpecPatchArrayOutput

func (MetricSpecPatchArrayOutput) ToMetricSpecPatchArrayOutputWithContext added in v3.20.0

func (o MetricSpecPatchArrayOutput) ToMetricSpecPatchArrayOutputWithContext(ctx context.Context) MetricSpecPatchArrayOutput

type MetricSpecPatchInput added in v3.20.0

type MetricSpecPatchInput interface {
	pulumi.Input

	ToMetricSpecPatchOutput() MetricSpecPatchOutput
	ToMetricSpecPatchOutputWithContext(context.Context) MetricSpecPatchOutput
}

MetricSpecPatchInput is an input type that accepts MetricSpecPatchArgs and MetricSpecPatchOutput values. You can construct a concrete instance of `MetricSpecPatchInput` via:

MetricSpecPatchArgs{...}

type MetricSpecPatchOutput added in v3.20.0

type MetricSpecPatchOutput struct{ *pulumi.OutputState }

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

func (MetricSpecPatchOutput) ContainerResource added in v3.20.0

container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.

func (MetricSpecPatchOutput) ElementType added in v3.20.0

func (MetricSpecPatchOutput) ElementType() reflect.Type

func (MetricSpecPatchOutput) External added in v3.20.0

external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

func (MetricSpecPatchOutput) Object added in v3.20.0

object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).

func (MetricSpecPatchOutput) Pods added in v3.20.0

pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (MetricSpecPatchOutput) Resource added in v3.20.0

resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricSpecPatchOutput) ToMetricSpecPatchOutput added in v3.20.0

func (o MetricSpecPatchOutput) ToMetricSpecPatchOutput() MetricSpecPatchOutput

func (MetricSpecPatchOutput) ToMetricSpecPatchOutputWithContext added in v3.20.0

func (o MetricSpecPatchOutput) ToMetricSpecPatchOutputWithContext(ctx context.Context) MetricSpecPatchOutput

func (MetricSpecPatchOutput) Type added in v3.20.0

type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.

type MetricStatus

type MetricStatus struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	ContainerResource *ContainerResourceMetricStatus `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *ExternalMetricStatus `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *ObjectMetricStatus `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *PodsMetricStatus `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *ResourceMetricStatus `pulumi:"resource"`
	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	Type string `pulumi:"type"`
}

MetricStatus describes the last-read state of a single metric.

type MetricStatusArgs

type MetricStatusArgs struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	ContainerResource ContainerResourceMetricStatusPtrInput `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External ExternalMetricStatusPtrInput `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object ObjectMetricStatusPtrInput `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods PodsMetricStatusPtrInput `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource ResourceMetricStatusPtrInput `pulumi:"resource"`
	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	Type pulumi.StringInput `pulumi:"type"`
}

MetricStatus describes the last-read state of a single metric.

func (MetricStatusArgs) ElementType

func (MetricStatusArgs) ElementType() reflect.Type

func (MetricStatusArgs) ToMetricStatusOutput

func (i MetricStatusArgs) ToMetricStatusOutput() MetricStatusOutput

func (MetricStatusArgs) ToMetricStatusOutputWithContext

func (i MetricStatusArgs) ToMetricStatusOutputWithContext(ctx context.Context) MetricStatusOutput

type MetricStatusArray

type MetricStatusArray []MetricStatusInput

func (MetricStatusArray) ElementType

func (MetricStatusArray) ElementType() reflect.Type

func (MetricStatusArray) ToMetricStatusArrayOutput

func (i MetricStatusArray) ToMetricStatusArrayOutput() MetricStatusArrayOutput

func (MetricStatusArray) ToMetricStatusArrayOutputWithContext

func (i MetricStatusArray) ToMetricStatusArrayOutputWithContext(ctx context.Context) MetricStatusArrayOutput

type MetricStatusArrayInput

type MetricStatusArrayInput interface {
	pulumi.Input

	ToMetricStatusArrayOutput() MetricStatusArrayOutput
	ToMetricStatusArrayOutputWithContext(context.Context) MetricStatusArrayOutput
}

MetricStatusArrayInput is an input type that accepts MetricStatusArray and MetricStatusArrayOutput values. You can construct a concrete instance of `MetricStatusArrayInput` via:

MetricStatusArray{ MetricStatusArgs{...} }

type MetricStatusArrayOutput

type MetricStatusArrayOutput struct{ *pulumi.OutputState }

func (MetricStatusArrayOutput) ElementType

func (MetricStatusArrayOutput) ElementType() reflect.Type

func (MetricStatusArrayOutput) Index

func (MetricStatusArrayOutput) ToMetricStatusArrayOutput

func (o MetricStatusArrayOutput) ToMetricStatusArrayOutput() MetricStatusArrayOutput

func (MetricStatusArrayOutput) ToMetricStatusArrayOutputWithContext

func (o MetricStatusArrayOutput) ToMetricStatusArrayOutputWithContext(ctx context.Context) MetricStatusArrayOutput

type MetricStatusInput

type MetricStatusInput interface {
	pulumi.Input

	ToMetricStatusOutput() MetricStatusOutput
	ToMetricStatusOutputWithContext(context.Context) MetricStatusOutput
}

MetricStatusInput is an input type that accepts MetricStatusArgs and MetricStatusOutput values. You can construct a concrete instance of `MetricStatusInput` via:

MetricStatusArgs{...}

type MetricStatusOutput

type MetricStatusOutput struct{ *pulumi.OutputState }

MetricStatus describes the last-read state of a single metric.

func (MetricStatusOutput) ContainerResource

container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricStatusOutput) ElementType

func (MetricStatusOutput) ElementType() reflect.Type

func (MetricStatusOutput) External

external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

func (MetricStatusOutput) Object

object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).

func (MetricStatusOutput) Pods

pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (MetricStatusOutput) Resource

resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricStatusOutput) ToMetricStatusOutput

func (o MetricStatusOutput) ToMetricStatusOutput() MetricStatusOutput

func (MetricStatusOutput) ToMetricStatusOutputWithContext

func (o MetricStatusOutput) ToMetricStatusOutputWithContext(ctx context.Context) MetricStatusOutput

func (MetricStatusOutput) Type

type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.

type MetricStatusPatch added in v3.20.0

type MetricStatusPatch struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	ContainerResource *ContainerResourceMetricStatusPatch `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External *ExternalMetricStatusPatch `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object *ObjectMetricStatusPatch `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods *PodsMetricStatusPatch `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource *ResourceMetricStatusPatch `pulumi:"resource"`
	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	Type *string `pulumi:"type"`
}

MetricStatus describes the last-read state of a single metric.

type MetricStatusPatchArgs added in v3.20.0

type MetricStatusPatchArgs struct {
	// container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	ContainerResource ContainerResourceMetricStatusPatchPtrInput `pulumi:"containerResource"`
	// external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
	External ExternalMetricStatusPatchPtrInput `pulumi:"external"`
	// object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
	Object ObjectMetricStatusPatchPtrInput `pulumi:"object"`
	// pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second).  The values will be averaged together before being compared to the target value.
	Pods PodsMetricStatusPatchPtrInput `pulumi:"pods"`
	// resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
	Resource ResourceMetricStatusPatchPtrInput `pulumi:"resource"`
	// type is the type of metric source.  It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

MetricStatus describes the last-read state of a single metric.

func (MetricStatusPatchArgs) ElementType added in v3.20.0

func (MetricStatusPatchArgs) ElementType() reflect.Type

func (MetricStatusPatchArgs) ToMetricStatusPatchOutput added in v3.20.0

func (i MetricStatusPatchArgs) ToMetricStatusPatchOutput() MetricStatusPatchOutput

func (MetricStatusPatchArgs) ToMetricStatusPatchOutputWithContext added in v3.20.0

func (i MetricStatusPatchArgs) ToMetricStatusPatchOutputWithContext(ctx context.Context) MetricStatusPatchOutput

type MetricStatusPatchArray added in v3.20.0

type MetricStatusPatchArray []MetricStatusPatchInput

func (MetricStatusPatchArray) ElementType added in v3.20.0

func (MetricStatusPatchArray) ElementType() reflect.Type

func (MetricStatusPatchArray) ToMetricStatusPatchArrayOutput added in v3.20.0

func (i MetricStatusPatchArray) ToMetricStatusPatchArrayOutput() MetricStatusPatchArrayOutput

func (MetricStatusPatchArray) ToMetricStatusPatchArrayOutputWithContext added in v3.20.0

func (i MetricStatusPatchArray) ToMetricStatusPatchArrayOutputWithContext(ctx context.Context) MetricStatusPatchArrayOutput

type MetricStatusPatchArrayInput added in v3.20.0

type MetricStatusPatchArrayInput interface {
	pulumi.Input

	ToMetricStatusPatchArrayOutput() MetricStatusPatchArrayOutput
	ToMetricStatusPatchArrayOutputWithContext(context.Context) MetricStatusPatchArrayOutput
}

MetricStatusPatchArrayInput is an input type that accepts MetricStatusPatchArray and MetricStatusPatchArrayOutput values. You can construct a concrete instance of `MetricStatusPatchArrayInput` via:

MetricStatusPatchArray{ MetricStatusPatchArgs{...} }

type MetricStatusPatchArrayOutput added in v3.20.0

type MetricStatusPatchArrayOutput struct{ *pulumi.OutputState }

func (MetricStatusPatchArrayOutput) ElementType added in v3.20.0

func (MetricStatusPatchArrayOutput) Index added in v3.20.0

func (MetricStatusPatchArrayOutput) ToMetricStatusPatchArrayOutput added in v3.20.0

func (o MetricStatusPatchArrayOutput) ToMetricStatusPatchArrayOutput() MetricStatusPatchArrayOutput

func (MetricStatusPatchArrayOutput) ToMetricStatusPatchArrayOutputWithContext added in v3.20.0

func (o MetricStatusPatchArrayOutput) ToMetricStatusPatchArrayOutputWithContext(ctx context.Context) MetricStatusPatchArrayOutput

type MetricStatusPatchInput added in v3.20.0

type MetricStatusPatchInput interface {
	pulumi.Input

	ToMetricStatusPatchOutput() MetricStatusPatchOutput
	ToMetricStatusPatchOutputWithContext(context.Context) MetricStatusPatchOutput
}

MetricStatusPatchInput is an input type that accepts MetricStatusPatchArgs and MetricStatusPatchOutput values. You can construct a concrete instance of `MetricStatusPatchInput` via:

MetricStatusPatchArgs{...}

type MetricStatusPatchOutput added in v3.20.0

type MetricStatusPatchOutput struct{ *pulumi.OutputState }

MetricStatus describes the last-read state of a single metric.

func (MetricStatusPatchOutput) ContainerResource added in v3.20.0

container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricStatusPatchOutput) ElementType added in v3.20.0

func (MetricStatusPatchOutput) ElementType() reflect.Type

func (MetricStatusPatchOutput) External added in v3.20.0

external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

func (MetricStatusPatchOutput) Object added in v3.20.0

object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).

func (MetricStatusPatchOutput) Pods added in v3.20.0

pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (MetricStatusPatchOutput) Resource added in v3.20.0

resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (MetricStatusPatchOutput) ToMetricStatusPatchOutput added in v3.20.0

func (o MetricStatusPatchOutput) ToMetricStatusPatchOutput() MetricStatusPatchOutput

func (MetricStatusPatchOutput) ToMetricStatusPatchOutputWithContext added in v3.20.0

func (o MetricStatusPatchOutput) ToMetricStatusPatchOutputWithContext(ctx context.Context) MetricStatusPatchOutput

func (MetricStatusPatchOutput) Type added in v3.20.0

type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.

type ObjectMetricSource

type ObjectMetricSource struct {
	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue *string `pulumi:"averageValue"`
	// metricName is the name of the metric in question.
	MetricName string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReference `pulumi:"target"`
	// targetValue is the target value of the metric (as a quantity).
	TargetValue string `pulumi:"targetValue"`
}

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

type ObjectMetricSourceArgs

type ObjectMetricSourceArgs struct {
	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue pulumi.StringPtrInput `pulumi:"averageValue"`
	// metricName is the name of the metric in question.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReferenceInput `pulumi:"target"`
	// targetValue is the target value of the metric (as a quantity).
	TargetValue pulumi.StringInput `pulumi:"targetValue"`
}

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricSourceArgs) ElementType

func (ObjectMetricSourceArgs) ElementType() reflect.Type

func (ObjectMetricSourceArgs) ToObjectMetricSourceOutput

func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutput() ObjectMetricSourceOutput

func (ObjectMetricSourceArgs) ToObjectMetricSourceOutputWithContext

func (i ObjectMetricSourceArgs) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput

func (ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutput

func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput

func (ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutputWithContext

func (i ObjectMetricSourceArgs) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput

type ObjectMetricSourceInput

type ObjectMetricSourceInput interface {
	pulumi.Input

	ToObjectMetricSourceOutput() ObjectMetricSourceOutput
	ToObjectMetricSourceOutputWithContext(context.Context) ObjectMetricSourceOutput
}

ObjectMetricSourceInput is an input type that accepts ObjectMetricSourceArgs and ObjectMetricSourceOutput values. You can construct a concrete instance of `ObjectMetricSourceInput` via:

ObjectMetricSourceArgs{...}

type ObjectMetricSourceOutput

type ObjectMetricSourceOutput struct{ *pulumi.OutputState }

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricSourceOutput) AverageValue

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricSourceOutput) ElementType

func (ObjectMetricSourceOutput) ElementType() reflect.Type

func (ObjectMetricSourceOutput) MetricName

metricName is the name of the metric in question.

func (ObjectMetricSourceOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (ObjectMetricSourceOutput) Target

target is the described Kubernetes object.

func (ObjectMetricSourceOutput) TargetValue

targetValue is the target value of the metric (as a quantity).

func (ObjectMetricSourceOutput) ToObjectMetricSourceOutput

func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutput() ObjectMetricSourceOutput

func (ObjectMetricSourceOutput) ToObjectMetricSourceOutputWithContext

func (o ObjectMetricSourceOutput) ToObjectMetricSourceOutputWithContext(ctx context.Context) ObjectMetricSourceOutput

func (ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutput

func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput

func (ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutputWithContext

func (o ObjectMetricSourceOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput

type ObjectMetricSourcePatch added in v3.20.0

type ObjectMetricSourcePatch struct {
	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue *string `pulumi:"averageValue"`
	// metricName is the name of the metric in question.
	MetricName *string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target *CrossVersionObjectReferencePatch `pulumi:"target"`
	// targetValue is the target value of the metric (as a quantity).
	TargetValue *string `pulumi:"targetValue"`
}

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

type ObjectMetricSourcePatchArgs added in v3.20.0

type ObjectMetricSourcePatchArgs struct {
	// averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	AverageValue pulumi.StringPtrInput `pulumi:"averageValue"`
	// metricName is the name of the metric in question.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReferencePatchPtrInput `pulumi:"target"`
	// targetValue is the target value of the metric (as a quantity).
	TargetValue pulumi.StringPtrInput `pulumi:"targetValue"`
}

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricSourcePatchArgs) ElementType added in v3.20.0

func (ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchOutput added in v3.20.0

func (i ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchOutput() ObjectMetricSourcePatchOutput

func (ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchOutputWithContext added in v3.20.0

func (i ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchOutputWithContext(ctx context.Context) ObjectMetricSourcePatchOutput

func (ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchPtrOutput added in v3.20.0

func (i ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchPtrOutput() ObjectMetricSourcePatchPtrOutput

func (ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (i ObjectMetricSourcePatchArgs) ToObjectMetricSourcePatchPtrOutputWithContext(ctx context.Context) ObjectMetricSourcePatchPtrOutput

type ObjectMetricSourcePatchInput added in v3.20.0

type ObjectMetricSourcePatchInput interface {
	pulumi.Input

	ToObjectMetricSourcePatchOutput() ObjectMetricSourcePatchOutput
	ToObjectMetricSourcePatchOutputWithContext(context.Context) ObjectMetricSourcePatchOutput
}

ObjectMetricSourcePatchInput is an input type that accepts ObjectMetricSourcePatchArgs and ObjectMetricSourcePatchOutput values. You can construct a concrete instance of `ObjectMetricSourcePatchInput` via:

ObjectMetricSourcePatchArgs{...}

type ObjectMetricSourcePatchOutput added in v3.20.0

type ObjectMetricSourcePatchOutput struct{ *pulumi.OutputState }

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricSourcePatchOutput) AverageValue added in v3.20.0

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricSourcePatchOutput) ElementType added in v3.20.0

func (ObjectMetricSourcePatchOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ObjectMetricSourcePatchOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (ObjectMetricSourcePatchOutput) Target added in v3.20.0

target is the described Kubernetes object.

func (ObjectMetricSourcePatchOutput) TargetValue added in v3.20.0

targetValue is the target value of the metric (as a quantity).

func (ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchOutput added in v3.20.0

func (o ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchOutput() ObjectMetricSourcePatchOutput

func (ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchOutputWithContext added in v3.20.0

func (o ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchOutputWithContext(ctx context.Context) ObjectMetricSourcePatchOutput

func (ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchPtrOutput added in v3.20.0

func (o ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchPtrOutput() ObjectMetricSourcePatchPtrOutput

func (ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ObjectMetricSourcePatchOutput) ToObjectMetricSourcePatchPtrOutputWithContext(ctx context.Context) ObjectMetricSourcePatchPtrOutput

type ObjectMetricSourcePatchPtrInput added in v3.20.0

type ObjectMetricSourcePatchPtrInput interface {
	pulumi.Input

	ToObjectMetricSourcePatchPtrOutput() ObjectMetricSourcePatchPtrOutput
	ToObjectMetricSourcePatchPtrOutputWithContext(context.Context) ObjectMetricSourcePatchPtrOutput
}

ObjectMetricSourcePatchPtrInput is an input type that accepts ObjectMetricSourcePatchArgs, ObjectMetricSourcePatchPtr and ObjectMetricSourcePatchPtrOutput values. You can construct a concrete instance of `ObjectMetricSourcePatchPtrInput` via:

        ObjectMetricSourcePatchArgs{...}

or:

        nil

func ObjectMetricSourcePatchPtr added in v3.20.0

func ObjectMetricSourcePatchPtr(v *ObjectMetricSourcePatchArgs) ObjectMetricSourcePatchPtrInput

type ObjectMetricSourcePatchPtrOutput added in v3.20.0

type ObjectMetricSourcePatchPtrOutput struct{ *pulumi.OutputState }

func (ObjectMetricSourcePatchPtrOutput) AverageValue added in v3.20.0

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricSourcePatchPtrOutput) Elem added in v3.20.0

func (ObjectMetricSourcePatchPtrOutput) ElementType added in v3.20.0

func (ObjectMetricSourcePatchPtrOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ObjectMetricSourcePatchPtrOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (ObjectMetricSourcePatchPtrOutput) Target added in v3.20.0

target is the described Kubernetes object.

func (ObjectMetricSourcePatchPtrOutput) TargetValue added in v3.20.0

targetValue is the target value of the metric (as a quantity).

func (ObjectMetricSourcePatchPtrOutput) ToObjectMetricSourcePatchPtrOutput added in v3.20.0

func (o ObjectMetricSourcePatchPtrOutput) ToObjectMetricSourcePatchPtrOutput() ObjectMetricSourcePatchPtrOutput

func (ObjectMetricSourcePatchPtrOutput) ToObjectMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ObjectMetricSourcePatchPtrOutput) ToObjectMetricSourcePatchPtrOutputWithContext(ctx context.Context) ObjectMetricSourcePatchPtrOutput

type ObjectMetricSourcePtrInput

type ObjectMetricSourcePtrInput interface {
	pulumi.Input

	ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput
	ToObjectMetricSourcePtrOutputWithContext(context.Context) ObjectMetricSourcePtrOutput
}

ObjectMetricSourcePtrInput is an input type that accepts ObjectMetricSourceArgs, ObjectMetricSourcePtr and ObjectMetricSourcePtrOutput values. You can construct a concrete instance of `ObjectMetricSourcePtrInput` via:

        ObjectMetricSourceArgs{...}

or:

        nil

type ObjectMetricSourcePtrOutput

type ObjectMetricSourcePtrOutput struct{ *pulumi.OutputState }

func (ObjectMetricSourcePtrOutput) AverageValue

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricSourcePtrOutput) Elem

func (ObjectMetricSourcePtrOutput) ElementType

func (ObjectMetricSourcePtrOutput) MetricName

metricName is the name of the metric in question.

func (ObjectMetricSourcePtrOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (ObjectMetricSourcePtrOutput) Target

target is the described Kubernetes object.

func (ObjectMetricSourcePtrOutput) TargetValue

targetValue is the target value of the metric (as a quantity).

func (ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutput

func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutput() ObjectMetricSourcePtrOutput

func (ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutputWithContext

func (o ObjectMetricSourcePtrOutput) ToObjectMetricSourcePtrOutputWithContext(ctx context.Context) ObjectMetricSourcePtrOutput

type ObjectMetricStatus

type ObjectMetricStatus struct {
	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue *string `pulumi:"averageValue"`
	// currentValue is the current value of the metric (as a quantity).
	CurrentValue string `pulumi:"currentValue"`
	// metricName is the name of the metric in question.
	MetricName string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReference `pulumi:"target"`
}

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

type ObjectMetricStatusArgs

type ObjectMetricStatusArgs struct {
	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue pulumi.StringPtrInput `pulumi:"averageValue"`
	// currentValue is the current value of the metric (as a quantity).
	CurrentValue pulumi.StringInput `pulumi:"currentValue"`
	// metricName is the name of the metric in question.
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReferenceInput `pulumi:"target"`
}

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricStatusArgs) ElementType

func (ObjectMetricStatusArgs) ElementType() reflect.Type

func (ObjectMetricStatusArgs) ToObjectMetricStatusOutput

func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutput() ObjectMetricStatusOutput

func (ObjectMetricStatusArgs) ToObjectMetricStatusOutputWithContext

func (i ObjectMetricStatusArgs) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput

func (ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutput

func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput

func (ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutputWithContext

func (i ObjectMetricStatusArgs) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput

type ObjectMetricStatusInput

type ObjectMetricStatusInput interface {
	pulumi.Input

	ToObjectMetricStatusOutput() ObjectMetricStatusOutput
	ToObjectMetricStatusOutputWithContext(context.Context) ObjectMetricStatusOutput
}

ObjectMetricStatusInput is an input type that accepts ObjectMetricStatusArgs and ObjectMetricStatusOutput values. You can construct a concrete instance of `ObjectMetricStatusInput` via:

ObjectMetricStatusArgs{...}

type ObjectMetricStatusOutput

type ObjectMetricStatusOutput struct{ *pulumi.OutputState }

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricStatusOutput) AverageValue

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricStatusOutput) CurrentValue

func (o ObjectMetricStatusOutput) CurrentValue() pulumi.StringOutput

currentValue is the current value of the metric (as a quantity).

func (ObjectMetricStatusOutput) ElementType

func (ObjectMetricStatusOutput) ElementType() reflect.Type

func (ObjectMetricStatusOutput) MetricName

metricName is the name of the metric in question.

func (ObjectMetricStatusOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (ObjectMetricStatusOutput) Target

target is the described Kubernetes object.

func (ObjectMetricStatusOutput) ToObjectMetricStatusOutput

func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutput() ObjectMetricStatusOutput

func (ObjectMetricStatusOutput) ToObjectMetricStatusOutputWithContext

func (o ObjectMetricStatusOutput) ToObjectMetricStatusOutputWithContext(ctx context.Context) ObjectMetricStatusOutput

func (ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutput

func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput

func (ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutputWithContext

func (o ObjectMetricStatusOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput

type ObjectMetricStatusPatch added in v3.20.0

type ObjectMetricStatusPatch struct {
	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue *string `pulumi:"averageValue"`
	// currentValue is the current value of the metric (as a quantity).
	CurrentValue *string `pulumi:"currentValue"`
	// metricName is the name of the metric in question.
	MetricName *string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target *CrossVersionObjectReferencePatch `pulumi:"target"`
}

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

type ObjectMetricStatusPatchArgs added in v3.20.0

type ObjectMetricStatusPatchArgs struct {
	// averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	AverageValue pulumi.StringPtrInput `pulumi:"averageValue"`
	// currentValue is the current value of the metric (as a quantity).
	CurrentValue pulumi.StringPtrInput `pulumi:"currentValue"`
	// metricName is the name of the metric in question.
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// target is the described Kubernetes object.
	Target CrossVersionObjectReferencePatchPtrInput `pulumi:"target"`
}

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricStatusPatchArgs) ElementType added in v3.20.0

func (ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchOutput added in v3.20.0

func (i ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchOutput() ObjectMetricStatusPatchOutput

func (ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchOutputWithContext added in v3.20.0

func (i ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchOutputWithContext(ctx context.Context) ObjectMetricStatusPatchOutput

func (ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchPtrOutput added in v3.20.0

func (i ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchPtrOutput() ObjectMetricStatusPatchPtrOutput

func (ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (i ObjectMetricStatusPatchArgs) ToObjectMetricStatusPatchPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPatchPtrOutput

type ObjectMetricStatusPatchInput added in v3.20.0

type ObjectMetricStatusPatchInput interface {
	pulumi.Input

	ToObjectMetricStatusPatchOutput() ObjectMetricStatusPatchOutput
	ToObjectMetricStatusPatchOutputWithContext(context.Context) ObjectMetricStatusPatchOutput
}

ObjectMetricStatusPatchInput is an input type that accepts ObjectMetricStatusPatchArgs and ObjectMetricStatusPatchOutput values. You can construct a concrete instance of `ObjectMetricStatusPatchInput` via:

ObjectMetricStatusPatchArgs{...}

type ObjectMetricStatusPatchOutput added in v3.20.0

type ObjectMetricStatusPatchOutput struct{ *pulumi.OutputState }

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

func (ObjectMetricStatusPatchOutput) AverageValue added in v3.20.0

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricStatusPatchOutput) CurrentValue added in v3.20.0

currentValue is the current value of the metric (as a quantity).

func (ObjectMetricStatusPatchOutput) ElementType added in v3.20.0

func (ObjectMetricStatusPatchOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ObjectMetricStatusPatchOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (ObjectMetricStatusPatchOutput) Target added in v3.20.0

target is the described Kubernetes object.

func (ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchOutput added in v3.20.0

func (o ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchOutput() ObjectMetricStatusPatchOutput

func (ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchOutputWithContext added in v3.20.0

func (o ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchOutputWithContext(ctx context.Context) ObjectMetricStatusPatchOutput

func (ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchPtrOutput added in v3.20.0

func (o ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchPtrOutput() ObjectMetricStatusPatchPtrOutput

func (ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ObjectMetricStatusPatchOutput) ToObjectMetricStatusPatchPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPatchPtrOutput

type ObjectMetricStatusPatchPtrInput added in v3.20.0

type ObjectMetricStatusPatchPtrInput interface {
	pulumi.Input

	ToObjectMetricStatusPatchPtrOutput() ObjectMetricStatusPatchPtrOutput
	ToObjectMetricStatusPatchPtrOutputWithContext(context.Context) ObjectMetricStatusPatchPtrOutput
}

ObjectMetricStatusPatchPtrInput is an input type that accepts ObjectMetricStatusPatchArgs, ObjectMetricStatusPatchPtr and ObjectMetricStatusPatchPtrOutput values. You can construct a concrete instance of `ObjectMetricStatusPatchPtrInput` via:

        ObjectMetricStatusPatchArgs{...}

or:

        nil

func ObjectMetricStatusPatchPtr added in v3.20.0

func ObjectMetricStatusPatchPtr(v *ObjectMetricStatusPatchArgs) ObjectMetricStatusPatchPtrInput

type ObjectMetricStatusPatchPtrOutput added in v3.20.0

type ObjectMetricStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ObjectMetricStatusPatchPtrOutput) AverageValue added in v3.20.0

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricStatusPatchPtrOutput) CurrentValue added in v3.20.0

currentValue is the current value of the metric (as a quantity).

func (ObjectMetricStatusPatchPtrOutput) Elem added in v3.20.0

func (ObjectMetricStatusPatchPtrOutput) ElementType added in v3.20.0

func (ObjectMetricStatusPatchPtrOutput) MetricName added in v3.20.0

metricName is the name of the metric in question.

func (ObjectMetricStatusPatchPtrOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (ObjectMetricStatusPatchPtrOutput) Target added in v3.20.0

target is the described Kubernetes object.

func (ObjectMetricStatusPatchPtrOutput) ToObjectMetricStatusPatchPtrOutput added in v3.20.0

func (o ObjectMetricStatusPatchPtrOutput) ToObjectMetricStatusPatchPtrOutput() ObjectMetricStatusPatchPtrOutput

func (ObjectMetricStatusPatchPtrOutput) ToObjectMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ObjectMetricStatusPatchPtrOutput) ToObjectMetricStatusPatchPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPatchPtrOutput

type ObjectMetricStatusPtrInput

type ObjectMetricStatusPtrInput interface {
	pulumi.Input

	ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput
	ToObjectMetricStatusPtrOutputWithContext(context.Context) ObjectMetricStatusPtrOutput
}

ObjectMetricStatusPtrInput is an input type that accepts ObjectMetricStatusArgs, ObjectMetricStatusPtr and ObjectMetricStatusPtrOutput values. You can construct a concrete instance of `ObjectMetricStatusPtrInput` via:

        ObjectMetricStatusArgs{...}

or:

        nil

type ObjectMetricStatusPtrOutput

type ObjectMetricStatusPtrOutput struct{ *pulumi.OutputState }

func (ObjectMetricStatusPtrOutput) AverageValue

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (ObjectMetricStatusPtrOutput) CurrentValue

currentValue is the current value of the metric (as a quantity).

func (ObjectMetricStatusPtrOutput) Elem

func (ObjectMetricStatusPtrOutput) ElementType

func (ObjectMetricStatusPtrOutput) MetricName

metricName is the name of the metric in question.

func (ObjectMetricStatusPtrOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (ObjectMetricStatusPtrOutput) Target

target is the described Kubernetes object.

func (ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutput

func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutput() ObjectMetricStatusPtrOutput

func (ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutputWithContext

func (o ObjectMetricStatusPtrOutput) ToObjectMetricStatusPtrOutputWithContext(ctx context.Context) ObjectMetricStatusPtrOutput

type PodsMetricSource

type PodsMetricSource struct {
	// metricName is the name of the metric in question
	MetricName string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelector `pulumi:"selector"`
	// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	TargetAverageValue string `pulumi:"targetAverageValue"`
}

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

type PodsMetricSourceArgs

type PodsMetricSourceArgs struct {
	// metricName is the name of the metric in question
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
	// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	TargetAverageValue pulumi.StringInput `pulumi:"targetAverageValue"`
}

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (PodsMetricSourceArgs) ElementType

func (PodsMetricSourceArgs) ElementType() reflect.Type

func (PodsMetricSourceArgs) ToPodsMetricSourceOutput

func (i PodsMetricSourceArgs) ToPodsMetricSourceOutput() PodsMetricSourceOutput

func (PodsMetricSourceArgs) ToPodsMetricSourceOutputWithContext

func (i PodsMetricSourceArgs) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput

func (PodsMetricSourceArgs) ToPodsMetricSourcePtrOutput

func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput

func (PodsMetricSourceArgs) ToPodsMetricSourcePtrOutputWithContext

func (i PodsMetricSourceArgs) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput

type PodsMetricSourceInput

type PodsMetricSourceInput interface {
	pulumi.Input

	ToPodsMetricSourceOutput() PodsMetricSourceOutput
	ToPodsMetricSourceOutputWithContext(context.Context) PodsMetricSourceOutput
}

PodsMetricSourceInput is an input type that accepts PodsMetricSourceArgs and PodsMetricSourceOutput values. You can construct a concrete instance of `PodsMetricSourceInput` via:

PodsMetricSourceArgs{...}

type PodsMetricSourceOutput

type PodsMetricSourceOutput struct{ *pulumi.OutputState }

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (PodsMetricSourceOutput) ElementType

func (PodsMetricSourceOutput) ElementType() reflect.Type

func (PodsMetricSourceOutput) MetricName

metricName is the name of the metric in question

func (PodsMetricSourceOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (PodsMetricSourceOutput) TargetAverageValue

func (o PodsMetricSourceOutput) TargetAverageValue() pulumi.StringOutput

targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricSourceOutput) ToPodsMetricSourceOutput

func (o PodsMetricSourceOutput) ToPodsMetricSourceOutput() PodsMetricSourceOutput

func (PodsMetricSourceOutput) ToPodsMetricSourceOutputWithContext

func (o PodsMetricSourceOutput) ToPodsMetricSourceOutputWithContext(ctx context.Context) PodsMetricSourceOutput

func (PodsMetricSourceOutput) ToPodsMetricSourcePtrOutput

func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput

func (PodsMetricSourceOutput) ToPodsMetricSourcePtrOutputWithContext

func (o PodsMetricSourceOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput

type PodsMetricSourcePatch added in v3.20.0

type PodsMetricSourcePatch struct {
	// metricName is the name of the metric in question
	MetricName *string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
	// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	TargetAverageValue *string `pulumi:"targetAverageValue"`
}

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

type PodsMetricSourcePatchArgs added in v3.20.0

type PodsMetricSourcePatchArgs struct {
	// metricName is the name of the metric in question
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
	// targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
}

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (PodsMetricSourcePatchArgs) ElementType added in v3.20.0

func (PodsMetricSourcePatchArgs) ElementType() reflect.Type

func (PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchOutput added in v3.20.0

func (i PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchOutput() PodsMetricSourcePatchOutput

func (PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchOutputWithContext added in v3.20.0

func (i PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchOutputWithContext(ctx context.Context) PodsMetricSourcePatchOutput

func (PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchPtrOutput added in v3.20.0

func (i PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchPtrOutput() PodsMetricSourcePatchPtrOutput

func (PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (i PodsMetricSourcePatchArgs) ToPodsMetricSourcePatchPtrOutputWithContext(ctx context.Context) PodsMetricSourcePatchPtrOutput

type PodsMetricSourcePatchInput added in v3.20.0

type PodsMetricSourcePatchInput interface {
	pulumi.Input

	ToPodsMetricSourcePatchOutput() PodsMetricSourcePatchOutput
	ToPodsMetricSourcePatchOutputWithContext(context.Context) PodsMetricSourcePatchOutput
}

PodsMetricSourcePatchInput is an input type that accepts PodsMetricSourcePatchArgs and PodsMetricSourcePatchOutput values. You can construct a concrete instance of `PodsMetricSourcePatchInput` via:

PodsMetricSourcePatchArgs{...}

type PodsMetricSourcePatchOutput added in v3.20.0

type PodsMetricSourcePatchOutput struct{ *pulumi.OutputState }

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

func (PodsMetricSourcePatchOutput) ElementType added in v3.20.0

func (PodsMetricSourcePatchOutput) MetricName added in v3.20.0

metricName is the name of the metric in question

func (PodsMetricSourcePatchOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (PodsMetricSourcePatchOutput) TargetAverageValue added in v3.20.0

func (o PodsMetricSourcePatchOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchOutput added in v3.20.0

func (o PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchOutput() PodsMetricSourcePatchOutput

func (PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchOutputWithContext added in v3.20.0

func (o PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchOutputWithContext(ctx context.Context) PodsMetricSourcePatchOutput

func (PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchPtrOutput added in v3.20.0

func (o PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchPtrOutput() PodsMetricSourcePatchPtrOutput

func (PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o PodsMetricSourcePatchOutput) ToPodsMetricSourcePatchPtrOutputWithContext(ctx context.Context) PodsMetricSourcePatchPtrOutput

type PodsMetricSourcePatchPtrInput added in v3.20.0

type PodsMetricSourcePatchPtrInput interface {
	pulumi.Input

	ToPodsMetricSourcePatchPtrOutput() PodsMetricSourcePatchPtrOutput
	ToPodsMetricSourcePatchPtrOutputWithContext(context.Context) PodsMetricSourcePatchPtrOutput
}

PodsMetricSourcePatchPtrInput is an input type that accepts PodsMetricSourcePatchArgs, PodsMetricSourcePatchPtr and PodsMetricSourcePatchPtrOutput values. You can construct a concrete instance of `PodsMetricSourcePatchPtrInput` via:

        PodsMetricSourcePatchArgs{...}

or:

        nil

func PodsMetricSourcePatchPtr added in v3.20.0

func PodsMetricSourcePatchPtr(v *PodsMetricSourcePatchArgs) PodsMetricSourcePatchPtrInput

type PodsMetricSourcePatchPtrOutput added in v3.20.0

type PodsMetricSourcePatchPtrOutput struct{ *pulumi.OutputState }

func (PodsMetricSourcePatchPtrOutput) Elem added in v3.20.0

func (PodsMetricSourcePatchPtrOutput) ElementType added in v3.20.0

func (PodsMetricSourcePatchPtrOutput) MetricName added in v3.20.0

metricName is the name of the metric in question

func (PodsMetricSourcePatchPtrOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (PodsMetricSourcePatchPtrOutput) TargetAverageValue added in v3.20.0

func (o PodsMetricSourcePatchPtrOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricSourcePatchPtrOutput) ToPodsMetricSourcePatchPtrOutput added in v3.20.0

func (o PodsMetricSourcePatchPtrOutput) ToPodsMetricSourcePatchPtrOutput() PodsMetricSourcePatchPtrOutput

func (PodsMetricSourcePatchPtrOutput) ToPodsMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o PodsMetricSourcePatchPtrOutput) ToPodsMetricSourcePatchPtrOutputWithContext(ctx context.Context) PodsMetricSourcePatchPtrOutput

type PodsMetricSourcePtrInput

type PodsMetricSourcePtrInput interface {
	pulumi.Input

	ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput
	ToPodsMetricSourcePtrOutputWithContext(context.Context) PodsMetricSourcePtrOutput
}

PodsMetricSourcePtrInput is an input type that accepts PodsMetricSourceArgs, PodsMetricSourcePtr and PodsMetricSourcePtrOutput values. You can construct a concrete instance of `PodsMetricSourcePtrInput` via:

        PodsMetricSourceArgs{...}

or:

        nil

type PodsMetricSourcePtrOutput

type PodsMetricSourcePtrOutput struct{ *pulumi.OutputState }

func (PodsMetricSourcePtrOutput) Elem

func (PodsMetricSourcePtrOutput) ElementType

func (PodsMetricSourcePtrOutput) ElementType() reflect.Type

func (PodsMetricSourcePtrOutput) MetricName

metricName is the name of the metric in question

func (PodsMetricSourcePtrOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

func (PodsMetricSourcePtrOutput) TargetAverageValue

func (o PodsMetricSourcePtrOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutput

func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutput() PodsMetricSourcePtrOutput

func (PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutputWithContext

func (o PodsMetricSourcePtrOutput) ToPodsMetricSourcePtrOutputWithContext(ctx context.Context) PodsMetricSourcePtrOutput

type PodsMetricStatus

type PodsMetricStatus struct {
	// currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	CurrentAverageValue string `pulumi:"currentAverageValue"`
	// metricName is the name of the metric in question
	MetricName string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelector `pulumi:"selector"`
}

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

type PodsMetricStatusArgs

type PodsMetricStatusArgs struct {
	// currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	CurrentAverageValue pulumi.StringInput `pulumi:"currentAverageValue"`
	// metricName is the name of the metric in question
	MetricName pulumi.StringInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPtrInput `pulumi:"selector"`
}

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

func (PodsMetricStatusArgs) ElementType

func (PodsMetricStatusArgs) ElementType() reflect.Type

func (PodsMetricStatusArgs) ToPodsMetricStatusOutput

func (i PodsMetricStatusArgs) ToPodsMetricStatusOutput() PodsMetricStatusOutput

func (PodsMetricStatusArgs) ToPodsMetricStatusOutputWithContext

func (i PodsMetricStatusArgs) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput

func (PodsMetricStatusArgs) ToPodsMetricStatusPtrOutput

func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput

func (PodsMetricStatusArgs) ToPodsMetricStatusPtrOutputWithContext

func (i PodsMetricStatusArgs) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput

type PodsMetricStatusInput

type PodsMetricStatusInput interface {
	pulumi.Input

	ToPodsMetricStatusOutput() PodsMetricStatusOutput
	ToPodsMetricStatusOutputWithContext(context.Context) PodsMetricStatusOutput
}

PodsMetricStatusInput is an input type that accepts PodsMetricStatusArgs and PodsMetricStatusOutput values. You can construct a concrete instance of `PodsMetricStatusInput` via:

PodsMetricStatusArgs{...}

type PodsMetricStatusOutput

type PodsMetricStatusOutput struct{ *pulumi.OutputState }

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

func (PodsMetricStatusOutput) CurrentAverageValue

func (o PodsMetricStatusOutput) CurrentAverageValue() pulumi.StringOutput

currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricStatusOutput) ElementType

func (PodsMetricStatusOutput) ElementType() reflect.Type

func (PodsMetricStatusOutput) MetricName

metricName is the name of the metric in question

func (PodsMetricStatusOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (PodsMetricStatusOutput) ToPodsMetricStatusOutput

func (o PodsMetricStatusOutput) ToPodsMetricStatusOutput() PodsMetricStatusOutput

func (PodsMetricStatusOutput) ToPodsMetricStatusOutputWithContext

func (o PodsMetricStatusOutput) ToPodsMetricStatusOutputWithContext(ctx context.Context) PodsMetricStatusOutput

func (PodsMetricStatusOutput) ToPodsMetricStatusPtrOutput

func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput

func (PodsMetricStatusOutput) ToPodsMetricStatusPtrOutputWithContext

func (o PodsMetricStatusOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput

type PodsMetricStatusPatch added in v3.20.0

type PodsMetricStatusPatch struct {
	// currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	CurrentAverageValue *string `pulumi:"currentAverageValue"`
	// metricName is the name of the metric in question
	MetricName *string `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector *metav1.LabelSelectorPatch `pulumi:"selector"`
}

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

type PodsMetricStatusPatchArgs added in v3.20.0

type PodsMetricStatusPatchArgs struct {
	// currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
	CurrentAverageValue pulumi.StringPtrInput `pulumi:"currentAverageValue"`
	// metricName is the name of the metric in question
	MetricName pulumi.StringPtrInput `pulumi:"metricName"`
	// selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
	Selector metav1.LabelSelectorPatchPtrInput `pulumi:"selector"`
}

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

func (PodsMetricStatusPatchArgs) ElementType added in v3.20.0

func (PodsMetricStatusPatchArgs) ElementType() reflect.Type

func (PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchOutput added in v3.20.0

func (i PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchOutput() PodsMetricStatusPatchOutput

func (PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchOutputWithContext added in v3.20.0

func (i PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchOutputWithContext(ctx context.Context) PodsMetricStatusPatchOutput

func (PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchPtrOutput added in v3.20.0

func (i PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchPtrOutput() PodsMetricStatusPatchPtrOutput

func (PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (i PodsMetricStatusPatchArgs) ToPodsMetricStatusPatchPtrOutputWithContext(ctx context.Context) PodsMetricStatusPatchPtrOutput

type PodsMetricStatusPatchInput added in v3.20.0

type PodsMetricStatusPatchInput interface {
	pulumi.Input

	ToPodsMetricStatusPatchOutput() PodsMetricStatusPatchOutput
	ToPodsMetricStatusPatchOutputWithContext(context.Context) PodsMetricStatusPatchOutput
}

PodsMetricStatusPatchInput is an input type that accepts PodsMetricStatusPatchArgs and PodsMetricStatusPatchOutput values. You can construct a concrete instance of `PodsMetricStatusPatchInput` via:

PodsMetricStatusPatchArgs{...}

type PodsMetricStatusPatchOutput added in v3.20.0

type PodsMetricStatusPatchOutput struct{ *pulumi.OutputState }

PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).

func (PodsMetricStatusPatchOutput) CurrentAverageValue added in v3.20.0

func (o PodsMetricStatusPatchOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricStatusPatchOutput) ElementType added in v3.20.0

func (PodsMetricStatusPatchOutput) MetricName added in v3.20.0

metricName is the name of the metric in question

func (PodsMetricStatusPatchOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchOutput added in v3.20.0

func (o PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchOutput() PodsMetricStatusPatchOutput

func (PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchOutputWithContext added in v3.20.0

func (o PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchOutputWithContext(ctx context.Context) PodsMetricStatusPatchOutput

func (PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchPtrOutput added in v3.20.0

func (o PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchPtrOutput() PodsMetricStatusPatchPtrOutput

func (PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o PodsMetricStatusPatchOutput) ToPodsMetricStatusPatchPtrOutputWithContext(ctx context.Context) PodsMetricStatusPatchPtrOutput

type PodsMetricStatusPatchPtrInput added in v3.20.0

type PodsMetricStatusPatchPtrInput interface {
	pulumi.Input

	ToPodsMetricStatusPatchPtrOutput() PodsMetricStatusPatchPtrOutput
	ToPodsMetricStatusPatchPtrOutputWithContext(context.Context) PodsMetricStatusPatchPtrOutput
}

PodsMetricStatusPatchPtrInput is an input type that accepts PodsMetricStatusPatchArgs, PodsMetricStatusPatchPtr and PodsMetricStatusPatchPtrOutput values. You can construct a concrete instance of `PodsMetricStatusPatchPtrInput` via:

        PodsMetricStatusPatchArgs{...}

or:

        nil

func PodsMetricStatusPatchPtr added in v3.20.0

func PodsMetricStatusPatchPtr(v *PodsMetricStatusPatchArgs) PodsMetricStatusPatchPtrInput

type PodsMetricStatusPatchPtrOutput added in v3.20.0

type PodsMetricStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (PodsMetricStatusPatchPtrOutput) CurrentAverageValue added in v3.20.0

func (o PodsMetricStatusPatchPtrOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricStatusPatchPtrOutput) Elem added in v3.20.0

func (PodsMetricStatusPatchPtrOutput) ElementType added in v3.20.0

func (PodsMetricStatusPatchPtrOutput) MetricName added in v3.20.0

metricName is the name of the metric in question

func (PodsMetricStatusPatchPtrOutput) Selector added in v3.20.0

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (PodsMetricStatusPatchPtrOutput) ToPodsMetricStatusPatchPtrOutput added in v3.20.0

func (o PodsMetricStatusPatchPtrOutput) ToPodsMetricStatusPatchPtrOutput() PodsMetricStatusPatchPtrOutput

func (PodsMetricStatusPatchPtrOutput) ToPodsMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o PodsMetricStatusPatchPtrOutput) ToPodsMetricStatusPatchPtrOutputWithContext(ctx context.Context) PodsMetricStatusPatchPtrOutput

type PodsMetricStatusPtrInput

type PodsMetricStatusPtrInput interface {
	pulumi.Input

	ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput
	ToPodsMetricStatusPtrOutputWithContext(context.Context) PodsMetricStatusPtrOutput
}

PodsMetricStatusPtrInput is an input type that accepts PodsMetricStatusArgs, PodsMetricStatusPtr and PodsMetricStatusPtrOutput values. You can construct a concrete instance of `PodsMetricStatusPtrInput` via:

        PodsMetricStatusArgs{...}

or:

        nil

type PodsMetricStatusPtrOutput

type PodsMetricStatusPtrOutput struct{ *pulumi.OutputState }

func (PodsMetricStatusPtrOutput) CurrentAverageValue

func (o PodsMetricStatusPtrOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)

func (PodsMetricStatusPtrOutput) Elem

func (PodsMetricStatusPtrOutput) ElementType

func (PodsMetricStatusPtrOutput) ElementType() reflect.Type

func (PodsMetricStatusPtrOutput) MetricName

metricName is the name of the metric in question

func (PodsMetricStatusPtrOutput) Selector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.

func (PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutput

func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutput() PodsMetricStatusPtrOutput

func (PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutputWithContext

func (o PodsMetricStatusPtrOutput) ToPodsMetricStatusPtrOutputWithContext(ctx context.Context) PodsMetricStatusPtrOutput

type ResourceMetricSource

type ResourceMetricSource struct {
	// name is the name of the resource in question.
	Name string `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization *int `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
}

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

type ResourceMetricSourceArgs

type ResourceMetricSourceArgs struct {
	// name is the name of the resource in question.
	Name pulumi.StringInput `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization pulumi.IntPtrInput `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
}

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ResourceMetricSourceArgs) ElementType

func (ResourceMetricSourceArgs) ElementType() reflect.Type

func (ResourceMetricSourceArgs) ToResourceMetricSourceOutput

func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutput() ResourceMetricSourceOutput

func (ResourceMetricSourceArgs) ToResourceMetricSourceOutputWithContext

func (i ResourceMetricSourceArgs) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput

func (ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutput

func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput

func (ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutputWithContext

func (i ResourceMetricSourceArgs) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput

type ResourceMetricSourceInput

type ResourceMetricSourceInput interface {
	pulumi.Input

	ToResourceMetricSourceOutput() ResourceMetricSourceOutput
	ToResourceMetricSourceOutputWithContext(context.Context) ResourceMetricSourceOutput
}

ResourceMetricSourceInput is an input type that accepts ResourceMetricSourceArgs and ResourceMetricSourceOutput values. You can construct a concrete instance of `ResourceMetricSourceInput` via:

ResourceMetricSourceArgs{...}

type ResourceMetricSourceOutput

type ResourceMetricSourceOutput struct{ *pulumi.OutputState }

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ResourceMetricSourceOutput) ElementType

func (ResourceMetricSourceOutput) ElementType() reflect.Type

func (ResourceMetricSourceOutput) Name

name is the name of the resource in question.

func (ResourceMetricSourceOutput) TargetAverageUtilization

func (o ResourceMetricSourceOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ResourceMetricSourceOutput) TargetAverageValue

func (o ResourceMetricSourceOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ResourceMetricSourceOutput) ToResourceMetricSourceOutput

func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutput() ResourceMetricSourceOutput

func (ResourceMetricSourceOutput) ToResourceMetricSourceOutputWithContext

func (o ResourceMetricSourceOutput) ToResourceMetricSourceOutputWithContext(ctx context.Context) ResourceMetricSourceOutput

func (ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutput

func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput

func (ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutputWithContext

func (o ResourceMetricSourceOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput

type ResourceMetricSourcePatch added in v3.20.0

type ResourceMetricSourcePatch struct {
	// name is the name of the resource in question.
	Name *string `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization *int `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue *string `pulumi:"targetAverageValue"`
}

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

type ResourceMetricSourcePatchArgs added in v3.20.0

type ResourceMetricSourcePatchArgs struct {
	// name is the name of the resource in question.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
	TargetAverageUtilization pulumi.IntPtrInput `pulumi:"targetAverageUtilization"`
	// targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
	TargetAverageValue pulumi.StringPtrInput `pulumi:"targetAverageValue"`
}

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ResourceMetricSourcePatchArgs) ElementType added in v3.20.0

func (ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchOutput added in v3.20.0

func (i ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchOutput() ResourceMetricSourcePatchOutput

func (ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchOutputWithContext added in v3.20.0

func (i ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchOutputWithContext(ctx context.Context) ResourceMetricSourcePatchOutput

func (ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchPtrOutput added in v3.20.0

func (i ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchPtrOutput() ResourceMetricSourcePatchPtrOutput

func (ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (i ResourceMetricSourcePatchArgs) ToResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ResourceMetricSourcePatchPtrOutput

type ResourceMetricSourcePatchInput added in v3.20.0

type ResourceMetricSourcePatchInput interface {
	pulumi.Input

	ToResourceMetricSourcePatchOutput() ResourceMetricSourcePatchOutput
	ToResourceMetricSourcePatchOutputWithContext(context.Context) ResourceMetricSourcePatchOutput
}

ResourceMetricSourcePatchInput is an input type that accepts ResourceMetricSourcePatchArgs and ResourceMetricSourcePatchOutput values. You can construct a concrete instance of `ResourceMetricSourcePatchInput` via:

ResourceMetricSourcePatchArgs{...}

type ResourceMetricSourcePatchOutput added in v3.20.0

type ResourceMetricSourcePatchOutput struct{ *pulumi.OutputState }

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.

func (ResourceMetricSourcePatchOutput) ElementType added in v3.20.0

func (ResourceMetricSourcePatchOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ResourceMetricSourcePatchOutput) TargetAverageUtilization added in v3.20.0

func (o ResourceMetricSourcePatchOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ResourceMetricSourcePatchOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchOutput added in v3.20.0

func (o ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchOutput() ResourceMetricSourcePatchOutput

func (ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchOutputWithContext added in v3.20.0

func (o ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchOutputWithContext(ctx context.Context) ResourceMetricSourcePatchOutput

func (ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchPtrOutput added in v3.20.0

func (o ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchPtrOutput() ResourceMetricSourcePatchPtrOutput

func (ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ResourceMetricSourcePatchOutput) ToResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ResourceMetricSourcePatchPtrOutput

type ResourceMetricSourcePatchPtrInput added in v3.20.0

type ResourceMetricSourcePatchPtrInput interface {
	pulumi.Input

	ToResourceMetricSourcePatchPtrOutput() ResourceMetricSourcePatchPtrOutput
	ToResourceMetricSourcePatchPtrOutputWithContext(context.Context) ResourceMetricSourcePatchPtrOutput
}

ResourceMetricSourcePatchPtrInput is an input type that accepts ResourceMetricSourcePatchArgs, ResourceMetricSourcePatchPtr and ResourceMetricSourcePatchPtrOutput values. You can construct a concrete instance of `ResourceMetricSourcePatchPtrInput` via:

        ResourceMetricSourcePatchArgs{...}

or:

        nil

func ResourceMetricSourcePatchPtr added in v3.20.0

type ResourceMetricSourcePatchPtrOutput added in v3.20.0

type ResourceMetricSourcePatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceMetricSourcePatchPtrOutput) Elem added in v3.20.0

func (ResourceMetricSourcePatchPtrOutput) ElementType added in v3.20.0

func (ResourceMetricSourcePatchPtrOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ResourceMetricSourcePatchPtrOutput) TargetAverageUtilization added in v3.20.0

func (o ResourceMetricSourcePatchPtrOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ResourceMetricSourcePatchPtrOutput) TargetAverageValue added in v3.20.0

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ResourceMetricSourcePatchPtrOutput) ToResourceMetricSourcePatchPtrOutput added in v3.20.0

func (o ResourceMetricSourcePatchPtrOutput) ToResourceMetricSourcePatchPtrOutput() ResourceMetricSourcePatchPtrOutput

func (ResourceMetricSourcePatchPtrOutput) ToResourceMetricSourcePatchPtrOutputWithContext added in v3.20.0

func (o ResourceMetricSourcePatchPtrOutput) ToResourceMetricSourcePatchPtrOutputWithContext(ctx context.Context) ResourceMetricSourcePatchPtrOutput

type ResourceMetricSourcePtrInput

type ResourceMetricSourcePtrInput interface {
	pulumi.Input

	ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput
	ToResourceMetricSourcePtrOutputWithContext(context.Context) ResourceMetricSourcePtrOutput
}

ResourceMetricSourcePtrInput is an input type that accepts ResourceMetricSourceArgs, ResourceMetricSourcePtr and ResourceMetricSourcePtrOutput values. You can construct a concrete instance of `ResourceMetricSourcePtrInput` via:

        ResourceMetricSourceArgs{...}

or:

        nil

type ResourceMetricSourcePtrOutput

type ResourceMetricSourcePtrOutput struct{ *pulumi.OutputState }

func (ResourceMetricSourcePtrOutput) Elem

func (ResourceMetricSourcePtrOutput) ElementType

func (ResourceMetricSourcePtrOutput) Name

name is the name of the resource in question.

func (ResourceMetricSourcePtrOutput) TargetAverageUtilization

func (o ResourceMetricSourcePtrOutput) TargetAverageUtilization() pulumi.IntPtrOutput

targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.

func (ResourceMetricSourcePtrOutput) TargetAverageValue

func (o ResourceMetricSourcePtrOutput) TargetAverageValue() pulumi.StringPtrOutput

targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.

func (ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutput

func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutput() ResourceMetricSourcePtrOutput

func (ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutputWithContext

func (o ResourceMetricSourcePtrOutput) ToResourceMetricSourcePtrOutputWithContext(ctx context.Context) ResourceMetricSourcePtrOutput

type ResourceMetricStatus

type ResourceMetricStatus struct {
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization *int `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue string `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name string `pulumi:"name"`
}

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

type ResourceMetricStatusArgs

type ResourceMetricStatusArgs struct {
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization pulumi.IntPtrInput `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue pulumi.StringInput `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name pulumi.StringInput `pulumi:"name"`
}

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ResourceMetricStatusArgs) ElementType

func (ResourceMetricStatusArgs) ElementType() reflect.Type

func (ResourceMetricStatusArgs) ToResourceMetricStatusOutput

func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutput() ResourceMetricStatusOutput

func (ResourceMetricStatusArgs) ToResourceMetricStatusOutputWithContext

func (i ResourceMetricStatusArgs) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput

func (ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutput

func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput

func (ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutputWithContext

func (i ResourceMetricStatusArgs) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput

type ResourceMetricStatusInput

type ResourceMetricStatusInput interface {
	pulumi.Input

	ToResourceMetricStatusOutput() ResourceMetricStatusOutput
	ToResourceMetricStatusOutputWithContext(context.Context) ResourceMetricStatusOutput
}

ResourceMetricStatusInput is an input type that accepts ResourceMetricStatusArgs and ResourceMetricStatusOutput values. You can construct a concrete instance of `ResourceMetricStatusInput` via:

ResourceMetricStatusArgs{...}

type ResourceMetricStatusOutput

type ResourceMetricStatusOutput struct{ *pulumi.OutputState }

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ResourceMetricStatusOutput) CurrentAverageUtilization

func (o ResourceMetricStatusOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ResourceMetricStatusOutput) CurrentAverageValue

func (o ResourceMetricStatusOutput) CurrentAverageValue() pulumi.StringOutput

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ResourceMetricStatusOutput) ElementType

func (ResourceMetricStatusOutput) ElementType() reflect.Type

func (ResourceMetricStatusOutput) Name

name is the name of the resource in question.

func (ResourceMetricStatusOutput) ToResourceMetricStatusOutput

func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutput() ResourceMetricStatusOutput

func (ResourceMetricStatusOutput) ToResourceMetricStatusOutputWithContext

func (o ResourceMetricStatusOutput) ToResourceMetricStatusOutputWithContext(ctx context.Context) ResourceMetricStatusOutput

func (ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutput

func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput

func (ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutputWithContext

func (o ResourceMetricStatusOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput

type ResourceMetricStatusPatch added in v3.20.0

type ResourceMetricStatusPatch struct {
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization *int `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue *string `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name *string `pulumi:"name"`
}

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

type ResourceMetricStatusPatchArgs added in v3.20.0

type ResourceMetricStatusPatchArgs struct {
	// currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.  It will only be present if `targetAverageValue` was set in the corresponding metric specification.
	CurrentAverageUtilization pulumi.IntPtrInput `pulumi:"currentAverageUtilization"`
	// currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
	CurrentAverageValue pulumi.StringPtrInput `pulumi:"currentAverageValue"`
	// name is the name of the resource in question.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ResourceMetricStatusPatchArgs) ElementType added in v3.20.0

func (ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchOutput added in v3.20.0

func (i ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchOutput() ResourceMetricStatusPatchOutput

func (ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchOutputWithContext added in v3.20.0

func (i ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchOutputWithContext(ctx context.Context) ResourceMetricStatusPatchOutput

func (ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchPtrOutput added in v3.20.0

func (i ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchPtrOutput() ResourceMetricStatusPatchPtrOutput

func (ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (i ResourceMetricStatusPatchArgs) ToResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPatchPtrOutput

type ResourceMetricStatusPatchInput added in v3.20.0

type ResourceMetricStatusPatchInput interface {
	pulumi.Input

	ToResourceMetricStatusPatchOutput() ResourceMetricStatusPatchOutput
	ToResourceMetricStatusPatchOutputWithContext(context.Context) ResourceMetricStatusPatchOutput
}

ResourceMetricStatusPatchInput is an input type that accepts ResourceMetricStatusPatchArgs and ResourceMetricStatusPatchOutput values. You can construct a concrete instance of `ResourceMetricStatusPatchInput` via:

ResourceMetricStatusPatchArgs{...}

type ResourceMetricStatusPatchOutput added in v3.20.0

type ResourceMetricStatusPatchOutput struct{ *pulumi.OutputState }

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

func (ResourceMetricStatusPatchOutput) CurrentAverageUtilization added in v3.20.0

func (o ResourceMetricStatusPatchOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ResourceMetricStatusPatchOutput) CurrentAverageValue added in v3.20.0

func (o ResourceMetricStatusPatchOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ResourceMetricStatusPatchOutput) ElementType added in v3.20.0

func (ResourceMetricStatusPatchOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchOutput added in v3.20.0

func (o ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchOutput() ResourceMetricStatusPatchOutput

func (ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchOutputWithContext added in v3.20.0

func (o ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchOutputWithContext(ctx context.Context) ResourceMetricStatusPatchOutput

func (ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchPtrOutput added in v3.20.0

func (o ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchPtrOutput() ResourceMetricStatusPatchPtrOutput

func (ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ResourceMetricStatusPatchOutput) ToResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPatchPtrOutput

type ResourceMetricStatusPatchPtrInput added in v3.20.0

type ResourceMetricStatusPatchPtrInput interface {
	pulumi.Input

	ToResourceMetricStatusPatchPtrOutput() ResourceMetricStatusPatchPtrOutput
	ToResourceMetricStatusPatchPtrOutputWithContext(context.Context) ResourceMetricStatusPatchPtrOutput
}

ResourceMetricStatusPatchPtrInput is an input type that accepts ResourceMetricStatusPatchArgs, ResourceMetricStatusPatchPtr and ResourceMetricStatusPatchPtrOutput values. You can construct a concrete instance of `ResourceMetricStatusPatchPtrInput` via:

        ResourceMetricStatusPatchArgs{...}

or:

        nil

func ResourceMetricStatusPatchPtr added in v3.20.0

type ResourceMetricStatusPatchPtrOutput added in v3.20.0

type ResourceMetricStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (ResourceMetricStatusPatchPtrOutput) CurrentAverageUtilization added in v3.20.0

func (o ResourceMetricStatusPatchPtrOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ResourceMetricStatusPatchPtrOutput) CurrentAverageValue added in v3.20.0

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ResourceMetricStatusPatchPtrOutput) Elem added in v3.20.0

func (ResourceMetricStatusPatchPtrOutput) ElementType added in v3.20.0

func (ResourceMetricStatusPatchPtrOutput) Name added in v3.20.0

name is the name of the resource in question.

func (ResourceMetricStatusPatchPtrOutput) ToResourceMetricStatusPatchPtrOutput added in v3.20.0

func (o ResourceMetricStatusPatchPtrOutput) ToResourceMetricStatusPatchPtrOutput() ResourceMetricStatusPatchPtrOutput

func (ResourceMetricStatusPatchPtrOutput) ToResourceMetricStatusPatchPtrOutputWithContext added in v3.20.0

func (o ResourceMetricStatusPatchPtrOutput) ToResourceMetricStatusPatchPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPatchPtrOutput

type ResourceMetricStatusPtrInput

type ResourceMetricStatusPtrInput interface {
	pulumi.Input

	ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput
	ToResourceMetricStatusPtrOutputWithContext(context.Context) ResourceMetricStatusPtrOutput
}

ResourceMetricStatusPtrInput is an input type that accepts ResourceMetricStatusArgs, ResourceMetricStatusPtr and ResourceMetricStatusPtrOutput values. You can construct a concrete instance of `ResourceMetricStatusPtrInput` via:

        ResourceMetricStatusArgs{...}

or:

        nil

type ResourceMetricStatusPtrOutput

type ResourceMetricStatusPtrOutput struct{ *pulumi.OutputState }

func (ResourceMetricStatusPtrOutput) CurrentAverageUtilization

func (o ResourceMetricStatusPtrOutput) CurrentAverageUtilization() pulumi.IntPtrOutput

currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.

func (ResourceMetricStatusPtrOutput) CurrentAverageValue

func (o ResourceMetricStatusPtrOutput) CurrentAverageValue() pulumi.StringPtrOutput

currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.

func (ResourceMetricStatusPtrOutput) Elem

func (ResourceMetricStatusPtrOutput) ElementType

func (ResourceMetricStatusPtrOutput) Name

name is the name of the resource in question.

func (ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutput

func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutput() ResourceMetricStatusPtrOutput

func (ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutputWithContext

func (o ResourceMetricStatusPtrOutput) ToResourceMetricStatusPtrOutputWithContext(ctx context.Context) ResourceMetricStatusPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL