cs

package
v3.59.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	BlueGreen        pulumi.BoolPtrOutput          `pulumi:"blueGreen"`
	BlueGreenConfirm pulumi.BoolPtrOutput          `pulumi:"blueGreenConfirm"`
	ClusterName      pulumi.StringOutput           `pulumi:"clusterName"`
	DefaultDomain    pulumi.StringOutput           `pulumi:"defaultDomain"`
	Description      pulumi.StringPtrOutput        `pulumi:"description"`
	Environment      pulumi.MapOutput              `pulumi:"environment"`
	LatestImage      pulumi.BoolPtrOutput          `pulumi:"latestImage"`
	Name             pulumi.StringOutput           `pulumi:"name"`
	Services         ApplicationServiceArrayOutput `pulumi:"services"`
	Template         pulumi.StringOutput           `pulumi:"template"`
	Version          pulumi.StringPtrOutput        `pulumi:"version"`
}

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application 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 NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

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

func (*Application) ElementType

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationArgs

type ApplicationArgs struct {
	BlueGreen        pulumi.BoolPtrInput
	BlueGreenConfirm pulumi.BoolPtrInput
	ClusterName      pulumi.StringInput
	Description      pulumi.StringPtrInput
	Environment      pulumi.MapInput
	LatestImage      pulumi.BoolPtrInput
	Name             pulumi.StringPtrInput
	Template         pulumi.StringInput
	Version          pulumi.StringPtrInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext

func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationArrayInput

type ApplicationArrayInput interface {
	pulumi.Input

	ToApplicationArrayOutput() ApplicationArrayOutput
	ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput
}

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:

ApplicationArray{ ApplicationArgs{...} }

type ApplicationArrayOutput

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index

func (ApplicationArrayOutput) ToApplicationArrayOutput

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext

func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationInput

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationMap

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext

func (i ApplicationMap) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationMapInput

type ApplicationMapInput interface {
	pulumi.Input

	ToApplicationMapOutput() ApplicationMapOutput
	ToApplicationMapOutputWithContext(context.Context) ApplicationMapOutput
}

ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values. You can construct a concrete instance of `ApplicationMapInput` via:

ApplicationMap{ "key": ApplicationArgs{...} }

type ApplicationMapOutput

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex

func (ApplicationMapOutput) ToApplicationMapOutput

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext

func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationOutput

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) BlueGreen added in v3.27.0

func (o ApplicationOutput) BlueGreen() pulumi.BoolPtrOutput

func (ApplicationOutput) BlueGreenConfirm added in v3.27.0

func (o ApplicationOutput) BlueGreenConfirm() pulumi.BoolPtrOutput

func (ApplicationOutput) ClusterName added in v3.27.0

func (o ApplicationOutput) ClusterName() pulumi.StringOutput

func (ApplicationOutput) DefaultDomain added in v3.27.0

func (o ApplicationOutput) DefaultDomain() pulumi.StringOutput

func (ApplicationOutput) Description added in v3.27.0

func (o ApplicationOutput) Description() pulumi.StringPtrOutput

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) Environment added in v3.27.0

func (o ApplicationOutput) Environment() pulumi.MapOutput

func (ApplicationOutput) LatestImage added in v3.27.0

func (o ApplicationOutput) LatestImage() pulumi.BoolPtrOutput

func (ApplicationOutput) Name added in v3.27.0

func (ApplicationOutput) Services added in v3.27.0

func (ApplicationOutput) Template added in v3.27.0

func (o ApplicationOutput) Template() pulumi.StringOutput

func (ApplicationOutput) ToApplicationOutput

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

func (ApplicationOutput) Version added in v3.27.0

type ApplicationService

type ApplicationService struct {
	Id      *string `pulumi:"id"`
	Name    *string `pulumi:"name"`
	Status  *string `pulumi:"status"`
	Version *string `pulumi:"version"`
}

type ApplicationServiceArgs

type ApplicationServiceArgs struct {
	Id      pulumi.StringPtrInput `pulumi:"id"`
	Name    pulumi.StringPtrInput `pulumi:"name"`
	Status  pulumi.StringPtrInput `pulumi:"status"`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ApplicationServiceArgs) ElementType

func (ApplicationServiceArgs) ElementType() reflect.Type

func (ApplicationServiceArgs) ToApplicationServiceOutput

func (i ApplicationServiceArgs) ToApplicationServiceOutput() ApplicationServiceOutput

func (ApplicationServiceArgs) ToApplicationServiceOutputWithContext

func (i ApplicationServiceArgs) ToApplicationServiceOutputWithContext(ctx context.Context) ApplicationServiceOutput

type ApplicationServiceArray

type ApplicationServiceArray []ApplicationServiceInput

func (ApplicationServiceArray) ElementType

func (ApplicationServiceArray) ElementType() reflect.Type

func (ApplicationServiceArray) ToApplicationServiceArrayOutput

func (i ApplicationServiceArray) ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput

func (ApplicationServiceArray) ToApplicationServiceArrayOutputWithContext

func (i ApplicationServiceArray) ToApplicationServiceArrayOutputWithContext(ctx context.Context) ApplicationServiceArrayOutput

type ApplicationServiceArrayInput

type ApplicationServiceArrayInput interface {
	pulumi.Input

	ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput
	ToApplicationServiceArrayOutputWithContext(context.Context) ApplicationServiceArrayOutput
}

ApplicationServiceArrayInput is an input type that accepts ApplicationServiceArray and ApplicationServiceArrayOutput values. You can construct a concrete instance of `ApplicationServiceArrayInput` via:

ApplicationServiceArray{ ApplicationServiceArgs{...} }

type ApplicationServiceArrayOutput

type ApplicationServiceArrayOutput struct{ *pulumi.OutputState }

func (ApplicationServiceArrayOutput) ElementType

func (ApplicationServiceArrayOutput) Index

func (ApplicationServiceArrayOutput) ToApplicationServiceArrayOutput

func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput

func (ApplicationServiceArrayOutput) ToApplicationServiceArrayOutputWithContext

func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutputWithContext(ctx context.Context) ApplicationServiceArrayOutput

type ApplicationServiceInput

type ApplicationServiceInput interface {
	pulumi.Input

	ToApplicationServiceOutput() ApplicationServiceOutput
	ToApplicationServiceOutputWithContext(context.Context) ApplicationServiceOutput
}

ApplicationServiceInput is an input type that accepts ApplicationServiceArgs and ApplicationServiceOutput values. You can construct a concrete instance of `ApplicationServiceInput` via:

ApplicationServiceArgs{...}

type ApplicationServiceOutput

type ApplicationServiceOutput struct{ *pulumi.OutputState }

func (ApplicationServiceOutput) ElementType

func (ApplicationServiceOutput) ElementType() reflect.Type

func (ApplicationServiceOutput) Id

func (ApplicationServiceOutput) Name

func (ApplicationServiceOutput) Status

func (ApplicationServiceOutput) ToApplicationServiceOutput

func (o ApplicationServiceOutput) ToApplicationServiceOutput() ApplicationServiceOutput

func (ApplicationServiceOutput) ToApplicationServiceOutputWithContext

func (o ApplicationServiceOutput) ToApplicationServiceOutputWithContext(ctx context.Context) ApplicationServiceOutput

func (ApplicationServiceOutput) Version

type ApplicationState

type ApplicationState struct {
	BlueGreen        pulumi.BoolPtrInput
	BlueGreenConfirm pulumi.BoolPtrInput
	ClusterName      pulumi.StringPtrInput
	DefaultDomain    pulumi.StringPtrInput
	Description      pulumi.StringPtrInput
	Environment      pulumi.MapInput
	LatestImage      pulumi.BoolPtrInput
	Name             pulumi.StringPtrInput
	Services         ApplicationServiceArrayInput
	Template         pulumi.StringPtrInput
	Version          pulumi.StringPtrInput
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type AutoscalingConfig added in v3.5.0

type AutoscalingConfig struct {
	pulumi.CustomResourceState

	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrOutput `pulumi:"clusterId"`
	// The cool down duration. Default is `10m`. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
	CoolDownDuration pulumi.StringPtrOutput `pulumi:"coolDownDuration"`
	// If true DaemonSet pods will be  terminated from nodes. Default is `false`.
	DaemonsetEvictionForNodes pulumi.BoolPtrOutput `pulumi:"daemonsetEvictionForNodes"`
	// The policy for selecting which node pool to scale. Valid values: `least-waste`, `random`, `priority`. For more information on these policies, see [Configure auto scaling](https://www.alibabacloud.com/help/en/container-service-for-kubernetes/latest/auto-scaling-of-nodes#section-3bg-2ko-inl)
	Expander pulumi.StringPtrOutput `pulumi:"expander"`
	// The scale-in threshold for GPU instance. Default is `0.5`.
	GpuUtilizationThreshold pulumi.StringPtrOutput `pulumi:"gpuUtilizationThreshold"`
	// Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is `14400`.
	MaxGracefulTerminationSec pulumi.IntPtrOutput `pulumi:"maxGracefulTerminationSec"`
	// Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is `0`.
	MinReplicaCount pulumi.IntPtrOutput `pulumi:"minReplicaCount"`
	// Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
	RecycleNodeDeletionEnabled pulumi.BoolPtrOutput `pulumi:"recycleNodeDeletionEnabled"`
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrOutput `pulumi:"scaleDownEnabled"`
	// Should CA scale up when there 0 ready nodes. Default is `true`.
	ScaleUpFromZero pulumi.BoolPtrOutput `pulumi:"scaleUpFromZero"`
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrOutput `pulumi:"scanInterval"`
	// If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
	SkipNodesWithLocalStorage pulumi.BoolPtrOutput `pulumi:"skipNodesWithLocalStorage"`
	// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
	SkipNodesWithSystemPods pulumi.BoolPtrOutput `pulumi:"skipNodesWithSystemPods"`
	// The unneeded duration. Default is `10m`.
	UnneededDuration pulumi.StringPtrOutput `pulumi:"unneededDuration"`
	// The scale-in threshold. Default is `0.5`.
	UtilizationThreshold pulumi.StringPtrOutput `pulumi:"utilizationThreshold"`
}

This resource will help you configure auto scaling for the kubernetes cluster, see [What is autoscaling config](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/api-configure-auto-scaling).

> **NOTE:** Available since v1.127.0.

> **NOTE:** From version 1.164.0, support for specifying whether to allow the scale-in of nodes by parameter `scaleDownEnabled`.

> **NOTE:** From version 1.164.0, support for selecting the policy for selecting which node pool to scale by parameter `expander`.

func GetAutoscalingConfig added in v3.5.0

func GetAutoscalingConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutoscalingConfigState, opts ...pulumi.ResourceOption) (*AutoscalingConfig, error)

GetAutoscalingConfig gets an existing AutoscalingConfig 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 NewAutoscalingConfig added in v3.5.0

func NewAutoscalingConfig(ctx *pulumi.Context,
	name string, args *AutoscalingConfigArgs, opts ...pulumi.ResourceOption) (*AutoscalingConfig, error)

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

func (*AutoscalingConfig) ElementType added in v3.5.0

func (*AutoscalingConfig) ElementType() reflect.Type

func (*AutoscalingConfig) ToAutoscalingConfigOutput added in v3.5.0

func (i *AutoscalingConfig) ToAutoscalingConfigOutput() AutoscalingConfigOutput

func (*AutoscalingConfig) ToAutoscalingConfigOutputWithContext added in v3.5.0

func (i *AutoscalingConfig) ToAutoscalingConfigOutputWithContext(ctx context.Context) AutoscalingConfigOutput

type AutoscalingConfigArgs added in v3.5.0

type AutoscalingConfigArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// The cool down duration. Default is `10m`. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
	CoolDownDuration pulumi.StringPtrInput
	// If true DaemonSet pods will be  terminated from nodes. Default is `false`.
	DaemonsetEvictionForNodes pulumi.BoolPtrInput
	// The policy for selecting which node pool to scale. Valid values: `least-waste`, `random`, `priority`. For more information on these policies, see [Configure auto scaling](https://www.alibabacloud.com/help/en/container-service-for-kubernetes/latest/auto-scaling-of-nodes#section-3bg-2ko-inl)
	Expander pulumi.StringPtrInput
	// The scale-in threshold for GPU instance. Default is `0.5`.
	GpuUtilizationThreshold pulumi.StringPtrInput
	// Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is `14400`.
	MaxGracefulTerminationSec pulumi.IntPtrInput
	// Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is `0`.
	MinReplicaCount pulumi.IntPtrInput
	// Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
	RecycleNodeDeletionEnabled pulumi.BoolPtrInput
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrInput
	// Should CA scale up when there 0 ready nodes. Default is `true`.
	ScaleUpFromZero pulumi.BoolPtrInput
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrInput
	// If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
	SkipNodesWithLocalStorage pulumi.BoolPtrInput
	// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
	SkipNodesWithSystemPods pulumi.BoolPtrInput
	// The unneeded duration. Default is `10m`.
	UnneededDuration pulumi.StringPtrInput
	// The scale-in threshold. Default is `0.5`.
	UtilizationThreshold pulumi.StringPtrInput
}

The set of arguments for constructing a AutoscalingConfig resource.

func (AutoscalingConfigArgs) ElementType added in v3.5.0

func (AutoscalingConfigArgs) ElementType() reflect.Type

type AutoscalingConfigArray added in v3.5.0

type AutoscalingConfigArray []AutoscalingConfigInput

func (AutoscalingConfigArray) ElementType added in v3.5.0

func (AutoscalingConfigArray) ElementType() reflect.Type

func (AutoscalingConfigArray) ToAutoscalingConfigArrayOutput added in v3.5.0

func (i AutoscalingConfigArray) ToAutoscalingConfigArrayOutput() AutoscalingConfigArrayOutput

func (AutoscalingConfigArray) ToAutoscalingConfigArrayOutputWithContext added in v3.5.0

func (i AutoscalingConfigArray) ToAutoscalingConfigArrayOutputWithContext(ctx context.Context) AutoscalingConfigArrayOutput

type AutoscalingConfigArrayInput added in v3.5.0

type AutoscalingConfigArrayInput interface {
	pulumi.Input

	ToAutoscalingConfigArrayOutput() AutoscalingConfigArrayOutput
	ToAutoscalingConfigArrayOutputWithContext(context.Context) AutoscalingConfigArrayOutput
}

AutoscalingConfigArrayInput is an input type that accepts AutoscalingConfigArray and AutoscalingConfigArrayOutput values. You can construct a concrete instance of `AutoscalingConfigArrayInput` via:

AutoscalingConfigArray{ AutoscalingConfigArgs{...} }

type AutoscalingConfigArrayOutput added in v3.5.0

type AutoscalingConfigArrayOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigArrayOutput) ElementType added in v3.5.0

func (AutoscalingConfigArrayOutput) Index added in v3.5.0

func (AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutput added in v3.5.0

func (o AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutput() AutoscalingConfigArrayOutput

func (AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutputWithContext added in v3.5.0

func (o AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutputWithContext(ctx context.Context) AutoscalingConfigArrayOutput

type AutoscalingConfigInput added in v3.5.0

type AutoscalingConfigInput interface {
	pulumi.Input

	ToAutoscalingConfigOutput() AutoscalingConfigOutput
	ToAutoscalingConfigOutputWithContext(ctx context.Context) AutoscalingConfigOutput
}

type AutoscalingConfigMap added in v3.5.0

type AutoscalingConfigMap map[string]AutoscalingConfigInput

func (AutoscalingConfigMap) ElementType added in v3.5.0

func (AutoscalingConfigMap) ElementType() reflect.Type

func (AutoscalingConfigMap) ToAutoscalingConfigMapOutput added in v3.5.0

func (i AutoscalingConfigMap) ToAutoscalingConfigMapOutput() AutoscalingConfigMapOutput

func (AutoscalingConfigMap) ToAutoscalingConfigMapOutputWithContext added in v3.5.0

func (i AutoscalingConfigMap) ToAutoscalingConfigMapOutputWithContext(ctx context.Context) AutoscalingConfigMapOutput

type AutoscalingConfigMapInput added in v3.5.0

type AutoscalingConfigMapInput interface {
	pulumi.Input

	ToAutoscalingConfigMapOutput() AutoscalingConfigMapOutput
	ToAutoscalingConfigMapOutputWithContext(context.Context) AutoscalingConfigMapOutput
}

AutoscalingConfigMapInput is an input type that accepts AutoscalingConfigMap and AutoscalingConfigMapOutput values. You can construct a concrete instance of `AutoscalingConfigMapInput` via:

AutoscalingConfigMap{ "key": AutoscalingConfigArgs{...} }

type AutoscalingConfigMapOutput added in v3.5.0

type AutoscalingConfigMapOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigMapOutput) ElementType added in v3.5.0

func (AutoscalingConfigMapOutput) ElementType() reflect.Type

func (AutoscalingConfigMapOutput) MapIndex added in v3.5.0

func (AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutput added in v3.5.0

func (o AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutput() AutoscalingConfigMapOutput

func (AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutputWithContext added in v3.5.0

func (o AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutputWithContext(ctx context.Context) AutoscalingConfigMapOutput

type AutoscalingConfigOutput added in v3.5.0

type AutoscalingConfigOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigOutput) ClusterId added in v3.27.0

The id of kubernetes cluster.

func (AutoscalingConfigOutput) CoolDownDuration added in v3.27.0

func (o AutoscalingConfigOutput) CoolDownDuration() pulumi.StringPtrOutput

The cool down duration. Default is `10m`. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.

func (AutoscalingConfigOutput) DaemonsetEvictionForNodes added in v3.43.0

func (o AutoscalingConfigOutput) DaemonsetEvictionForNodes() pulumi.BoolPtrOutput

If true DaemonSet pods will be terminated from nodes. Default is `false`.

func (AutoscalingConfigOutput) ElementType added in v3.5.0

func (AutoscalingConfigOutput) ElementType() reflect.Type

func (AutoscalingConfigOutput) Expander added in v3.27.0

The policy for selecting which node pool to scale. Valid values: `least-waste`, `random`, `priority`. For more information on these policies, see [Configure auto scaling](https://www.alibabacloud.com/help/en/container-service-for-kubernetes/latest/auto-scaling-of-nodes#section-3bg-2ko-inl)

func (AutoscalingConfigOutput) GpuUtilizationThreshold added in v3.27.0

func (o AutoscalingConfigOutput) GpuUtilizationThreshold() pulumi.StringPtrOutput

The scale-in threshold for GPU instance. Default is `0.5`.

func (AutoscalingConfigOutput) MaxGracefulTerminationSec added in v3.43.0

func (o AutoscalingConfigOutput) MaxGracefulTerminationSec() pulumi.IntPtrOutput

Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is `14400`.

func (AutoscalingConfigOutput) MinReplicaCount added in v3.43.0

func (o AutoscalingConfigOutput) MinReplicaCount() pulumi.IntPtrOutput

Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is `0`.

func (AutoscalingConfigOutput) RecycleNodeDeletionEnabled added in v3.43.0

func (o AutoscalingConfigOutput) RecycleNodeDeletionEnabled() pulumi.BoolPtrOutput

Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.

func (AutoscalingConfigOutput) ScaleDownEnabled added in v3.27.0

func (o AutoscalingConfigOutput) ScaleDownEnabled() pulumi.BoolPtrOutput

Specify whether to allow the scale-in of nodes. Default is `true`.

func (AutoscalingConfigOutput) ScaleUpFromZero added in v3.43.0

func (o AutoscalingConfigOutput) ScaleUpFromZero() pulumi.BoolPtrOutput

Should CA scale up when there 0 ready nodes. Default is `true`.

func (AutoscalingConfigOutput) ScanInterval added in v3.27.0

The interval at which the cluster is reevaluated for scaling. Default is `30s`.

func (AutoscalingConfigOutput) SkipNodesWithLocalStorage added in v3.43.0

func (o AutoscalingConfigOutput) SkipNodesWithLocalStorage() pulumi.BoolPtrOutput

If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.

func (AutoscalingConfigOutput) SkipNodesWithSystemPods added in v3.43.0

func (o AutoscalingConfigOutput) SkipNodesWithSystemPods() pulumi.BoolPtrOutput

If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.

func (AutoscalingConfigOutput) ToAutoscalingConfigOutput added in v3.5.0

func (o AutoscalingConfigOutput) ToAutoscalingConfigOutput() AutoscalingConfigOutput

func (AutoscalingConfigOutput) ToAutoscalingConfigOutputWithContext added in v3.5.0

func (o AutoscalingConfigOutput) ToAutoscalingConfigOutputWithContext(ctx context.Context) AutoscalingConfigOutput

func (AutoscalingConfigOutput) UnneededDuration added in v3.27.0

func (o AutoscalingConfigOutput) UnneededDuration() pulumi.StringPtrOutput

The unneeded duration. Default is `10m`.

func (AutoscalingConfigOutput) UtilizationThreshold added in v3.27.0

func (o AutoscalingConfigOutput) UtilizationThreshold() pulumi.StringPtrOutput

The scale-in threshold. Default is `0.5`.

type AutoscalingConfigState added in v3.5.0

type AutoscalingConfigState struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// The cool down duration. Default is `10m`. If the delay (cooldown) value is set too long, there could be complaints that the Horizontal Pod Autoscaler is not responsive to workload changes. However, if the delay value is set too short, the scale of the replicas set may keep thrashing as usual.
	CoolDownDuration pulumi.StringPtrInput
	// If true DaemonSet pods will be  terminated from nodes. Default is `false`.
	DaemonsetEvictionForNodes pulumi.BoolPtrInput
	// The policy for selecting which node pool to scale. Valid values: `least-waste`, `random`, `priority`. For more information on these policies, see [Configure auto scaling](https://www.alibabacloud.com/help/en/container-service-for-kubernetes/latest/auto-scaling-of-nodes#section-3bg-2ko-inl)
	Expander pulumi.StringPtrInput
	// The scale-in threshold for GPU instance. Default is `0.5`.
	GpuUtilizationThreshold pulumi.StringPtrInput
	// Maximum number of seconds CA waits for pod termination when trying to scale down a node. Default is `14400`.
	MaxGracefulTerminationSec pulumi.IntPtrInput
	// Minimum number of replicas that a replica set or replication controller should have to allow their pods deletion in scale down. Default is `0`.
	MinReplicaCount pulumi.IntPtrInput
	// Should CA delete the K8s node object when recycle node has scaled down successfully. Default is `false`.
	RecycleNodeDeletionEnabled pulumi.BoolPtrInput
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrInput
	// Should CA scale up when there 0 ready nodes. Default is `true`.
	ScaleUpFromZero pulumi.BoolPtrInput
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrInput
	// If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. Default is `false`.
	SkipNodesWithLocalStorage pulumi.BoolPtrInput
	// If true cluster autoscaler will never delete nodes with pods from kube-system (except for DaemonSet or mirror pods). Default is `true`.
	SkipNodesWithSystemPods pulumi.BoolPtrInput
	// The unneeded duration. Default is `10m`.
	UnneededDuration pulumi.StringPtrInput
	// The scale-in threshold. Default is `0.5`.
	UtilizationThreshold pulumi.StringPtrInput
}

func (AutoscalingConfigState) ElementType added in v3.5.0

func (AutoscalingConfigState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	AgentVersion    pulumi.StringOutput    `pulumi:"agentVersion"`
	CidrBlock       pulumi.StringOutput    `pulumi:"cidrBlock"`
	DiskCategory    pulumi.StringPtrOutput `pulumi:"diskCategory"`
	DiskSize        pulumi.IntPtrOutput    `pulumi:"diskSize"`
	ImageId         pulumi.StringPtrOutput `pulumi:"imageId"`
	InstanceType    pulumi.StringOutput    `pulumi:"instanceType"`
	IsOutdated      pulumi.BoolPtrOutput   `pulumi:"isOutdated"`
	Name            pulumi.StringOutput    `pulumi:"name"`
	NamePrefix      pulumi.StringPtrOutput `pulumi:"namePrefix"`
	NeedSlb         pulumi.BoolPtrOutput   `pulumi:"needSlb"`
	NodeNumber      pulumi.IntPtrOutput    `pulumi:"nodeNumber"`
	Nodes           ClusterNodeArrayOutput `pulumi:"nodes"`
	Password        pulumi.StringOutput    `pulumi:"password"`
	ReleaseEip      pulumi.BoolPtrOutput   `pulumi:"releaseEip"`
	SecurityGroupId pulumi.StringOutput    `pulumi:"securityGroupId"`
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrOutput `pulumi:"size"`
	SlbId     pulumi.StringOutput `pulumi:"slbId"`
	VpcId     pulumi.StringOutput `pulumi:"vpcId"`
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster 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 NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	CidrBlock    pulumi.StringInput
	DiskCategory pulumi.StringPtrInput
	DiskSize     pulumi.IntPtrInput
	ImageId      pulumi.StringPtrInput
	InstanceType pulumi.StringInput
	IsOutdated   pulumi.BoolPtrInput
	Name         pulumi.StringPtrInput
	NamePrefix   pulumi.StringPtrInput
	NeedSlb      pulumi.BoolPtrInput
	NodeNumber   pulumi.IntPtrInput
	Password     pulumi.StringInput
	ReleaseEip   pulumi.BoolPtrInput
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrInput
	VswitchId pulumi.StringInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterNode

type ClusterNode struct {
	Eip       *string `pulumi:"eip"`
	Id        *string `pulumi:"id"`
	Name      *string `pulumi:"name"`
	PrivateIp *string `pulumi:"privateIp"`
	Status    *string `pulumi:"status"`
}

type ClusterNodeArgs

type ClusterNodeArgs struct {
	Eip       pulumi.StringPtrInput `pulumi:"eip"`
	Id        pulumi.StringPtrInput `pulumi:"id"`
	Name      pulumi.StringPtrInput `pulumi:"name"`
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	Status    pulumi.StringPtrInput `pulumi:"status"`
}

func (ClusterNodeArgs) ElementType

func (ClusterNodeArgs) ElementType() reflect.Type

func (ClusterNodeArgs) ToClusterNodeOutput

func (i ClusterNodeArgs) ToClusterNodeOutput() ClusterNodeOutput

func (ClusterNodeArgs) ToClusterNodeOutputWithContext

func (i ClusterNodeArgs) ToClusterNodeOutputWithContext(ctx context.Context) ClusterNodeOutput

type ClusterNodeArray

type ClusterNodeArray []ClusterNodeInput

func (ClusterNodeArray) ElementType

func (ClusterNodeArray) ElementType() reflect.Type

func (ClusterNodeArray) ToClusterNodeArrayOutput

func (i ClusterNodeArray) ToClusterNodeArrayOutput() ClusterNodeArrayOutput

func (ClusterNodeArray) ToClusterNodeArrayOutputWithContext

func (i ClusterNodeArray) ToClusterNodeArrayOutputWithContext(ctx context.Context) ClusterNodeArrayOutput

type ClusterNodeArrayInput

type ClusterNodeArrayInput interface {
	pulumi.Input

	ToClusterNodeArrayOutput() ClusterNodeArrayOutput
	ToClusterNodeArrayOutputWithContext(context.Context) ClusterNodeArrayOutput
}

ClusterNodeArrayInput is an input type that accepts ClusterNodeArray and ClusterNodeArrayOutput values. You can construct a concrete instance of `ClusterNodeArrayInput` via:

ClusterNodeArray{ ClusterNodeArgs{...} }

type ClusterNodeArrayOutput

type ClusterNodeArrayOutput struct{ *pulumi.OutputState }

func (ClusterNodeArrayOutput) ElementType

func (ClusterNodeArrayOutput) ElementType() reflect.Type

func (ClusterNodeArrayOutput) Index

func (ClusterNodeArrayOutput) ToClusterNodeArrayOutput

func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutput() ClusterNodeArrayOutput

func (ClusterNodeArrayOutput) ToClusterNodeArrayOutputWithContext

func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutputWithContext(ctx context.Context) ClusterNodeArrayOutput

type ClusterNodeInput

type ClusterNodeInput interface {
	pulumi.Input

	ToClusterNodeOutput() ClusterNodeOutput
	ToClusterNodeOutputWithContext(context.Context) ClusterNodeOutput
}

ClusterNodeInput is an input type that accepts ClusterNodeArgs and ClusterNodeOutput values. You can construct a concrete instance of `ClusterNodeInput` via:

ClusterNodeArgs{...}

type ClusterNodeOutput

type ClusterNodeOutput struct{ *pulumi.OutputState }

func (ClusterNodeOutput) Eip

func (ClusterNodeOutput) ElementType

func (ClusterNodeOutput) ElementType() reflect.Type

func (ClusterNodeOutput) Id

func (ClusterNodeOutput) Name

func (ClusterNodeOutput) PrivateIp

func (ClusterNodeOutput) Status

func (ClusterNodeOutput) ToClusterNodeOutput

func (o ClusterNodeOutput) ToClusterNodeOutput() ClusterNodeOutput

func (ClusterNodeOutput) ToClusterNodeOutputWithContext

func (o ClusterNodeOutput) ToClusterNodeOutputWithContext(ctx context.Context) ClusterNodeOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AgentVersion added in v3.27.0

func (o ClusterOutput) AgentVersion() pulumi.StringOutput

func (ClusterOutput) CidrBlock added in v3.27.0

func (o ClusterOutput) CidrBlock() pulumi.StringOutput

func (ClusterOutput) DiskCategory added in v3.27.0

func (o ClusterOutput) DiskCategory() pulumi.StringPtrOutput

func (ClusterOutput) DiskSize added in v3.27.0

func (o ClusterOutput) DiskSize() pulumi.IntPtrOutput

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ImageId added in v3.27.0

func (o ClusterOutput) ImageId() pulumi.StringPtrOutput

func (ClusterOutput) InstanceType added in v3.27.0

func (o ClusterOutput) InstanceType() pulumi.StringOutput

func (ClusterOutput) IsOutdated added in v3.27.0

func (o ClusterOutput) IsOutdated() pulumi.BoolPtrOutput

func (ClusterOutput) Name added in v3.27.0

func (ClusterOutput) NamePrefix added in v3.27.0

func (o ClusterOutput) NamePrefix() pulumi.StringPtrOutput

func (ClusterOutput) NeedSlb added in v3.27.0

func (o ClusterOutput) NeedSlb() pulumi.BoolPtrOutput

func (ClusterOutput) NodeNumber added in v3.27.0

func (o ClusterOutput) NodeNumber() pulumi.IntPtrOutput

func (ClusterOutput) Nodes added in v3.27.0

func (ClusterOutput) Password added in v3.27.0

func (o ClusterOutput) Password() pulumi.StringOutput

func (ClusterOutput) ReleaseEip added in v3.27.0

func (o ClusterOutput) ReleaseEip() pulumi.BoolPtrOutput

func (ClusterOutput) SecurityGroupId added in v3.27.0

func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput

func (ClusterOutput) Size deprecated added in v3.27.0

Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.

func (ClusterOutput) SlbId added in v3.27.0

func (o ClusterOutput) SlbId() pulumi.StringOutput

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) VpcId added in v3.27.0

func (o ClusterOutput) VpcId() pulumi.StringOutput

func (ClusterOutput) VswitchId added in v3.27.0

func (o ClusterOutput) VswitchId() pulumi.StringOutput

type ClusterState

type ClusterState struct {
	AgentVersion    pulumi.StringPtrInput
	CidrBlock       pulumi.StringPtrInput
	DiskCategory    pulumi.StringPtrInput
	DiskSize        pulumi.IntPtrInput
	ImageId         pulumi.StringPtrInput
	InstanceType    pulumi.StringPtrInput
	IsOutdated      pulumi.BoolPtrInput
	Name            pulumi.StringPtrInput
	NamePrefix      pulumi.StringPtrInput
	NeedSlb         pulumi.BoolPtrInput
	NodeNumber      pulumi.IntPtrInput
	Nodes           ClusterNodeArrayInput
	Password        pulumi.StringPtrInput
	ReleaseEip      pulumi.BoolPtrInput
	SecurityGroupId pulumi.StringPtrInput
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrInput
	SlbId     pulumi.StringPtrInput
	VpcId     pulumi.StringPtrInput
	VswitchId pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type EdgeKubernetes

type EdgeKubernetes struct {
	pulumi.CustomResourceState

	// The addon you want to install in cluster. See `addons` below.
	Addons EdgeKubernetesAddonArrayOutput `pulumi:"addons"`
	// The ID of availability zone.
	//
	// *Network params*
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// (Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority EdgeKubernetesCertificateAuthorityOutput `pulumi:"certificateAuthority"`
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"`
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"`
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard edge clusters.
	// * ack.pro.small : Professional edge clusters.
	ClusterSpec pulumi.StringOutput `pulumi:"clusterSpec"`
	// (Map) Map of kubernetes cluster connection information.
	Connections EdgeKubernetesConnectionsOutput `pulumi:"connections"`
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Default false, when you want to change `vpcId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"`
	// Install cloud monitor agent on ECS. default: `true`.
	InstallCloudMonitor pulumi.BoolPtrOutput `pulumi:"installCloudMonitor"`
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolOutput `pulumi:"isEnterpriseSecurityGroup"`
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"`
	// The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	// ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
	//
	// *Worker params*
	LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"`
	// A list of one element containing information about the associated log store. See `logConfig` below.
	//
	// Deprecated: Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
	LogConfig EdgeKubernetesLogConfigPtrOutput `pulumi:"logConfig"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       pulumi.StringOutput    `pulumi:"name"`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"`
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice.
	NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"`
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrOutput `pulumi:"nodeCidrMask"`
	// The password of ssh login cluster node. You have to specify one of `password`, `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrOutput `pulumi:"podCidr"`
	// Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrOutput `pulumi:"proxyMode"`
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayOutput `pulumi:"rdsInstances"`
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringOutput      `pulumi:"resourceGroupId"`
	RetainResources pulumi.StringArrayOutput `pulumi:"retainResources"`
	// The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
	Runtime EdgeKubernetesRuntimePtrOutput `pulumi:"runtime"`
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"`
	// The public ip of load balancer.
	SlbInternet pulumi.StringOutput `pulumi:"slbInternet"`
	// Whether to create internet load balancer for API Server. Default to true.
	SlbInternetEnabled pulumi.BoolPtrOutput `pulumi:"slbInternetEnabled"`
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringOutput `pulumi:"slbIntranet"`
	// Default nil, A map of tags assigned to the kubernetes cluster and work node.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringOutput `pulumi:"version"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
	WorkerDataDisks EdgeKubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"`
	// The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"`
	// Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	WorkerDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"workerDiskPerformanceLevel"`
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrOutput `pulumi:"workerDiskSize"`
	// Worker node system disk auto snapshot policy.
	//
	// *Computed params*
	//
	// You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `cs.getClusterCredential` is recommended to manage cluster's kube_config.
	WorkerDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"workerDiskSnapshotPolicyId"`
	// Worker payment type, its valid value is `PostPaid`. Defaults to `PostPaid`. More charge details in [ACK@edge charge](https://help.aliyun.com/document_detail/178718.html).
	WorkerInstanceChargeType pulumi.StringPtrOutput `pulumi:"workerInstanceChargeType"`
	// The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
	WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes.
	WorkerNodes EdgeKubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"`
	// The cloud worker node number of the edge kubernetes cluster. Default to 1. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	WorkerNumber pulumi.IntOutput `pulumi:"workerNumber"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"`
	// The vswitches used by workers.
	WorkerVswitchIds pulumi.StringArrayOutput `pulumi:"workerVswitchIds"`
}

This resource will help you to manage a Edge Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is edge kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ack-edge-cluster).

> **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set `newNatGateway` to "true" to create one automatically.

> **NOTE:** Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.

> **NOTE:** The provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.

> **NOTE:** The provider supports disabling internet load balancer for API Server by setting `false` to `slbInternetEnabled`.

> **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.

> **NOTE:** Available since v1.103.0.

> **NOTE:** From version 1.185.0+, support new fields `clusterSpec`, `runtime` and `loadBalancerSpec`.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(_default.Zones[0].Id),
			CpuCoreCount:       pulumi.IntRef(4),
			MemorySize:         pulumi.Float64Ref(8),
			KubernetesNodeRole: pulumi.StringRef("Master"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewEdgeKubernetes(ctx, "default", &cs.EdgeKubernetesArgs{
			NamePrefix: pulumi.String(name),
			WorkerVswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
			WorkerInstanceTypes: pulumi.StringArray{
				pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			},
			Version:                   pulumi.String("1.26.3-aliyun.1"),
			WorkerNumber:              pulumi.Int(1),
			Password:                  pulumi.String("Test12345"),
			PodCidr:                   pulumi.String("10.99.0.0/16"),
			ServiceCidr:               pulumi.String("172.16.0.0/16"),
			WorkerInstanceChargeType:  pulumi.String("PostPaid"),
			NewNatGateway:             pulumi.Bool(true),
			NodeCidrMask:              pulumi.Int(24),
			InstallCloudMonitor:       pulumi.Bool(true),
			SlbInternetEnabled:        pulumi.Bool(true),
			IsEnterpriseSecurityGroup: pulumi.Bool(true),
			WorkerDataDisks: cs.EdgeKubernetesWorkerDataDiskArray{
				&cs.EdgeKubernetesWorkerDataDiskArgs{
					Category:  pulumi.String("cloud_ssd"),
					Size:      pulumi.String("200"),
					Encrypted: pulumi.String("false"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

You could create a professional kubernetes edge cluster now.

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultGetInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(_default.Zones[0].Id),
			CpuCoreCount:       pulumi.IntRef(4),
			MemorySize:         pulumi.Float64Ref(8),
			KubernetesNodeRole: pulumi.StringRef("Master"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.4.0.0/16"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			CidrBlock:   pulumi.String("10.4.0.0/24"),
			VpcId:       defaultNetwork.ID(),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewEdgeKubernetes(ctx, "default", &cs.EdgeKubernetesArgs{
			NamePrefix: pulumi.String(name),
			WorkerVswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
			WorkerInstanceTypes: pulumi.StringArray{
				pulumi.String(defaultGetInstanceTypes.InstanceTypes[0].Id),
			},
			ClusterSpec:               pulumi.String("ack.pro.small"),
			WorkerNumber:              pulumi.Int(1),
			Password:                  pulumi.String("Test12345"),
			PodCidr:                   pulumi.String("10.99.0.0/16"),
			ServiceCidr:               pulumi.String("172.16.0.0/16"),
			WorkerInstanceChargeType:  pulumi.String("PostPaid"),
			NewNatGateway:             pulumi.Bool(true),
			NodeCidrMask:              pulumi.Int(24),
			LoadBalancerSpec:          pulumi.String("slb.s2.small"),
			InstallCloudMonitor:       pulumi.Bool(true),
			SlbInternetEnabled:        pulumi.Bool(true),
			IsEnterpriseSecurityGroup: pulumi.Bool(true),
			WorkerDataDisks: cs.EdgeKubernetesWorkerDataDiskArray{
				&cs.EdgeKubernetesWorkerDataDiskArgs{
					Category:  pulumi.String("cloud_ssd"),
					Size:      pulumi.String("200"),
					Encrypted: pulumi.String("false"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Kubernetes edge cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.

```sh $ pulumi import alicloud:cs/edgeKubernetes:EdgeKubernetes main cluster-id ```

func GetEdgeKubernetes

func GetEdgeKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EdgeKubernetesState, opts ...pulumi.ResourceOption) (*EdgeKubernetes, error)

GetEdgeKubernetes gets an existing EdgeKubernetes 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 NewEdgeKubernetes

func NewEdgeKubernetes(ctx *pulumi.Context,
	name string, args *EdgeKubernetesArgs, opts ...pulumi.ResourceOption) (*EdgeKubernetes, error)

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

func (*EdgeKubernetes) ElementType

func (*EdgeKubernetes) ElementType() reflect.Type

func (*EdgeKubernetes) ToEdgeKubernetesOutput

func (i *EdgeKubernetes) ToEdgeKubernetesOutput() EdgeKubernetesOutput

func (*EdgeKubernetes) ToEdgeKubernetesOutputWithContext

func (i *EdgeKubernetes) ToEdgeKubernetesOutputWithContext(ctx context.Context) EdgeKubernetesOutput

type EdgeKubernetesAddon

type EdgeKubernetesAddon struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config *string `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled *bool `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name *string `pulumi:"name"`
	// It specifies the version of the component.
	Version *string `pulumi:"version"`
}

type EdgeKubernetesAddonArgs

type EdgeKubernetesAddonArgs struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config pulumi.StringPtrInput `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// It specifies the version of the component.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (EdgeKubernetesAddonArgs) ElementType

func (EdgeKubernetesAddonArgs) ElementType() reflect.Type

func (EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutput

func (i EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutputWithContext

func (i EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutputWithContext(ctx context.Context) EdgeKubernetesAddonOutput

type EdgeKubernetesAddonArray

type EdgeKubernetesAddonArray []EdgeKubernetesAddonInput

func (EdgeKubernetesAddonArray) ElementType

func (EdgeKubernetesAddonArray) ElementType() reflect.Type

func (EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutput

func (i EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutput() EdgeKubernetesAddonArrayOutput

func (EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutputWithContext

func (i EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutputWithContext(ctx context.Context) EdgeKubernetesAddonArrayOutput

type EdgeKubernetesAddonArrayInput

type EdgeKubernetesAddonArrayInput interface {
	pulumi.Input

	ToEdgeKubernetesAddonArrayOutput() EdgeKubernetesAddonArrayOutput
	ToEdgeKubernetesAddonArrayOutputWithContext(context.Context) EdgeKubernetesAddonArrayOutput
}

EdgeKubernetesAddonArrayInput is an input type that accepts EdgeKubernetesAddonArray and EdgeKubernetesAddonArrayOutput values. You can construct a concrete instance of `EdgeKubernetesAddonArrayInput` via:

EdgeKubernetesAddonArray{ EdgeKubernetesAddonArgs{...} }

type EdgeKubernetesAddonArrayOutput

type EdgeKubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesAddonArrayOutput) ElementType

func (EdgeKubernetesAddonArrayOutput) Index

func (EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutput

func (o EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutput() EdgeKubernetesAddonArrayOutput

func (EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutputWithContext

func (o EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutputWithContext(ctx context.Context) EdgeKubernetesAddonArrayOutput

type EdgeKubernetesAddonInput

type EdgeKubernetesAddonInput interface {
	pulumi.Input

	ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput
	ToEdgeKubernetesAddonOutputWithContext(context.Context) EdgeKubernetesAddonOutput
}

EdgeKubernetesAddonInput is an input type that accepts EdgeKubernetesAddonArgs and EdgeKubernetesAddonOutput values. You can construct a concrete instance of `EdgeKubernetesAddonInput` via:

EdgeKubernetesAddonArgs{...}

type EdgeKubernetesAddonOutput

type EdgeKubernetesAddonOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesAddonOutput) Config

The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.

func (EdgeKubernetesAddonOutput) Disabled

Disables the automatic installation of a component. Default is `false`.

The following example is the definition of addons block, The type of this field is list:

func (EdgeKubernetesAddonOutput) ElementType

func (EdgeKubernetesAddonOutput) ElementType() reflect.Type

func (EdgeKubernetesAddonOutput) Name

Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput

func (o EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutputWithContext

func (o EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutputWithContext(ctx context.Context) EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonOutput) Version added in v3.52.0

It specifies the version of the component.

type EdgeKubernetesArgs

type EdgeKubernetesArgs struct {
	// The addon you want to install in cluster. See `addons` below.
	Addons EdgeKubernetesAddonArrayInput
	// The ID of availability zone.
	//
	// *Network params*
	AvailabilityZone pulumi.StringPtrInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrInput
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard edge clusters.
	// * ack.pro.small : Professional edge clusters.
	ClusterSpec pulumi.StringPtrInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Default false, when you want to change `vpcId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrInput
	// Install cloud monitor agent on ECS. default: `true`.
	InstallCloudMonitor pulumi.BoolPtrInput
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrInput
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrInput
	// The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	// ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
	//
	// *Worker params*
	LoadBalancerSpec pulumi.StringPtrInput
	// A list of one element containing information about the associated log store. See `logConfig` below.
	//
	// Deprecated: Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
	LogConfig EdgeKubernetesLogConfigPtrInput
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice.
	NewNatGateway pulumi.BoolPtrInput
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrInput
	// The password of ssh login cluster node. You have to specify one of `password`, `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrInput
	// Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrInput
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
	Runtime EdgeKubernetesRuntimePtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrInput
	// Whether to create internet load balancer for API Server. Default to true.
	SlbInternetEnabled pulumi.BoolPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work node.
	Tags pulumi.MapInput
	// Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.
	UserData pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
	WorkerDataDisks EdgeKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// Worker node system disk auto snapshot policy.
	//
	// *Computed params*
	//
	// You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `cs.getClusterCredential` is recommended to manage cluster's kube_config.
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// Worker payment type, its valid value is `PostPaid`. Defaults to `PostPaid`. More charge details in [ACK@edge charge](https://help.aliyun.com/document_detail/178718.html).
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
	WorkerInstanceTypes pulumi.StringArrayInput
	// The cloud worker node number of the edge kubernetes cluster. Default to 1. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	WorkerNumber pulumi.IntInput
	// The vswitches used by workers.
	WorkerVswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a EdgeKubernetes resource.

func (EdgeKubernetesArgs) ElementType

func (EdgeKubernetesArgs) ElementType() reflect.Type

type EdgeKubernetesArray

type EdgeKubernetesArray []EdgeKubernetesInput

func (EdgeKubernetesArray) ElementType

func (EdgeKubernetesArray) ElementType() reflect.Type

func (EdgeKubernetesArray) ToEdgeKubernetesArrayOutput

func (i EdgeKubernetesArray) ToEdgeKubernetesArrayOutput() EdgeKubernetesArrayOutput

func (EdgeKubernetesArray) ToEdgeKubernetesArrayOutputWithContext

func (i EdgeKubernetesArray) ToEdgeKubernetesArrayOutputWithContext(ctx context.Context) EdgeKubernetesArrayOutput

type EdgeKubernetesArrayInput

type EdgeKubernetesArrayInput interface {
	pulumi.Input

	ToEdgeKubernetesArrayOutput() EdgeKubernetesArrayOutput
	ToEdgeKubernetesArrayOutputWithContext(context.Context) EdgeKubernetesArrayOutput
}

EdgeKubernetesArrayInput is an input type that accepts EdgeKubernetesArray and EdgeKubernetesArrayOutput values. You can construct a concrete instance of `EdgeKubernetesArrayInput` via:

EdgeKubernetesArray{ EdgeKubernetesArgs{...} }

type EdgeKubernetesArrayOutput

type EdgeKubernetesArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesArrayOutput) ElementType

func (EdgeKubernetesArrayOutput) ElementType() reflect.Type

func (EdgeKubernetesArrayOutput) Index

func (EdgeKubernetesArrayOutput) ToEdgeKubernetesArrayOutput

func (o EdgeKubernetesArrayOutput) ToEdgeKubernetesArrayOutput() EdgeKubernetesArrayOutput

func (EdgeKubernetesArrayOutput) ToEdgeKubernetesArrayOutputWithContext

func (o EdgeKubernetesArrayOutput) ToEdgeKubernetesArrayOutputWithContext(ctx context.Context) EdgeKubernetesArrayOutput

type EdgeKubernetesCertificateAuthority

type EdgeKubernetesCertificateAuthority struct {
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert *string `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey *string `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert *string `pulumi:"clusterCert"`
}

type EdgeKubernetesCertificateAuthorityArgs

type EdgeKubernetesCertificateAuthorityArgs struct {
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert pulumi.StringPtrInput `pulumi:"clusterCert"`
}

func (EdgeKubernetesCertificateAuthorityArgs) ElementType

func (EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityOutput

func (i EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityOutput() EdgeKubernetesCertificateAuthorityOutput

func (EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityOutputWithContext

func (i EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) EdgeKubernetesCertificateAuthorityOutput

func (EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityPtrOutput

func (i EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityPtrOutput() EdgeKubernetesCertificateAuthorityPtrOutput

func (EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext

func (i EdgeKubernetesCertificateAuthorityArgs) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) EdgeKubernetesCertificateAuthorityPtrOutput

type EdgeKubernetesCertificateAuthorityInput

type EdgeKubernetesCertificateAuthorityInput interface {
	pulumi.Input

	ToEdgeKubernetesCertificateAuthorityOutput() EdgeKubernetesCertificateAuthorityOutput
	ToEdgeKubernetesCertificateAuthorityOutputWithContext(context.Context) EdgeKubernetesCertificateAuthorityOutput
}

EdgeKubernetesCertificateAuthorityInput is an input type that accepts EdgeKubernetesCertificateAuthorityArgs and EdgeKubernetesCertificateAuthorityOutput values. You can construct a concrete instance of `EdgeKubernetesCertificateAuthorityInput` via:

EdgeKubernetesCertificateAuthorityArgs{...}

type EdgeKubernetesCertificateAuthorityOutput

type EdgeKubernetesCertificateAuthorityOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesCertificateAuthorityOutput) ClientCert

The path of client certificate, like `~/.kube/client-cert.pem`.

func (EdgeKubernetesCertificateAuthorityOutput) ClientKey

The path of client key, like `~/.kube/client-key.pem`.

func (EdgeKubernetesCertificateAuthorityOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (EdgeKubernetesCertificateAuthorityOutput) ElementType

func (EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityOutput

func (o EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityOutput() EdgeKubernetesCertificateAuthorityOutput

func (EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityOutputWithContext

func (o EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) EdgeKubernetesCertificateAuthorityOutput

func (EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityPtrOutput

func (o EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityPtrOutput() EdgeKubernetesCertificateAuthorityPtrOutput

func (EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext

func (o EdgeKubernetesCertificateAuthorityOutput) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) EdgeKubernetesCertificateAuthorityPtrOutput

type EdgeKubernetesCertificateAuthorityPtrInput

type EdgeKubernetesCertificateAuthorityPtrInput interface {
	pulumi.Input

	ToEdgeKubernetesCertificateAuthorityPtrOutput() EdgeKubernetesCertificateAuthorityPtrOutput
	ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext(context.Context) EdgeKubernetesCertificateAuthorityPtrOutput
}

EdgeKubernetesCertificateAuthorityPtrInput is an input type that accepts EdgeKubernetesCertificateAuthorityArgs, EdgeKubernetesCertificateAuthorityPtr and EdgeKubernetesCertificateAuthorityPtrOutput values. You can construct a concrete instance of `EdgeKubernetesCertificateAuthorityPtrInput` via:

        EdgeKubernetesCertificateAuthorityArgs{...}

or:

        nil

type EdgeKubernetesCertificateAuthorityPtrOutput

type EdgeKubernetesCertificateAuthorityPtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesCertificateAuthorityPtrOutput) ClientCert

The path of client certificate, like `~/.kube/client-cert.pem`.

func (EdgeKubernetesCertificateAuthorityPtrOutput) ClientKey

The path of client key, like `~/.kube/client-key.pem`.

func (EdgeKubernetesCertificateAuthorityPtrOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (EdgeKubernetesCertificateAuthorityPtrOutput) Elem

func (EdgeKubernetesCertificateAuthorityPtrOutput) ElementType

func (EdgeKubernetesCertificateAuthorityPtrOutput) ToEdgeKubernetesCertificateAuthorityPtrOutput

func (o EdgeKubernetesCertificateAuthorityPtrOutput) ToEdgeKubernetesCertificateAuthorityPtrOutput() EdgeKubernetesCertificateAuthorityPtrOutput

func (EdgeKubernetesCertificateAuthorityPtrOutput) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext

func (o EdgeKubernetesCertificateAuthorityPtrOutput) ToEdgeKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) EdgeKubernetesCertificateAuthorityPtrOutput

type EdgeKubernetesConnections

type EdgeKubernetesConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet *string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet *string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp *string `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain *string `pulumi:"serviceDomain"`
}

type EdgeKubernetesConnectionsArgs

type EdgeKubernetesConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringPtrInput `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain pulumi.StringPtrInput `pulumi:"serviceDomain"`
}

func (EdgeKubernetesConnectionsArgs) ElementType

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutput

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutput() EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutputWithContext

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutputWithContext(ctx context.Context) EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutput

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutputWithContext

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutputWithContext(ctx context.Context) EdgeKubernetesConnectionsPtrOutput

type EdgeKubernetesConnectionsInput

type EdgeKubernetesConnectionsInput interface {
	pulumi.Input

	ToEdgeKubernetesConnectionsOutput() EdgeKubernetesConnectionsOutput
	ToEdgeKubernetesConnectionsOutputWithContext(context.Context) EdgeKubernetesConnectionsOutput
}

EdgeKubernetesConnectionsInput is an input type that accepts EdgeKubernetesConnectionsArgs and EdgeKubernetesConnectionsOutput values. You can construct a concrete instance of `EdgeKubernetesConnectionsInput` via:

EdgeKubernetesConnectionsArgs{...}

type EdgeKubernetesConnectionsOutput

type EdgeKubernetesConnectionsOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (EdgeKubernetesConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (EdgeKubernetesConnectionsOutput) ElementType

func (EdgeKubernetesConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (EdgeKubernetesConnectionsOutput) ServiceDomain

Service Access Domain.

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutput

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutput() EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutputWithContext

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutputWithContext(ctx context.Context) EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutput

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext(ctx context.Context) EdgeKubernetesConnectionsPtrOutput

type EdgeKubernetesConnectionsPtrInput

type EdgeKubernetesConnectionsPtrInput interface {
	pulumi.Input

	ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput
	ToEdgeKubernetesConnectionsPtrOutputWithContext(context.Context) EdgeKubernetesConnectionsPtrOutput
}

EdgeKubernetesConnectionsPtrInput is an input type that accepts EdgeKubernetesConnectionsArgs, EdgeKubernetesConnectionsPtr and EdgeKubernetesConnectionsPtrOutput values. You can construct a concrete instance of `EdgeKubernetesConnectionsPtrInput` via:

        EdgeKubernetesConnectionsArgs{...}

or:

        nil

type EdgeKubernetesConnectionsPtrOutput

type EdgeKubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesConnectionsPtrOutput) ApiServerInternet

API Server Internet endpoint.

func (EdgeKubernetesConnectionsPtrOutput) ApiServerIntranet

API Server Intranet endpoint.

func (EdgeKubernetesConnectionsPtrOutput) Elem

func (EdgeKubernetesConnectionsPtrOutput) ElementType

func (EdgeKubernetesConnectionsPtrOutput) MasterPublicIp

Master node SSH IP address.

func (EdgeKubernetesConnectionsPtrOutput) ServiceDomain

Service Access Domain.

func (EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutput

func (o EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext

func (o EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext(ctx context.Context) EdgeKubernetesConnectionsPtrOutput

type EdgeKubernetesInput

type EdgeKubernetesInput interface {
	pulumi.Input

	ToEdgeKubernetesOutput() EdgeKubernetesOutput
	ToEdgeKubernetesOutputWithContext(ctx context.Context) EdgeKubernetesOutput
}

type EdgeKubernetesLogConfig

type EdgeKubernetesLogConfig struct {
	// Log Service project name, cluster logs will output to this project.
	Project *string `pulumi:"project"`
	// Type of collecting logs, only `SLS` are supported currently.
	Type string `pulumi:"type"`
}

type EdgeKubernetesLogConfigArgs

type EdgeKubernetesLogConfigArgs struct {
	// Log Service project name, cluster logs will output to this project.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// Type of collecting logs, only `SLS` are supported currently.
	Type pulumi.StringInput `pulumi:"type"`
}

func (EdgeKubernetesLogConfigArgs) ElementType

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutput

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutput() EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutputWithContext

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutputWithContext(ctx context.Context) EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutput

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutputWithContext

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutputWithContext(ctx context.Context) EdgeKubernetesLogConfigPtrOutput

type EdgeKubernetesLogConfigInput

type EdgeKubernetesLogConfigInput interface {
	pulumi.Input

	ToEdgeKubernetesLogConfigOutput() EdgeKubernetesLogConfigOutput
	ToEdgeKubernetesLogConfigOutputWithContext(context.Context) EdgeKubernetesLogConfigOutput
}

EdgeKubernetesLogConfigInput is an input type that accepts EdgeKubernetesLogConfigArgs and EdgeKubernetesLogConfigOutput values. You can construct a concrete instance of `EdgeKubernetesLogConfigInput` via:

EdgeKubernetesLogConfigArgs{...}

type EdgeKubernetesLogConfigOutput

type EdgeKubernetesLogConfigOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesLogConfigOutput) ElementType

func (EdgeKubernetesLogConfigOutput) Project

Log Service project name, cluster logs will output to this project.

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutput

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutput() EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutputWithContext

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutputWithContext(ctx context.Context) EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutput

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext(ctx context.Context) EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigOutput) Type

Type of collecting logs, only `SLS` are supported currently.

type EdgeKubernetesLogConfigPtrInput

type EdgeKubernetesLogConfigPtrInput interface {
	pulumi.Input

	ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput
	ToEdgeKubernetesLogConfigPtrOutputWithContext(context.Context) EdgeKubernetesLogConfigPtrOutput
}

EdgeKubernetesLogConfigPtrInput is an input type that accepts EdgeKubernetesLogConfigArgs, EdgeKubernetesLogConfigPtr and EdgeKubernetesLogConfigPtrOutput values. You can construct a concrete instance of `EdgeKubernetesLogConfigPtrInput` via:

        EdgeKubernetesLogConfigArgs{...}

or:

        nil

type EdgeKubernetesLogConfigPtrOutput

type EdgeKubernetesLogConfigPtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesLogConfigPtrOutput) Elem

func (EdgeKubernetesLogConfigPtrOutput) ElementType

func (EdgeKubernetesLogConfigPtrOutput) Project

Log Service project name, cluster logs will output to this project.

func (EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutput

func (o EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext

func (o EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext(ctx context.Context) EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigPtrOutput) Type

Type of collecting logs, only `SLS` are supported currently.

type EdgeKubernetesMap

type EdgeKubernetesMap map[string]EdgeKubernetesInput

func (EdgeKubernetesMap) ElementType

func (EdgeKubernetesMap) ElementType() reflect.Type

func (EdgeKubernetesMap) ToEdgeKubernetesMapOutput

func (i EdgeKubernetesMap) ToEdgeKubernetesMapOutput() EdgeKubernetesMapOutput

func (EdgeKubernetesMap) ToEdgeKubernetesMapOutputWithContext

func (i EdgeKubernetesMap) ToEdgeKubernetesMapOutputWithContext(ctx context.Context) EdgeKubernetesMapOutput

type EdgeKubernetesMapInput

type EdgeKubernetesMapInput interface {
	pulumi.Input

	ToEdgeKubernetesMapOutput() EdgeKubernetesMapOutput
	ToEdgeKubernetesMapOutputWithContext(context.Context) EdgeKubernetesMapOutput
}

EdgeKubernetesMapInput is an input type that accepts EdgeKubernetesMap and EdgeKubernetesMapOutput values. You can construct a concrete instance of `EdgeKubernetesMapInput` via:

EdgeKubernetesMap{ "key": EdgeKubernetesArgs{...} }

type EdgeKubernetesMapOutput

type EdgeKubernetesMapOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesMapOutput) ElementType

func (EdgeKubernetesMapOutput) ElementType() reflect.Type

func (EdgeKubernetesMapOutput) MapIndex

func (EdgeKubernetesMapOutput) ToEdgeKubernetesMapOutput

func (o EdgeKubernetesMapOutput) ToEdgeKubernetesMapOutput() EdgeKubernetesMapOutput

func (EdgeKubernetesMapOutput) ToEdgeKubernetesMapOutputWithContext

func (o EdgeKubernetesMapOutput) ToEdgeKubernetesMapOutputWithContext(ctx context.Context) EdgeKubernetesMapOutput

type EdgeKubernetesOutput

type EdgeKubernetesOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesOutput) Addons added in v3.27.0

The addon you want to install in cluster. See `addons` below.

func (EdgeKubernetesOutput) AvailabilityZone added in v3.27.0

func (o EdgeKubernetesOutput) AvailabilityZone() pulumi.StringOutput

The ID of availability zone.

*Network params*

func (EdgeKubernetesOutput) CertificateAuthority added in v3.27.0

(Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.

func (EdgeKubernetesOutput) ClientCert added in v3.27.0

The path of client certificate, like `~/.kube/client-cert.pem`.

func (EdgeKubernetesOutput) ClientKey added in v3.27.0

The path of client key, like `~/.kube/client-key.pem`.

func (EdgeKubernetesOutput) ClusterCaCert added in v3.27.0

func (o EdgeKubernetesOutput) ClusterCaCert() pulumi.StringPtrOutput

The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`

*Removed params*

func (EdgeKubernetesOutput) ClusterSpec added in v3.29.0

func (o EdgeKubernetesOutput) ClusterSpec() pulumi.StringOutput

The cluster specifications of kubernetes cluster,which can be empty. Valid values: * ack.standard : Standard edge clusters. * ack.pro.small : Professional edge clusters.

func (EdgeKubernetesOutput) Connections added in v3.27.0

(Map) Map of kubernetes cluster connection information.

func (EdgeKubernetesOutput) DeletionProtection added in v3.27.0

func (o EdgeKubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether to enable cluster deletion protection.

func (EdgeKubernetesOutput) ElementType

func (EdgeKubernetesOutput) ElementType() reflect.Type

func (EdgeKubernetesOutput) ForceUpdate added in v3.27.0

func (o EdgeKubernetesOutput) ForceUpdate() pulumi.BoolPtrOutput

Default false, when you want to change `vpcId`, you have to set this field to true, then the cluster will be recreated.

func (EdgeKubernetesOutput) InstallCloudMonitor added in v3.27.0

func (o EdgeKubernetesOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

Install cloud monitor agent on ECS. default: `true`.

func (EdgeKubernetesOutput) IsEnterpriseSecurityGroup added in v3.27.0

func (o EdgeKubernetesOutput) IsEnterpriseSecurityGroup() pulumi.BoolOutput

Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).

func (EdgeKubernetesOutput) KeyName added in v3.27.0

The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

func (EdgeKubernetesOutput) KubeConfig deprecated added in v3.27.0

The path of kube config, like `~/.kube/config`.

Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.

func (EdgeKubernetesOutput) LoadBalancerSpec added in v3.29.0

func (o EdgeKubernetesOutput) LoadBalancerSpec() pulumi.StringOutput

The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html). ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.

*Worker params*

func (EdgeKubernetesOutput) LogConfig deprecated added in v3.27.0

A list of one element containing information about the associated log store. See `logConfig` below.

Deprecated: Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.

func (EdgeKubernetesOutput) Name added in v3.27.0

The kubernetes cluster's name. It is unique in one Alicloud account.

func (EdgeKubernetesOutput) NamePrefix added in v3.27.0

func (EdgeKubernetesOutput) NatGatewayId added in v3.27.0

func (o EdgeKubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (EdgeKubernetesOutput) NewNatGateway added in v3.27.0

func (o EdgeKubernetesOutput) NewNatGateway() pulumi.BoolPtrOutput

Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice.

func (EdgeKubernetesOutput) NodeCidrMask added in v3.27.0

func (o EdgeKubernetesOutput) NodeCidrMask() pulumi.IntPtrOutput

The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24

func (EdgeKubernetesOutput) Password added in v3.27.0

The password of ssh login cluster node. You have to specify one of `password`, `keyName` `kmsEncryptedPassword` fields.

func (EdgeKubernetesOutput) PodCidr added in v3.27.0

[Flannel Specific] The CIDR block for the pod network when using Flannel.

func (EdgeKubernetesOutput) ProxyMode added in v3.27.0

Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.

func (EdgeKubernetesOutput) RdsInstances added in v3.27.0

RDS instance list, You can choose which RDS instances whitelist to add instances to.

func (EdgeKubernetesOutput) ResourceGroupId added in v3.27.0

func (o EdgeKubernetesOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.

func (EdgeKubernetesOutput) RetainResources added in v3.27.0

func (o EdgeKubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (EdgeKubernetesOutput) Runtime added in v3.29.0

The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.

func (EdgeKubernetesOutput) SecurityGroupId added in v3.27.0

func (o EdgeKubernetesOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.

func (EdgeKubernetesOutput) ServiceCidr added in v3.27.0

The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.

func (EdgeKubernetesOutput) SlbInternet added in v3.27.0

func (o EdgeKubernetesOutput) SlbInternet() pulumi.StringOutput

The public ip of load balancer.

func (EdgeKubernetesOutput) SlbInternetEnabled added in v3.27.0

func (o EdgeKubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

Whether to create internet load balancer for API Server. Default to true.

func (EdgeKubernetesOutput) SlbIntranet added in v3.27.0

func (o EdgeKubernetesOutput) SlbIntranet() pulumi.StringOutput

The ID of private load balancer where the current cluster master node is located.

func (EdgeKubernetesOutput) Tags added in v3.27.0

Default nil, A map of tags assigned to the kubernetes cluster and work node.

func (EdgeKubernetesOutput) ToEdgeKubernetesOutput

func (o EdgeKubernetesOutput) ToEdgeKubernetesOutput() EdgeKubernetesOutput

func (EdgeKubernetesOutput) ToEdgeKubernetesOutputWithContext

func (o EdgeKubernetesOutput) ToEdgeKubernetesOutputWithContext(ctx context.Context) EdgeKubernetesOutput

func (EdgeKubernetesOutput) UserData added in v3.27.0

Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.

func (EdgeKubernetesOutput) Version added in v3.27.0

Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.

func (EdgeKubernetesOutput) VpcId added in v3.27.0

The ID of VPC where the current cluster is located.

func (EdgeKubernetesOutput) WorkerDataDisks added in v3.27.0

The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.

func (EdgeKubernetesOutput) WorkerDiskCategory added in v3.27.0

func (o EdgeKubernetesOutput) WorkerDiskCategory() pulumi.StringPtrOutput

The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.

func (EdgeKubernetesOutput) WorkerDiskPerformanceLevel added in v3.27.0

func (o EdgeKubernetesOutput) WorkerDiskPerformanceLevel() pulumi.StringPtrOutput

Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.

func (EdgeKubernetesOutput) WorkerDiskSize added in v3.27.0

func (o EdgeKubernetesOutput) WorkerDiskSize() pulumi.IntPtrOutput

The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.

func (EdgeKubernetesOutput) WorkerDiskSnapshotPolicyId added in v3.27.0

func (o EdgeKubernetesOutput) WorkerDiskSnapshotPolicyId() pulumi.StringPtrOutput

Worker node system disk auto snapshot policy.

*Computed params*

You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `cs.getClusterCredential` is recommended to manage cluster's kube_config.

func (EdgeKubernetesOutput) WorkerInstanceChargeType added in v3.27.0

func (o EdgeKubernetesOutput) WorkerInstanceChargeType() pulumi.StringPtrOutput

Worker payment type, its valid value is `PostPaid`. Defaults to `PostPaid`. More charge details in [ACK@edge charge](https://help.aliyun.com/document_detail/178718.html).

func (EdgeKubernetesOutput) WorkerInstanceTypes added in v3.27.0

func (o EdgeKubernetesOutput) WorkerInstanceTypes() pulumi.StringArrayOutput

The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.

func (EdgeKubernetesOutput) WorkerNodes added in v3.27.0

List of cluster worker nodes.

func (EdgeKubernetesOutput) WorkerNumber added in v3.27.0

func (o EdgeKubernetesOutput) WorkerNumber() pulumi.IntOutput

The cloud worker node number of the edge kubernetes cluster. Default to 1. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.

func (EdgeKubernetesOutput) WorkerRamRoleName added in v3.29.0

func (o EdgeKubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

func (EdgeKubernetesOutput) WorkerVswitchIds added in v3.27.0

func (o EdgeKubernetesOutput) WorkerVswitchIds() pulumi.StringArrayOutput

The vswitches used by workers.

type EdgeKubernetesRuntime added in v3.29.0

type EdgeKubernetesRuntime struct {
	// The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
	Name *string `pulumi:"name"`
	// The version of the runtime.
	//
	// The following example is the definition of runtime block:
	Version *string `pulumi:"version"`
}

type EdgeKubernetesRuntimeArgs added in v3.29.0

type EdgeKubernetesRuntimeArgs struct {
	// The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The version of the runtime.
	//
	// The following example is the definition of runtime block:
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (EdgeKubernetesRuntimeArgs) ElementType added in v3.29.0

func (EdgeKubernetesRuntimeArgs) ElementType() reflect.Type

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutput added in v3.29.0

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutput() EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutputWithContext added in v3.29.0

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutputWithContext(ctx context.Context) EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutput added in v3.29.0

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutputWithContext added in v3.29.0

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutputWithContext(ctx context.Context) EdgeKubernetesRuntimePtrOutput

type EdgeKubernetesRuntimeInput added in v3.29.0

type EdgeKubernetesRuntimeInput interface {
	pulumi.Input

	ToEdgeKubernetesRuntimeOutput() EdgeKubernetesRuntimeOutput
	ToEdgeKubernetesRuntimeOutputWithContext(context.Context) EdgeKubernetesRuntimeOutput
}

EdgeKubernetesRuntimeInput is an input type that accepts EdgeKubernetesRuntimeArgs and EdgeKubernetesRuntimeOutput values. You can construct a concrete instance of `EdgeKubernetesRuntimeInput` via:

EdgeKubernetesRuntimeArgs{...}

type EdgeKubernetesRuntimeOutput added in v3.29.0

type EdgeKubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesRuntimeOutput) ElementType added in v3.29.0

func (EdgeKubernetesRuntimeOutput) Name added in v3.29.0

The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutput added in v3.29.0

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutput() EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutputWithContext added in v3.29.0

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutputWithContext(ctx context.Context) EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutput added in v3.29.0

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutputWithContext added in v3.29.0

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutputWithContext(ctx context.Context) EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimeOutput) Version added in v3.29.0

The version of the runtime.

The following example is the definition of runtime block:

type EdgeKubernetesRuntimePtrInput added in v3.29.0

type EdgeKubernetesRuntimePtrInput interface {
	pulumi.Input

	ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput
	ToEdgeKubernetesRuntimePtrOutputWithContext(context.Context) EdgeKubernetesRuntimePtrOutput
}

EdgeKubernetesRuntimePtrInput is an input type that accepts EdgeKubernetesRuntimeArgs, EdgeKubernetesRuntimePtr and EdgeKubernetesRuntimePtrOutput values. You can construct a concrete instance of `EdgeKubernetesRuntimePtrInput` via:

        EdgeKubernetesRuntimeArgs{...}

or:

        nil

func EdgeKubernetesRuntimePtr added in v3.29.0

func EdgeKubernetesRuntimePtr(v *EdgeKubernetesRuntimeArgs) EdgeKubernetesRuntimePtrInput

type EdgeKubernetesRuntimePtrOutput added in v3.29.0

type EdgeKubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesRuntimePtrOutput) Elem added in v3.29.0

func (EdgeKubernetesRuntimePtrOutput) ElementType added in v3.29.0

func (EdgeKubernetesRuntimePtrOutput) Name added in v3.29.0

The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.

func (EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutput added in v3.29.0

func (o EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutputWithContext added in v3.29.0

func (o EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutputWithContext(ctx context.Context) EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimePtrOutput) Version added in v3.29.0

The version of the runtime.

The following example is the definition of runtime block:

type EdgeKubernetesState

type EdgeKubernetesState struct {
	// The addon you want to install in cluster. See `addons` below.
	Addons EdgeKubernetesAddonArrayInput
	// The ID of availability zone.
	//
	// *Network params*
	AvailabilityZone pulumi.StringPtrInput
	// (Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority EdgeKubernetesCertificateAuthorityPtrInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrInput
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard edge clusters.
	// * ack.pro.small : Professional edge clusters.
	ClusterSpec pulumi.StringPtrInput
	// (Map) Map of kubernetes cluster connection information.
	Connections EdgeKubernetesConnectionsPtrInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Default false, when you want to change `vpcId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrInput
	// Install cloud monitor agent on ECS. default: `true`.
	InstallCloudMonitor pulumi.BoolPtrInput
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrInput
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrInput
	// The cluster api server load balance instance specification. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	// ->NOTE: If you want to use `Flannel` as CNI network plugin, You need to specific the `podCidr` field and addons with `flannel`.
	//
	// *Worker params*
	LoadBalancerSpec pulumi.StringPtrInput
	// A list of one element containing information about the associated log store. See `logConfig` below.
	//
	// Deprecated: Field 'log_config' has been removed from provider version 1.103.0. New field 'addons' replaces it.
	LogConfig EdgeKubernetesLogConfigPtrInput
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice.
	NewNatGateway pulumi.BoolPtrInput
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrInput
	// The password of ssh login cluster node. You have to specify one of `password`, `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrInput
	// Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrInput
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// The runtime of containers. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm). See `runtime` below.
	Runtime EdgeKubernetesRuntimePtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrInput
	// The public ip of load balancer.
	SlbInternet pulumi.StringPtrInput
	// Whether to create internet load balancer for API Server. Default to true.
	SlbInternetEnabled pulumi.BoolPtrInput
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work node.
	Tags pulumi.MapInput
	// Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket.
	UserData pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringPtrInput
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size. See `workerDataDisks` below.
	WorkerDataDisks EdgeKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// Worker node system disk performance level, when `workerDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// Worker node system disk auto snapshot policy.
	//
	// *Computed params*
	//
	// You can set some file paths to save kubeConfig information, but this way is cumbersome. Since version 1.105.0, we've written it to tf state file. About its use,see export attribute certificate_authority. From version 1.187.0+, new DataSource `cs.getClusterCredential` is recommended to manage cluster's kube_config.
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// Worker payment type, its valid value is `PostPaid`. Defaults to `PostPaid`. More charge details in [ACK@edge charge](https://help.aliyun.com/document_detail/178718.html).
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance types of worker node, you can set multiple types to avoid NoStock of a certain type.
	WorkerInstanceTypes pulumi.StringArrayInput
	// List of cluster worker nodes.
	WorkerNodes EdgeKubernetesWorkerNodeArrayInput
	// The cloud worker node number of the edge kubernetes cluster. Default to 1. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	WorkerNumber pulumi.IntPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	// The vswitches used by workers.
	WorkerVswitchIds pulumi.StringArrayInput
}

func (EdgeKubernetesState) ElementType

func (EdgeKubernetesState) ElementType() reflect.Type

type EdgeKubernetesWorkerDataDisk

type EdgeKubernetesWorkerDataDisk struct {
	// Worker node data disk auto snapshot policy.
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	// The type of the data disks. Valid values: `cloud`, `cloudEfficiency`, `cloudSsd` and `cloudEssd`. Default to `cloudEfficiency`.
	Category *string `pulumi:"category"`
	// The device of the data disks.
	Device *string `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default is `false`.
	Encrypted *string `pulumi:"encrypted"`
	// The id of the kms key.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The name of the data disks.
	Name *string `pulumi:"name"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	PerformanceLevel *string `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size *string `pulumi:"size"`
	// The id of snapshot.
	SnapshotId *string `pulumi:"snapshotId"`
}

type EdgeKubernetesWorkerDataDiskArgs

type EdgeKubernetesWorkerDataDiskArgs struct {
	// Worker node data disk auto snapshot policy.
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	// The type of the data disks. Valid values: `cloud`, `cloudEfficiency`, `cloudSsd` and `cloudEssd`. Default to `cloudEfficiency`.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// The device of the data disks.
	Device pulumi.StringPtrInput `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default is `false`.
	Encrypted pulumi.StringPtrInput `pulumi:"encrypted"`
	// The id of the kms key.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The name of the data disks.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	// The size of a data disk, at least 40. Unit: GiB.
	Size pulumi.StringPtrInput `pulumi:"size"`
	// The id of snapshot.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (EdgeKubernetesWorkerDataDiskArgs) ElementType

func (EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutput

func (i EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutput() EdgeKubernetesWorkerDataDiskOutput

func (EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutputWithContext

func (i EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) EdgeKubernetesWorkerDataDiskOutput

type EdgeKubernetesWorkerDataDiskArray

type EdgeKubernetesWorkerDataDiskArray []EdgeKubernetesWorkerDataDiskInput

func (EdgeKubernetesWorkerDataDiskArray) ElementType

func (EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutput

func (i EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutput() EdgeKubernetesWorkerDataDiskArrayOutput

func (EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext

func (i EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) EdgeKubernetesWorkerDataDiskArrayOutput

type EdgeKubernetesWorkerDataDiskArrayInput

type EdgeKubernetesWorkerDataDiskArrayInput interface {
	pulumi.Input

	ToEdgeKubernetesWorkerDataDiskArrayOutput() EdgeKubernetesWorkerDataDiskArrayOutput
	ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext(context.Context) EdgeKubernetesWorkerDataDiskArrayOutput
}

EdgeKubernetesWorkerDataDiskArrayInput is an input type that accepts EdgeKubernetesWorkerDataDiskArray and EdgeKubernetesWorkerDataDiskArrayOutput values. You can construct a concrete instance of `EdgeKubernetesWorkerDataDiskArrayInput` via:

EdgeKubernetesWorkerDataDiskArray{ EdgeKubernetesWorkerDataDiskArgs{...} }

type EdgeKubernetesWorkerDataDiskArrayOutput

type EdgeKubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerDataDiskArrayOutput) ElementType

func (EdgeKubernetesWorkerDataDiskArrayOutput) Index

func (EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutput

func (o EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutput() EdgeKubernetesWorkerDataDiskArrayOutput

func (EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext

func (o EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) EdgeKubernetesWorkerDataDiskArrayOutput

type EdgeKubernetesWorkerDataDiskInput

type EdgeKubernetesWorkerDataDiskInput interface {
	pulumi.Input

	ToEdgeKubernetesWorkerDataDiskOutput() EdgeKubernetesWorkerDataDiskOutput
	ToEdgeKubernetesWorkerDataDiskOutputWithContext(context.Context) EdgeKubernetesWorkerDataDiskOutput
}

EdgeKubernetesWorkerDataDiskInput is an input type that accepts EdgeKubernetesWorkerDataDiskArgs and EdgeKubernetesWorkerDataDiskOutput values. You can construct a concrete instance of `EdgeKubernetesWorkerDataDiskInput` via:

EdgeKubernetesWorkerDataDiskArgs{...}

type EdgeKubernetesWorkerDataDiskOutput

type EdgeKubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId

Worker node data disk auto snapshot policy.

func (EdgeKubernetesWorkerDataDiskOutput) Category

The type of the data disks. Valid values: `cloud`, `cloudEfficiency`, `cloudSsd` and `cloudEssd`. Default to `cloudEfficiency`.

func (EdgeKubernetesWorkerDataDiskOutput) Device

The device of the data disks.

func (EdgeKubernetesWorkerDataDiskOutput) ElementType

func (EdgeKubernetesWorkerDataDiskOutput) Encrypted

Specifies whether to encrypt data disks. Valid values: true and false. Default is `false`.

func (EdgeKubernetesWorkerDataDiskOutput) KmsKeyId

The id of the kms key.

func (EdgeKubernetesWorkerDataDiskOutput) Name

The name of the data disks.

func (EdgeKubernetesWorkerDataDiskOutput) PerformanceLevel

Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.

func (EdgeKubernetesWorkerDataDiskOutput) Size

The size of a data disk, at least 40. Unit: GiB.

func (EdgeKubernetesWorkerDataDiskOutput) SnapshotId

The id of snapshot.

func (EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutput

func (o EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutput() EdgeKubernetesWorkerDataDiskOutput

func (EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutputWithContext

func (o EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) EdgeKubernetesWorkerDataDiskOutput

type EdgeKubernetesWorkerNode

type EdgeKubernetesWorkerNode struct {
	// ID of the node.
	Id *string `pulumi:"id"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp *string `pulumi:"privateIp"`
}

type EdgeKubernetesWorkerNodeArgs

type EdgeKubernetesWorkerNodeArgs struct {
	// ID of the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
}

func (EdgeKubernetesWorkerNodeArgs) ElementType

func (EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutput

func (i EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutput() EdgeKubernetesWorkerNodeOutput

func (EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutputWithContext

func (i EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutputWithContext(ctx context.Context) EdgeKubernetesWorkerNodeOutput

type EdgeKubernetesWorkerNodeArray

type EdgeKubernetesWorkerNodeArray []EdgeKubernetesWorkerNodeInput

func (EdgeKubernetesWorkerNodeArray) ElementType

func (EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutput

func (i EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutput() EdgeKubernetesWorkerNodeArrayOutput

func (EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutputWithContext

func (i EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) EdgeKubernetesWorkerNodeArrayOutput

type EdgeKubernetesWorkerNodeArrayInput

type EdgeKubernetesWorkerNodeArrayInput interface {
	pulumi.Input

	ToEdgeKubernetesWorkerNodeArrayOutput() EdgeKubernetesWorkerNodeArrayOutput
	ToEdgeKubernetesWorkerNodeArrayOutputWithContext(context.Context) EdgeKubernetesWorkerNodeArrayOutput
}

EdgeKubernetesWorkerNodeArrayInput is an input type that accepts EdgeKubernetesWorkerNodeArray and EdgeKubernetesWorkerNodeArrayOutput values. You can construct a concrete instance of `EdgeKubernetesWorkerNodeArrayInput` via:

EdgeKubernetesWorkerNodeArray{ EdgeKubernetesWorkerNodeArgs{...} }

type EdgeKubernetesWorkerNodeArrayOutput

type EdgeKubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerNodeArrayOutput) ElementType

func (EdgeKubernetesWorkerNodeArrayOutput) Index

func (EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutput

func (o EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutput() EdgeKubernetesWorkerNodeArrayOutput

func (EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutputWithContext

func (o EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) EdgeKubernetesWorkerNodeArrayOutput

type EdgeKubernetesWorkerNodeInput

type EdgeKubernetesWorkerNodeInput interface {
	pulumi.Input

	ToEdgeKubernetesWorkerNodeOutput() EdgeKubernetesWorkerNodeOutput
	ToEdgeKubernetesWorkerNodeOutputWithContext(context.Context) EdgeKubernetesWorkerNodeOutput
}

EdgeKubernetesWorkerNodeInput is an input type that accepts EdgeKubernetesWorkerNodeArgs and EdgeKubernetesWorkerNodeOutput values. You can construct a concrete instance of `EdgeKubernetesWorkerNodeInput` via:

EdgeKubernetesWorkerNodeArgs{...}

type EdgeKubernetesWorkerNodeOutput

type EdgeKubernetesWorkerNodeOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerNodeOutput) ElementType

func (EdgeKubernetesWorkerNodeOutput) Id

ID of the node.

func (EdgeKubernetesWorkerNodeOutput) Name

The kubernetes cluster's name. It is unique in one Alicloud account.

func (EdgeKubernetesWorkerNodeOutput) PrivateIp

The private IP address of node.

func (EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutput

func (o EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutput() EdgeKubernetesWorkerNodeOutput

func (EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutputWithContext

func (o EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutputWithContext(ctx context.Context) EdgeKubernetesWorkerNodeOutput

type GetAckServiceArgs

type GetAckServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	Enable *string `pulumi:"enable"`
	// Types of services opened. Valid values: `propayasgo`: Container service ack Pro managed version, `edgepayasgo`: Edge container service, `gspayasgo`: Gene computing services.
	//
	// > **NOTE:** Setting `enable = "On"` to open the Container Service (CS) service that means you have read and agreed the [Container Service (CS) Terms of Service](https://help.aliyun.com/document_detail/157971.html). The service can not closed once it is opened.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getAckService.

type GetAckServiceOutputArgs added in v3.9.0

type GetAckServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: `On` or `Off`. Default to `Off`.
	Enable pulumi.StringPtrInput `pulumi:"enable"`
	// Types of services opened. Valid values: `propayasgo`: Container service ack Pro managed version, `edgepayasgo`: Edge container service, `gspayasgo`: Gene computing services.
	//
	// > **NOTE:** Setting `enable = "On"` to open the Container Service (CS) service that means you have read and agreed the [Container Service (CS) Terms of Service](https://help.aliyun.com/document_detail/157971.html). The service can not closed once it is opened.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getAckService.

func (GetAckServiceOutputArgs) ElementType added in v3.9.0

func (GetAckServiceOutputArgs) ElementType() reflect.Type

type GetAckServiceResult

type GetAckServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
	Type   string `pulumi:"type"`
}

A collection of values returned by getAckService.

func GetAckService

func GetAckService(ctx *pulumi.Context, args *GetAckServiceArgs, opts ...pulumi.InvokeOption) (*GetAckServiceResult, error)

Using this data source can open Container Service (CS) service automatically. If the service has been opened, it will return opened.

For information about Container Service (CS) and how to use it, see [What is Container Service (CS)](https://www.alibabacloud.com/help/en/product/85222.htm).

> **NOTE:** Available in v1.113.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.GetAckService(ctx, &cs.GetAckServiceArgs{
			Enable: pulumi.StringRef("On"),
			Type:   "propayasgo",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAckServiceResultOutput added in v3.9.0

type GetAckServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAckService.

func GetAckServiceOutput added in v3.9.0

func GetAckServiceOutput(ctx *pulumi.Context, args GetAckServiceOutputArgs, opts ...pulumi.InvokeOption) GetAckServiceResultOutput

func (GetAckServiceResultOutput) ElementType added in v3.9.0

func (GetAckServiceResultOutput) ElementType() reflect.Type

func (GetAckServiceResultOutput) Enable added in v3.9.0

func (GetAckServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetAckServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetAckServiceResultOutput) ToGetAckServiceResultOutput added in v3.9.0

func (o GetAckServiceResultOutput) ToGetAckServiceResultOutput() GetAckServiceResultOutput

func (GetAckServiceResultOutput) ToGetAckServiceResultOutputWithContext added in v3.9.0

func (o GetAckServiceResultOutput) ToGetAckServiceResultOutputWithContext(ctx context.Context) GetAckServiceResultOutput

func (GetAckServiceResultOutput) Type added in v3.9.0

type GetClusterCredentialArgs added in v3.29.0

type GetClusterCredentialArgs struct {
	// The id of target cluster.
	ClusterId string `pulumi:"clusterId"`
	// File name where to save the returned KubeConfig (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Automatic expiration time of the returned credential. The valid value between `15` and `4320`, in minutes. When this field is omitted, the expiration time will be determined by the system automatically and the result will be in the attributed field `expiration`.
	TemporaryDurationMinutes *int `pulumi:"temporaryDurationMinutes"`
}

A collection of arguments for invoking getClusterCredential.

type GetClusterCredentialCertificateAuthority added in v3.29.0

type GetClusterCredentialCertificateAuthority struct {
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kube config file for your cluster.
	ClientCert string `pulumi:"clientCert"`
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kube config file for your cluster.
	ClientKey string `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kube config file for your cluster.
	ClusterCert string `pulumi:"clusterCert"`
}

type GetClusterCredentialCertificateAuthorityArgs added in v3.29.0

type GetClusterCredentialCertificateAuthorityArgs struct {
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kube config file for your cluster.
	ClientCert pulumi.StringInput `pulumi:"clientCert"`
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kube config file for your cluster.
	ClientKey pulumi.StringInput `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kube config file for your cluster.
	ClusterCert pulumi.StringInput `pulumi:"clusterCert"`
}

func (GetClusterCredentialCertificateAuthorityArgs) ElementType added in v3.29.0

func (GetClusterCredentialCertificateAuthorityArgs) ToGetClusterCredentialCertificateAuthorityOutput added in v3.29.0

func (i GetClusterCredentialCertificateAuthorityArgs) ToGetClusterCredentialCertificateAuthorityOutput() GetClusterCredentialCertificateAuthorityOutput

func (GetClusterCredentialCertificateAuthorityArgs) ToGetClusterCredentialCertificateAuthorityOutputWithContext added in v3.29.0

func (i GetClusterCredentialCertificateAuthorityArgs) ToGetClusterCredentialCertificateAuthorityOutputWithContext(ctx context.Context) GetClusterCredentialCertificateAuthorityOutput

type GetClusterCredentialCertificateAuthorityInput added in v3.29.0

type GetClusterCredentialCertificateAuthorityInput interface {
	pulumi.Input

	ToGetClusterCredentialCertificateAuthorityOutput() GetClusterCredentialCertificateAuthorityOutput
	ToGetClusterCredentialCertificateAuthorityOutputWithContext(context.Context) GetClusterCredentialCertificateAuthorityOutput
}

GetClusterCredentialCertificateAuthorityInput is an input type that accepts GetClusterCredentialCertificateAuthorityArgs and GetClusterCredentialCertificateAuthorityOutput values. You can construct a concrete instance of `GetClusterCredentialCertificateAuthorityInput` via:

GetClusterCredentialCertificateAuthorityArgs{...}

type GetClusterCredentialCertificateAuthorityOutput added in v3.29.0

type GetClusterCredentialCertificateAuthorityOutput struct{ *pulumi.OutputState }

func (GetClusterCredentialCertificateAuthorityOutput) ClientCert added in v3.29.0

The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kube config file for your cluster.

func (GetClusterCredentialCertificateAuthorityOutput) ClientKey added in v3.29.0

The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kube config file for your cluster.

func (GetClusterCredentialCertificateAuthorityOutput) ClusterCert added in v3.29.0

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kube config file for your cluster.

func (GetClusterCredentialCertificateAuthorityOutput) ElementType added in v3.29.0

func (GetClusterCredentialCertificateAuthorityOutput) ToGetClusterCredentialCertificateAuthorityOutput added in v3.29.0

func (o GetClusterCredentialCertificateAuthorityOutput) ToGetClusterCredentialCertificateAuthorityOutput() GetClusterCredentialCertificateAuthorityOutput

func (GetClusterCredentialCertificateAuthorityOutput) ToGetClusterCredentialCertificateAuthorityOutputWithContext added in v3.29.0

func (o GetClusterCredentialCertificateAuthorityOutput) ToGetClusterCredentialCertificateAuthorityOutputWithContext(ctx context.Context) GetClusterCredentialCertificateAuthorityOutput

type GetClusterCredentialOutputArgs added in v3.29.0

type GetClusterCredentialOutputArgs struct {
	// The id of target cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// File name where to save the returned KubeConfig (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Automatic expiration time of the returned credential. The valid value between `15` and `4320`, in minutes. When this field is omitted, the expiration time will be determined by the system automatically and the result will be in the attributed field `expiration`.
	TemporaryDurationMinutes pulumi.IntPtrInput `pulumi:"temporaryDurationMinutes"`
}

A collection of arguments for invoking getClusterCredential.

func (GetClusterCredentialOutputArgs) ElementType added in v3.29.0

type GetClusterCredentialResult added in v3.29.0

type GetClusterCredentialResult struct {
	// (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority GetClusterCredentialCertificateAuthority `pulumi:"certificateAuthority"`
	// The id of target cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name of target cluster.
	ClusterName string `pulumi:"clusterName"`
	// Expiration time of kube config. Format: UTC time in rfc3339.
	Expiration string `pulumi:"expiration"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Sensitive) The kube config to use to authenticate with the cluster.
	KubeConfig               string  `pulumi:"kubeConfig"`
	OutputFile               *string `pulumi:"outputFile"`
	TemporaryDurationMinutes *int    `pulumi:"temporaryDurationMinutes"`
}

A collection of values returned by getClusterCredential.

func GetClusterCredential added in v3.29.0

func GetClusterCredential(ctx *pulumi.Context, args *GetClusterCredentialArgs, opts ...pulumi.InvokeOption) (*GetClusterCredentialResult, error)

This data source provides Container Service cluster credential on Alibaba Cloud.

> **NOTE:** Available since v1.187.0

> **NOTE:** This datasource can be used on all kinds of ACK clusters, including managed clusters, imported kubernetes clusters, serverless clusters and edge clusters. Please make sure that the target cluster is not in the failed state before using this datasource, since the api server of clusters in the failed state cannot be accessed.

type GetClusterCredentialResultOutput added in v3.29.0

type GetClusterCredentialResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterCredential.

func GetClusterCredentialOutput added in v3.29.0

func (GetClusterCredentialResultOutput) CertificateAuthority added in v3.29.0

(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.

func (GetClusterCredentialResultOutput) ClusterId added in v3.29.0

The id of target cluster.

func (GetClusterCredentialResultOutput) ClusterName added in v3.29.0

The name of target cluster.

func (GetClusterCredentialResultOutput) ElementType added in v3.29.0

func (GetClusterCredentialResultOutput) Expiration added in v3.29.0

Expiration time of kube config. Format: UTC time in rfc3339.

func (GetClusterCredentialResultOutput) Id added in v3.29.0

The provider-assigned unique ID for this managed resource.

func (GetClusterCredentialResultOutput) KubeConfig added in v3.29.0

(Sensitive) The kube config to use to authenticate with the cluster.

func (GetClusterCredentialResultOutput) OutputFile added in v3.29.0

func (GetClusterCredentialResultOutput) TemporaryDurationMinutes added in v3.29.0

func (o GetClusterCredentialResultOutput) TemporaryDurationMinutes() pulumi.IntPtrOutput

func (GetClusterCredentialResultOutput) ToGetClusterCredentialResultOutput added in v3.29.0

func (o GetClusterCredentialResultOutput) ToGetClusterCredentialResultOutput() GetClusterCredentialResultOutput

func (GetClusterCredentialResultOutput) ToGetClusterCredentialResultOutputWithContext added in v3.29.0

func (o GetClusterCredentialResultOutput) ToGetClusterCredentialResultOutputWithContext(ctx context.Context) GetClusterCredentialResultOutput

type GetEdgeKubernetesClustersArgs

type GetEdgeKubernetesClustersArgs struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by cluster name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getEdgeKubernetesClusters.

type GetEdgeKubernetesClustersCluster

type GetEdgeKubernetesClustersCluster struct {
	// The ID of availability zone.
	AvailabilityZone string `pulumi:"availabilityZone"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetEdgeKubernetesClustersClusterConnections `pulumi:"connections"`
	// ID of the node.
	Id string `pulumi:"id"`
	// Node name.
	Name string `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId string `pulumi:"natGatewayId"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId string `pulumi:"securityGroupId"`
	// The ID of VPC where the current cluster is located.
	VpcId string `pulumi:"vpcId"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes []GetEdgeKubernetesClustersClusterWorkerNode `pulumi:"workerNodes"`
}

type GetEdgeKubernetesClustersClusterArgs

type GetEdgeKubernetesClustersClusterArgs struct {
	// The ID of availability zone.
	AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetEdgeKubernetesClustersClusterConnectionsInput `pulumi:"connections"`
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes GetEdgeKubernetesClustersClusterWorkerNodeArrayInput `pulumi:"workerNodes"`
}

func (GetEdgeKubernetesClustersClusterArgs) ElementType

func (GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutput

func (i GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutput() GetEdgeKubernetesClustersClusterOutput

func (GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutputWithContext

func (i GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterOutput

type GetEdgeKubernetesClustersClusterArray

type GetEdgeKubernetesClustersClusterArray []GetEdgeKubernetesClustersClusterInput

func (GetEdgeKubernetesClustersClusterArray) ElementType

func (GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutput

func (i GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutput() GetEdgeKubernetesClustersClusterArrayOutput

func (GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext

func (i GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterArrayOutput

type GetEdgeKubernetesClustersClusterArrayInput

type GetEdgeKubernetesClustersClusterArrayInput interface {
	pulumi.Input

	ToGetEdgeKubernetesClustersClusterArrayOutput() GetEdgeKubernetesClustersClusterArrayOutput
	ToGetEdgeKubernetesClustersClusterArrayOutputWithContext(context.Context) GetEdgeKubernetesClustersClusterArrayOutput
}

GetEdgeKubernetesClustersClusterArrayInput is an input type that accepts GetEdgeKubernetesClustersClusterArray and GetEdgeKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetEdgeKubernetesClustersClusterArrayInput` via:

GetEdgeKubernetesClustersClusterArray{ GetEdgeKubernetesClustersClusterArgs{...} }

type GetEdgeKubernetesClustersClusterArrayOutput

type GetEdgeKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterArrayOutput) ElementType

func (GetEdgeKubernetesClustersClusterArrayOutput) Index

func (GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutput

func (o GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutput() GetEdgeKubernetesClustersClusterArrayOutput

func (GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext

func (o GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterArrayOutput

type GetEdgeKubernetesClustersClusterConnections

type GetEdgeKubernetesClustersClusterConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet string `pulumi:"apiServerIntranet"`
}

type GetEdgeKubernetesClustersClusterConnectionsArgs

type GetEdgeKubernetesClustersClusterConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"`
}

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ElementType

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutput

func (i GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutput() GetEdgeKubernetesClustersClusterConnectionsOutput

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext

func (i GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterConnectionsOutput

type GetEdgeKubernetesClustersClusterConnectionsInput

type GetEdgeKubernetesClustersClusterConnectionsInput interface {
	pulumi.Input

	ToGetEdgeKubernetesClustersClusterConnectionsOutput() GetEdgeKubernetesClustersClusterConnectionsOutput
	ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetEdgeKubernetesClustersClusterConnectionsOutput
}

GetEdgeKubernetesClustersClusterConnectionsInput is an input type that accepts GetEdgeKubernetesClustersClusterConnectionsArgs and GetEdgeKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetEdgeKubernetesClustersClusterConnectionsInput` via:

GetEdgeKubernetesClustersClusterConnectionsArgs{...}

type GetEdgeKubernetesClustersClusterConnectionsOutput

type GetEdgeKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ElementType

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutput

func (o GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutput() GetEdgeKubernetesClustersClusterConnectionsOutput

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext

func (o GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterConnectionsOutput

type GetEdgeKubernetesClustersClusterInput

type GetEdgeKubernetesClustersClusterInput interface {
	pulumi.Input

	ToGetEdgeKubernetesClustersClusterOutput() GetEdgeKubernetesClustersClusterOutput
	ToGetEdgeKubernetesClustersClusterOutputWithContext(context.Context) GetEdgeKubernetesClustersClusterOutput
}

GetEdgeKubernetesClustersClusterInput is an input type that accepts GetEdgeKubernetesClustersClusterArgs and GetEdgeKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetEdgeKubernetesClustersClusterInput` via:

GetEdgeKubernetesClustersClusterArgs{...}

type GetEdgeKubernetesClustersClusterOutput

type GetEdgeKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterOutput) AvailabilityZone

The ID of availability zone.

func (GetEdgeKubernetesClustersClusterOutput) Connections

Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.

func (GetEdgeKubernetesClustersClusterOutput) ElementType

func (GetEdgeKubernetesClustersClusterOutput) Id

ID of the node.

func (GetEdgeKubernetesClustersClusterOutput) Name

Node name.

func (GetEdgeKubernetesClustersClusterOutput) NatGatewayId

The ID of nat gateway used to launch kubernetes cluster.

func (GetEdgeKubernetesClustersClusterOutput) SecurityGroupId

The ID of security group where the current cluster worker node is located.

func (GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutput

func (o GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutput() GetEdgeKubernetesClustersClusterOutput

func (GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutputWithContext

func (o GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterOutput

func (GetEdgeKubernetesClustersClusterOutput) VpcId

The ID of VPC where the current cluster is located.

func (GetEdgeKubernetesClustersClusterOutput) WorkerNodes

List of cluster worker nodes. It contains several attributes to `Block Nodes`.

type GetEdgeKubernetesClustersClusterWorkerNode

type GetEdgeKubernetesClustersClusterWorkerNode struct {
	// ID of the node.
	Id string `pulumi:"id"`
	// Node name.
	Name string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp string `pulumi:"privateIp"`
}

type GetEdgeKubernetesClustersClusterWorkerNodeArgs

type GetEdgeKubernetesClustersClusterWorkerNodeArgs struct {
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
}

func (GetEdgeKubernetesClustersClusterWorkerNodeArgs) ElementType

func (GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput

func (i GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput() GetEdgeKubernetesClustersClusterWorkerNodeOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext

func (i GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterWorkerNodeOutput

type GetEdgeKubernetesClustersClusterWorkerNodeArray

type GetEdgeKubernetesClustersClusterWorkerNodeArray []GetEdgeKubernetesClustersClusterWorkerNodeInput

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ElementType

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

func (i GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput() GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (i GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

type GetEdgeKubernetesClustersClusterWorkerNodeArrayInput

type GetEdgeKubernetesClustersClusterWorkerNodeArrayInput interface {
	pulumi.Input

	ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput() GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput
	ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext(context.Context) GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput
}

GetEdgeKubernetesClustersClusterWorkerNodeArrayInput is an input type that accepts GetEdgeKubernetesClustersClusterWorkerNodeArray and GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput values. You can construct a concrete instance of `GetEdgeKubernetesClustersClusterWorkerNodeArrayInput` via:

GetEdgeKubernetesClustersClusterWorkerNodeArray{ GetEdgeKubernetesClustersClusterWorkerNodeArgs{...} }

type GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

type GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ElementType

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) Index

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (o GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

type GetEdgeKubernetesClustersClusterWorkerNodeInput

type GetEdgeKubernetesClustersClusterWorkerNodeInput interface {
	pulumi.Input

	ToGetEdgeKubernetesClustersClusterWorkerNodeOutput() GetEdgeKubernetesClustersClusterWorkerNodeOutput
	ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext(context.Context) GetEdgeKubernetesClustersClusterWorkerNodeOutput
}

GetEdgeKubernetesClustersClusterWorkerNodeInput is an input type that accepts GetEdgeKubernetesClustersClusterWorkerNodeArgs and GetEdgeKubernetesClustersClusterWorkerNodeOutput values. You can construct a concrete instance of `GetEdgeKubernetesClustersClusterWorkerNodeInput` via:

GetEdgeKubernetesClustersClusterWorkerNodeArgs{...}

type GetEdgeKubernetesClustersClusterWorkerNodeOutput

type GetEdgeKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ElementType

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) Id

ID of the node.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) Name

Node name.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) PrivateIp

The private IP address of node.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput

func (o GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput() GetEdgeKubernetesClustersClusterWorkerNodeOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext

func (o GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersClusterWorkerNodeOutput

type GetEdgeKubernetesClustersOutputArgs added in v3.9.0

type GetEdgeKubernetesClustersOutputArgs struct {
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by cluster name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getEdgeKubernetesClusters.

func (GetEdgeKubernetesClustersOutputArgs) ElementType added in v3.9.0

type GetEdgeKubernetesClustersResult

type GetEdgeKubernetesClustersResult struct {
	// A list of matched Kubernetes clusters. Each element contains the following attributes:
	Clusters      []GetEdgeKubernetesClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                              `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Kubernetes clusters' ids.
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of matched Kubernetes clusters' names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getEdgeKubernetesClusters.

func GetEdgeKubernetesClusters

func GetEdgeKubernetesClusters(ctx *pulumi.Context, args *GetEdgeKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetEdgeKubernetesClustersResult, error)

This data source provides a list Container Service Edge Kubernetes Clusters on Alibaba Cloud.

> **NOTE:** Available in v1.103.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		k8sClusters, err := cs.GetEdgeKubernetesClusters(ctx, &cs.GetEdgeKubernetesClustersArgs{
			NameRegex:  pulumi.StringRef("my-first-k8s"),
			OutputFile: pulumi.StringRef("my-first-k8s-json"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetEdgeKubernetesClustersResultOutput added in v3.9.0

type GetEdgeKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEdgeKubernetesClusters.

func (GetEdgeKubernetesClustersResultOutput) Clusters added in v3.9.0

A list of matched Kubernetes clusters. Each element contains the following attributes:

func (GetEdgeKubernetesClustersResultOutput) ElementType added in v3.9.0

func (GetEdgeKubernetesClustersResultOutput) EnableDetails added in v3.9.0

func (GetEdgeKubernetesClustersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetEdgeKubernetesClustersResultOutput) Ids added in v3.9.0

A list of matched Kubernetes clusters' ids.

func (GetEdgeKubernetesClustersResultOutput) NameRegex added in v3.9.0

func (GetEdgeKubernetesClustersResultOutput) Names added in v3.9.0

A list of matched Kubernetes clusters' names.

func (GetEdgeKubernetesClustersResultOutput) OutputFile added in v3.9.0

func (GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutput added in v3.9.0

func (o GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutput() GetEdgeKubernetesClustersResultOutput

func (GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutputWithContext added in v3.9.0

func (o GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutputWithContext(ctx context.Context) GetEdgeKubernetesClustersResultOutput

type GetKubernetesAddonMetadataArgs added in v3.20.0

type GetKubernetesAddonMetadataArgs struct {
	// The id of kubernetes cluster.
	ClusterId string `pulumi:"clusterId"`
	// The name of the cluster addon. You can get a list of available addons that the cluster can install by using data source `cs.getKubernetesAddons`.
	Name string `pulumi:"name"`
	// The version of the cluster addon.
	Version string `pulumi:"version"`
}

A collection of arguments for invoking getKubernetesAddonMetadata.

type GetKubernetesAddonMetadataOutputArgs added in v3.20.0

type GetKubernetesAddonMetadataOutputArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The name of the cluster addon. You can get a list of available addons that the cluster can install by using data source `cs.getKubernetesAddons`.
	Name pulumi.StringInput `pulumi:"name"`
	// The version of the cluster addon.
	Version pulumi.StringInput `pulumi:"version"`
}

A collection of arguments for invoking getKubernetesAddonMetadata.

func (GetKubernetesAddonMetadataOutputArgs) ElementType added in v3.20.0

type GetKubernetesAddonMetadataResult added in v3.20.0

type GetKubernetesAddonMetadataResult struct {
	ClusterId string `pulumi:"clusterId"`
	// The addon configuration that can be customized. The returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet.
	ConfigSchema string `pulumi:"configSchema"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	Name    string `pulumi:"name"`
	Version string `pulumi:"version"`
}

A collection of values returned by getKubernetesAddonMetadata.

func GetKubernetesAddonMetadata added in v3.20.0

func GetKubernetesAddonMetadata(ctx *pulumi.Context, args *GetKubernetesAddonMetadataArgs, opts ...pulumi.InvokeOption) (*GetKubernetesAddonMetadataResult, error)

This data source provides metadata of kubernetes cluster addons.

> **NOTE:** Available in 1.166.0+.

type GetKubernetesAddonMetadataResultOutput added in v3.20.0

type GetKubernetesAddonMetadataResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesAddonMetadata.

func (GetKubernetesAddonMetadataResultOutput) ClusterId added in v3.20.0

func (GetKubernetesAddonMetadataResultOutput) ConfigSchema added in v3.20.0

The addon configuration that can be customized. The returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet.

func (GetKubernetesAddonMetadataResultOutput) ElementType added in v3.20.0

func (GetKubernetesAddonMetadataResultOutput) Id added in v3.20.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesAddonMetadataResultOutput) Name added in v3.20.0

func (GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutput added in v3.20.0

func (o GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutput() GetKubernetesAddonMetadataResultOutput

func (GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutputWithContext added in v3.20.0

func (o GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutputWithContext(ctx context.Context) GetKubernetesAddonMetadataResultOutput

func (GetKubernetesAddonMetadataResultOutput) Version added in v3.20.0

type GetKubernetesAddonsAddon added in v3.14.0

type GetKubernetesAddonsAddon struct {
	// The current custom configuration of the addon. **Note:** Available in v1.166.0+
	CurrentConfig string `pulumi:"currentConfig"`
	// The current version of addon, if this field is an empty string, it means that the addon is not installed.
	CurrentVersion string `pulumi:"currentVersion"`
	// The name of addon.
	Name string `pulumi:"name"`
	// The next version of this addon can be upgraded to.
	NextVersion string `pulumi:"nextVersion"`
	// Whether the addon is a system addon.
	Required bool `pulumi:"required"`
}

type GetKubernetesAddonsAddonArgs added in v3.14.0

type GetKubernetesAddonsAddonArgs struct {
	// The current custom configuration of the addon. **Note:** Available in v1.166.0+
	CurrentConfig pulumi.StringInput `pulumi:"currentConfig"`
	// The current version of addon, if this field is an empty string, it means that the addon is not installed.
	CurrentVersion pulumi.StringInput `pulumi:"currentVersion"`
	// The name of addon.
	Name pulumi.StringInput `pulumi:"name"`
	// The next version of this addon can be upgraded to.
	NextVersion pulumi.StringInput `pulumi:"nextVersion"`
	// Whether the addon is a system addon.
	Required pulumi.BoolInput `pulumi:"required"`
}

func (GetKubernetesAddonsAddonArgs) ElementType added in v3.14.0

func (GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutput added in v3.14.0

func (i GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutput() GetKubernetesAddonsAddonOutput

func (GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutputWithContext added in v3.14.0

func (i GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutputWithContext(ctx context.Context) GetKubernetesAddonsAddonOutput

type GetKubernetesAddonsAddonArray added in v3.14.0

type GetKubernetesAddonsAddonArray []GetKubernetesAddonsAddonInput

func (GetKubernetesAddonsAddonArray) ElementType added in v3.14.0

func (GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutput added in v3.14.0

func (i GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutput() GetKubernetesAddonsAddonArrayOutput

func (GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutputWithContext added in v3.14.0

func (i GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutputWithContext(ctx context.Context) GetKubernetesAddonsAddonArrayOutput

type GetKubernetesAddonsAddonArrayInput added in v3.14.0

type GetKubernetesAddonsAddonArrayInput interface {
	pulumi.Input

	ToGetKubernetesAddonsAddonArrayOutput() GetKubernetesAddonsAddonArrayOutput
	ToGetKubernetesAddonsAddonArrayOutputWithContext(context.Context) GetKubernetesAddonsAddonArrayOutput
}

GetKubernetesAddonsAddonArrayInput is an input type that accepts GetKubernetesAddonsAddonArray and GetKubernetesAddonsAddonArrayOutput values. You can construct a concrete instance of `GetKubernetesAddonsAddonArrayInput` via:

GetKubernetesAddonsAddonArray{ GetKubernetesAddonsAddonArgs{...} }

type GetKubernetesAddonsAddonArrayOutput added in v3.14.0

type GetKubernetesAddonsAddonArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesAddonsAddonArrayOutput) ElementType added in v3.14.0

func (GetKubernetesAddonsAddonArrayOutput) Index added in v3.14.0

func (GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutput added in v3.14.0

func (o GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutput() GetKubernetesAddonsAddonArrayOutput

func (GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutputWithContext added in v3.14.0

func (o GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutputWithContext(ctx context.Context) GetKubernetesAddonsAddonArrayOutput

type GetKubernetesAddonsAddonInput added in v3.14.0

type GetKubernetesAddonsAddonInput interface {
	pulumi.Input

	ToGetKubernetesAddonsAddonOutput() GetKubernetesAddonsAddonOutput
	ToGetKubernetesAddonsAddonOutputWithContext(context.Context) GetKubernetesAddonsAddonOutput
}

GetKubernetesAddonsAddonInput is an input type that accepts GetKubernetesAddonsAddonArgs and GetKubernetesAddonsAddonOutput values. You can construct a concrete instance of `GetKubernetesAddonsAddonInput` via:

GetKubernetesAddonsAddonArgs{...}

type GetKubernetesAddonsAddonOutput added in v3.14.0

type GetKubernetesAddonsAddonOutput struct{ *pulumi.OutputState }

func (GetKubernetesAddonsAddonOutput) CurrentConfig added in v3.20.0

The current custom configuration of the addon. **Note:** Available in v1.166.0+

func (GetKubernetesAddonsAddonOutput) CurrentVersion added in v3.14.0

The current version of addon, if this field is an empty string, it means that the addon is not installed.

func (GetKubernetesAddonsAddonOutput) ElementType added in v3.14.0

func (GetKubernetesAddonsAddonOutput) Name added in v3.14.0

The name of addon.

func (GetKubernetesAddonsAddonOutput) NextVersion added in v3.14.0

The next version of this addon can be upgraded to.

func (GetKubernetesAddonsAddonOutput) Required added in v3.14.0

Whether the addon is a system addon.

func (GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutput added in v3.14.0

func (o GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutput() GetKubernetesAddonsAddonOutput

func (GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutputWithContext added in v3.14.0

func (o GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutputWithContext(ctx context.Context) GetKubernetesAddonsAddonOutput

type GetKubernetesAddonsArgs added in v3.14.0

type GetKubernetesAddonsArgs struct {
	// The id of kubernetes cluster.
	ClusterId string `pulumi:"clusterId"`
	// A list of addon IDs. The id of addon consists of the cluster id and the addon name, with the structure <cluster_ud>:<addon_name>.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by addon name.
	NameRegex *string `pulumi:"nameRegex"`
}

A collection of arguments for invoking getKubernetesAddons.

type GetKubernetesAddonsOutputArgs added in v3.14.0

type GetKubernetesAddonsOutputArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// A list of addon IDs. The id of addon consists of the cluster id and the addon name, with the structure <cluster_ud>:<addon_name>.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by addon name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
}

A collection of arguments for invoking getKubernetesAddons.

func (GetKubernetesAddonsOutputArgs) ElementType added in v3.14.0

type GetKubernetesAddonsResult added in v3.14.0

type GetKubernetesAddonsResult struct {
	// A list of addons.
	Addons []GetKubernetesAddonsAddon `pulumi:"addons"`
	// The id of kubernetes cluster.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id        string   `pulumi:"id"`
	Ids       []string `pulumi:"ids"`
	NameRegex *string  `pulumi:"nameRegex"`
	// A list of addon names.
	Names []string `pulumi:"names"`
}

A collection of values returned by getKubernetesAddons.

func GetKubernetesAddons added in v3.14.0

func GetKubernetesAddons(ctx *pulumi.Context, args *GetKubernetesAddonsArgs, opts ...pulumi.InvokeOption) (*GetKubernetesAddonsResult, error)

This data source provides a list of available addons that the cluster can install.

> **NOTE:** Available since v1.150.0. **NOTE:** From version v1.166.0, support for returning custom configuration of kubernetes cluster addon.

type GetKubernetesAddonsResultOutput added in v3.14.0

type GetKubernetesAddonsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesAddons.

func GetKubernetesAddonsOutput added in v3.14.0

func (GetKubernetesAddonsResultOutput) Addons added in v3.14.0

A list of addons.

func (GetKubernetesAddonsResultOutput) ClusterId added in v3.14.0

The id of kubernetes cluster.

func (GetKubernetesAddonsResultOutput) ElementType added in v3.14.0

func (GetKubernetesAddonsResultOutput) Id added in v3.14.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesAddonsResultOutput) Ids added in v3.14.0

func (GetKubernetesAddonsResultOutput) NameRegex added in v3.14.0

func (GetKubernetesAddonsResultOutput) Names added in v3.14.0

A list of addon names.

func (GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutput added in v3.14.0

func (o GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutput() GetKubernetesAddonsResultOutput

func (GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutputWithContext added in v3.14.0

func (o GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutputWithContext(ctx context.Context) GetKubernetesAddonsResultOutput

type GetKubernetesClustersArgs

type GetKubernetesClustersArgs struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids []string `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix *string `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getKubernetesClusters.

type GetKubernetesClustersCluster

type GetKubernetesClustersCluster struct {
	// The ID of availability zone.
	AvailabilityZone   string `pulumi:"availabilityZone"`
	ClusterNetworkType string `pulumi:"clusterNetworkType"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetKubernetesClustersClusterConnections `pulumi:"connections"`
	// ID of the node.
	Id string `pulumi:"id"`
	// The ID of node image.
	ImageId string `pulumi:"imageId"`
	// The keypair of ssh login cluster node, you have to create it first.
	KeyName string `pulumi:"keyName"`
	// A list of one element containing information about the associated log store. It contains the following attributes:
	LogConfigs            []GetKubernetesClustersClusterLogConfig `pulumi:"logConfigs"`
	MasterAutoRenew       bool                                    `pulumi:"masterAutoRenew"`
	MasterAutoRenewPeriod int                                     `pulumi:"masterAutoRenewPeriod"`
	// The system disk category of master node.
	MasterDiskCategory string `pulumi:"masterDiskCategory"`
	// The system disk size of master node.
	MasterDiskSize           int    `pulumi:"masterDiskSize"`
	MasterInstanceChargeType string `pulumi:"masterInstanceChargeType"`
	// The instance type of master node.
	MasterInstanceTypes []string `pulumi:"masterInstanceTypes"`
	// List of cluster master nodes. It contains several attributes to `Block Nodes`.
	MasterNodes      []GetKubernetesClustersClusterMasterNode `pulumi:"masterNodes"`
	MasterPeriod     int                                      `pulumi:"masterPeriod"`
	MasterPeriodUnit string                                   `pulumi:"masterPeriodUnit"`
	// Node name.
	Name string `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId string `pulumi:"natGatewayId"`
	// The network mask used on pods for each node.
	NodeCidrMask int    `pulumi:"nodeCidrMask"`
	PodCidr      string `pulumi:"podCidr"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId string `pulumi:"securityGroupId"`
	ServiceCidr     string `pulumi:"serviceCidr"`
	// Whether internet load balancer for API Server is created
	SlbInternetEnabled bool `pulumi:"slbInternetEnabled"`
	// The ID of VPC where the current cluster is located.
	VpcId string `pulumi:"vpcId"`
	// The ID of VSwitches where the current cluster is located.
	VswitchIds            []string `pulumi:"vswitchIds"`
	WorkerAutoRenew       bool     `pulumi:"workerAutoRenew"`
	WorkerAutoRenewPeriod int      `pulumi:"workerAutoRenewPeriod"`
	// The data disk size of worker node.
	WorkerDataDiskCategory string `pulumi:"workerDataDiskCategory"`
	// The data disk category of worker node.
	WorkerDataDiskSize int `pulumi:"workerDataDiskSize"`
	// The system disk category of worker node.
	WorkerDiskCategory string `pulumi:"workerDiskCategory"`
	// The system disk size of worker node.
	WorkerDiskSize           int    `pulumi:"workerDiskSize"`
	WorkerInstanceChargeType string `pulumi:"workerInstanceChargeType"`
	// The instance type of worker node.
	WorkerInstanceTypes []string `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes []GetKubernetesClustersClusterWorkerNode `pulumi:"workerNodes"`
	// The ECS instance node number in the current container cluster.
	WorkerNumbers    []int  `pulumi:"workerNumbers"`
	WorkerPeriod     int    `pulumi:"workerPeriod"`
	WorkerPeriodUnit string `pulumi:"workerPeriodUnit"`
}

type GetKubernetesClustersClusterArgs

type GetKubernetesClustersClusterArgs struct {
	// The ID of availability zone.
	AvailabilityZone   pulumi.StringInput `pulumi:"availabilityZone"`
	ClusterNetworkType pulumi.StringInput `pulumi:"clusterNetworkType"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetKubernetesClustersClusterConnectionsInput `pulumi:"connections"`
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// The ID of node image.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The keypair of ssh login cluster node, you have to create it first.
	KeyName pulumi.StringInput `pulumi:"keyName"`
	// A list of one element containing information about the associated log store. It contains the following attributes:
	LogConfigs            GetKubernetesClustersClusterLogConfigArrayInput `pulumi:"logConfigs"`
	MasterAutoRenew       pulumi.BoolInput                                `pulumi:"masterAutoRenew"`
	MasterAutoRenewPeriod pulumi.IntInput                                 `pulumi:"masterAutoRenewPeriod"`
	// The system disk category of master node.
	MasterDiskCategory pulumi.StringInput `pulumi:"masterDiskCategory"`
	// The system disk size of master node.
	MasterDiskSize           pulumi.IntInput    `pulumi:"masterDiskSize"`
	MasterInstanceChargeType pulumi.StringInput `pulumi:"masterInstanceChargeType"`
	// The instance type of master node.
	MasterInstanceTypes pulumi.StringArrayInput `pulumi:"masterInstanceTypes"`
	// List of cluster master nodes. It contains several attributes to `Block Nodes`.
	MasterNodes      GetKubernetesClustersClusterMasterNodeArrayInput `pulumi:"masterNodes"`
	MasterPeriod     pulumi.IntInput                                  `pulumi:"masterPeriod"`
	MasterPeriodUnit pulumi.StringInput                               `pulumi:"masterPeriodUnit"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
	// The network mask used on pods for each node.
	NodeCidrMask pulumi.IntInput    `pulumi:"nodeCidrMask"`
	PodCidr      pulumi.StringInput `pulumi:"podCidr"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	ServiceCidr     pulumi.StringInput `pulumi:"serviceCidr"`
	// Whether internet load balancer for API Server is created
	SlbInternetEnabled pulumi.BoolInput `pulumi:"slbInternetEnabled"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of VSwitches where the current cluster is located.
	VswitchIds            pulumi.StringArrayInput `pulumi:"vswitchIds"`
	WorkerAutoRenew       pulumi.BoolInput        `pulumi:"workerAutoRenew"`
	WorkerAutoRenewPeriod pulumi.IntInput         `pulumi:"workerAutoRenewPeriod"`
	// The data disk size of worker node.
	WorkerDataDiskCategory pulumi.StringInput `pulumi:"workerDataDiskCategory"`
	// The data disk category of worker node.
	WorkerDataDiskSize pulumi.IntInput `pulumi:"workerDataDiskSize"`
	// The system disk category of worker node.
	WorkerDiskCategory pulumi.StringInput `pulumi:"workerDiskCategory"`
	// The system disk size of worker node.
	WorkerDiskSize           pulumi.IntInput    `pulumi:"workerDiskSize"`
	WorkerInstanceChargeType pulumi.StringInput `pulumi:"workerInstanceChargeType"`
	// The instance type of worker node.
	WorkerInstanceTypes pulumi.StringArrayInput `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes GetKubernetesClustersClusterWorkerNodeArrayInput `pulumi:"workerNodes"`
	// The ECS instance node number in the current container cluster.
	WorkerNumbers    pulumi.IntArrayInput `pulumi:"workerNumbers"`
	WorkerPeriod     pulumi.IntInput      `pulumi:"workerPeriod"`
	WorkerPeriodUnit pulumi.StringInput   `pulumi:"workerPeriodUnit"`
}

func (GetKubernetesClustersClusterArgs) ElementType

func (GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutput

func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput

func (GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutputWithContext

func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput

type GetKubernetesClustersClusterArray

type GetKubernetesClustersClusterArray []GetKubernetesClustersClusterInput

func (GetKubernetesClustersClusterArray) ElementType

func (GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutput

func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput

func (GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutputWithContext

func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput

type GetKubernetesClustersClusterArrayInput

type GetKubernetesClustersClusterArrayInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput
	ToGetKubernetesClustersClusterArrayOutputWithContext(context.Context) GetKubernetesClustersClusterArrayOutput
}

GetKubernetesClustersClusterArrayInput is an input type that accepts GetKubernetesClustersClusterArray and GetKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterArrayInput` via:

GetKubernetesClustersClusterArray{ GetKubernetesClustersClusterArgs{...} }

type GetKubernetesClustersClusterArrayOutput

type GetKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterArrayOutput) ElementType

func (GetKubernetesClustersClusterArrayOutput) Index

func (GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutput

func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput

func (GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutputWithContext

func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput

type GetKubernetesClustersClusterConnections

type GetKubernetesClustersClusterConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp string `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain string `pulumi:"serviceDomain"`
}

type GetKubernetesClustersClusterConnectionsArgs

type GetKubernetesClustersClusterConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain pulumi.StringInput `pulumi:"serviceDomain"`
}

func (GetKubernetesClustersClusterConnectionsArgs) ElementType

func (GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutput

func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput

func (GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutputWithContext

func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput

type GetKubernetesClustersClusterConnectionsInput

type GetKubernetesClustersClusterConnectionsInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput
	ToGetKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetKubernetesClustersClusterConnectionsOutput
}

GetKubernetesClustersClusterConnectionsInput is an input type that accepts GetKubernetesClustersClusterConnectionsArgs and GetKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterConnectionsInput` via:

GetKubernetesClustersClusterConnectionsArgs{...}

type GetKubernetesClustersClusterConnectionsOutput

type GetKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (GetKubernetesClustersClusterConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (GetKubernetesClustersClusterConnectionsOutput) ElementType

func (GetKubernetesClustersClusterConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (GetKubernetesClustersClusterConnectionsOutput) ServiceDomain

Service Access Domain.

func (GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutput

func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput

func (GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutputWithContext

func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput

type GetKubernetesClustersClusterInput

type GetKubernetesClustersClusterInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput
	ToGetKubernetesClustersClusterOutputWithContext(context.Context) GetKubernetesClustersClusterOutput
}

GetKubernetesClustersClusterInput is an input type that accepts GetKubernetesClustersClusterArgs and GetKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterInput` via:

GetKubernetesClustersClusterArgs{...}

type GetKubernetesClustersClusterLogConfig

type GetKubernetesClustersClusterLogConfig struct {
	// Log Service project name.
	Project string `pulumi:"project"`
	// Type of collecting logs.
	Type string `pulumi:"type"`
}

type GetKubernetesClustersClusterLogConfigArgs

type GetKubernetesClustersClusterLogConfigArgs struct {
	// Log Service project name.
	Project pulumi.StringInput `pulumi:"project"`
	// Type of collecting logs.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetKubernetesClustersClusterLogConfigArgs) ElementType

func (GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutput

func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput

func (GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutputWithContext

func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput

type GetKubernetesClustersClusterLogConfigArray

type GetKubernetesClustersClusterLogConfigArray []GetKubernetesClustersClusterLogConfigInput

func (GetKubernetesClustersClusterLogConfigArray) ElementType

func (GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutput

func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput

func (GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext

func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput

type GetKubernetesClustersClusterLogConfigArrayInput

type GetKubernetesClustersClusterLogConfigArrayInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput
	ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(context.Context) GetKubernetesClustersClusterLogConfigArrayOutput
}

GetKubernetesClustersClusterLogConfigArrayInput is an input type that accepts GetKubernetesClustersClusterLogConfigArray and GetKubernetesClustersClusterLogConfigArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterLogConfigArrayInput` via:

GetKubernetesClustersClusterLogConfigArray{ GetKubernetesClustersClusterLogConfigArgs{...} }

type GetKubernetesClustersClusterLogConfigArrayOutput

type GetKubernetesClustersClusterLogConfigArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterLogConfigArrayOutput) ElementType

func (GetKubernetesClustersClusterLogConfigArrayOutput) Index

func (GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutput

func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput

func (GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext

func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput

type GetKubernetesClustersClusterLogConfigInput

type GetKubernetesClustersClusterLogConfigInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput
	ToGetKubernetesClustersClusterLogConfigOutputWithContext(context.Context) GetKubernetesClustersClusterLogConfigOutput
}

GetKubernetesClustersClusterLogConfigInput is an input type that accepts GetKubernetesClustersClusterLogConfigArgs and GetKubernetesClustersClusterLogConfigOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterLogConfigInput` via:

GetKubernetesClustersClusterLogConfigArgs{...}

type GetKubernetesClustersClusterLogConfigOutput

type GetKubernetesClustersClusterLogConfigOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterLogConfigOutput) ElementType

func (GetKubernetesClustersClusterLogConfigOutput) Project

Log Service project name.

func (GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutput

func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput

func (GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutputWithContext

func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput

func (GetKubernetesClustersClusterLogConfigOutput) Type

Type of collecting logs.

type GetKubernetesClustersClusterMasterNode

type GetKubernetesClustersClusterMasterNode struct {
	// ID of the node.
	Id string `pulumi:"id"`
	// Node name.
	Name string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp string `pulumi:"privateIp"`
}

type GetKubernetesClustersClusterMasterNodeArgs

type GetKubernetesClustersClusterMasterNodeArgs struct {
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
}

func (GetKubernetesClustersClusterMasterNodeArgs) ElementType

func (GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutput

func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput

func (GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutputWithContext

func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput

type GetKubernetesClustersClusterMasterNodeArray

type GetKubernetesClustersClusterMasterNodeArray []GetKubernetesClustersClusterMasterNodeInput

func (GetKubernetesClustersClusterMasterNodeArray) ElementType

func (GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutput

func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput

func (GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext

func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput

type GetKubernetesClustersClusterMasterNodeArrayInput

type GetKubernetesClustersClusterMasterNodeArrayInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput
	ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput
}

GetKubernetesClustersClusterMasterNodeArrayInput is an input type that accepts GetKubernetesClustersClusterMasterNodeArray and GetKubernetesClustersClusterMasterNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterMasterNodeArrayInput` via:

GetKubernetesClustersClusterMasterNodeArray{ GetKubernetesClustersClusterMasterNodeArgs{...} }

type GetKubernetesClustersClusterMasterNodeArrayOutput

type GetKubernetesClustersClusterMasterNodeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterMasterNodeArrayOutput) ElementType

func (GetKubernetesClustersClusterMasterNodeArrayOutput) Index

func (GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutput

func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput

func (GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext

func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput

type GetKubernetesClustersClusterMasterNodeInput

type GetKubernetesClustersClusterMasterNodeInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput
	ToGetKubernetesClustersClusterMasterNodeOutputWithContext(context.Context) GetKubernetesClustersClusterMasterNodeOutput
}

GetKubernetesClustersClusterMasterNodeInput is an input type that accepts GetKubernetesClustersClusterMasterNodeArgs and GetKubernetesClustersClusterMasterNodeOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterMasterNodeInput` via:

GetKubernetesClustersClusterMasterNodeArgs{...}

type GetKubernetesClustersClusterMasterNodeOutput

type GetKubernetesClustersClusterMasterNodeOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterMasterNodeOutput) ElementType

func (GetKubernetesClustersClusterMasterNodeOutput) Id

ID of the node.

func (GetKubernetesClustersClusterMasterNodeOutput) Name

Node name.

func (GetKubernetesClustersClusterMasterNodeOutput) PrivateIp

The private IP address of node.

func (GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutput

func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput

func (GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutputWithContext

func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput

type GetKubernetesClustersClusterOutput

type GetKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterOutput) AvailabilityZone

The ID of availability zone.

func (GetKubernetesClustersClusterOutput) ClusterNetworkType

func (GetKubernetesClustersClusterOutput) Connections

Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.

func (GetKubernetesClustersClusterOutput) ElementType

func (GetKubernetesClustersClusterOutput) Id

ID of the node.

func (GetKubernetesClustersClusterOutput) ImageId

The ID of node image.

func (GetKubernetesClustersClusterOutput) KeyName

The keypair of ssh login cluster node, you have to create it first.

func (GetKubernetesClustersClusterOutput) LogConfigs

A list of one element containing information about the associated log store. It contains the following attributes:

func (GetKubernetesClustersClusterOutput) MasterAutoRenew

func (GetKubernetesClustersClusterOutput) MasterAutoRenewPeriod

func (o GetKubernetesClustersClusterOutput) MasterAutoRenewPeriod() pulumi.IntOutput

func (GetKubernetesClustersClusterOutput) MasterDiskCategory

The system disk category of master node.

func (GetKubernetesClustersClusterOutput) MasterDiskSize

The system disk size of master node.

func (GetKubernetesClustersClusterOutput) MasterInstanceChargeType

func (o GetKubernetesClustersClusterOutput) MasterInstanceChargeType() pulumi.StringOutput

func (GetKubernetesClustersClusterOutput) MasterInstanceTypes

The instance type of master node.

func (GetKubernetesClustersClusterOutput) MasterNodes

List of cluster master nodes. It contains several attributes to `Block Nodes`.

func (GetKubernetesClustersClusterOutput) MasterPeriod

func (GetKubernetesClustersClusterOutput) MasterPeriodUnit

func (GetKubernetesClustersClusterOutput) Name

Node name.

func (GetKubernetesClustersClusterOutput) NatGatewayId

The ID of nat gateway used to launch kubernetes cluster.

func (GetKubernetesClustersClusterOutput) NodeCidrMask

The network mask used on pods for each node.

func (GetKubernetesClustersClusterOutput) PodCidr

func (GetKubernetesClustersClusterOutput) SecurityGroupId

The ID of security group where the current cluster worker node is located.

func (GetKubernetesClustersClusterOutput) ServiceCidr

func (GetKubernetesClustersClusterOutput) SlbInternetEnabled

func (o GetKubernetesClustersClusterOutput) SlbInternetEnabled() pulumi.BoolOutput

Whether internet load balancer for API Server is created

func (GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutput

func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput

func (GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutputWithContext

func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput

func (GetKubernetesClustersClusterOutput) VpcId

The ID of VPC where the current cluster is located.

func (GetKubernetesClustersClusterOutput) VswitchIds

The ID of VSwitches where the current cluster is located.

func (GetKubernetesClustersClusterOutput) WorkerAutoRenew

func (GetKubernetesClustersClusterOutput) WorkerAutoRenewPeriod

func (o GetKubernetesClustersClusterOutput) WorkerAutoRenewPeriod() pulumi.IntOutput

func (GetKubernetesClustersClusterOutput) WorkerDataDiskCategory

func (o GetKubernetesClustersClusterOutput) WorkerDataDiskCategory() pulumi.StringOutput

The data disk size of worker node.

func (GetKubernetesClustersClusterOutput) WorkerDataDiskSize

func (o GetKubernetesClustersClusterOutput) WorkerDataDiskSize() pulumi.IntOutput

The data disk category of worker node.

func (GetKubernetesClustersClusterOutput) WorkerDiskCategory

The system disk category of worker node.

func (GetKubernetesClustersClusterOutput) WorkerDiskSize

The system disk size of worker node.

func (GetKubernetesClustersClusterOutput) WorkerInstanceChargeType

func (o GetKubernetesClustersClusterOutput) WorkerInstanceChargeType() pulumi.StringOutput

func (GetKubernetesClustersClusterOutput) WorkerInstanceTypes

The instance type of worker node.

func (GetKubernetesClustersClusterOutput) WorkerNodes

List of cluster worker nodes. It contains several attributes to `Block Nodes`.

func (GetKubernetesClustersClusterOutput) WorkerNumbers

The ECS instance node number in the current container cluster.

func (GetKubernetesClustersClusterOutput) WorkerPeriod

func (GetKubernetesClustersClusterOutput) WorkerPeriodUnit

type GetKubernetesClustersClusterWorkerNode

type GetKubernetesClustersClusterWorkerNode struct {
	// ID of the node.
	Id string `pulumi:"id"`
	// Node name.
	Name string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp string `pulumi:"privateIp"`
}

type GetKubernetesClustersClusterWorkerNodeArgs

type GetKubernetesClustersClusterWorkerNodeArgs struct {
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
}

func (GetKubernetesClustersClusterWorkerNodeArgs) ElementType

func (GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutput

func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput

func (GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext

func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput

type GetKubernetesClustersClusterWorkerNodeArray

type GetKubernetesClustersClusterWorkerNodeArray []GetKubernetesClustersClusterWorkerNodeInput

func (GetKubernetesClustersClusterWorkerNodeArray) ElementType

func (GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutput

func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput

func (GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput

type GetKubernetesClustersClusterWorkerNodeArrayInput

type GetKubernetesClustersClusterWorkerNodeArrayInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput
	ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput
}

GetKubernetesClustersClusterWorkerNodeArrayInput is an input type that accepts GetKubernetesClustersClusterWorkerNodeArray and GetKubernetesClustersClusterWorkerNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterWorkerNodeArrayInput` via:

GetKubernetesClustersClusterWorkerNodeArray{ GetKubernetesClustersClusterWorkerNodeArgs{...} }

type GetKubernetesClustersClusterWorkerNodeArrayOutput

type GetKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ElementType

func (GetKubernetesClustersClusterWorkerNodeArrayOutput) Index

func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutput

func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput

func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput

type GetKubernetesClustersClusterWorkerNodeInput

type GetKubernetesClustersClusterWorkerNodeInput interface {
	pulumi.Input

	ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput
	ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(context.Context) GetKubernetesClustersClusterWorkerNodeOutput
}

GetKubernetesClustersClusterWorkerNodeInput is an input type that accepts GetKubernetesClustersClusterWorkerNodeArgs and GetKubernetesClustersClusterWorkerNodeOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterWorkerNodeInput` via:

GetKubernetesClustersClusterWorkerNodeArgs{...}

type GetKubernetesClustersClusterWorkerNodeOutput

type GetKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }

func (GetKubernetesClustersClusterWorkerNodeOutput) ElementType

func (GetKubernetesClustersClusterWorkerNodeOutput) Id

ID of the node.

func (GetKubernetesClustersClusterWorkerNodeOutput) Name

Node name.

func (GetKubernetesClustersClusterWorkerNodeOutput) PrivateIp

The private IP address of node.

func (GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutput

func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput

func (GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext

func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput

type GetKubernetesClustersOutputArgs added in v3.9.0

type GetKubernetesClustersOutputArgs struct {
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/k8s`, then it will be named with `~/.kube/k8s-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix pulumi.StringPtrInput `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getKubernetesClusters.

func (GetKubernetesClustersOutputArgs) ElementType added in v3.9.0

type GetKubernetesClustersResult

type GetKubernetesClustersResult struct {
	// A list of matched Kubernetes clusters. Each element contains the following attributes:
	Clusters      []GetKubernetesClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                          `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Kubernetes clusters' ids.
	Ids                  []string `pulumi:"ids"`
	KubeConfigFilePrefix *string  `pulumi:"kubeConfigFilePrefix"`
	NameRegex            *string  `pulumi:"nameRegex"`
	// A list of matched Kubernetes clusters' names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getKubernetesClusters.

func GetKubernetesClusters

func GetKubernetesClusters(ctx *pulumi.Context, args *GetKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetKubernetesClustersResult, error)

This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.

> **NOTE:** Available in v1.34.0+.

> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kubeConfigFilePrefix`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		k8sClusters, err := cs.GetKubernetesClusters(ctx, &cs.GetKubernetesClustersArgs{
			NameRegex:            pulumi.StringRef("my-first-k8s"),
			OutputFile:           pulumi.StringRef("my-first-k8s-json"),
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/k8s"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetKubernetesClustersResultOutput added in v3.9.0

type GetKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesClusters.

func GetKubernetesClustersOutput added in v3.9.0

func (GetKubernetesClustersResultOutput) Clusters added in v3.9.0

A list of matched Kubernetes clusters. Each element contains the following attributes:

func (GetKubernetesClustersResultOutput) ElementType added in v3.9.0

func (GetKubernetesClustersResultOutput) EnableDetails added in v3.9.0

func (GetKubernetesClustersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesClustersResultOutput) Ids added in v3.9.0

A list of matched Kubernetes clusters' ids.

func (GetKubernetesClustersResultOutput) KubeConfigFilePrefix added in v3.26.0

func (o GetKubernetesClustersResultOutput) KubeConfigFilePrefix() pulumi.StringPtrOutput

func (GetKubernetesClustersResultOutput) NameRegex added in v3.9.0

func (GetKubernetesClustersResultOutput) Names added in v3.9.0

A list of matched Kubernetes clusters' names.

func (GetKubernetesClustersResultOutput) OutputFile added in v3.9.0

func (GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutput added in v3.9.0

func (o GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutput() GetKubernetesClustersResultOutput

func (GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutputWithContext added in v3.9.0

func (o GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutputWithContext(ctx context.Context) GetKubernetesClustersResultOutput

type GetKubernetesPermissionPermission added in v3.1.0

type GetKubernetesPermissionPermission struct {
	// Indicates whether the permissions are granted to the cluster owner. Valid values `false`, `true`.
	IsOwner bool `pulumi:"isOwner"`
	// Indicates whether the permissions are granted to the RAM role. Valid values `false`, `true`.
	IsRamRole bool `pulumi:"isRamRole"`
	// The permission settings to manage ACK clusters.
	ResourceId string `pulumi:"resourceId"`
	// The authorization type. Valid values `cluster`, `namespace` and `console`.
	ResourceType string `pulumi:"resourceType"`
	// The name of the predefined role. If a custom role is assigned, the value is the name of the assigined custom role.
	RoleName string `pulumi:"roleName"`
	// The predefined role. Valid values `admin`,`ops`,`dev`,`restricted` and `custom`.
	RoleType string `pulumi:"roleType"`
}

type GetKubernetesPermissionPermissionArgs added in v3.1.0

type GetKubernetesPermissionPermissionArgs struct {
	// Indicates whether the permissions are granted to the cluster owner. Valid values `false`, `true`.
	IsOwner pulumi.BoolInput `pulumi:"isOwner"`
	// Indicates whether the permissions are granted to the RAM role. Valid values `false`, `true`.
	IsRamRole pulumi.BoolInput `pulumi:"isRamRole"`
	// The permission settings to manage ACK clusters.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The authorization type. Valid values `cluster`, `namespace` and `console`.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
	// The name of the predefined role. If a custom role is assigned, the value is the name of the assigined custom role.
	RoleName pulumi.StringInput `pulumi:"roleName"`
	// The predefined role. Valid values `admin`,`ops`,`dev`,`restricted` and `custom`.
	RoleType pulumi.StringInput `pulumi:"roleType"`
}

func (GetKubernetesPermissionPermissionArgs) ElementType added in v3.1.0

func (GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutput added in v3.1.0

func (i GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutput() GetKubernetesPermissionPermissionOutput

func (GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutputWithContext added in v3.1.0

func (i GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutputWithContext(ctx context.Context) GetKubernetesPermissionPermissionOutput

type GetKubernetesPermissionPermissionArray added in v3.1.0

type GetKubernetesPermissionPermissionArray []GetKubernetesPermissionPermissionInput

func (GetKubernetesPermissionPermissionArray) ElementType added in v3.1.0

func (GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutput added in v3.1.0

func (i GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutput() GetKubernetesPermissionPermissionArrayOutput

func (GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutputWithContext added in v3.1.0

func (i GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) GetKubernetesPermissionPermissionArrayOutput

type GetKubernetesPermissionPermissionArrayInput added in v3.1.0

type GetKubernetesPermissionPermissionArrayInput interface {
	pulumi.Input

	ToGetKubernetesPermissionPermissionArrayOutput() GetKubernetesPermissionPermissionArrayOutput
	ToGetKubernetesPermissionPermissionArrayOutputWithContext(context.Context) GetKubernetesPermissionPermissionArrayOutput
}

GetKubernetesPermissionPermissionArrayInput is an input type that accepts GetKubernetesPermissionPermissionArray and GetKubernetesPermissionPermissionArrayOutput values. You can construct a concrete instance of `GetKubernetesPermissionPermissionArrayInput` via:

GetKubernetesPermissionPermissionArray{ GetKubernetesPermissionPermissionArgs{...} }

type GetKubernetesPermissionPermissionArrayOutput added in v3.1.0

type GetKubernetesPermissionPermissionArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesPermissionPermissionArrayOutput) ElementType added in v3.1.0

func (GetKubernetesPermissionPermissionArrayOutput) Index added in v3.1.0

func (GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutput added in v3.1.0

func (o GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutput() GetKubernetesPermissionPermissionArrayOutput

func (GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutputWithContext added in v3.1.0

func (o GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) GetKubernetesPermissionPermissionArrayOutput

type GetKubernetesPermissionPermissionInput added in v3.1.0

type GetKubernetesPermissionPermissionInput interface {
	pulumi.Input

	ToGetKubernetesPermissionPermissionOutput() GetKubernetesPermissionPermissionOutput
	ToGetKubernetesPermissionPermissionOutputWithContext(context.Context) GetKubernetesPermissionPermissionOutput
}

GetKubernetesPermissionPermissionInput is an input type that accepts GetKubernetesPermissionPermissionArgs and GetKubernetesPermissionPermissionOutput values. You can construct a concrete instance of `GetKubernetesPermissionPermissionInput` via:

GetKubernetesPermissionPermissionArgs{...}

type GetKubernetesPermissionPermissionOutput added in v3.1.0

type GetKubernetesPermissionPermissionOutput struct{ *pulumi.OutputState }

func (GetKubernetesPermissionPermissionOutput) ElementType added in v3.1.0

func (GetKubernetesPermissionPermissionOutput) IsOwner added in v3.1.0

Indicates whether the permissions are granted to the cluster owner. Valid values `false`, `true`.

func (GetKubernetesPermissionPermissionOutput) IsRamRole added in v3.1.0

Indicates whether the permissions are granted to the RAM role. Valid values `false`, `true`.

func (GetKubernetesPermissionPermissionOutput) ResourceId added in v3.1.0

The permission settings to manage ACK clusters.

func (GetKubernetesPermissionPermissionOutput) ResourceType added in v3.1.0

The authorization type. Valid values `cluster`, `namespace` and `console`.

func (GetKubernetesPermissionPermissionOutput) RoleName added in v3.1.0

The name of the predefined role. If a custom role is assigned, the value is the name of the assigined custom role.

func (GetKubernetesPermissionPermissionOutput) RoleType added in v3.1.0

The predefined role. Valid values `admin`,`ops`,`dev`,`restricted` and `custom`.

func (GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutput added in v3.1.0

func (o GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutput() GetKubernetesPermissionPermissionOutput

func (GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutputWithContext added in v3.1.0

func (o GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutputWithContext(ctx context.Context) GetKubernetesPermissionPermissionOutput

type GetKubernetesVersionArgs added in v3.20.0

type GetKubernetesVersionArgs struct {
	// The type of cluster. Its valid value are `Kubernetes` and `ManagedKubernetes`.
	ClusterType string `pulumi:"clusterType"`
	// The ACK released kubernetes version.
	KubernetesVersion *string `pulumi:"kubernetesVersion"`
	// The profile of cluster. Its valid value are `Default`, `Serverless` and `Edge`.
	Profile *string `pulumi:"profile"`
}

A collection of arguments for invoking getKubernetesVersion.

type GetKubernetesVersionMetadata added in v3.20.0

type GetKubernetesVersionMetadata struct {
	// The list of supported runtime.
	Runtimes []GetKubernetesVersionMetadataRuntime `pulumi:"runtimes"`
	// The runtime version.
	Version string `pulumi:"version"`
}

type GetKubernetesVersionMetadataArgs added in v3.20.0

type GetKubernetesVersionMetadataArgs struct {
	// The list of supported runtime.
	Runtimes GetKubernetesVersionMetadataRuntimeArrayInput `pulumi:"runtimes"`
	// The runtime version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetKubernetesVersionMetadataArgs) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutput added in v3.20.0

func (i GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutput() GetKubernetesVersionMetadataOutput

func (GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutputWithContext added in v3.20.0

func (i GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataOutput

type GetKubernetesVersionMetadataArray added in v3.20.0

type GetKubernetesVersionMetadataArray []GetKubernetesVersionMetadataInput

func (GetKubernetesVersionMetadataArray) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutput added in v3.20.0

func (i GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutput() GetKubernetesVersionMetadataArrayOutput

func (GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutputWithContext added in v3.20.0

func (i GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataArrayOutput

type GetKubernetesVersionMetadataArrayInput added in v3.20.0

type GetKubernetesVersionMetadataArrayInput interface {
	pulumi.Input

	ToGetKubernetesVersionMetadataArrayOutput() GetKubernetesVersionMetadataArrayOutput
	ToGetKubernetesVersionMetadataArrayOutputWithContext(context.Context) GetKubernetesVersionMetadataArrayOutput
}

GetKubernetesVersionMetadataArrayInput is an input type that accepts GetKubernetesVersionMetadataArray and GetKubernetesVersionMetadataArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionMetadataArrayInput` via:

GetKubernetesVersionMetadataArray{ GetKubernetesVersionMetadataArgs{...} }

type GetKubernetesVersionMetadataArrayOutput added in v3.20.0

type GetKubernetesVersionMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataArrayOutput) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataArrayOutput) Index added in v3.20.0

func (GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutput added in v3.20.0

func (o GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutput() GetKubernetesVersionMetadataArrayOutput

func (GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutputWithContext added in v3.20.0

func (o GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataArrayOutput

type GetKubernetesVersionMetadataInput added in v3.20.0

type GetKubernetesVersionMetadataInput interface {
	pulumi.Input

	ToGetKubernetesVersionMetadataOutput() GetKubernetesVersionMetadataOutput
	ToGetKubernetesVersionMetadataOutputWithContext(context.Context) GetKubernetesVersionMetadataOutput
}

GetKubernetesVersionMetadataInput is an input type that accepts GetKubernetesVersionMetadataArgs and GetKubernetesVersionMetadataOutput values. You can construct a concrete instance of `GetKubernetesVersionMetadataInput` via:

GetKubernetesVersionMetadataArgs{...}

type GetKubernetesVersionMetadataOutput added in v3.20.0

type GetKubernetesVersionMetadataOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataOutput) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataOutput) Runtimes added in v3.20.0

The list of supported runtime.

func (GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutput added in v3.20.0

func (o GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutput() GetKubernetesVersionMetadataOutput

func (GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutputWithContext added in v3.20.0

func (o GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataOutput

func (GetKubernetesVersionMetadataOutput) Version added in v3.20.0

The runtime version.

type GetKubernetesVersionMetadataRuntime added in v3.20.0

type GetKubernetesVersionMetadataRuntime struct {
	// The runtime name.
	Name string `pulumi:"name"`
	// The runtime version.
	Version string `pulumi:"version"`
}

type GetKubernetesVersionMetadataRuntimeArgs added in v3.20.0

type GetKubernetesVersionMetadataRuntimeArgs struct {
	// The runtime name.
	Name pulumi.StringInput `pulumi:"name"`
	// The runtime version.
	Version pulumi.StringInput `pulumi:"version"`
}

func (GetKubernetesVersionMetadataRuntimeArgs) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutput added in v3.20.0

func (i GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutput() GetKubernetesVersionMetadataRuntimeOutput

func (GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutputWithContext added in v3.20.0

func (i GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataRuntimeOutput

type GetKubernetesVersionMetadataRuntimeArray added in v3.20.0

type GetKubernetesVersionMetadataRuntimeArray []GetKubernetesVersionMetadataRuntimeInput

func (GetKubernetesVersionMetadataRuntimeArray) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutput added in v3.20.0

func (i GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutput() GetKubernetesVersionMetadataRuntimeArrayOutput

func (GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext added in v3.20.0

func (i GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataRuntimeArrayOutput

type GetKubernetesVersionMetadataRuntimeArrayInput added in v3.20.0

type GetKubernetesVersionMetadataRuntimeArrayInput interface {
	pulumi.Input

	ToGetKubernetesVersionMetadataRuntimeArrayOutput() GetKubernetesVersionMetadataRuntimeArrayOutput
	ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext(context.Context) GetKubernetesVersionMetadataRuntimeArrayOutput
}

GetKubernetesVersionMetadataRuntimeArrayInput is an input type that accepts GetKubernetesVersionMetadataRuntimeArray and GetKubernetesVersionMetadataRuntimeArrayOutput values. You can construct a concrete instance of `GetKubernetesVersionMetadataRuntimeArrayInput` via:

GetKubernetesVersionMetadataRuntimeArray{ GetKubernetesVersionMetadataRuntimeArgs{...} }

type GetKubernetesVersionMetadataRuntimeArrayOutput added in v3.20.0

type GetKubernetesVersionMetadataRuntimeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataRuntimeArrayOutput) Index added in v3.20.0

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutput added in v3.20.0

func (o GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutput() GetKubernetesVersionMetadataRuntimeArrayOutput

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext added in v3.20.0

func (o GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataRuntimeArrayOutput

type GetKubernetesVersionMetadataRuntimeInput added in v3.20.0

type GetKubernetesVersionMetadataRuntimeInput interface {
	pulumi.Input

	ToGetKubernetesVersionMetadataRuntimeOutput() GetKubernetesVersionMetadataRuntimeOutput
	ToGetKubernetesVersionMetadataRuntimeOutputWithContext(context.Context) GetKubernetesVersionMetadataRuntimeOutput
}

GetKubernetesVersionMetadataRuntimeInput is an input type that accepts GetKubernetesVersionMetadataRuntimeArgs and GetKubernetesVersionMetadataRuntimeOutput values. You can construct a concrete instance of `GetKubernetesVersionMetadataRuntimeInput` via:

GetKubernetesVersionMetadataRuntimeArgs{...}

type GetKubernetesVersionMetadataRuntimeOutput added in v3.20.0

type GetKubernetesVersionMetadataRuntimeOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataRuntimeOutput) ElementType added in v3.20.0

func (GetKubernetesVersionMetadataRuntimeOutput) Name added in v3.20.0

The runtime name.

func (GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutput added in v3.20.0

func (o GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutput() GetKubernetesVersionMetadataRuntimeOutput

func (GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutputWithContext added in v3.20.0

func (o GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutputWithContext(ctx context.Context) GetKubernetesVersionMetadataRuntimeOutput

func (GetKubernetesVersionMetadataRuntimeOutput) Version added in v3.20.0

The runtime version.

type GetKubernetesVersionOutputArgs added in v3.20.0

type GetKubernetesVersionOutputArgs struct {
	// The type of cluster. Its valid value are `Kubernetes` and `ManagedKubernetes`.
	ClusterType pulumi.StringInput `pulumi:"clusterType"`
	// The ACK released kubernetes version.
	KubernetesVersion pulumi.StringPtrInput `pulumi:"kubernetesVersion"`
	// The profile of cluster. Its valid value are `Default`, `Serverless` and `Edge`.
	Profile pulumi.StringPtrInput `pulumi:"profile"`
}

A collection of arguments for invoking getKubernetesVersion.

func (GetKubernetesVersionOutputArgs) ElementType added in v3.20.0

type GetKubernetesVersionResult added in v3.20.0

type GetKubernetesVersionResult struct {
	ClusterType string `pulumi:"clusterType"`
	// The provider-assigned unique ID for this managed resource.
	Id                string  `pulumi:"id"`
	KubernetesVersion *string `pulumi:"kubernetesVersion"`
	// A list of metadata of kubernetes version.
	Metadatas []GetKubernetesVersionMetadata `pulumi:"metadatas"`
	Profile   *string                        `pulumi:"profile"`
}

A collection of values returned by getKubernetesVersion.

func GetKubernetesVersion added in v3.20.0

func GetKubernetesVersion(ctx *pulumi.Context, args *GetKubernetesVersionArgs, opts ...pulumi.InvokeOption) (*GetKubernetesVersionResult, error)

This data source provides the details of the Kubernetes version supported by ACK.

> **NOTE:** Available in 1.170.0+.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Query the managed kubernetes cluster metadata of version 1.22.3-aliyun.1 in the region specified by the client.
		_default, err := cs.GetKubernetesVersion(ctx, &cs.GetKubernetesVersionArgs{
			ClusterType:       "ManagedKubernetes",
			KubernetesVersion: pulumi.StringRef("1.22.3-aliyun.1"),
			Profile:           pulumi.StringRef("Default"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("metadata", _default.Metadatas)
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Query the kubernetes cluster metadata of version 1.22.3-aliyun.1 in the region specified by the client.
		_default, err := cs.GetKubernetesVersion(ctx, &cs.GetKubernetesVersionArgs{
			ClusterType:       "Kubernetes",
			KubernetesVersion: pulumi.StringRef("1.22.3-aliyun.1"),
			Profile:           pulumi.StringRef("Default"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("metadata", _default.Metadatas)
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Query the serverless kubernetes cluster metadata of version 1.22.3-aliyun.1 in the region specified by the client.
		_default, err := cs.GetKubernetesVersion(ctx, &cs.GetKubernetesVersionArgs{
			ClusterType:       "ManagedKubernetes",
			KubernetesVersion: pulumi.StringRef("1.22.3-aliyun.1"),
			Profile:           pulumi.StringRef("Serverless"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("metadata", _default.Metadatas)
		return nil
	})
}

```

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Query the edge kubernetes cluster metadata of version 1.20.11-aliyunedge.1 in the region specified by the client.
		_default, err := cs.GetKubernetesVersion(ctx, &cs.GetKubernetesVersionArgs{
			ClusterType:       "ManagedKubernetes",
			KubernetesVersion: pulumi.StringRef("1.20.11-aliyunedge.1"),
			Profile:           pulumi.StringRef("Edge"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("metadata", _default.Metadatas)
		return nil
	})
}

```

type GetKubernetesVersionResultOutput added in v3.20.0

type GetKubernetesVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesVersion.

func GetKubernetesVersionOutput added in v3.20.0

func (GetKubernetesVersionResultOutput) ClusterType added in v3.20.0

func (GetKubernetesVersionResultOutput) ElementType added in v3.20.0

func (GetKubernetesVersionResultOutput) Id added in v3.20.0

The provider-assigned unique ID for this managed resource.

func (GetKubernetesVersionResultOutput) KubernetesVersion added in v3.20.0

func (GetKubernetesVersionResultOutput) Metadatas added in v3.20.0

A list of metadata of kubernetes version.

func (GetKubernetesVersionResultOutput) Profile added in v3.20.0

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput added in v3.20.0

func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput() GetKubernetesVersionResultOutput

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext added in v3.20.0

func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext(ctx context.Context) GetKubernetesVersionResultOutput

type GetManagedKubernetesClustersArgs

type GetManagedKubernetesClustersArgs struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids []string `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix *string `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getManagedKubernetesClusters.

type GetManagedKubernetesClustersCluster

type GetManagedKubernetesClustersCluster struct {
	// The ID of availability zone.
	AvailabilityZone   string `pulumi:"availabilityZone"`
	ClusterNetworkType string `pulumi:"clusterNetworkType"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetManagedKubernetesClustersClusterConnections `pulumi:"connections"`
	// ID of the node.
	Id      string `pulumi:"id"`
	ImageId string `pulumi:"imageId"`
	// The keypair of ssh login cluster node, you have to create it first.
	KeyName string `pulumi:"keyName"`
	// A list of one element containing information about the associated log store. It contains the following attributes:
	LogConfigs []GetManagedKubernetesClustersClusterLogConfig `pulumi:"logConfigs"`
	// Node name.
	Name string `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId string `pulumi:"natGatewayId"`
	PodCidr      string `pulumi:"podCidr"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId    string `pulumi:"securityGroupId"`
	ServiceCidr        string `pulumi:"serviceCidr"`
	SlbInternetEnabled bool   `pulumi:"slbInternetEnabled"`
	// The ID of VPC where the current cluster is located.
	VpcId string `pulumi:"vpcId"`
	// The ID of VSwitches where the current cluster is located.
	VswitchIds               []string `pulumi:"vswitchIds"`
	WorkerAutoRenew          bool     `pulumi:"workerAutoRenew"`
	WorkerAutoRenewPeriod    int      `pulumi:"workerAutoRenewPeriod"`
	WorkerDataDiskCategory   string   `pulumi:"workerDataDiskCategory"`
	WorkerDataDiskSize       int      `pulumi:"workerDataDiskSize"`
	WorkerDiskCategory       string   `pulumi:"workerDiskCategory"`
	WorkerDiskSize           int      `pulumi:"workerDiskSize"`
	WorkerInstanceChargeType string   `pulumi:"workerInstanceChargeType"`
	WorkerInstanceTypes      []string `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes []GetManagedKubernetesClustersClusterWorkerNode `pulumi:"workerNodes"`
	// The ECS instance node number in the current container cluster.
	WorkerNumbers    []int  `pulumi:"workerNumbers"`
	WorkerPeriod     int    `pulumi:"workerPeriod"`
	WorkerPeriodUnit string `pulumi:"workerPeriodUnit"`
}

type GetManagedKubernetesClustersClusterArgs

type GetManagedKubernetesClustersClusterArgs struct {
	// The ID of availability zone.
	AvailabilityZone   pulumi.StringInput `pulumi:"availabilityZone"`
	ClusterNetworkType pulumi.StringInput `pulumi:"clusterNetworkType"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetManagedKubernetesClustersClusterConnectionsInput `pulumi:"connections"`
	// ID of the node.
	Id      pulumi.StringInput `pulumi:"id"`
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// The keypair of ssh login cluster node, you have to create it first.
	KeyName pulumi.StringInput `pulumi:"keyName"`
	// A list of one element containing information about the associated log store. It contains the following attributes:
	LogConfigs GetManagedKubernetesClustersClusterLogConfigArrayInput `pulumi:"logConfigs"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
	PodCidr      pulumi.StringInput `pulumi:"podCidr"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId    pulumi.StringInput `pulumi:"securityGroupId"`
	ServiceCidr        pulumi.StringInput `pulumi:"serviceCidr"`
	SlbInternetEnabled pulumi.BoolInput   `pulumi:"slbInternetEnabled"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of VSwitches where the current cluster is located.
	VswitchIds               pulumi.StringArrayInput `pulumi:"vswitchIds"`
	WorkerAutoRenew          pulumi.BoolInput        `pulumi:"workerAutoRenew"`
	WorkerAutoRenewPeriod    pulumi.IntInput         `pulumi:"workerAutoRenewPeriod"`
	WorkerDataDiskCategory   pulumi.StringInput      `pulumi:"workerDataDiskCategory"`
	WorkerDataDiskSize       pulumi.IntInput         `pulumi:"workerDataDiskSize"`
	WorkerDiskCategory       pulumi.StringInput      `pulumi:"workerDiskCategory"`
	WorkerDiskSize           pulumi.IntInput         `pulumi:"workerDiskSize"`
	WorkerInstanceChargeType pulumi.StringInput      `pulumi:"workerInstanceChargeType"`
	WorkerInstanceTypes      pulumi.StringArrayInput `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes GetManagedKubernetesClustersClusterWorkerNodeArrayInput `pulumi:"workerNodes"`
	// The ECS instance node number in the current container cluster.
	WorkerNumbers    pulumi.IntArrayInput `pulumi:"workerNumbers"`
	WorkerPeriod     pulumi.IntInput      `pulumi:"workerPeriod"`
	WorkerPeriodUnit pulumi.StringInput   `pulumi:"workerPeriodUnit"`
}

func (GetManagedKubernetesClustersClusterArgs) ElementType

func (GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutput

func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput

func (GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutputWithContext

func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput

type GetManagedKubernetesClustersClusterArray

type GetManagedKubernetesClustersClusterArray []GetManagedKubernetesClustersClusterInput

func (GetManagedKubernetesClustersClusterArray) ElementType

func (GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutput

func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput

func (GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutputWithContext

func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput

type GetManagedKubernetesClustersClusterArrayInput

type GetManagedKubernetesClustersClusterArrayInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput
	ToGetManagedKubernetesClustersClusterArrayOutputWithContext(context.Context) GetManagedKubernetesClustersClusterArrayOutput
}

GetManagedKubernetesClustersClusterArrayInput is an input type that accepts GetManagedKubernetesClustersClusterArray and GetManagedKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterArrayInput` via:

GetManagedKubernetesClustersClusterArray{ GetManagedKubernetesClustersClusterArgs{...} }

type GetManagedKubernetesClustersClusterArrayOutput

type GetManagedKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterArrayOutput) ElementType

func (GetManagedKubernetesClustersClusterArrayOutput) Index

func (GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutput

func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput

func (GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutputWithContext

func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput

type GetManagedKubernetesClustersClusterConnections

type GetManagedKubernetesClustersClusterConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp string `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain string `pulumi:"serviceDomain"`
}

type GetManagedKubernetesClustersClusterConnectionsArgs

type GetManagedKubernetesClustersClusterConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain pulumi.StringInput `pulumi:"serviceDomain"`
}

func (GetManagedKubernetesClustersClusterConnectionsArgs) ElementType

func (GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutput

func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput

func (GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext

func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput

type GetManagedKubernetesClustersClusterConnectionsInput

type GetManagedKubernetesClustersClusterConnectionsInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput
	ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetManagedKubernetesClustersClusterConnectionsOutput
}

GetManagedKubernetesClustersClusterConnectionsInput is an input type that accepts GetManagedKubernetesClustersClusterConnectionsArgs and GetManagedKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterConnectionsInput` via:

GetManagedKubernetesClustersClusterConnectionsArgs{...}

type GetManagedKubernetesClustersClusterConnectionsOutput

type GetManagedKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (GetManagedKubernetesClustersClusterConnectionsOutput) ElementType

func (GetManagedKubernetesClustersClusterConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (GetManagedKubernetesClustersClusterConnectionsOutput) ServiceDomain

Service Access Domain.

func (GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutput

func (GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext

func (o GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput

type GetManagedKubernetesClustersClusterInput

type GetManagedKubernetesClustersClusterInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput
	ToGetManagedKubernetesClustersClusterOutputWithContext(context.Context) GetManagedKubernetesClustersClusterOutput
}

GetManagedKubernetesClustersClusterInput is an input type that accepts GetManagedKubernetesClustersClusterArgs and GetManagedKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterInput` via:

GetManagedKubernetesClustersClusterArgs{...}

type GetManagedKubernetesClustersClusterLogConfig

type GetManagedKubernetesClustersClusterLogConfig struct {
	// Log Service project name.
	Project string `pulumi:"project"`
	// Type of collecting logs.
	Type string `pulumi:"type"`
}

type GetManagedKubernetesClustersClusterLogConfigArgs

type GetManagedKubernetesClustersClusterLogConfigArgs struct {
	// Log Service project name.
	Project pulumi.StringInput `pulumi:"project"`
	// Type of collecting logs.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetManagedKubernetesClustersClusterLogConfigArgs) ElementType

func (GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutput

func (i GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutput() GetManagedKubernetesClustersClusterLogConfigOutput

func (GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext

func (i GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterLogConfigOutput

type GetManagedKubernetesClustersClusterLogConfigArray

type GetManagedKubernetesClustersClusterLogConfigArray []GetManagedKubernetesClustersClusterLogConfigInput

func (GetManagedKubernetesClustersClusterLogConfigArray) ElementType

func (GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput

func (i GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput() GetManagedKubernetesClustersClusterLogConfigArrayOutput

func (GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext

func (i GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterLogConfigArrayOutput

type GetManagedKubernetesClustersClusterLogConfigArrayInput

type GetManagedKubernetesClustersClusterLogConfigArrayInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterLogConfigArrayOutput() GetManagedKubernetesClustersClusterLogConfigArrayOutput
	ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext(context.Context) GetManagedKubernetesClustersClusterLogConfigArrayOutput
}

GetManagedKubernetesClustersClusterLogConfigArrayInput is an input type that accepts GetManagedKubernetesClustersClusterLogConfigArray and GetManagedKubernetesClustersClusterLogConfigArrayOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterLogConfigArrayInput` via:

GetManagedKubernetesClustersClusterLogConfigArray{ GetManagedKubernetesClustersClusterLogConfigArgs{...} }

type GetManagedKubernetesClustersClusterLogConfigArrayOutput

type GetManagedKubernetesClustersClusterLogConfigArrayOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ElementType

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) Index

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext

func (o GetManagedKubernetesClustersClusterLogConfigArrayOutput) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterLogConfigArrayOutput

type GetManagedKubernetesClustersClusterLogConfigInput

type GetManagedKubernetesClustersClusterLogConfigInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterLogConfigOutput() GetManagedKubernetesClustersClusterLogConfigOutput
	ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext(context.Context) GetManagedKubernetesClustersClusterLogConfigOutput
}

GetManagedKubernetesClustersClusterLogConfigInput is an input type that accepts GetManagedKubernetesClustersClusterLogConfigArgs and GetManagedKubernetesClustersClusterLogConfigOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterLogConfigInput` via:

GetManagedKubernetesClustersClusterLogConfigArgs{...}

type GetManagedKubernetesClustersClusterLogConfigOutput

type GetManagedKubernetesClustersClusterLogConfigOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterLogConfigOutput) ElementType

func (GetManagedKubernetesClustersClusterLogConfigOutput) Project

Log Service project name.

func (GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutput

func (o GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutput() GetManagedKubernetesClustersClusterLogConfigOutput

func (GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext

func (o GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterLogConfigOutput

func (GetManagedKubernetesClustersClusterLogConfigOutput) Type

Type of collecting logs.

type GetManagedKubernetesClustersClusterOutput

type GetManagedKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterOutput) AvailabilityZone

The ID of availability zone.

func (GetManagedKubernetesClustersClusterOutput) ClusterNetworkType

func (GetManagedKubernetesClustersClusterOutput) Connections

Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.

func (GetManagedKubernetesClustersClusterOutput) ElementType

func (GetManagedKubernetesClustersClusterOutput) Id

ID of the node.

func (GetManagedKubernetesClustersClusterOutput) ImageId

func (GetManagedKubernetesClustersClusterOutput) KeyName

The keypair of ssh login cluster node, you have to create it first.

func (GetManagedKubernetesClustersClusterOutput) LogConfigs

A list of one element containing information about the associated log store. It contains the following attributes:

func (GetManagedKubernetesClustersClusterOutput) Name

Node name.

func (GetManagedKubernetesClustersClusterOutput) NatGatewayId

The ID of nat gateway used to launch kubernetes cluster.

func (GetManagedKubernetesClustersClusterOutput) PodCidr

func (GetManagedKubernetesClustersClusterOutput) SecurityGroupId

The ID of security group where the current cluster worker node is located.

func (GetManagedKubernetesClustersClusterOutput) ServiceCidr

func (GetManagedKubernetesClustersClusterOutput) SlbInternetEnabled

func (GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutput

func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput

func (GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutputWithContext

func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput

func (GetManagedKubernetesClustersClusterOutput) VpcId

The ID of VPC where the current cluster is located.

func (GetManagedKubernetesClustersClusterOutput) VswitchIds

The ID of VSwitches where the current cluster is located.

func (GetManagedKubernetesClustersClusterOutput) WorkerAutoRenew

func (GetManagedKubernetesClustersClusterOutput) WorkerAutoRenewPeriod

func (GetManagedKubernetesClustersClusterOutput) WorkerDataDiskCategory

func (GetManagedKubernetesClustersClusterOutput) WorkerDataDiskSize

func (GetManagedKubernetesClustersClusterOutput) WorkerDiskCategory

func (GetManagedKubernetesClustersClusterOutput) WorkerDiskSize

func (GetManagedKubernetesClustersClusterOutput) WorkerInstanceChargeType

func (o GetManagedKubernetesClustersClusterOutput) WorkerInstanceChargeType() pulumi.StringOutput

func (GetManagedKubernetesClustersClusterOutput) WorkerInstanceTypes

func (GetManagedKubernetesClustersClusterOutput) WorkerNodes

List of cluster worker nodes. It contains several attributes to `Block Nodes`.

func (GetManagedKubernetesClustersClusterOutput) WorkerNumbers

The ECS instance node number in the current container cluster.

func (GetManagedKubernetesClustersClusterOutput) WorkerPeriod

func (GetManagedKubernetesClustersClusterOutput) WorkerPeriodUnit

type GetManagedKubernetesClustersClusterWorkerNode

type GetManagedKubernetesClustersClusterWorkerNode struct {
	// ID of the node.
	Id string `pulumi:"id"`
	// Node name.
	Name string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp string `pulumi:"privateIp"`
}

type GetManagedKubernetesClustersClusterWorkerNodeArgs

type GetManagedKubernetesClustersClusterWorkerNodeArgs struct {
	// ID of the node.
	Id pulumi.StringInput `pulumi:"id"`
	// Node name.
	Name pulumi.StringInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringInput `pulumi:"privateIp"`
}

func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ElementType

func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutput

func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput

func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext

func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput

type GetManagedKubernetesClustersClusterWorkerNodeArray

type GetManagedKubernetesClustersClusterWorkerNodeArray []GetManagedKubernetesClustersClusterWorkerNodeInput

func (GetManagedKubernetesClustersClusterWorkerNodeArray) ElementType

func (GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput

func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput

func (GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput

type GetManagedKubernetesClustersClusterWorkerNodeArrayInput

type GetManagedKubernetesClustersClusterWorkerNodeArrayInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
	ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
}

GetManagedKubernetesClustersClusterWorkerNodeArrayInput is an input type that accepts GetManagedKubernetesClustersClusterWorkerNodeArray and GetManagedKubernetesClustersClusterWorkerNodeArrayOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterWorkerNodeArrayInput` via:

GetManagedKubernetesClustersClusterWorkerNodeArray{ GetManagedKubernetesClustersClusterWorkerNodeArgs{...} }

type GetManagedKubernetesClustersClusterWorkerNodeArrayOutput

type GetManagedKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ElementType

func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) Index

func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput

func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext

func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput

type GetManagedKubernetesClustersClusterWorkerNodeInput

type GetManagedKubernetesClustersClusterWorkerNodeInput interface {
	pulumi.Input

	ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput
	ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput
}

GetManagedKubernetesClustersClusterWorkerNodeInput is an input type that accepts GetManagedKubernetesClustersClusterWorkerNodeArgs and GetManagedKubernetesClustersClusterWorkerNodeOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterWorkerNodeInput` via:

GetManagedKubernetesClustersClusterWorkerNodeArgs{...}

type GetManagedKubernetesClustersClusterWorkerNodeOutput

type GetManagedKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ElementType

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) Id

ID of the node.

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) Name

Node name.

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) PrivateIp

The private IP address of node.

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutput

func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput

func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext

func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput

type GetManagedKubernetesClustersOutputArgs added in v3.9.0

type GetManagedKubernetesClustersOutputArgs struct {
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/managed`, then it will be named with `~/.kube/managed-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix pulumi.StringPtrInput `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getManagedKubernetesClusters.

func (GetManagedKubernetesClustersOutputArgs) ElementType added in v3.9.0

type GetManagedKubernetesClustersResult

type GetManagedKubernetesClustersResult struct {
	// A list of matched Kubernetes clusters. Each element contains the following attributes:
	Clusters      []GetManagedKubernetesClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                                 `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Kubernetes clusters' ids.
	Ids                  []string `pulumi:"ids"`
	KubeConfigFilePrefix *string  `pulumi:"kubeConfigFilePrefix"`
	NameRegex            *string  `pulumi:"nameRegex"`
	// A list of matched Kubernetes clusters' names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getManagedKubernetesClusters.

func GetManagedKubernetesClusters

func GetManagedKubernetesClusters(ctx *pulumi.Context, args *GetManagedKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetManagedKubernetesClustersResult, error)

This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.

> **NOTE:** Available in v1.35.0+

> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kubeConfigFilePrefix`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		k8sClusters, err := cs.GetManagedKubernetesClusters(ctx, &cs.GetManagedKubernetesClustersArgs{
			NameRegex:            pulumi.StringRef("my-first-k8s"),
			OutputFile:           pulumi.StringRef("my-first-k8s-json"),
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/managed"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetManagedKubernetesClustersResultOutput added in v3.9.0

type GetManagedKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getManagedKubernetesClusters.

func (GetManagedKubernetesClustersResultOutput) Clusters added in v3.9.0

A list of matched Kubernetes clusters. Each element contains the following attributes:

func (GetManagedKubernetesClustersResultOutput) ElementType added in v3.9.0

func (GetManagedKubernetesClustersResultOutput) EnableDetails added in v3.9.0

func (GetManagedKubernetesClustersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetManagedKubernetesClustersResultOutput) Ids added in v3.9.0

A list of matched Kubernetes clusters' ids.

func (GetManagedKubernetesClustersResultOutput) KubeConfigFilePrefix added in v3.26.0

func (GetManagedKubernetesClustersResultOutput) NameRegex added in v3.9.0

func (GetManagedKubernetesClustersResultOutput) Names added in v3.9.0

A list of matched Kubernetes clusters' names.

func (GetManagedKubernetesClustersResultOutput) OutputFile added in v3.9.0

func (GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutput added in v3.9.0

func (o GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutput() GetManagedKubernetesClustersResultOutput

func (GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutputWithContext added in v3.9.0

func (o GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutputWithContext(ctx context.Context) GetManagedKubernetesClustersResultOutput

type GetRegistryEnterpriseInstancesArgs

type GetRegistryEnterpriseInstancesArgs struct {
	// Default to `true`. Set it to true can output instance authorization token.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of ids to filter results by instance id.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by instance name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseInstances.

type GetRegistryEnterpriseInstancesInstance

type GetRegistryEnterpriseInstancesInstance struct {
	// The password that was used to log on to the registry.
	AuthorizationToken string `pulumi:"authorizationToken"`
	// ID of Container Registry Enterprise Edition instance.
	Id string `pulumi:"id"`
	// Name of Container Registry Enterprise Edition instance.
	Name string `pulumi:"name"`
	// The max number of namespaces that an instance can create.
	NamespaceQuota string `pulumi:"namespaceQuota"`
	// The number of namespaces already created.
	NamespaceUsage string `pulumi:"namespaceUsage"`
	// A list of domains for access on internet network.
	PublicEndpoints []string `pulumi:"publicEndpoints"`
	// Region of Container Registry Enterprise Edition instance.
	Region string `pulumi:"region"`
	// The max number of repos that an instance can create.
	RepoQuota string `pulumi:"repoQuota"`
	// The number of repos already created.
	RepoUsage string `pulumi:"repoUsage"`
	// Specification of Container Registry Enterprise Edition instance.
	Specification string `pulumi:"specification"`
	// The username that was used to log on to the registry.
	TempUsername string `pulumi:"tempUsername"`
	// A list of domains for access on vpc network.
	VpcEndpoints []string `pulumi:"vpcEndpoints"`
}

type GetRegistryEnterpriseInstancesInstanceArgs

type GetRegistryEnterpriseInstancesInstanceArgs struct {
	// The password that was used to log on to the registry.
	AuthorizationToken pulumi.StringInput `pulumi:"authorizationToken"`
	// ID of Container Registry Enterprise Edition instance.
	Id pulumi.StringInput `pulumi:"id"`
	// Name of Container Registry Enterprise Edition instance.
	Name pulumi.StringInput `pulumi:"name"`
	// The max number of namespaces that an instance can create.
	NamespaceQuota pulumi.StringInput `pulumi:"namespaceQuota"`
	// The number of namespaces already created.
	NamespaceUsage pulumi.StringInput `pulumi:"namespaceUsage"`
	// A list of domains for access on internet network.
	PublicEndpoints pulumi.StringArrayInput `pulumi:"publicEndpoints"`
	// Region of Container Registry Enterprise Edition instance.
	Region pulumi.StringInput `pulumi:"region"`
	// The max number of repos that an instance can create.
	RepoQuota pulumi.StringInput `pulumi:"repoQuota"`
	// The number of repos already created.
	RepoUsage pulumi.StringInput `pulumi:"repoUsage"`
	// Specification of Container Registry Enterprise Edition instance.
	Specification pulumi.StringInput `pulumi:"specification"`
	// The username that was used to log on to the registry.
	TempUsername pulumi.StringInput `pulumi:"tempUsername"`
	// A list of domains for access on vpc network.
	VpcEndpoints pulumi.StringArrayInput `pulumi:"vpcEndpoints"`
}

func (GetRegistryEnterpriseInstancesInstanceArgs) ElementType

func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput

func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput

func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext

func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput

type GetRegistryEnterpriseInstancesInstanceArray

type GetRegistryEnterpriseInstancesInstanceArray []GetRegistryEnterpriseInstancesInstanceInput

func (GetRegistryEnterpriseInstancesInstanceArray) ElementType

func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput

func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput

func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext

func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput

type GetRegistryEnterpriseInstancesInstanceArrayInput

type GetRegistryEnterpriseInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput
	ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput
}

GetRegistryEnterpriseInstancesInstanceArrayInput is an input type that accepts GetRegistryEnterpriseInstancesInstanceArray and GetRegistryEnterpriseInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseInstancesInstanceArrayInput` via:

GetRegistryEnterpriseInstancesInstanceArray{ GetRegistryEnterpriseInstancesInstanceArgs{...} }

type GetRegistryEnterpriseInstancesInstanceArrayOutput

type GetRegistryEnterpriseInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ElementType

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) Index

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput

func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext

func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput

type GetRegistryEnterpriseInstancesInstanceInput

type GetRegistryEnterpriseInstancesInstanceInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput
	ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(context.Context) GetRegistryEnterpriseInstancesInstanceOutput
}

GetRegistryEnterpriseInstancesInstanceInput is an input type that accepts GetRegistryEnterpriseInstancesInstanceArgs and GetRegistryEnterpriseInstancesInstanceOutput values. You can construct a concrete instance of `GetRegistryEnterpriseInstancesInstanceInput` via:

GetRegistryEnterpriseInstancesInstanceArgs{...}

type GetRegistryEnterpriseInstancesInstanceOutput

type GetRegistryEnterpriseInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseInstancesInstanceOutput) AuthorizationToken added in v3.7.0

The password that was used to log on to the registry.

func (GetRegistryEnterpriseInstancesInstanceOutput) ElementType

func (GetRegistryEnterpriseInstancesInstanceOutput) Id

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) Name

Name of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceQuota

The max number of namespaces that an instance can create.

func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceUsage

The number of namespaces already created.

func (GetRegistryEnterpriseInstancesInstanceOutput) PublicEndpoints

A list of domains for access on internet network.

func (GetRegistryEnterpriseInstancesInstanceOutput) Region

Region of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) RepoQuota

The max number of repos that an instance can create.

func (GetRegistryEnterpriseInstancesInstanceOutput) RepoUsage

The number of repos already created.

func (GetRegistryEnterpriseInstancesInstanceOutput) Specification

Specification of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) TempUsername added in v3.7.0

The username that was used to log on to the registry.

func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput

func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput

func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext

func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput

func (GetRegistryEnterpriseInstancesInstanceOutput) VpcEndpoints

A list of domains for access on vpc network.

type GetRegistryEnterpriseInstancesOutputArgs added in v3.9.0

type GetRegistryEnterpriseInstancesOutputArgs struct {
	// Default to `true`. Set it to true can output instance authorization token.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of ids to filter results by instance id.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by instance name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseInstances.

func (GetRegistryEnterpriseInstancesOutputArgs) ElementType added in v3.9.0

type GetRegistryEnterpriseInstancesResult

type GetRegistryEnterpriseInstancesResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.
	Ids []string `pulumi:"ids"`
	// A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:
	Instances []GetRegistryEnterpriseInstancesInstance `pulumi:"instances"`
	NameRegex *string                                  `pulumi:"nameRegex"`
	// A list of instance names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getRegistryEnterpriseInstances.

func GetRegistryEnterpriseInstances

This data source provides a list Container Registry Enterprise Edition instances on Alibaba Cloud.

> **NOTE:** Available in v1.86.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		myInstances, err := cs.GetRegistryEnterpriseInstances(ctx, &cs.GetRegistryEnterpriseInstancesArgs{
			NameRegex:  pulumi.StringRef("my-instances"),
			OutputFile: pulumi.StringRef("my-instances-json"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", myInstances.Instances)
		return nil
	})
}

```

type GetRegistryEnterpriseInstancesResultOutput added in v3.9.0

type GetRegistryEnterpriseInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseInstances.

func (GetRegistryEnterpriseInstancesResultOutput) ElementType added in v3.9.0

func (GetRegistryEnterpriseInstancesResultOutput) EnableDetails added in v3.9.0

func (GetRegistryEnterpriseInstancesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseInstancesResultOutput) Ids added in v3.9.0

A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.

func (GetRegistryEnterpriseInstancesResultOutput) Instances added in v3.9.0

A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:

func (GetRegistryEnterpriseInstancesResultOutput) NameRegex added in v3.9.0

func (GetRegistryEnterpriseInstancesResultOutput) Names added in v3.9.0

A list of instance names.

func (GetRegistryEnterpriseInstancesResultOutput) OutputFile added in v3.9.0

func (GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutput added in v3.9.0

func (o GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutput() GetRegistryEnterpriseInstancesResultOutput

func (GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutputWithContext added in v3.9.0

func (o GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesResultOutput

type GetRegistryEnterpriseNamespacesArgs

type GetRegistryEnterpriseNamespacesArgs struct {
	// A list of ids to filter results by namespace id. Each item formats as `<instance_id>:<namespace_name>`.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string `pulumi:"instanceId"`
	// A regex string to filter results by namespace name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseNamespaces.

type GetRegistryEnterpriseNamespacesNamespace

type GetRegistryEnterpriseNamespacesNamespace struct {
	// Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
	AutoCreate bool `pulumi:"autoCreate"`
	// `PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
	DefaultVisibility string `pulumi:"defaultVisibility"`
	// ID of Container Registry Enterprise Edition namespace. It formats as `<instance_id>:<namespace_name>`. Before 1.161.0, it is a namespace uuid.
	Id string `pulumi:"id"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition namespace.
	Name string `pulumi:"name"`
	// Container Registry Enterprise Edition namespace id. It is a uuid.
	NamespaceId string `pulumi:"namespaceId"`
	// Name of Container Registry Enterprise Edition namespace.
	NamespaceName string `pulumi:"namespaceName"`
}

type GetRegistryEnterpriseNamespacesNamespaceArgs

type GetRegistryEnterpriseNamespacesNamespaceArgs struct {
	// Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
	AutoCreate pulumi.BoolInput `pulumi:"autoCreate"`
	// `PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
	DefaultVisibility pulumi.StringInput `pulumi:"defaultVisibility"`
	// ID of Container Registry Enterprise Edition namespace. It formats as `<instance_id>:<namespace_name>`. Before 1.161.0, it is a namespace uuid.
	Id pulumi.StringInput `pulumi:"id"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition namespace.
	Name pulumi.StringInput `pulumi:"name"`
	// Container Registry Enterprise Edition namespace id. It is a uuid.
	NamespaceId pulumi.StringInput `pulumi:"namespaceId"`
	// Name of Container Registry Enterprise Edition namespace.
	NamespaceName pulumi.StringInput `pulumi:"namespaceName"`
}

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ElementType

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput

func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext

func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput

type GetRegistryEnterpriseNamespacesNamespaceArray

type GetRegistryEnterpriseNamespacesNamespaceArray []GetRegistryEnterpriseNamespacesNamespaceInput

func (GetRegistryEnterpriseNamespacesNamespaceArray) ElementType

func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext

func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput

type GetRegistryEnterpriseNamespacesNamespaceArrayInput

type GetRegistryEnterpriseNamespacesNamespaceArrayInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput
	ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput
}

GetRegistryEnterpriseNamespacesNamespaceArrayInput is an input type that accepts GetRegistryEnterpriseNamespacesNamespaceArray and GetRegistryEnterpriseNamespacesNamespaceArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseNamespacesNamespaceArrayInput` via:

GetRegistryEnterpriseNamespacesNamespaceArray{ GetRegistryEnterpriseNamespacesNamespaceArgs{...} }

type GetRegistryEnterpriseNamespacesNamespaceArrayOutput

type GetRegistryEnterpriseNamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ElementType

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) Index

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext

func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput

type GetRegistryEnterpriseNamespacesNamespaceInput

type GetRegistryEnterpriseNamespacesNamespaceInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput
	ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput
}

GetRegistryEnterpriseNamespacesNamespaceInput is an input type that accepts GetRegistryEnterpriseNamespacesNamespaceArgs and GetRegistryEnterpriseNamespacesNamespaceOutput values. You can construct a concrete instance of `GetRegistryEnterpriseNamespacesNamespaceInput` via:

GetRegistryEnterpriseNamespacesNamespaceArgs{...}

type GetRegistryEnterpriseNamespacesNamespaceOutput

type GetRegistryEnterpriseNamespacesNamespaceOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseNamespacesNamespaceOutput) AutoCreate

Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) DefaultVisibility

`PUBLIC` or `PRIVATE`, default repository visibility in this namespace.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ElementType

func (GetRegistryEnterpriseNamespacesNamespaceOutput) Id

ID of Container Registry Enterprise Edition namespace. It formats as `<instance_id>:<namespace_name>`. Before 1.161.0, it is a namespace uuid.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) InstanceId

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) Name

Name of Container Registry Enterprise Edition namespace.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) NamespaceId added in v3.20.0

Container Registry Enterprise Edition namespace id. It is a uuid.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) NamespaceName added in v3.20.0

Name of Container Registry Enterprise Edition namespace.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput

func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext

func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput

type GetRegistryEnterpriseNamespacesOutputArgs added in v3.9.0

type GetRegistryEnterpriseNamespacesOutputArgs struct {
	// A list of ids to filter results by namespace id. Each item formats as `<instance_id>:<namespace_name>`.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// A regex string to filter results by namespace name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseNamespaces.

func (GetRegistryEnterpriseNamespacesOutputArgs) ElementType added in v3.9.0

type GetRegistryEnterpriseNamespacesResult

type GetRegistryEnterpriseNamespacesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Container Registry Enterprise Edition namespaces. Each item formats as `<instance_id>:<namespace_name>`. Before 1.161.0, its element is a namespace uuid.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string  `pulumi:"instanceId"`
	NameRegex  *string `pulumi:"nameRegex"`
	// A list of namespace names.
	Names []string `pulumi:"names"`
	// A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
	Namespaces []GetRegistryEnterpriseNamespacesNamespace `pulumi:"namespaces"`
	OutputFile *string                                    `pulumi:"outputFile"`
}

A collection of values returned by getRegistryEnterpriseNamespaces.

func GetRegistryEnterpriseNamespaces

This data source provides a list Container Registry Enterprise Edition namespaces on Alibaba Cloud.

> **NOTE:** Available in v1.86.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		myNamespaces, err := cs.GetRegistryEnterpriseNamespaces(ctx, &cs.GetRegistryEnterpriseNamespacesArgs{
			InstanceId: "cri-xxx",
			NameRegex:  pulumi.StringRef("my-namespace"),
			OutputFile: pulumi.StringRef("my-namespace-json"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", myNamespaces.Namespaces)
		return nil
	})
}

```

type GetRegistryEnterpriseNamespacesResultOutput added in v3.9.0

type GetRegistryEnterpriseNamespacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseNamespaces.

func (GetRegistryEnterpriseNamespacesResultOutput) ElementType added in v3.9.0

func (GetRegistryEnterpriseNamespacesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseNamespacesResultOutput) Ids added in v3.9.0

A list of matched Container Registry Enterprise Edition namespaces. Each item formats as `<instance_id>:<namespace_name>`. Before 1.161.0, its element is a namespace uuid.

func (GetRegistryEnterpriseNamespacesResultOutput) InstanceId added in v3.9.0

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseNamespacesResultOutput) NameRegex added in v3.9.0

func (GetRegistryEnterpriseNamespacesResultOutput) Names added in v3.9.0

A list of namespace names.

func (GetRegistryEnterpriseNamespacesResultOutput) Namespaces added in v3.9.0

A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:

func (GetRegistryEnterpriseNamespacesResultOutput) OutputFile added in v3.9.0

func (GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutput added in v3.9.0

func (o GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutput() GetRegistryEnterpriseNamespacesResultOutput

func (GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutputWithContext added in v3.9.0

func (o GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesResultOutput

type GetRegistryEnterpriseReposArgs

type GetRegistryEnterpriseReposArgs struct {
	// Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See `tags` in attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of ids to filter results by repository id.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string `pulumi:"instanceId"`
	// A regex string to filter results by repository name.
	NameRegex *string `pulumi:"nameRegex"`
	// Name of Container Registry Enterprise Edition namespace where the repositories are located in.
	Namespace *string `pulumi:"namespace"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseRepos.

type GetRegistryEnterpriseReposOutputArgs added in v3.9.0

type GetRegistryEnterpriseReposOutputArgs struct {
	// Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See `tags` in attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of ids to filter results by repository id.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// A regex string to filter results by repository name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// Name of Container Registry Enterprise Edition namespace where the repositories are located in.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseRepos.

func (GetRegistryEnterpriseReposOutputArgs) ElementType added in v3.9.0

type GetRegistryEnterpriseReposRepo

type GetRegistryEnterpriseReposRepo struct {
	// ID of Container Registry Enterprise Edition repository.
	Id string `pulumi:"id"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition repository.
	Name string `pulumi:"name"`
	// Name of Container Registry Enterprise Edition namespace where the repositories are located in.
	Namespace string `pulumi:"namespace"`
	// `PUBLIC` or `PRIVATE`, repository's visibility.
	RepoType string `pulumi:"repoType"`
	// The repository general information.
	Summary string `pulumi:"summary"`
	// A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`.
	Tags []GetRegistryEnterpriseReposRepoTag `pulumi:"tags"`
}

type GetRegistryEnterpriseReposRepoArgs

type GetRegistryEnterpriseReposRepoArgs struct {
	// ID of Container Registry Enterprise Edition repository.
	Id pulumi.StringInput `pulumi:"id"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition repository.
	Name pulumi.StringInput `pulumi:"name"`
	// Name of Container Registry Enterprise Edition namespace where the repositories are located in.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// `PUBLIC` or `PRIVATE`, repository's visibility.
	RepoType pulumi.StringInput `pulumi:"repoType"`
	// The repository general information.
	Summary pulumi.StringInput `pulumi:"summary"`
	// A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`.
	Tags GetRegistryEnterpriseReposRepoTagArrayInput `pulumi:"tags"`
}

func (GetRegistryEnterpriseReposRepoArgs) ElementType

func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput

func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput

func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext

func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput

type GetRegistryEnterpriseReposRepoArray

type GetRegistryEnterpriseReposRepoArray []GetRegistryEnterpriseReposRepoInput

func (GetRegistryEnterpriseReposRepoArray) ElementType

func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput

func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput

func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext

func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput

type GetRegistryEnterpriseReposRepoArrayInput

type GetRegistryEnterpriseReposRepoArrayInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput
	ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoArrayOutput
}

GetRegistryEnterpriseReposRepoArrayInput is an input type that accepts GetRegistryEnterpriseReposRepoArray and GetRegistryEnterpriseReposRepoArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoArrayInput` via:

GetRegistryEnterpriseReposRepoArray{ GetRegistryEnterpriseReposRepoArgs{...} }

type GetRegistryEnterpriseReposRepoArrayOutput

type GetRegistryEnterpriseReposRepoArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoArrayOutput) ElementType

func (GetRegistryEnterpriseReposRepoArrayOutput) Index

func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput

func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput

func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext

func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput

type GetRegistryEnterpriseReposRepoInput

type GetRegistryEnterpriseReposRepoInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput
	ToGetRegistryEnterpriseReposRepoOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoOutput
}

GetRegistryEnterpriseReposRepoInput is an input type that accepts GetRegistryEnterpriseReposRepoArgs and GetRegistryEnterpriseReposRepoOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoInput` via:

GetRegistryEnterpriseReposRepoArgs{...}

type GetRegistryEnterpriseReposRepoOutput

type GetRegistryEnterpriseReposRepoOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoOutput) ElementType

func (GetRegistryEnterpriseReposRepoOutput) Id

ID of Container Registry Enterprise Edition repository.

func (GetRegistryEnterpriseReposRepoOutput) InstanceId

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseReposRepoOutput) Name

Name of Container Registry Enterprise Edition repository.

func (GetRegistryEnterpriseReposRepoOutput) Namespace

Name of Container Registry Enterprise Edition namespace where the repositories are located in.

func (GetRegistryEnterpriseReposRepoOutput) RepoType

`PUBLIC` or `PRIVATE`, repository's visibility.

func (GetRegistryEnterpriseReposRepoOutput) Summary

The repository general information.

func (GetRegistryEnterpriseReposRepoOutput) Tags

A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`.

func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput

func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput

func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext

func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput

type GetRegistryEnterpriseReposRepoTag

type GetRegistryEnterpriseReposRepoTag struct {
	// Digest of this image.
	Digest string `pulumi:"digest"`
	// Create time of this image, unix time in nanoseconds.
	ImageCreate string `pulumi:"imageCreate"`
	// Id of this image.
	ImageId string `pulumi:"imageId"`
	// Status of this image, in bytes.
	ImageSize int `pulumi:"imageSize"`
	// Last update time of this image, unix time in nanoseconds.
	ImageUpdate string `pulumi:"imageUpdate"`
	// Status of this image.
	Status string `pulumi:"status"`
	// Tag of this image.
	Tag string `pulumi:"tag"`
}

type GetRegistryEnterpriseReposRepoTagArgs

type GetRegistryEnterpriseReposRepoTagArgs struct {
	// Digest of this image.
	Digest pulumi.StringInput `pulumi:"digest"`
	// Create time of this image, unix time in nanoseconds.
	ImageCreate pulumi.StringInput `pulumi:"imageCreate"`
	// Id of this image.
	ImageId pulumi.StringInput `pulumi:"imageId"`
	// Status of this image, in bytes.
	ImageSize pulumi.IntInput `pulumi:"imageSize"`
	// Last update time of this image, unix time in nanoseconds.
	ImageUpdate pulumi.StringInput `pulumi:"imageUpdate"`
	// Status of this image.
	Status pulumi.StringInput `pulumi:"status"`
	// Tag of this image.
	Tag pulumi.StringInput `pulumi:"tag"`
}

func (GetRegistryEnterpriseReposRepoTagArgs) ElementType

func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput

func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput

func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext

func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput

type GetRegistryEnterpriseReposRepoTagArray

type GetRegistryEnterpriseReposRepoTagArray []GetRegistryEnterpriseReposRepoTagInput

func (GetRegistryEnterpriseReposRepoTagArray) ElementType

func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput

func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput

func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext

func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput

type GetRegistryEnterpriseReposRepoTagArrayInput

type GetRegistryEnterpriseReposRepoTagArrayInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput
	ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput
}

GetRegistryEnterpriseReposRepoTagArrayInput is an input type that accepts GetRegistryEnterpriseReposRepoTagArray and GetRegistryEnterpriseReposRepoTagArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoTagArrayInput` via:

GetRegistryEnterpriseReposRepoTagArray{ GetRegistryEnterpriseReposRepoTagArgs{...} }

type GetRegistryEnterpriseReposRepoTagArrayOutput

type GetRegistryEnterpriseReposRepoTagArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ElementType

func (GetRegistryEnterpriseReposRepoTagArrayOutput) Index

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput

func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext

func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput

type GetRegistryEnterpriseReposRepoTagInput

type GetRegistryEnterpriseReposRepoTagInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput
	ToGetRegistryEnterpriseReposRepoTagOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoTagOutput
}

GetRegistryEnterpriseReposRepoTagInput is an input type that accepts GetRegistryEnterpriseReposRepoTagArgs and GetRegistryEnterpriseReposRepoTagOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoTagInput` via:

GetRegistryEnterpriseReposRepoTagArgs{...}

type GetRegistryEnterpriseReposRepoTagOutput

type GetRegistryEnterpriseReposRepoTagOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoTagOutput) Digest

Digest of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ElementType

func (GetRegistryEnterpriseReposRepoTagOutput) ImageCreate

Create time of this image, unix time in nanoseconds.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageId

Id of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageSize

Status of this image, in bytes.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageUpdate

Last update time of this image, unix time in nanoseconds.

func (GetRegistryEnterpriseReposRepoTagOutput) Status

Status of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) Tag

Tag of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput

func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput

func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext

func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput

type GetRegistryEnterpriseReposResult

type GetRegistryEnterpriseReposResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Container Registry Enterprise Edition repositories. Its element is a repository id.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId string  `pulumi:"instanceId"`
	NameRegex  *string `pulumi:"nameRegex"`
	// A list of repository names.
	Names []string `pulumi:"names"`
	// Name of Container Registry Enterprise Edition namespace where repo is located.
	Namespace  *string `pulumi:"namespace"`
	OutputFile *string `pulumi:"outputFile"`
	// A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
	Repos []GetRegistryEnterpriseReposRepo `pulumi:"repos"`
}

A collection of values returned by getRegistryEnterpriseRepos.

func GetRegistryEnterpriseRepos

func GetRegistryEnterpriseRepos(ctx *pulumi.Context, args *GetRegistryEnterpriseReposArgs, opts ...pulumi.InvokeOption) (*GetRegistryEnterpriseReposResult, error)

This data source provides a list Container Registry Enterprise Edition repositories on Alibaba Cloud.

> **NOTE:** Available in v1.87.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		myRepos, err := cs.GetRegistryEnterpriseRepos(ctx, &cs.GetRegistryEnterpriseReposArgs{
			InstanceId: "cri-xx",
			NameRegex:  pulumi.StringRef("my-repos"),
			OutputFile: pulumi.StringRef("my-repo-json"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", myRepos.Repos)
		return nil
	})
}

```

type GetRegistryEnterpriseReposResultOutput added in v3.9.0

type GetRegistryEnterpriseReposResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseRepos.

func (GetRegistryEnterpriseReposResultOutput) ElementType added in v3.9.0

func (GetRegistryEnterpriseReposResultOutput) EnableDetails added in v3.9.0

func (GetRegistryEnterpriseReposResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseReposResultOutput) Ids added in v3.9.0

A list of matched Container Registry Enterprise Edition repositories. Its element is a repository id.

func (GetRegistryEnterpriseReposResultOutput) InstanceId added in v3.9.0

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseReposResultOutput) NameRegex added in v3.9.0

func (GetRegistryEnterpriseReposResultOutput) Names added in v3.9.0

A list of repository names.

func (GetRegistryEnterpriseReposResultOutput) Namespace added in v3.9.0

Name of Container Registry Enterprise Edition namespace where repo is located.

func (GetRegistryEnterpriseReposResultOutput) OutputFile added in v3.9.0

func (GetRegistryEnterpriseReposResultOutput) Repos added in v3.9.0

A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:

func (GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutput added in v3.9.0

func (o GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutput() GetRegistryEnterpriseReposResultOutput

func (GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutputWithContext added in v3.9.0

func (o GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposResultOutput

type GetRegistryEnterpriseSyncRulesArgs

type GetRegistryEnterpriseSyncRulesArgs struct {
	// A list of ids to filter results by sync rule id.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition local instance.
	InstanceId string `pulumi:"instanceId"`
	// A regex string to filter results by sync rule name.
	NameRegex *string `pulumi:"nameRegex"`
	// Name of Container Registry Enterprise Edition local namespace.
	NamespaceName *string `pulumi:"namespaceName"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
	// Name of Container Registry Enterprise Edition local repo.
	RepoName *string `pulumi:"repoName"`
	// ID of Container Registry Enterprise Edition target instance.
	TargetInstanceId *string `pulumi:"targetInstanceId"`
}

A collection of arguments for invoking getRegistryEnterpriseSyncRules.

type GetRegistryEnterpriseSyncRulesOutputArgs added in v3.9.0

type GetRegistryEnterpriseSyncRulesOutputArgs struct {
	// A list of ids to filter results by sync rule id.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition local instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// A regex string to filter results by sync rule name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// Name of Container Registry Enterprise Edition local namespace.
	NamespaceName pulumi.StringPtrInput `pulumi:"namespaceName"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Name of Container Registry Enterprise Edition local repo.
	RepoName pulumi.StringPtrInput `pulumi:"repoName"`
	// ID of Container Registry Enterprise Edition target instance.
	TargetInstanceId pulumi.StringPtrInput `pulumi:"targetInstanceId"`
}

A collection of arguments for invoking getRegistryEnterpriseSyncRules.

func (GetRegistryEnterpriseSyncRulesOutputArgs) ElementType added in v3.9.0

type GetRegistryEnterpriseSyncRulesResult

type GetRegistryEnterpriseSyncRulesResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Container Registry Enterprise Edition sync rules. Its element is a sync rule uuid.
	Ids []string `pulumi:"ids"`
	// ID of Container Registry Enterprise Edition local instance.
	InstanceId string  `pulumi:"instanceId"`
	NameRegex  *string `pulumi:"nameRegex"`
	// A list of sync rule names.
	Names []string `pulumi:"names"`
	// Name of Container Registry Enterprise Edition local namespace.
	NamespaceName *string `pulumi:"namespaceName"`
	OutputFile    *string `pulumi:"outputFile"`
	// Name of Container Registry Enterprise Edition local repo.
	RepoName *string `pulumi:"repoName"`
	// A list of matched Container Registry Enterprise Edition sync rules. Each element contains the following attributes:
	Rules []GetRegistryEnterpriseSyncRulesRule `pulumi:"rules"`
	// ID of Container Registry Enterprise Edition target instance.
	TargetInstanceId *string `pulumi:"targetInstanceId"`
}

A collection of values returned by getRegistryEnterpriseSyncRules.

func GetRegistryEnterpriseSyncRules

This data source provides a list Container Registry Enterprise Edition sync rules on Alibaba Cloud.

> **NOTE:** Available in v1.90.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		mySyncRules, err := cs.GetRegistryEnterpriseSyncRules(ctx, &cs.GetRegistryEnterpriseSyncRulesArgs{
			InstanceId:       "cri-xxx",
			NamespaceName:    pulumi.StringRef("test-namespace"),
			RepoName:         pulumi.StringRef("test-repo"),
			TargetInstanceId: pulumi.StringRef("cri-yyy"),
			NameRegex:        pulumi.StringRef("test-rule"),
		}, nil)
		if err != nil {
			return err
		}
		var splat0 []*string
		for _, val0 := range mySyncRules.Rules {
			splat0 = append(splat0, val0.Id)
		}
		ctx.Export("output", splat0)
		return nil
	})
}

```

type GetRegistryEnterpriseSyncRulesResultOutput added in v3.9.0

type GetRegistryEnterpriseSyncRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseSyncRules.

func (GetRegistryEnterpriseSyncRulesResultOutput) ElementType added in v3.9.0

func (GetRegistryEnterpriseSyncRulesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseSyncRulesResultOutput) Ids added in v3.9.0

A list of matched Container Registry Enterprise Edition sync rules. Its element is a sync rule uuid.

func (GetRegistryEnterpriseSyncRulesResultOutput) InstanceId added in v3.9.0

ID of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesResultOutput) NameRegex added in v3.9.0

func (GetRegistryEnterpriseSyncRulesResultOutput) Names added in v3.9.0

A list of sync rule names.

func (GetRegistryEnterpriseSyncRulesResultOutput) NamespaceName added in v3.9.0

Name of Container Registry Enterprise Edition local namespace.

func (GetRegistryEnterpriseSyncRulesResultOutput) OutputFile added in v3.9.0

func (GetRegistryEnterpriseSyncRulesResultOutput) RepoName added in v3.9.0

Name of Container Registry Enterprise Edition local repo.

func (GetRegistryEnterpriseSyncRulesResultOutput) Rules added in v3.9.0

A list of matched Container Registry Enterprise Edition sync rules. Each element contains the following attributes:

func (GetRegistryEnterpriseSyncRulesResultOutput) TargetInstanceId added in v3.9.0

ID of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutput added in v3.9.0

func (o GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutput() GetRegistryEnterpriseSyncRulesResultOutput

func (GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutputWithContext added in v3.9.0

func (o GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesResultOutput

type GetRegistryEnterpriseSyncRulesRule

type GetRegistryEnterpriseSyncRulesRule struct {
	// ID of Container Registry Enterprise Edition sync rule.
	Id string `pulumi:"id"`
	// ID of Container Registry Enterprise Edition local instance.
	InstanceId string `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition sync rule.
	Name string `pulumi:"name"`
	// Name of Container Registry Enterprise Edition local namespace.
	NamespaceName string `pulumi:"namespaceName"`
	// Region of Container Registry Enterprise Edition local instance.
	RegionId string `pulumi:"regionId"`
	// Name of Container Registry Enterprise Edition local repo.
	RepoName string `pulumi:"repoName"`
	// `FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized.
	SyncDirection string `pulumi:"syncDirection"`
	// `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
	SyncScope string `pulumi:"syncScope"`
	// `PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule.
	SyncTrigger string `pulumi:"syncTrigger"`
	// The regular expression used to filter image tags for synchronization in the source repository.
	TagFilter string `pulumi:"tagFilter"`
	// ID of Container Registry Enterprise Edition target instance.
	TargetInstanceId string `pulumi:"targetInstanceId"`
	// Name of Container Registry Enterprise Edition target namespace.
	TargetNamespaceName string `pulumi:"targetNamespaceName"`
	// Region of Container Registry Enterprise Edition target instance.
	TargetRegionId string `pulumi:"targetRegionId"`
	// Name of Container Registry Enterprise Edition target repo.
	TargetRepoName string `pulumi:"targetRepoName"`
}

type GetRegistryEnterpriseSyncRulesRuleArgs

type GetRegistryEnterpriseSyncRulesRuleArgs struct {
	// ID of Container Registry Enterprise Edition sync rule.
	Id pulumi.StringInput `pulumi:"id"`
	// ID of Container Registry Enterprise Edition local instance.
	InstanceId pulumi.StringInput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition sync rule.
	Name pulumi.StringInput `pulumi:"name"`
	// Name of Container Registry Enterprise Edition local namespace.
	NamespaceName pulumi.StringInput `pulumi:"namespaceName"`
	// Region of Container Registry Enterprise Edition local instance.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// Name of Container Registry Enterprise Edition local repo.
	RepoName pulumi.StringInput `pulumi:"repoName"`
	// `FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized.
	SyncDirection pulumi.StringInput `pulumi:"syncDirection"`
	// `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
	SyncScope pulumi.StringInput `pulumi:"syncScope"`
	// `PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule.
	SyncTrigger pulumi.StringInput `pulumi:"syncTrigger"`
	// The regular expression used to filter image tags for synchronization in the source repository.
	TagFilter pulumi.StringInput `pulumi:"tagFilter"`
	// ID of Container Registry Enterprise Edition target instance.
	TargetInstanceId pulumi.StringInput `pulumi:"targetInstanceId"`
	// Name of Container Registry Enterprise Edition target namespace.
	TargetNamespaceName pulumi.StringInput `pulumi:"targetNamespaceName"`
	// Region of Container Registry Enterprise Edition target instance.
	TargetRegionId pulumi.StringInput `pulumi:"targetRegionId"`
	// Name of Container Registry Enterprise Edition target repo.
	TargetRepoName pulumi.StringInput `pulumi:"targetRepoName"`
}

func (GetRegistryEnterpriseSyncRulesRuleArgs) ElementType

func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput

func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput

func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext

func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput

type GetRegistryEnterpriseSyncRulesRuleArray

type GetRegistryEnterpriseSyncRulesRuleArray []GetRegistryEnterpriseSyncRulesRuleInput

func (GetRegistryEnterpriseSyncRulesRuleArray) ElementType

func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput

func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput

func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext

func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput

type GetRegistryEnterpriseSyncRulesRuleArrayInput

type GetRegistryEnterpriseSyncRulesRuleArrayInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput
	ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput
}

GetRegistryEnterpriseSyncRulesRuleArrayInput is an input type that accepts GetRegistryEnterpriseSyncRulesRuleArray and GetRegistryEnterpriseSyncRulesRuleArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseSyncRulesRuleArrayInput` via:

GetRegistryEnterpriseSyncRulesRuleArray{ GetRegistryEnterpriseSyncRulesRuleArgs{...} }

type GetRegistryEnterpriseSyncRulesRuleArrayOutput

type GetRegistryEnterpriseSyncRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ElementType

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) Index

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput

func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext

func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput

type GetRegistryEnterpriseSyncRulesRuleInput

type GetRegistryEnterpriseSyncRulesRuleInput interface {
	pulumi.Input

	ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput
	ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(context.Context) GetRegistryEnterpriseSyncRulesRuleOutput
}

GetRegistryEnterpriseSyncRulesRuleInput is an input type that accepts GetRegistryEnterpriseSyncRulesRuleArgs and GetRegistryEnterpriseSyncRulesRuleOutput values. You can construct a concrete instance of `GetRegistryEnterpriseSyncRulesRuleInput` via:

GetRegistryEnterpriseSyncRulesRuleArgs{...}

type GetRegistryEnterpriseSyncRulesRuleOutput

type GetRegistryEnterpriseSyncRulesRuleOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseSyncRulesRuleOutput) ElementType

func (GetRegistryEnterpriseSyncRulesRuleOutput) Id

ID of Container Registry Enterprise Edition sync rule.

func (GetRegistryEnterpriseSyncRulesRuleOutput) InstanceId

ID of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) Name

Name of Container Registry Enterprise Edition sync rule.

func (GetRegistryEnterpriseSyncRulesRuleOutput) NamespaceName

Name of Container Registry Enterprise Edition local namespace.

func (GetRegistryEnterpriseSyncRulesRuleOutput) RegionId

Region of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) RepoName

Name of Container Registry Enterprise Edition local repo.

func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncDirection

`FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized.

func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncScope

`REPO` or `NAMESPACE`,the scope that the synchronization rule applies.

func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncTrigger

`PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TagFilter

The regular expression used to filter image tags for synchronization in the source repository.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetInstanceId

ID of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetNamespaceName

Name of Container Registry Enterprise Edition target namespace.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRegionId

Region of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRepoName

Name of Container Registry Enterprise Edition target repo.

func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput

func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput

func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext

func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput

type GetServerlessKubernetesClustersArgs

type GetServerlessKubernetesClustersArgs struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids []string `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix *string `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex *string `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getServerlessKubernetesClusters.

type GetServerlessKubernetesClustersCluster

type GetServerlessKubernetesClustersCluster struct {
	// Map of serverless cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetServerlessKubernetesClustersClusterConnections `pulumi:"connections"`
	// Whether the cluster support delete protection.
	DeletionProtection          bool `pulumi:"deletionProtection"`
	EndpointPublicAccessEnabled bool `pulumi:"endpointPublicAccessEnabled"`
	// The ID of the container cluster.
	Id string `pulumi:"id"`
	// The name of the container cluster.
	Name string `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId string `pulumi:"natGatewayId"`
	// The ID of security group where the current cluster  is located.
	SecurityGroupId string                 `pulumi:"securityGroupId"`
	Tags            map[string]interface{} `pulumi:"tags"`
	// The ID of VPC where the current cluster is located.
	VpcId string `pulumi:"vpcId"`
	// The ID of VSwitch where the current cluster is located.
	VswitchId string `pulumi:"vswitchId"`
}

type GetServerlessKubernetesClustersClusterArgs

type GetServerlessKubernetesClustersClusterArgs struct {
	// Map of serverless cluster connection information. It contains several attributes to `Block Connections`.
	Connections GetServerlessKubernetesClustersClusterConnectionsInput `pulumi:"connections"`
	// Whether the cluster support delete protection.
	DeletionProtection          pulumi.BoolInput `pulumi:"deletionProtection"`
	EndpointPublicAccessEnabled pulumi.BoolInput `pulumi:"endpointPublicAccessEnabled"`
	// The ID of the container cluster.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the container cluster.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"`
	// The ID of security group where the current cluster  is located.
	SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"`
	Tags            pulumi.MapInput    `pulumi:"tags"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
	// The ID of VSwitch where the current cluster is located.
	VswitchId pulumi.StringInput `pulumi:"vswitchId"`
}

func (GetServerlessKubernetesClustersClusterArgs) ElementType

func (GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutput

func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput

func (GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutputWithContext

func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput

type GetServerlessKubernetesClustersClusterArray

type GetServerlessKubernetesClustersClusterArray []GetServerlessKubernetesClustersClusterInput

func (GetServerlessKubernetesClustersClusterArray) ElementType

func (GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutput

func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput

func (GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext

func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput

type GetServerlessKubernetesClustersClusterArrayInput

type GetServerlessKubernetesClustersClusterArrayInput interface {
	pulumi.Input

	ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput
	ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterArrayOutput
}

GetServerlessKubernetesClustersClusterArrayInput is an input type that accepts GetServerlessKubernetesClustersClusterArray and GetServerlessKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterArrayInput` via:

GetServerlessKubernetesClustersClusterArray{ GetServerlessKubernetesClustersClusterArgs{...} }

type GetServerlessKubernetesClustersClusterArrayOutput

type GetServerlessKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetServerlessKubernetesClustersClusterArrayOutput) ElementType

func (GetServerlessKubernetesClustersClusterArrayOutput) Index

func (GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutput

func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput

func (GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext

func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput

type GetServerlessKubernetesClustersClusterConnections

type GetServerlessKubernetesClustersClusterConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp string `pulumi:"masterPublicIp"`
}

type GetServerlessKubernetesClustersClusterConnectionsArgs

type GetServerlessKubernetesClustersClusterConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"`
}

func (GetServerlessKubernetesClustersClusterConnectionsArgs) ElementType

func (GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutput

func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput

func (GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext

func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput

type GetServerlessKubernetesClustersClusterConnectionsInput

type GetServerlessKubernetesClustersClusterConnectionsInput interface {
	pulumi.Input

	ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput
	ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput
}

GetServerlessKubernetesClustersClusterConnectionsInput is an input type that accepts GetServerlessKubernetesClustersClusterConnectionsArgs and GetServerlessKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterConnectionsInput` via:

GetServerlessKubernetesClustersClusterConnectionsArgs{...}

type GetServerlessKubernetesClustersClusterConnectionsOutput

type GetServerlessKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }

func (GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (GetServerlessKubernetesClustersClusterConnectionsOutput) ElementType

func (GetServerlessKubernetesClustersClusterConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutput

func (GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext

func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput

type GetServerlessKubernetesClustersClusterInput

type GetServerlessKubernetesClustersClusterInput interface {
	pulumi.Input

	ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput
	ToGetServerlessKubernetesClustersClusterOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterOutput
}

GetServerlessKubernetesClustersClusterInput is an input type that accepts GetServerlessKubernetesClustersClusterArgs and GetServerlessKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterInput` via:

GetServerlessKubernetesClustersClusterArgs{...}

type GetServerlessKubernetesClustersClusterOutput

type GetServerlessKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetServerlessKubernetesClustersClusterOutput) Connections

Map of serverless cluster connection information. It contains several attributes to `Block Connections`.

func (GetServerlessKubernetesClustersClusterOutput) DeletionProtection

Whether the cluster support delete protection.

func (GetServerlessKubernetesClustersClusterOutput) ElementType

func (GetServerlessKubernetesClustersClusterOutput) EndpointPublicAccessEnabled

func (o GetServerlessKubernetesClustersClusterOutput) EndpointPublicAccessEnabled() pulumi.BoolOutput

func (GetServerlessKubernetesClustersClusterOutput) Id

The ID of the container cluster.

func (GetServerlessKubernetesClustersClusterOutput) Name

The name of the container cluster.

func (GetServerlessKubernetesClustersClusterOutput) NatGatewayId

The ID of nat gateway used to launch kubernetes cluster.

func (GetServerlessKubernetesClustersClusterOutput) SecurityGroupId

The ID of security group where the current cluster is located.

func (GetServerlessKubernetesClustersClusterOutput) Tags

func (GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutput

func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput

func (GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutputWithContext

func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput

func (GetServerlessKubernetesClustersClusterOutput) VpcId

The ID of VPC where the current cluster is located.

func (GetServerlessKubernetesClustersClusterOutput) VswitchId

The ID of VSwitch where the current cluster is located.

type GetServerlessKubernetesClustersOutputArgs added in v3.9.0

type GetServerlessKubernetesClustersOutputArgs struct {
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// Cluster IDs to filter.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like `~/.kube/serverless`, then it will be named with `~/.kube/serverless-clusterID-kubeconfig`. From version 1.187.0+, kubeConfig will not export kubeConfig if this field is not set.
	KubeConfigFilePrefix pulumi.StringPtrInput `pulumi:"kubeConfigFilePrefix"`
	// A regex string to filter results by cluster name.
	NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"`
	// File name where to save data source results (after running `pulumi preview`).
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getServerlessKubernetesClusters.

func (GetServerlessKubernetesClustersOutputArgs) ElementType added in v3.9.0

type GetServerlessKubernetesClustersResult

type GetServerlessKubernetesClustersResult struct {
	// A list of matched Kubernetes clusters. Each element contains the following attributes:
	Clusters      []GetServerlessKubernetesClustersCluster `pulumi:"clusters"`
	EnableDetails *bool                                    `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of matched Kubernetes clusters' ids.
	Ids                  []string `pulumi:"ids"`
	KubeConfigFilePrefix *string  `pulumi:"kubeConfigFilePrefix"`
	NameRegex            *string  `pulumi:"nameRegex"`
	// A list of matched Kubernetes clusters' names.
	Names      []string `pulumi:"names"`
	OutputFile *string  `pulumi:"outputFile"`
}

A collection of values returned by getServerlessKubernetesClusters.

func GetServerlessKubernetesClusters

This data source provides a list Container Service Serverless Kubernetes Clusters on Alibaba Cloud.

> **NOTE:** Available in 1.58.0+

> **NOTE:** From version 1.177.0+, We supported batch export of clusters' kube config information by `kubeConfigFilePrefix`.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		k8sClusters, err := cs.GetServerlessKubernetesClusters(ctx, &cs.GetServerlessKubernetesClustersArgs{
			NameRegex:            pulumi.StringRef("my-first-k8s"),
			OutputFile:           pulumi.StringRef("my-first-k8s-json"),
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/serverless"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetServerlessKubernetesClustersResultOutput added in v3.9.0

type GetServerlessKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServerlessKubernetesClusters.

func (GetServerlessKubernetesClustersResultOutput) Clusters added in v3.9.0

A list of matched Kubernetes clusters. Each element contains the following attributes:

func (GetServerlessKubernetesClustersResultOutput) ElementType added in v3.9.0

func (GetServerlessKubernetesClustersResultOutput) EnableDetails added in v3.9.0

func (GetServerlessKubernetesClustersResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServerlessKubernetesClustersResultOutput) Ids added in v3.9.0

A list of matched Kubernetes clusters' ids.

func (GetServerlessKubernetesClustersResultOutput) KubeConfigFilePrefix added in v3.26.0

func (GetServerlessKubernetesClustersResultOutput) NameRegex added in v3.9.0

func (GetServerlessKubernetesClustersResultOutput) Names added in v3.9.0

A list of matched Kubernetes clusters' names.

func (GetServerlessKubernetesClustersResultOutput) OutputFile added in v3.9.0

func (GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutput added in v3.9.0

func (o GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutput() GetServerlessKubernetesClustersResultOutput

func (GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutputWithContext added in v3.9.0

func (o GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersResultOutput

type Kubernetes

type Kubernetes struct {
	pulumi.CustomResourceState

	// The addon you want to install in cluster. See `addons` below.
	//
	// *Network params*
	Addons KubernetesAddonTypeArrayOutput `pulumi:"addons"`
	// A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ApiAudiences pulumi.StringArrayOutput `pulumi:"apiAudiences"`
	// (Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority KubernetesCertificateAuthorityOutput `pulumi:"certificateAuthority"`
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"`
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"`
	// Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
	ClusterDomain pulumi.StringPtrOutput `pulumi:"clusterDomain"`
	// (Map) Map of kubernetes cluster connection information.
	Connections KubernetesConnectionsOutput `pulumi:"connections"`
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrOutput `pulumi:"customSan"`
	// Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
	DeleteOptions KubernetesDeleteOptionArrayOutput `pulumi:"deleteOptions"`
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Enable login to the node through SSH. Default to `false`.
	EnableSsh pulumi.BoolPtrOutput `pulumi:"enableSsh"`
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// Install cloud monitor agent on ECS. Default to `true`.
	InstallCloudMonitor pulumi.BoolPtrOutput `pulumi:"installCloudMonitor"`
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolOutput `pulumi:"isEnterpriseSecurityGroup"`
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"`
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"`
	// The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringPtrOutput `pulumi:"loadBalancerSpec"`
	// Enable master payment auto-renew, defaults to false.
	MasterAutoRenew pulumi.BoolPtrOutput `pulumi:"masterAutoRenew"`
	// Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	MasterAutoRenewPeriod pulumi.IntPtrOutput `pulumi:"masterAutoRenewPeriod"`
	// The system disk category of master node. Its valid value are `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	MasterDiskCategory pulumi.StringPtrOutput `pulumi:"masterDiskCategory"`
	// Master node system disk performance level. When `masterDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	MasterDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"masterDiskPerformanceLevel"`
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrOutput `pulumi:"masterDiskSize"`
	// Master node system disk auto snapshot policy.
	//
	// *Computed params*
	MasterDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"masterDiskSnapshotPolicyId"`
	// Master payment type. or `PostPaid` or `PrePaid`, defaults to `PostPaid`. If value is `PrePaid`, the files `masterPeriod`, `masterPeriodUnit`, `masterAutoRenew` and `masterAutoRenewPeriod` are required.
	MasterInstanceChargeType pulumi.StringPtrOutput `pulumi:"masterInstanceChargeType"`
	// The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	MasterInstanceTypes pulumi.StringArrayOutput `pulumi:"masterInstanceTypes"`
	// (Optional) The master nodes. See `masterNodes` below.
	MasterNodes KubernetesMasterNodeArrayOutput `pulumi:"masterNodes"`
	// Master payment period.Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	MasterPeriod pulumi.IntPtrOutput `pulumi:"masterPeriod"`
	// Master payment period unit, the valid value is `Month`.
	MasterPeriodUnit pulumi.StringPtrOutput `pulumi:"masterPeriodUnit"`
	// The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
	MasterVswitchIds pulumi.StringArrayOutput `pulumi:"masterVswitchIds"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringOutput `pulumi:"name"`
	// Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0.
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"`
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
	NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"`
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrOutput `pulumi:"nodeCidrMask"`
	// Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
	NodeNameMode pulumi.StringOutput `pulumi:"nodeNameMode"`
	// The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	OsType pulumi.StringPtrOutput `pulumi:"osType"`
	// The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	Platform pulumi.StringOutput `pulumi:"platform"`
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrOutput `pulumi:"podCidr"`
	// [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `podVswitchIds` is not belong to `workerVswitchIds` and `masterVswitchIds` but must be in same availability zones.
	PodVswitchIds pulumi.StringArrayOutput `pulumi:"podVswitchIds"`
	// Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrOutput `pulumi:"proxyMode"`
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayOutput `pulumi:"rdsInstances"`
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringOutput      `pulumi:"resourceGroupId"`
	RetainResources pulumi.StringArrayOutput `pulumi:"retainResources"`
	// The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
	Runtime KubernetesRuntimePtrOutput `pulumi:"runtime"`
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ServiceAccountIssuer pulumi.StringPtrOutput `pulumi:"serviceAccountIssuer"`
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"`
	// The ID of APIServer load balancer.
	SlbId pulumi.StringOutput `pulumi:"slbId"`
	// The public ip of load balancer.
	SlbInternet pulumi.StringOutput `pulumi:"slbInternet"`
	// Whether to create internet load balancer for API Server. Default to true.
	//
	// > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `podVswitchIds` field and addons with `terway-eniip`.
	// If you want to use `Flannel` as CNI network plugin, You need to specify the `podCidr` field and addons with `flannel`.
	//
	// *Master params*
	SlbInternetEnabled pulumi.BoolPtrOutput `pulumi:"slbInternetEnabled"`
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringOutput `pulumi:"slbIntranet"`
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
	Timezone pulumi.StringPtrOutput `pulumi:"timezone"`
	// The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
	UserCa pulumi.StringPtrOutput `pulumi:"userCa"`
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringOutput `pulumi:"version"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"`
}

This resource will help you to manage a Kubernetes Cluster in Alibaba Cloud Kubernetes Service, see [What is kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-an-ask-cluster-1).

> **NOTE:** Available since v1.9.0.

> **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set `newNatGateway` to "true" to create one automatically.

> **NOTE:** Each kubernetes cluster contains 3 master nodes and those number cannot be changed at now.

> **NOTE:** Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.

> **NOTE:** From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.

> **NOTE:** From version 1.16.0, the provider supports Multiple Availability Zones Kubernetes Cluster. To create a cluster of this kind, you must specify 3 or 5 items in `masterVswitchIds` and `masterInstanceTypes`.

> **NOTE:** From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting `false` to `slbInternetEnabled`.

> **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.

> **NOTE:** You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the `Authorization management` and `Cluster management` sections in the [Document Center](https://www.alibabacloud.com/help/doc-detail/86488.htm).

> **NOTE:** From version 1.75.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.

> **NOTE:** From version 1.101.0+, We supported the `professional managed clusters(ack-pro)`, You can create a pro cluster by setting the the value of `clusterSpec`.

> **NOTE:** From version 1.177.0+, `excludeAutoscalerNodes`,`workerNumber`,`workerVswitchIds`,`workerInstanceTypes`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodePortRange`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId` are deprecated. We Suggest you using resource **`cs.NodePool`** to manage your cluster worker nodes.

> **NOTE:** From version 1.212.0, `excludeAutoscalerNodes`,`workerNumber`,`workerVswitchIds`,`workerInstanceTypes`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodePortRange`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId`,`kubeConfig`,`availabilityZone` are removed. Please use resource **`cs.NodePool`** to manage your cluster worker nodes.

## Import

Kubernetes cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.

```sh $ pulumi import alicloud:cs/kubernetes:Kubernetes main cluster-id ```

func GetKubernetes

func GetKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesState, opts ...pulumi.ResourceOption) (*Kubernetes, error)

GetKubernetes gets an existing Kubernetes 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 NewKubernetes

func NewKubernetes(ctx *pulumi.Context,
	name string, args *KubernetesArgs, opts ...pulumi.ResourceOption) (*Kubernetes, error)

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

func (*Kubernetes) ElementType

func (*Kubernetes) ElementType() reflect.Type

func (*Kubernetes) ToKubernetesOutput

func (i *Kubernetes) ToKubernetesOutput() KubernetesOutput

func (*Kubernetes) ToKubernetesOutputWithContext

func (i *Kubernetes) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput

type KubernetesAddon

type KubernetesAddon struct {
	pulumi.CustomResourceState

	// Is the addon ready for upgrade.
	CanUpgrade pulumi.BoolOutput `pulumi:"canUpgrade"`
	// Whether to clean up cloud resources when deleting. Currently only works for addon `ack-virtual-node` and you must specify it when uninstall addon `ack-virtual-node`. Valid values: `true`: clean up, `false`: do not clean up.
	CleanupCloudResources pulumi.BoolPtrOutput `pulumi:"cleanupCloudResources"`
	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The customized configuration of addon. Your customized configuration will be merged to existed configuration stored in server. If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. You can checkout the customized configuration of the addon through datasource `cs.getKubernetesAddonMetadata`, the returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet. You can also checkout the current custom configuration through the data source `cs.getKubernetesAddons`.
	Config pulumi.StringOutput `pulumi:"config"`
	// The name of addon.
	Name pulumi.StringOutput `pulumi:"name"`
	// The version which addon can be upgraded to.
	NextVersion pulumi.StringOutput `pulumi:"nextVersion"`
	// Is it a mandatory addon to be installed.
	Required pulumi.BoolOutput `pulumi:"required"`
	// The current version of addon.
	Version pulumi.StringOutput `pulumi:"version"`
}

This resource will help you to manage addon in Kubernetes Cluster, see What is kubernetes addon.

> **NOTE:** Available since v1.150.0.

> **NOTE:** From version 1.166.0, support specifying addon customizable configuration.

## Import

Cluster addon can be imported by cluster id and addon name. Then write the addon.tf file according to the result of `pulumi preview`.

```sh $ pulumi import alicloud:cs/kubernetesAddon:KubernetesAddon my_addon <cluster_id>:<addon_name> ```

func GetKubernetesAddon added in v3.14.0

func GetKubernetesAddon(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesAddonState, opts ...pulumi.ResourceOption) (*KubernetesAddon, error)

GetKubernetesAddon gets an existing KubernetesAddon 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 NewKubernetesAddon added in v3.14.0

func NewKubernetesAddon(ctx *pulumi.Context,
	name string, args *KubernetesAddonArgs, opts ...pulumi.ResourceOption) (*KubernetesAddon, error)

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

func (*KubernetesAddon) ElementType added in v3.14.0

func (*KubernetesAddon) ElementType() reflect.Type

func (*KubernetesAddon) ToKubernetesAddonOutput added in v3.14.0

func (i *KubernetesAddon) ToKubernetesAddonOutput() KubernetesAddonOutput

func (*KubernetesAddon) ToKubernetesAddonOutputWithContext added in v3.14.0

func (i *KubernetesAddon) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput

type KubernetesAddonArgs

type KubernetesAddonArgs struct {
	// Whether to clean up cloud resources when deleting. Currently only works for addon `ack-virtual-node` and you must specify it when uninstall addon `ack-virtual-node`. Valid values: `true`: clean up, `false`: do not clean up.
	CleanupCloudResources pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	// The customized configuration of addon. Your customized configuration will be merged to existed configuration stored in server. If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. You can checkout the customized configuration of the addon through datasource `cs.getKubernetesAddonMetadata`, the returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet. You can also checkout the current custom configuration through the data source `cs.getKubernetesAddons`.
	Config pulumi.StringPtrInput
	// The name of addon.
	Name pulumi.StringPtrInput
	// The current version of addon.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a KubernetesAddon resource.

func (KubernetesAddonArgs) ElementType

func (KubernetesAddonArgs) ElementType() reflect.Type

type KubernetesAddonArray

type KubernetesAddonArray []KubernetesAddonInput

func (KubernetesAddonArray) ElementType

func (KubernetesAddonArray) ElementType() reflect.Type

func (KubernetesAddonArray) ToKubernetesAddonArrayOutput

func (i KubernetesAddonArray) ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput

func (KubernetesAddonArray) ToKubernetesAddonArrayOutputWithContext

func (i KubernetesAddonArray) ToKubernetesAddonArrayOutputWithContext(ctx context.Context) KubernetesAddonArrayOutput

type KubernetesAddonArrayInput

type KubernetesAddonArrayInput interface {
	pulumi.Input

	ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput
	ToKubernetesAddonArrayOutputWithContext(context.Context) KubernetesAddonArrayOutput
}

KubernetesAddonArrayInput is an input type that accepts KubernetesAddonArray and KubernetesAddonArrayOutput values. You can construct a concrete instance of `KubernetesAddonArrayInput` via:

KubernetesAddonArray{ KubernetesAddonArgs{...} }

type KubernetesAddonArrayOutput

type KubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (KubernetesAddonArrayOutput) ElementType

func (KubernetesAddonArrayOutput) ElementType() reflect.Type

func (KubernetesAddonArrayOutput) Index

func (KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutput

func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput

func (KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutputWithContext

func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutputWithContext(ctx context.Context) KubernetesAddonArrayOutput

type KubernetesAddonInput

type KubernetesAddonInput interface {
	pulumi.Input

	ToKubernetesAddonOutput() KubernetesAddonOutput
	ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput
}

type KubernetesAddonMap added in v3.14.0

type KubernetesAddonMap map[string]KubernetesAddonInput

func (KubernetesAddonMap) ElementType added in v3.14.0

func (KubernetesAddonMap) ElementType() reflect.Type

func (KubernetesAddonMap) ToKubernetesAddonMapOutput added in v3.14.0

func (i KubernetesAddonMap) ToKubernetesAddonMapOutput() KubernetesAddonMapOutput

func (KubernetesAddonMap) ToKubernetesAddonMapOutputWithContext added in v3.14.0

func (i KubernetesAddonMap) ToKubernetesAddonMapOutputWithContext(ctx context.Context) KubernetesAddonMapOutput

type KubernetesAddonMapInput added in v3.14.0

type KubernetesAddonMapInput interface {
	pulumi.Input

	ToKubernetesAddonMapOutput() KubernetesAddonMapOutput
	ToKubernetesAddonMapOutputWithContext(context.Context) KubernetesAddonMapOutput
}

KubernetesAddonMapInput is an input type that accepts KubernetesAddonMap and KubernetesAddonMapOutput values. You can construct a concrete instance of `KubernetesAddonMapInput` via:

KubernetesAddonMap{ "key": KubernetesAddonArgs{...} }

type KubernetesAddonMapOutput added in v3.14.0

type KubernetesAddonMapOutput struct{ *pulumi.OutputState }

func (KubernetesAddonMapOutput) ElementType added in v3.14.0

func (KubernetesAddonMapOutput) ElementType() reflect.Type

func (KubernetesAddonMapOutput) MapIndex added in v3.14.0

func (KubernetesAddonMapOutput) ToKubernetesAddonMapOutput added in v3.14.0

func (o KubernetesAddonMapOutput) ToKubernetesAddonMapOutput() KubernetesAddonMapOutput

func (KubernetesAddonMapOutput) ToKubernetesAddonMapOutputWithContext added in v3.14.0

func (o KubernetesAddonMapOutput) ToKubernetesAddonMapOutputWithContext(ctx context.Context) KubernetesAddonMapOutput

type KubernetesAddonOutput

type KubernetesAddonOutput struct{ *pulumi.OutputState }

func (KubernetesAddonOutput) CanUpgrade added in v3.27.0

func (o KubernetesAddonOutput) CanUpgrade() pulumi.BoolOutput

Is the addon ready for upgrade.

func (KubernetesAddonOutput) CleanupCloudResources added in v3.52.0

func (o KubernetesAddonOutput) CleanupCloudResources() pulumi.BoolPtrOutput

Whether to clean up cloud resources when deleting. Currently only works for addon `ack-virtual-node` and you must specify it when uninstall addon `ack-virtual-node`. Valid values: `true`: clean up, `false`: do not clean up.

func (KubernetesAddonOutput) ClusterId added in v3.27.0

The id of kubernetes cluster.

func (KubernetesAddonOutput) Config

The customized configuration of addon. Your customized configuration will be merged to existed configuration stored in server. If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. You can checkout the customized configuration of the addon through datasource `cs.getKubernetesAddonMetadata`, the returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet. You can also checkout the current custom configuration through the data source `cs.getKubernetesAddons`.

func (KubernetesAddonOutput) ElementType

func (KubernetesAddonOutput) ElementType() reflect.Type

func (KubernetesAddonOutput) Name

The name of addon.

func (KubernetesAddonOutput) NextVersion added in v3.27.0

func (o KubernetesAddonOutput) NextVersion() pulumi.StringOutput

The version which addon can be upgraded to.

func (KubernetesAddonOutput) Required added in v3.27.0

Is it a mandatory addon to be installed.

func (KubernetesAddonOutput) ToKubernetesAddonOutput

func (o KubernetesAddonOutput) ToKubernetesAddonOutput() KubernetesAddonOutput

func (KubernetesAddonOutput) ToKubernetesAddonOutputWithContext

func (o KubernetesAddonOutput) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput

func (KubernetesAddonOutput) Version added in v3.27.0

The current version of addon.

type KubernetesAddonState added in v3.14.0

type KubernetesAddonState struct {
	// Is the addon ready for upgrade.
	CanUpgrade pulumi.BoolPtrInput
	// Whether to clean up cloud resources when deleting. Currently only works for addon `ack-virtual-node` and you must specify it when uninstall addon `ack-virtual-node`. Valid values: `true`: clean up, `false`: do not clean up.
	CleanupCloudResources pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// The customized configuration of addon. Your customized configuration will be merged to existed configuration stored in server. If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. You can checkout the customized configuration of the addon through datasource `cs.getKubernetesAddonMetadata`, the returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet. You can also checkout the current custom configuration through the data source `cs.getKubernetesAddons`.
	Config pulumi.StringPtrInput
	// The name of addon.
	Name pulumi.StringPtrInput
	// The version which addon can be upgraded to.
	NextVersion pulumi.StringPtrInput
	// Is it a mandatory addon to be installed.
	Required pulumi.BoolPtrInput
	// The current version of addon.
	Version pulumi.StringPtrInput
}

func (KubernetesAddonState) ElementType added in v3.14.0

func (KubernetesAddonState) ElementType() reflect.Type

type KubernetesAddonType added in v3.14.0

type KubernetesAddonType struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config *string `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled *bool `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name *string `pulumi:"name"`
	// The version of the component.
	Version *string `pulumi:"version"`
}

type KubernetesAddonTypeArgs added in v3.14.0

type KubernetesAddonTypeArgs struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config pulumi.StringPtrInput `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The version of the component.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (KubernetesAddonTypeArgs) ElementType added in v3.14.0

func (KubernetesAddonTypeArgs) ElementType() reflect.Type

func (KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutput added in v3.14.0

func (i KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutput() KubernetesAddonTypeOutput

func (KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutputWithContext added in v3.14.0

func (i KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutputWithContext(ctx context.Context) KubernetesAddonTypeOutput

type KubernetesAddonTypeArray added in v3.14.0

type KubernetesAddonTypeArray []KubernetesAddonTypeInput

func (KubernetesAddonTypeArray) ElementType added in v3.14.0

func (KubernetesAddonTypeArray) ElementType() reflect.Type

func (KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutput added in v3.14.0

func (i KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutput() KubernetesAddonTypeArrayOutput

func (KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutputWithContext added in v3.14.0

func (i KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutputWithContext(ctx context.Context) KubernetesAddonTypeArrayOutput

type KubernetesAddonTypeArrayInput added in v3.14.0

type KubernetesAddonTypeArrayInput interface {
	pulumi.Input

	ToKubernetesAddonTypeArrayOutput() KubernetesAddonTypeArrayOutput
	ToKubernetesAddonTypeArrayOutputWithContext(context.Context) KubernetesAddonTypeArrayOutput
}

KubernetesAddonTypeArrayInput is an input type that accepts KubernetesAddonTypeArray and KubernetesAddonTypeArrayOutput values. You can construct a concrete instance of `KubernetesAddonTypeArrayInput` via:

KubernetesAddonTypeArray{ KubernetesAddonTypeArgs{...} }

type KubernetesAddonTypeArrayOutput added in v3.14.0

type KubernetesAddonTypeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesAddonTypeArrayOutput) ElementType added in v3.14.0

func (KubernetesAddonTypeArrayOutput) Index added in v3.14.0

func (KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutput added in v3.14.0

func (o KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutput() KubernetesAddonTypeArrayOutput

func (KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutputWithContext added in v3.14.0

func (o KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutputWithContext(ctx context.Context) KubernetesAddonTypeArrayOutput

type KubernetesAddonTypeInput added in v3.14.0

type KubernetesAddonTypeInput interface {
	pulumi.Input

	ToKubernetesAddonTypeOutput() KubernetesAddonTypeOutput
	ToKubernetesAddonTypeOutputWithContext(context.Context) KubernetesAddonTypeOutput
}

KubernetesAddonTypeInput is an input type that accepts KubernetesAddonTypeArgs and KubernetesAddonTypeOutput values. You can construct a concrete instance of `KubernetesAddonTypeInput` via:

KubernetesAddonTypeArgs{...}

type KubernetesAddonTypeOutput added in v3.14.0

type KubernetesAddonTypeOutput struct{ *pulumi.OutputState }

func (KubernetesAddonTypeOutput) Config added in v3.14.0

The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.

func (KubernetesAddonTypeOutput) Disabled added in v3.14.0

Disables the automatic installation of a component. Default is `false`.

The following example is the definition of addons block, The type of this field is list:

func (KubernetesAddonTypeOutput) ElementType added in v3.14.0

func (KubernetesAddonTypeOutput) ElementType() reflect.Type

func (KubernetesAddonTypeOutput) Name added in v3.14.0

Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).

func (KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutput added in v3.14.0

func (o KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutput() KubernetesAddonTypeOutput

func (KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutputWithContext added in v3.14.0

func (o KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutputWithContext(ctx context.Context) KubernetesAddonTypeOutput

func (KubernetesAddonTypeOutput) Version added in v3.45.0

The version of the component.

type KubernetesArgs

type KubernetesArgs struct {
	// The addon you want to install in cluster. See `addons` below.
	//
	// *Network params*
	Addons KubernetesAddonTypeArrayInput
	// A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ApiAudiences pulumi.StringArrayInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrInput
	// Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
	ClusterDomain pulumi.StringPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
	DeleteOptions KubernetesDeleteOptionArrayInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Enable login to the node through SSH. Default to `false`.
	EnableSsh pulumi.BoolPtrInput
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// Install cloud monitor agent on ECS. Default to `true`.
	InstallCloudMonitor pulumi.BoolPtrInput
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringPtrInput
	// Enable master payment auto-renew, defaults to false.
	MasterAutoRenew pulumi.BoolPtrInput
	// Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	MasterAutoRenewPeriod pulumi.IntPtrInput
	// The system disk category of master node. Its valid value are `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	MasterDiskCategory pulumi.StringPtrInput
	// Master node system disk performance level. When `masterDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	MasterDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrInput
	// Master node system disk auto snapshot policy.
	//
	// *Computed params*
	MasterDiskSnapshotPolicyId pulumi.StringPtrInput
	// Master payment type. or `PostPaid` or `PrePaid`, defaults to `PostPaid`. If value is `PrePaid`, the files `masterPeriod`, `masterPeriodUnit`, `masterAutoRenew` and `masterAutoRenewPeriod` are required.
	MasterInstanceChargeType pulumi.StringPtrInput
	// The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	MasterInstanceTypes pulumi.StringArrayInput
	// Master payment period.Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	MasterPeriod pulumi.IntPtrInput
	// Master payment period unit, the valid value is `Month`.
	MasterPeriodUnit pulumi.StringPtrInput
	// The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
	MasterVswitchIds pulumi.StringArrayInput
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput
	// Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0.
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
	NewNatGateway pulumi.BoolPtrInput
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrInput
	// Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
	NodeNameMode pulumi.StringPtrInput
	// The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	OsType pulumi.StringPtrInput
	// The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	Platform pulumi.StringPtrInput
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrInput
	// [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `podVswitchIds` is not belong to `workerVswitchIds` and `masterVswitchIds` but must be in same availability zones.
	PodVswitchIds pulumi.StringArrayInput
	// Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrInput
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
	Runtime KubernetesRuntimePtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ServiceAccountIssuer pulumi.StringPtrInput
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrInput
	// Whether to create internet load balancer for API Server. Default to true.
	//
	// > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `podVswitchIds` field and addons with `terway-eniip`.
	// If you want to use `Flannel` as CNI network plugin, You need to specify the `podCidr` field and addons with `flannel`.
	//
	// *Master params*
	SlbInternetEnabled pulumi.BoolPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapInput
	// When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
	Timezone pulumi.StringPtrInput
	// The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
	UserCa pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Kubernetes resource.

func (KubernetesArgs) ElementType

func (KubernetesArgs) ElementType() reflect.Type

type KubernetesArray

type KubernetesArray []KubernetesInput

func (KubernetesArray) ElementType

func (KubernetesArray) ElementType() reflect.Type

func (KubernetesArray) ToKubernetesArrayOutput

func (i KubernetesArray) ToKubernetesArrayOutput() KubernetesArrayOutput

func (KubernetesArray) ToKubernetesArrayOutputWithContext

func (i KubernetesArray) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput

type KubernetesArrayInput

type KubernetesArrayInput interface {
	pulumi.Input

	ToKubernetesArrayOutput() KubernetesArrayOutput
	ToKubernetesArrayOutputWithContext(context.Context) KubernetesArrayOutput
}

KubernetesArrayInput is an input type that accepts KubernetesArray and KubernetesArrayOutput values. You can construct a concrete instance of `KubernetesArrayInput` via:

KubernetesArray{ KubernetesArgs{...} }

type KubernetesArrayOutput

type KubernetesArrayOutput struct{ *pulumi.OutputState }

func (KubernetesArrayOutput) ElementType

func (KubernetesArrayOutput) ElementType() reflect.Type

func (KubernetesArrayOutput) Index

func (KubernetesArrayOutput) ToKubernetesArrayOutput

func (o KubernetesArrayOutput) ToKubernetesArrayOutput() KubernetesArrayOutput

func (KubernetesArrayOutput) ToKubernetesArrayOutputWithContext

func (o KubernetesArrayOutput) ToKubernetesArrayOutputWithContext(ctx context.Context) KubernetesArrayOutput

type KubernetesAutoscaler

type KubernetesAutoscaler struct {
	pulumi.CustomResourceState

	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The coolDownDuration option of cluster-autoscaler.
	CoolDownDuration pulumi.StringOutput `pulumi:"coolDownDuration"`
	// The deferScaleInDuration option of cluster-autoscaler.
	DeferScaleInDuration pulumi.StringOutput `pulumi:"deferScaleInDuration"`
	// The list of the node pools. See `nodepools` below.
	Nodepools KubernetesAutoscalerNodepoolArrayOutput `pulumi:"nodepools"`
	// Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false
	UseEcsRamRoleToken pulumi.BoolPtrOutput `pulumi:"useEcsRamRoleToken"`
	// The utilization option of cluster-autoscaler.
	Utilization pulumi.StringOutput `pulumi:"utilization"`
}

func GetKubernetesAutoscaler

func GetKubernetesAutoscaler(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesAutoscalerState, opts ...pulumi.ResourceOption) (*KubernetesAutoscaler, error)

GetKubernetesAutoscaler gets an existing KubernetesAutoscaler 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 NewKubernetesAutoscaler

func NewKubernetesAutoscaler(ctx *pulumi.Context,
	name string, args *KubernetesAutoscalerArgs, opts ...pulumi.ResourceOption) (*KubernetesAutoscaler, error)

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

func (*KubernetesAutoscaler) ElementType

func (*KubernetesAutoscaler) ElementType() reflect.Type

func (*KubernetesAutoscaler) ToKubernetesAutoscalerOutput

func (i *KubernetesAutoscaler) ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput

func (*KubernetesAutoscaler) ToKubernetesAutoscalerOutputWithContext

func (i *KubernetesAutoscaler) ToKubernetesAutoscalerOutputWithContext(ctx context.Context) KubernetesAutoscalerOutput

type KubernetesAutoscalerArgs

type KubernetesAutoscalerArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	// The coolDownDuration option of cluster-autoscaler.
	CoolDownDuration pulumi.StringInput
	// The deferScaleInDuration option of cluster-autoscaler.
	DeferScaleInDuration pulumi.StringInput
	// The list of the node pools. See `nodepools` below.
	Nodepools KubernetesAutoscalerNodepoolArrayInput
	// Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false
	UseEcsRamRoleToken pulumi.BoolPtrInput
	// The utilization option of cluster-autoscaler.
	Utilization pulumi.StringInput
}

The set of arguments for constructing a KubernetesAutoscaler resource.

func (KubernetesAutoscalerArgs) ElementType

func (KubernetesAutoscalerArgs) ElementType() reflect.Type

type KubernetesAutoscalerArray

type KubernetesAutoscalerArray []KubernetesAutoscalerInput

func (KubernetesAutoscalerArray) ElementType

func (KubernetesAutoscalerArray) ElementType() reflect.Type

func (KubernetesAutoscalerArray) ToKubernetesAutoscalerArrayOutput

func (i KubernetesAutoscalerArray) ToKubernetesAutoscalerArrayOutput() KubernetesAutoscalerArrayOutput

func (KubernetesAutoscalerArray) ToKubernetesAutoscalerArrayOutputWithContext

func (i KubernetesAutoscalerArray) ToKubernetesAutoscalerArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerArrayOutput

type KubernetesAutoscalerArrayInput

type KubernetesAutoscalerArrayInput interface {
	pulumi.Input

	ToKubernetesAutoscalerArrayOutput() KubernetesAutoscalerArrayOutput
	ToKubernetesAutoscalerArrayOutputWithContext(context.Context) KubernetesAutoscalerArrayOutput
}

KubernetesAutoscalerArrayInput is an input type that accepts KubernetesAutoscalerArray and KubernetesAutoscalerArrayOutput values. You can construct a concrete instance of `KubernetesAutoscalerArrayInput` via:

KubernetesAutoscalerArray{ KubernetesAutoscalerArgs{...} }

type KubernetesAutoscalerArrayOutput

type KubernetesAutoscalerArrayOutput struct{ *pulumi.OutputState }

func (KubernetesAutoscalerArrayOutput) ElementType

func (KubernetesAutoscalerArrayOutput) Index

func (KubernetesAutoscalerArrayOutput) ToKubernetesAutoscalerArrayOutput

func (o KubernetesAutoscalerArrayOutput) ToKubernetesAutoscalerArrayOutput() KubernetesAutoscalerArrayOutput

func (KubernetesAutoscalerArrayOutput) ToKubernetesAutoscalerArrayOutputWithContext

func (o KubernetesAutoscalerArrayOutput) ToKubernetesAutoscalerArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerArrayOutput

type KubernetesAutoscalerInput

type KubernetesAutoscalerInput interface {
	pulumi.Input

	ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput
	ToKubernetesAutoscalerOutputWithContext(ctx context.Context) KubernetesAutoscalerOutput
}

type KubernetesAutoscalerMap

type KubernetesAutoscalerMap map[string]KubernetesAutoscalerInput

func (KubernetesAutoscalerMap) ElementType

func (KubernetesAutoscalerMap) ElementType() reflect.Type

func (KubernetesAutoscalerMap) ToKubernetesAutoscalerMapOutput

func (i KubernetesAutoscalerMap) ToKubernetesAutoscalerMapOutput() KubernetesAutoscalerMapOutput

func (KubernetesAutoscalerMap) ToKubernetesAutoscalerMapOutputWithContext

func (i KubernetesAutoscalerMap) ToKubernetesAutoscalerMapOutputWithContext(ctx context.Context) KubernetesAutoscalerMapOutput

type KubernetesAutoscalerMapInput

type KubernetesAutoscalerMapInput interface {
	pulumi.Input

	ToKubernetesAutoscalerMapOutput() KubernetesAutoscalerMapOutput
	ToKubernetesAutoscalerMapOutputWithContext(context.Context) KubernetesAutoscalerMapOutput
}

KubernetesAutoscalerMapInput is an input type that accepts KubernetesAutoscalerMap and KubernetesAutoscalerMapOutput values. You can construct a concrete instance of `KubernetesAutoscalerMapInput` via:

KubernetesAutoscalerMap{ "key": KubernetesAutoscalerArgs{...} }

type KubernetesAutoscalerMapOutput

type KubernetesAutoscalerMapOutput struct{ *pulumi.OutputState }

func (KubernetesAutoscalerMapOutput) ElementType

func (KubernetesAutoscalerMapOutput) MapIndex

func (KubernetesAutoscalerMapOutput) ToKubernetesAutoscalerMapOutput

func (o KubernetesAutoscalerMapOutput) ToKubernetesAutoscalerMapOutput() KubernetesAutoscalerMapOutput

func (KubernetesAutoscalerMapOutput) ToKubernetesAutoscalerMapOutputWithContext

func (o KubernetesAutoscalerMapOutput) ToKubernetesAutoscalerMapOutputWithContext(ctx context.Context) KubernetesAutoscalerMapOutput

type KubernetesAutoscalerNodepool

type KubernetesAutoscalerNodepool struct {
	// The scaling group id of the groups configured for cluster-autoscaler.
	Id *string `pulumi:"id"`
	// The labels for the nodes in scaling group.
	Labels *string `pulumi:"labels"`
	// The taints for the nodes in scaling group.
	Taints *string `pulumi:"taints"`
}

type KubernetesAutoscalerNodepoolArgs

type KubernetesAutoscalerNodepoolArgs struct {
	// The scaling group id of the groups configured for cluster-autoscaler.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The labels for the nodes in scaling group.
	Labels pulumi.StringPtrInput `pulumi:"labels"`
	// The taints for the nodes in scaling group.
	Taints pulumi.StringPtrInput `pulumi:"taints"`
}

func (KubernetesAutoscalerNodepoolArgs) ElementType

func (KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutput

func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput

func (KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutputWithContext

func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput

type KubernetesAutoscalerNodepoolArray

type KubernetesAutoscalerNodepoolArray []KubernetesAutoscalerNodepoolInput

func (KubernetesAutoscalerNodepoolArray) ElementType

func (KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutput

func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput

func (KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutputWithContext

func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput

type KubernetesAutoscalerNodepoolArrayInput

type KubernetesAutoscalerNodepoolArrayInput interface {
	pulumi.Input

	ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput
	ToKubernetesAutoscalerNodepoolArrayOutputWithContext(context.Context) KubernetesAutoscalerNodepoolArrayOutput
}

KubernetesAutoscalerNodepoolArrayInput is an input type that accepts KubernetesAutoscalerNodepoolArray and KubernetesAutoscalerNodepoolArrayOutput values. You can construct a concrete instance of `KubernetesAutoscalerNodepoolArrayInput` via:

KubernetesAutoscalerNodepoolArray{ KubernetesAutoscalerNodepoolArgs{...} }

type KubernetesAutoscalerNodepoolArrayOutput

type KubernetesAutoscalerNodepoolArrayOutput struct{ *pulumi.OutputState }

func (KubernetesAutoscalerNodepoolArrayOutput) ElementType

func (KubernetesAutoscalerNodepoolArrayOutput) Index

func (KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutput

func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput

func (KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutputWithContext

func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput

type KubernetesAutoscalerNodepoolInput

type KubernetesAutoscalerNodepoolInput interface {
	pulumi.Input

	ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput
	ToKubernetesAutoscalerNodepoolOutputWithContext(context.Context) KubernetesAutoscalerNodepoolOutput
}

KubernetesAutoscalerNodepoolInput is an input type that accepts KubernetesAutoscalerNodepoolArgs and KubernetesAutoscalerNodepoolOutput values. You can construct a concrete instance of `KubernetesAutoscalerNodepoolInput` via:

KubernetesAutoscalerNodepoolArgs{...}

type KubernetesAutoscalerNodepoolOutput

type KubernetesAutoscalerNodepoolOutput struct{ *pulumi.OutputState }

func (KubernetesAutoscalerNodepoolOutput) ElementType

func (KubernetesAutoscalerNodepoolOutput) Id

The scaling group id of the groups configured for cluster-autoscaler.

func (KubernetesAutoscalerNodepoolOutput) Labels

The labels for the nodes in scaling group.

func (KubernetesAutoscalerNodepoolOutput) Taints

The taints for the nodes in scaling group.

func (KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutput

func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput

func (KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutputWithContext

func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput

type KubernetesAutoscalerOutput

type KubernetesAutoscalerOutput struct{ *pulumi.OutputState }

func (KubernetesAutoscalerOutput) ClusterId added in v3.27.0

The id of kubernetes cluster.

func (KubernetesAutoscalerOutput) CoolDownDuration added in v3.27.0

func (o KubernetesAutoscalerOutput) CoolDownDuration() pulumi.StringOutput

The coolDownDuration option of cluster-autoscaler.

func (KubernetesAutoscalerOutput) DeferScaleInDuration added in v3.27.0

func (o KubernetesAutoscalerOutput) DeferScaleInDuration() pulumi.StringOutput

The deferScaleInDuration option of cluster-autoscaler.

func (KubernetesAutoscalerOutput) ElementType

func (KubernetesAutoscalerOutput) ElementType() reflect.Type

func (KubernetesAutoscalerOutput) Nodepools added in v3.27.0

The list of the node pools. See `nodepools` below.

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput

func (o KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutputWithContext

func (o KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutputWithContext(ctx context.Context) KubernetesAutoscalerOutput

func (KubernetesAutoscalerOutput) UseEcsRamRoleToken added in v3.27.0

func (o KubernetesAutoscalerOutput) UseEcsRamRoleToken() pulumi.BoolPtrOutput

Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false

func (KubernetesAutoscalerOutput) Utilization added in v3.27.0

The utilization option of cluster-autoscaler.

type KubernetesAutoscalerState

type KubernetesAutoscalerState struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// The coolDownDuration option of cluster-autoscaler.
	CoolDownDuration pulumi.StringPtrInput
	// The deferScaleInDuration option of cluster-autoscaler.
	DeferScaleInDuration pulumi.StringPtrInput
	// The list of the node pools. See `nodepools` below.
	Nodepools KubernetesAutoscalerNodepoolArrayInput
	// Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false
	UseEcsRamRoleToken pulumi.BoolPtrInput
	// The utilization option of cluster-autoscaler.
	Utilization pulumi.StringPtrInput
}

func (KubernetesAutoscalerState) ElementType

func (KubernetesAutoscalerState) ElementType() reflect.Type

type KubernetesCertificateAuthority

type KubernetesCertificateAuthority struct {
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert *string `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey *string `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert *string `pulumi:"clusterCert"`
}

type KubernetesCertificateAuthorityArgs

type KubernetesCertificateAuthorityArgs struct {
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert pulumi.StringPtrInput `pulumi:"clusterCert"`
}

func (KubernetesCertificateAuthorityArgs) ElementType

func (KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityOutput

func (i KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityOutput() KubernetesCertificateAuthorityOutput

func (KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityOutputWithContext

func (i KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) KubernetesCertificateAuthorityOutput

func (KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityPtrOutput

func (i KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityPtrOutput() KubernetesCertificateAuthorityPtrOutput

func (KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityPtrOutputWithContext

func (i KubernetesCertificateAuthorityArgs) ToKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) KubernetesCertificateAuthorityPtrOutput

type KubernetesCertificateAuthorityInput

type KubernetesCertificateAuthorityInput interface {
	pulumi.Input

	ToKubernetesCertificateAuthorityOutput() KubernetesCertificateAuthorityOutput
	ToKubernetesCertificateAuthorityOutputWithContext(context.Context) KubernetesCertificateAuthorityOutput
}

KubernetesCertificateAuthorityInput is an input type that accepts KubernetesCertificateAuthorityArgs and KubernetesCertificateAuthorityOutput values. You can construct a concrete instance of `KubernetesCertificateAuthorityInput` via:

KubernetesCertificateAuthorityArgs{...}

type KubernetesCertificateAuthorityOutput

type KubernetesCertificateAuthorityOutput struct{ *pulumi.OutputState }

func (KubernetesCertificateAuthorityOutput) ClientCert

The path of client certificate, like `~/.kube/client-cert.pem`.

func (KubernetesCertificateAuthorityOutput) ClientKey

The path of client key, like `~/.kube/client-key.pem`.

func (KubernetesCertificateAuthorityOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (KubernetesCertificateAuthorityOutput) ElementType

func (KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityOutput

func (o KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityOutput() KubernetesCertificateAuthorityOutput

func (KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityOutputWithContext

func (o KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) KubernetesCertificateAuthorityOutput

func (KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityPtrOutput

func (o KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityPtrOutput() KubernetesCertificateAuthorityPtrOutput

func (KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityPtrOutputWithContext

func (o KubernetesCertificateAuthorityOutput) ToKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) KubernetesCertificateAuthorityPtrOutput

type KubernetesCertificateAuthorityPtrInput

type KubernetesCertificateAuthorityPtrInput interface {
	pulumi.Input

	ToKubernetesCertificateAuthorityPtrOutput() KubernetesCertificateAuthorityPtrOutput
	ToKubernetesCertificateAuthorityPtrOutputWithContext(context.Context) KubernetesCertificateAuthorityPtrOutput
}

KubernetesCertificateAuthorityPtrInput is an input type that accepts KubernetesCertificateAuthorityArgs, KubernetesCertificateAuthorityPtr and KubernetesCertificateAuthorityPtrOutput values. You can construct a concrete instance of `KubernetesCertificateAuthorityPtrInput` via:

        KubernetesCertificateAuthorityArgs{...}

or:

        nil

type KubernetesCertificateAuthorityPtrOutput

type KubernetesCertificateAuthorityPtrOutput struct{ *pulumi.OutputState }

func (KubernetesCertificateAuthorityPtrOutput) ClientCert

The path of client certificate, like `~/.kube/client-cert.pem`.

func (KubernetesCertificateAuthorityPtrOutput) ClientKey

The path of client key, like `~/.kube/client-key.pem`.

func (KubernetesCertificateAuthorityPtrOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (KubernetesCertificateAuthorityPtrOutput) Elem

func (KubernetesCertificateAuthorityPtrOutput) ElementType

func (KubernetesCertificateAuthorityPtrOutput) ToKubernetesCertificateAuthorityPtrOutput

func (o KubernetesCertificateAuthorityPtrOutput) ToKubernetesCertificateAuthorityPtrOutput() KubernetesCertificateAuthorityPtrOutput

func (KubernetesCertificateAuthorityPtrOutput) ToKubernetesCertificateAuthorityPtrOutputWithContext

func (o KubernetesCertificateAuthorityPtrOutput) ToKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) KubernetesCertificateAuthorityPtrOutput

type KubernetesConnections

type KubernetesConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet *string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet *string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp *string `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain *string `pulumi:"serviceDomain"`
}

type KubernetesConnectionsArgs

type KubernetesConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringPtrInput `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain pulumi.StringPtrInput `pulumi:"serviceDomain"`
}

func (KubernetesConnectionsArgs) ElementType

func (KubernetesConnectionsArgs) ElementType() reflect.Type

func (KubernetesConnectionsArgs) ToKubernetesConnectionsOutput

func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput

func (KubernetesConnectionsArgs) ToKubernetesConnectionsOutputWithContext

func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput

func (KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutput

func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput

func (KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutputWithContext

func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput

type KubernetesConnectionsInput

type KubernetesConnectionsInput interface {
	pulumi.Input

	ToKubernetesConnectionsOutput() KubernetesConnectionsOutput
	ToKubernetesConnectionsOutputWithContext(context.Context) KubernetesConnectionsOutput
}

KubernetesConnectionsInput is an input type that accepts KubernetesConnectionsArgs and KubernetesConnectionsOutput values. You can construct a concrete instance of `KubernetesConnectionsInput` via:

KubernetesConnectionsArgs{...}

type KubernetesConnectionsOutput

type KubernetesConnectionsOutput struct{ *pulumi.OutputState }

func (KubernetesConnectionsOutput) ApiServerInternet

func (o KubernetesConnectionsOutput) ApiServerInternet() pulumi.StringPtrOutput

API Server Internet endpoint.

func (KubernetesConnectionsOutput) ApiServerIntranet

func (o KubernetesConnectionsOutput) ApiServerIntranet() pulumi.StringPtrOutput

API Server Intranet endpoint.

func (KubernetesConnectionsOutput) ElementType

func (KubernetesConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (KubernetesConnectionsOutput) ServiceDomain

Service Access Domain.

func (KubernetesConnectionsOutput) ToKubernetesConnectionsOutput

func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput

func (KubernetesConnectionsOutput) ToKubernetesConnectionsOutputWithContext

func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput

func (KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutput

func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput

func (KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutputWithContext

func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput

type KubernetesConnectionsPtrInput

type KubernetesConnectionsPtrInput interface {
	pulumi.Input

	ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
	ToKubernetesConnectionsPtrOutputWithContext(context.Context) KubernetesConnectionsPtrOutput
}

KubernetesConnectionsPtrInput is an input type that accepts KubernetesConnectionsArgs, KubernetesConnectionsPtr and KubernetesConnectionsPtrOutput values. You can construct a concrete instance of `KubernetesConnectionsPtrInput` via:

        KubernetesConnectionsArgs{...}

or:

        nil

type KubernetesConnectionsPtrOutput

type KubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }

func (KubernetesConnectionsPtrOutput) ApiServerInternet

API Server Internet endpoint.

func (KubernetesConnectionsPtrOutput) ApiServerIntranet

API Server Intranet endpoint.

func (KubernetesConnectionsPtrOutput) Elem

func (KubernetesConnectionsPtrOutput) ElementType

func (KubernetesConnectionsPtrOutput) MasterPublicIp

Master node SSH IP address.

func (KubernetesConnectionsPtrOutput) ServiceDomain

Service Access Domain.

func (KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutput

func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput

func (KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutputWithContext

func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput

type KubernetesDeleteOption added in v3.55.2

type KubernetesDeleteOption struct {
	// The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:
	DeleteMode *string `pulumi:"deleteMode"`
	// The type of resources that are created by cluster. Valid values:
	// - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
	// - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
	// - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
	// - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
	ResourceType *string `pulumi:"resourceType"`
}

type KubernetesDeleteOptionArgs added in v3.55.2

type KubernetesDeleteOptionArgs struct {
	// The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:
	DeleteMode pulumi.StringPtrInput `pulumi:"deleteMode"`
	// The type of resources that are created by cluster. Valid values:
	// - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
	// - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
	// - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
	// - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}

func (KubernetesDeleteOptionArgs) ElementType added in v3.55.2

func (KubernetesDeleteOptionArgs) ElementType() reflect.Type

func (KubernetesDeleteOptionArgs) ToKubernetesDeleteOptionOutput added in v3.55.2

func (i KubernetesDeleteOptionArgs) ToKubernetesDeleteOptionOutput() KubernetesDeleteOptionOutput

func (KubernetesDeleteOptionArgs) ToKubernetesDeleteOptionOutputWithContext added in v3.55.2

func (i KubernetesDeleteOptionArgs) ToKubernetesDeleteOptionOutputWithContext(ctx context.Context) KubernetesDeleteOptionOutput

type KubernetesDeleteOptionArray added in v3.55.2

type KubernetesDeleteOptionArray []KubernetesDeleteOptionInput

func (KubernetesDeleteOptionArray) ElementType added in v3.55.2

func (KubernetesDeleteOptionArray) ToKubernetesDeleteOptionArrayOutput added in v3.55.2

func (i KubernetesDeleteOptionArray) ToKubernetesDeleteOptionArrayOutput() KubernetesDeleteOptionArrayOutput

func (KubernetesDeleteOptionArray) ToKubernetesDeleteOptionArrayOutputWithContext added in v3.55.2

func (i KubernetesDeleteOptionArray) ToKubernetesDeleteOptionArrayOutputWithContext(ctx context.Context) KubernetesDeleteOptionArrayOutput

type KubernetesDeleteOptionArrayInput added in v3.55.2

type KubernetesDeleteOptionArrayInput interface {
	pulumi.Input

	ToKubernetesDeleteOptionArrayOutput() KubernetesDeleteOptionArrayOutput
	ToKubernetesDeleteOptionArrayOutputWithContext(context.Context) KubernetesDeleteOptionArrayOutput
}

KubernetesDeleteOptionArrayInput is an input type that accepts KubernetesDeleteOptionArray and KubernetesDeleteOptionArrayOutput values. You can construct a concrete instance of `KubernetesDeleteOptionArrayInput` via:

KubernetesDeleteOptionArray{ KubernetesDeleteOptionArgs{...} }

type KubernetesDeleteOptionArrayOutput added in v3.55.2

type KubernetesDeleteOptionArrayOutput struct{ *pulumi.OutputState }

func (KubernetesDeleteOptionArrayOutput) ElementType added in v3.55.2

func (KubernetesDeleteOptionArrayOutput) Index added in v3.55.2

func (KubernetesDeleteOptionArrayOutput) ToKubernetesDeleteOptionArrayOutput added in v3.55.2

func (o KubernetesDeleteOptionArrayOutput) ToKubernetesDeleteOptionArrayOutput() KubernetesDeleteOptionArrayOutput

func (KubernetesDeleteOptionArrayOutput) ToKubernetesDeleteOptionArrayOutputWithContext added in v3.55.2

func (o KubernetesDeleteOptionArrayOutput) ToKubernetesDeleteOptionArrayOutputWithContext(ctx context.Context) KubernetesDeleteOptionArrayOutput

type KubernetesDeleteOptionInput added in v3.55.2

type KubernetesDeleteOptionInput interface {
	pulumi.Input

	ToKubernetesDeleteOptionOutput() KubernetesDeleteOptionOutput
	ToKubernetesDeleteOptionOutputWithContext(context.Context) KubernetesDeleteOptionOutput
}

KubernetesDeleteOptionInput is an input type that accepts KubernetesDeleteOptionArgs and KubernetesDeleteOptionOutput values. You can construct a concrete instance of `KubernetesDeleteOptionInput` via:

KubernetesDeleteOptionArgs{...}

type KubernetesDeleteOptionOutput added in v3.55.2

type KubernetesDeleteOptionOutput struct{ *pulumi.OutputState }

func (KubernetesDeleteOptionOutput) DeleteMode added in v3.55.2

The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:

func (KubernetesDeleteOptionOutput) ElementType added in v3.55.2

func (KubernetesDeleteOptionOutput) ResourceType added in v3.55.2

The type of resources that are created by cluster. Valid values: - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available. - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available. - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available. - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.

func (KubernetesDeleteOptionOutput) ToKubernetesDeleteOptionOutput added in v3.55.2

func (o KubernetesDeleteOptionOutput) ToKubernetesDeleteOptionOutput() KubernetesDeleteOptionOutput

func (KubernetesDeleteOptionOutput) ToKubernetesDeleteOptionOutputWithContext added in v3.55.2

func (o KubernetesDeleteOptionOutput) ToKubernetesDeleteOptionOutputWithContext(ctx context.Context) KubernetesDeleteOptionOutput

type KubernetesInput

type KubernetesInput interface {
	pulumi.Input

	ToKubernetesOutput() KubernetesOutput
	ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput
}

type KubernetesMap

type KubernetesMap map[string]KubernetesInput

func (KubernetesMap) ElementType

func (KubernetesMap) ElementType() reflect.Type

func (KubernetesMap) ToKubernetesMapOutput

func (i KubernetesMap) ToKubernetesMapOutput() KubernetesMapOutput

func (KubernetesMap) ToKubernetesMapOutputWithContext

func (i KubernetesMap) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput

type KubernetesMapInput

type KubernetesMapInput interface {
	pulumi.Input

	ToKubernetesMapOutput() KubernetesMapOutput
	ToKubernetesMapOutputWithContext(context.Context) KubernetesMapOutput
}

KubernetesMapInput is an input type that accepts KubernetesMap and KubernetesMapOutput values. You can construct a concrete instance of `KubernetesMapInput` via:

KubernetesMap{ "key": KubernetesArgs{...} }

type KubernetesMapOutput

type KubernetesMapOutput struct{ *pulumi.OutputState }

func (KubernetesMapOutput) ElementType

func (KubernetesMapOutput) ElementType() reflect.Type

func (KubernetesMapOutput) MapIndex

func (KubernetesMapOutput) ToKubernetesMapOutput

func (o KubernetesMapOutput) ToKubernetesMapOutput() KubernetesMapOutput

func (KubernetesMapOutput) ToKubernetesMapOutputWithContext

func (o KubernetesMapOutput) ToKubernetesMapOutputWithContext(ctx context.Context) KubernetesMapOutput

type KubernetesMasterNode

type KubernetesMasterNode struct {
	// ID of the node.
	Id *string `pulumi:"id"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp *string `pulumi:"privateIp"`
}

type KubernetesMasterNodeArgs

type KubernetesMasterNodeArgs struct {
	// ID of the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
}

func (KubernetesMasterNodeArgs) ElementType

func (KubernetesMasterNodeArgs) ElementType() reflect.Type

func (KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutput

func (i KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput

func (KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutputWithContext

func (i KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutputWithContext(ctx context.Context) KubernetesMasterNodeOutput

type KubernetesMasterNodeArray

type KubernetesMasterNodeArray []KubernetesMasterNodeInput

func (KubernetesMasterNodeArray) ElementType

func (KubernetesMasterNodeArray) ElementType() reflect.Type

func (KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutput

func (i KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput

func (KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutputWithContext

func (i KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutputWithContext(ctx context.Context) KubernetesMasterNodeArrayOutput

type KubernetesMasterNodeArrayInput

type KubernetesMasterNodeArrayInput interface {
	pulumi.Input

	ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput
	ToKubernetesMasterNodeArrayOutputWithContext(context.Context) KubernetesMasterNodeArrayOutput
}

KubernetesMasterNodeArrayInput is an input type that accepts KubernetesMasterNodeArray and KubernetesMasterNodeArrayOutput values. You can construct a concrete instance of `KubernetesMasterNodeArrayInput` via:

KubernetesMasterNodeArray{ KubernetesMasterNodeArgs{...} }

type KubernetesMasterNodeArrayOutput

type KubernetesMasterNodeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesMasterNodeArrayOutput) ElementType

func (KubernetesMasterNodeArrayOutput) Index

func (KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutput

func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput

func (KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutputWithContext

func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutputWithContext(ctx context.Context) KubernetesMasterNodeArrayOutput

type KubernetesMasterNodeInput

type KubernetesMasterNodeInput interface {
	pulumi.Input

	ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput
	ToKubernetesMasterNodeOutputWithContext(context.Context) KubernetesMasterNodeOutput
}

KubernetesMasterNodeInput is an input type that accepts KubernetesMasterNodeArgs and KubernetesMasterNodeOutput values. You can construct a concrete instance of `KubernetesMasterNodeInput` via:

KubernetesMasterNodeArgs{...}

type KubernetesMasterNodeOutput

type KubernetesMasterNodeOutput struct{ *pulumi.OutputState }

func (KubernetesMasterNodeOutput) ElementType

func (KubernetesMasterNodeOutput) ElementType() reflect.Type

func (KubernetesMasterNodeOutput) Id

ID of the node.

func (KubernetesMasterNodeOutput) Name

The kubernetes cluster's name. It is unique in one Alicloud account.

func (KubernetesMasterNodeOutput) PrivateIp

The private IP address of node.

func (KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutput

func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput

func (KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutputWithContext

func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutputWithContext(ctx context.Context) KubernetesMasterNodeOutput

type KubernetesOutput

type KubernetesOutput struct{ *pulumi.OutputState }

func (KubernetesOutput) Addons added in v3.27.0

The addon you want to install in cluster. See `addons` below.

*Network params*

func (KubernetesOutput) ApiAudiences added in v3.27.0

func (o KubernetesOutput) ApiAudiences() pulumi.StringArrayOutput

A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.

func (KubernetesOutput) CertificateAuthority added in v3.27.0

func (o KubernetesOutput) CertificateAuthority() KubernetesCertificateAuthorityOutput

(Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.

func (KubernetesOutput) ClientCert added in v3.27.0

func (o KubernetesOutput) ClientCert() pulumi.StringPtrOutput

The path of client certificate, like `~/.kube/client-cert.pem`.

func (KubernetesOutput) ClientKey added in v3.27.0

func (o KubernetesOutput) ClientKey() pulumi.StringPtrOutput

The path of client key, like `~/.kube/client-key.pem`.

func (KubernetesOutput) ClusterCaCert added in v3.27.0

func (o KubernetesOutput) ClusterCaCert() pulumi.StringPtrOutput

The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`

*Removed params*

func (KubernetesOutput) ClusterDomain added in v3.27.0

func (o KubernetesOutput) ClusterDomain() pulumi.StringPtrOutput

Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.

func (KubernetesOutput) Connections added in v3.27.0

(Map) Map of kubernetes cluster connection information.

func (KubernetesOutput) CustomSan added in v3.27.0

func (o KubernetesOutput) CustomSan() pulumi.StringPtrOutput

Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).

func (KubernetesOutput) DeleteOptions added in v3.55.2

Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.

func (KubernetesOutput) DeletionProtection added in v3.27.0

func (o KubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether to enable cluster deletion protection.

func (KubernetesOutput) ElementType

func (KubernetesOutput) ElementType() reflect.Type

func (KubernetesOutput) EnableSsh added in v3.27.0

func (o KubernetesOutput) EnableSsh() pulumi.BoolPtrOutput

Enable login to the node through SSH. Default to `false`.

func (KubernetesOutput) ImageId added in v3.27.0

func (o KubernetesOutput) ImageId() pulumi.StringOutput

Custom Image support. Must based on CentOS7 or AliyunLinux2.

func (KubernetesOutput) InstallCloudMonitor added in v3.27.0

func (o KubernetesOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

Install cloud monitor agent on ECS. Default to `true`.

func (KubernetesOutput) IsEnterpriseSecurityGroup added in v3.27.0

func (o KubernetesOutput) IsEnterpriseSecurityGroup() pulumi.BoolOutput

Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).

func (KubernetesOutput) KeyName added in v3.27.0

The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

func (KubernetesOutput) KmsEncryptedPassword added in v3.27.0

func (o KubernetesOutput) KmsEncryptedPassword() pulumi.StringPtrOutput

An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

func (KubernetesOutput) KmsEncryptionContext added in v3.27.0

func (o KubernetesOutput) KmsEncryptionContext() pulumi.MapOutput

An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.

func (KubernetesOutput) LoadBalancerSpec added in v3.27.0

func (o KubernetesOutput) LoadBalancerSpec() pulumi.StringPtrOutput

The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).

func (KubernetesOutput) MasterAutoRenew added in v3.27.0

func (o KubernetesOutput) MasterAutoRenew() pulumi.BoolPtrOutput

Enable master payment auto-renew, defaults to false.

func (KubernetesOutput) MasterAutoRenewPeriod added in v3.27.0

func (o KubernetesOutput) MasterAutoRenewPeriod() pulumi.IntPtrOutput

Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.

func (KubernetesOutput) MasterDiskCategory added in v3.27.0

func (o KubernetesOutput) MasterDiskCategory() pulumi.StringPtrOutput

The system disk category of master node. Its valid value are `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.

func (KubernetesOutput) MasterDiskPerformanceLevel added in v3.27.0

func (o KubernetesOutput) MasterDiskPerformanceLevel() pulumi.StringPtrOutput

Master node system disk performance level. When `masterDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.

func (KubernetesOutput) MasterDiskSize added in v3.27.0

func (o KubernetesOutput) MasterDiskSize() pulumi.IntPtrOutput

The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.

func (KubernetesOutput) MasterDiskSnapshotPolicyId added in v3.27.0

func (o KubernetesOutput) MasterDiskSnapshotPolicyId() pulumi.StringPtrOutput

Master node system disk auto snapshot policy.

*Computed params*

func (KubernetesOutput) MasterInstanceChargeType added in v3.27.0

func (o KubernetesOutput) MasterInstanceChargeType() pulumi.StringPtrOutput

Master payment type. or `PostPaid` or `PrePaid`, defaults to `PostPaid`. If value is `PrePaid`, the files `masterPeriod`, `masterPeriodUnit`, `masterAutoRenew` and `masterAutoRenewPeriod` are required.

func (KubernetesOutput) MasterInstanceTypes added in v3.27.0

func (o KubernetesOutput) MasterInstanceTypes() pulumi.StringArrayOutput

The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

func (KubernetesOutput) MasterNodes added in v3.27.0

(Optional) The master nodes. See `masterNodes` below.

func (KubernetesOutput) MasterPeriod added in v3.27.0

func (o KubernetesOutput) MasterPeriod() pulumi.IntPtrOutput

Master payment period.Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.

func (KubernetesOutput) MasterPeriodUnit added in v3.27.0

func (o KubernetesOutput) MasterPeriodUnit() pulumi.StringPtrOutput

Master payment period unit, the valid value is `Month`.

func (KubernetesOutput) MasterVswitchIds added in v3.27.0

func (o KubernetesOutput) MasterVswitchIds() pulumi.StringArrayOutput

The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.

func (KubernetesOutput) Name added in v3.27.0

The kubernetes cluster's name. It is unique in one Alicloud account.

func (KubernetesOutput) NamePrefix deprecated added in v3.27.0

func (o KubernetesOutput) NamePrefix() pulumi.StringPtrOutput

Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0.

func (KubernetesOutput) NatGatewayId added in v3.27.0

func (o KubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (KubernetesOutput) NewNatGateway added in v3.27.0

func (o KubernetesOutput) NewNatGateway() pulumi.BoolPtrOutput

Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.

func (KubernetesOutput) NodeCidrMask added in v3.27.0

func (o KubernetesOutput) NodeCidrMask() pulumi.IntPtrOutput

The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24

func (KubernetesOutput) NodeNameMode added in v3.27.0

func (o KubernetesOutput) NodeNameMode() pulumi.StringOutput

Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.

func (KubernetesOutput) OsType added in v3.27.0

The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.

func (KubernetesOutput) Password added in v3.27.0

The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

func (KubernetesOutput) Platform added in v3.27.0

func (o KubernetesOutput) Platform() pulumi.StringOutput

The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.

func (KubernetesOutput) PodCidr added in v3.27.0

[Flannel Specific] The CIDR block for the pod network when using Flannel.

func (KubernetesOutput) PodVswitchIds added in v3.27.0

func (o KubernetesOutput) PodVswitchIds() pulumi.StringArrayOutput

[Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `podVswitchIds` is not belong to `workerVswitchIds` and `masterVswitchIds` but must be in same availability zones.

func (KubernetesOutput) ProxyMode added in v3.27.0

func (o KubernetesOutput) ProxyMode() pulumi.StringPtrOutput

Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.

func (KubernetesOutput) RdsInstances added in v3.27.0

func (o KubernetesOutput) RdsInstances() pulumi.StringArrayOutput

RDS instance list, You can choose which RDS instances whitelist to add instances to.

func (KubernetesOutput) ResourceGroupId added in v3.27.0

func (o KubernetesOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.

func (KubernetesOutput) RetainResources added in v3.27.0

func (o KubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (KubernetesOutput) Runtime added in v3.27.0

The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.

func (KubernetesOutput) SecurityGroupId added in v3.27.0

func (o KubernetesOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.

func (KubernetesOutput) ServiceAccountIssuer added in v3.27.0

func (o KubernetesOutput) ServiceAccountIssuer() pulumi.StringPtrOutput

The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.

func (KubernetesOutput) ServiceCidr added in v3.27.0

func (o KubernetesOutput) ServiceCidr() pulumi.StringPtrOutput

The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.

func (KubernetesOutput) SlbId added in v3.27.0

The ID of APIServer load balancer.

func (KubernetesOutput) SlbInternet added in v3.27.0

func (o KubernetesOutput) SlbInternet() pulumi.StringOutput

The public ip of load balancer.

func (KubernetesOutput) SlbInternetEnabled added in v3.27.0

func (o KubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

Whether to create internet load balancer for API Server. Default to true.

> **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `podVswitchIds` field and addons with `terway-eniip`. If you want to use `Flannel` as CNI network plugin, You need to specify the `podCidr` field and addons with `flannel`.

*Master params*

func (KubernetesOutput) SlbIntranet added in v3.27.0

func (o KubernetesOutput) SlbIntranet() pulumi.StringOutput

The ID of private load balancer where the current cluster master node is located.

func (KubernetesOutput) Tags added in v3.27.0

Default nil, A map of tags assigned to the kubernetes cluster and work nodes.

func (KubernetesOutput) Timezone added in v3.27.0

When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.

func (KubernetesOutput) ToKubernetesOutput

func (o KubernetesOutput) ToKubernetesOutput() KubernetesOutput

func (KubernetesOutput) ToKubernetesOutputWithContext

func (o KubernetesOutput) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput

func (KubernetesOutput) UserCa added in v3.27.0

The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.

func (KubernetesOutput) Version added in v3.27.0

func (o KubernetesOutput) Version() pulumi.StringOutput

Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.

func (KubernetesOutput) VpcId added in v3.27.0

The ID of VPC where the current cluster is located.

func (KubernetesOutput) WorkerRamRoleName added in v3.27.0

func (o KubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

type KubernetesPermission added in v3.1.0

type KubernetesPermission struct {
	pulumi.CustomResourceState

	// A list of user permission. See `permissions` below.
	Permissions KubernetesPermissionPermissionArrayOutput `pulumi:"permissions"`
	// The ID of the Ram user, and it can also be the id of the Ram Role. If you use Ram Role id, you need to set `isRamRole` to `true` during authorization.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

This resource will help you implement RBAC authorization for the kubernetes cluster, see [What is kubernetes permissions](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/api-grantpermissions).

> **NOTE:** Please make sure that the target RAM user has been granted a RAM policy with at least read-only permission of the target cluster in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error will be returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](https://www.alibabacloud.com/help/doc-detail/86485.htm).

> **NOTE:** If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://www.alibabacloud.com/help/faq-detail/119035.htm).

> **NOTE:** This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.

> **NOTE:** Available since v1.122.0.

func GetKubernetesPermission added in v3.1.0

func GetKubernetesPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KubernetesPermissionState, opts ...pulumi.ResourceOption) (*KubernetesPermission, error)

GetKubernetesPermission gets an existing KubernetesPermission 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 NewKubernetesPermission added in v3.1.0

func NewKubernetesPermission(ctx *pulumi.Context,
	name string, args *KubernetesPermissionArgs, opts ...pulumi.ResourceOption) (*KubernetesPermission, error)

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

func (*KubernetesPermission) ElementType added in v3.1.0

func (*KubernetesPermission) ElementType() reflect.Type

func (*KubernetesPermission) ToKubernetesPermissionOutput added in v3.1.0

func (i *KubernetesPermission) ToKubernetesPermissionOutput() KubernetesPermissionOutput

func (*KubernetesPermission) ToKubernetesPermissionOutputWithContext added in v3.1.0

func (i *KubernetesPermission) ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput

type KubernetesPermissionArgs added in v3.1.0

type KubernetesPermissionArgs struct {
	// A list of user permission. See `permissions` below.
	Permissions KubernetesPermissionPermissionArrayInput
	// The ID of the Ram user, and it can also be the id of the Ram Role. If you use Ram Role id, you need to set `isRamRole` to `true` during authorization.
	Uid pulumi.StringInput
}

The set of arguments for constructing a KubernetesPermission resource.

func (KubernetesPermissionArgs) ElementType added in v3.1.0

func (KubernetesPermissionArgs) ElementType() reflect.Type

type KubernetesPermissionArray added in v3.1.0

type KubernetesPermissionArray []KubernetesPermissionInput

func (KubernetesPermissionArray) ElementType added in v3.1.0

func (KubernetesPermissionArray) ElementType() reflect.Type

func (KubernetesPermissionArray) ToKubernetesPermissionArrayOutput added in v3.1.0

func (i KubernetesPermissionArray) ToKubernetesPermissionArrayOutput() KubernetesPermissionArrayOutput

func (KubernetesPermissionArray) ToKubernetesPermissionArrayOutputWithContext added in v3.1.0

func (i KubernetesPermissionArray) ToKubernetesPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionArrayOutput

type KubernetesPermissionArrayInput added in v3.1.0

type KubernetesPermissionArrayInput interface {
	pulumi.Input

	ToKubernetesPermissionArrayOutput() KubernetesPermissionArrayOutput
	ToKubernetesPermissionArrayOutputWithContext(context.Context) KubernetesPermissionArrayOutput
}

KubernetesPermissionArrayInput is an input type that accepts KubernetesPermissionArray and KubernetesPermissionArrayOutput values. You can construct a concrete instance of `KubernetesPermissionArrayInput` via:

KubernetesPermissionArray{ KubernetesPermissionArgs{...} }

type KubernetesPermissionArrayOutput added in v3.1.0

type KubernetesPermissionArrayOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionArrayOutput) ElementType added in v3.1.0

func (KubernetesPermissionArrayOutput) Index added in v3.1.0

func (KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutput added in v3.1.0

func (o KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutput() KubernetesPermissionArrayOutput

func (KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutputWithContext added in v3.1.0

func (o KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionArrayOutput

type KubernetesPermissionInput added in v3.1.0

type KubernetesPermissionInput interface {
	pulumi.Input

	ToKubernetesPermissionOutput() KubernetesPermissionOutput
	ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput
}

type KubernetesPermissionMap added in v3.1.0

type KubernetesPermissionMap map[string]KubernetesPermissionInput

func (KubernetesPermissionMap) ElementType added in v3.1.0

func (KubernetesPermissionMap) ElementType() reflect.Type

func (KubernetesPermissionMap) ToKubernetesPermissionMapOutput added in v3.1.0

func (i KubernetesPermissionMap) ToKubernetesPermissionMapOutput() KubernetesPermissionMapOutput

func (KubernetesPermissionMap) ToKubernetesPermissionMapOutputWithContext added in v3.1.0

func (i KubernetesPermissionMap) ToKubernetesPermissionMapOutputWithContext(ctx context.Context) KubernetesPermissionMapOutput

type KubernetesPermissionMapInput added in v3.1.0

type KubernetesPermissionMapInput interface {
	pulumi.Input

	ToKubernetesPermissionMapOutput() KubernetesPermissionMapOutput
	ToKubernetesPermissionMapOutputWithContext(context.Context) KubernetesPermissionMapOutput
}

KubernetesPermissionMapInput is an input type that accepts KubernetesPermissionMap and KubernetesPermissionMapOutput values. You can construct a concrete instance of `KubernetesPermissionMapInput` via:

KubernetesPermissionMap{ "key": KubernetesPermissionArgs{...} }

type KubernetesPermissionMapOutput added in v3.1.0

type KubernetesPermissionMapOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionMapOutput) ElementType added in v3.1.0

func (KubernetesPermissionMapOutput) MapIndex added in v3.1.0

func (KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutput added in v3.1.0

func (o KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutput() KubernetesPermissionMapOutput

func (KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutputWithContext added in v3.1.0

func (o KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutputWithContext(ctx context.Context) KubernetesPermissionMapOutput

type KubernetesPermissionOutput added in v3.1.0

type KubernetesPermissionOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionOutput) ElementType added in v3.1.0

func (KubernetesPermissionOutput) ElementType() reflect.Type

func (KubernetesPermissionOutput) Permissions added in v3.27.0

A list of user permission. See `permissions` below.

func (KubernetesPermissionOutput) ToKubernetesPermissionOutput added in v3.1.0

func (o KubernetesPermissionOutput) ToKubernetesPermissionOutput() KubernetesPermissionOutput

func (KubernetesPermissionOutput) ToKubernetesPermissionOutputWithContext added in v3.1.0

func (o KubernetesPermissionOutput) ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput

func (KubernetesPermissionOutput) Uid added in v3.27.0

The ID of the Ram user, and it can also be the id of the Ram Role. If you use Ram Role id, you need to set `isRamRole` to `true` during authorization.

type KubernetesPermissionPermission added in v3.1.0

type KubernetesPermissionPermission struct {
	// The ID of the cluster that you want to manage, When `roleType` value is `all-clusters`, the value of `cluster` must be `""`.
	Cluster string `pulumi:"cluster"`
	// Specifies whether to perform a custom authorization. To perform a custom authorization, the value of `isCustom` must be `true`, and set `roleName` to a custom cluster role.
	IsCustom *bool `pulumi:"isCustom"`
	// Specifies whether the permissions are granted to a RAM role. When `uid` is ram role id, the value of `isRamRole` must be `true`.
	IsRamRole *bool `pulumi:"isRamRole"`
	// The namespace to which the permissions are scoped. This parameter is required only if you set roleType to namespace.
	Namespace *string `pulumi:"namespace"`
	// Specifies the predefined role that you want to assign. Valid values `admin`, `ops`, `dev`, `restricted` and the custom cluster roles.
	RoleName string `pulumi:"roleName"`
	// The authorization type. Valid values `cluster`, `namespace` and `all-clusters`.
	RoleType string `pulumi:"roleType"`
}

type KubernetesPermissionPermissionArgs added in v3.1.0

type KubernetesPermissionPermissionArgs struct {
	// The ID of the cluster that you want to manage, When `roleType` value is `all-clusters`, the value of `cluster` must be `""`.
	Cluster pulumi.StringInput `pulumi:"cluster"`
	// Specifies whether to perform a custom authorization. To perform a custom authorization, the value of `isCustom` must be `true`, and set `roleName` to a custom cluster role.
	IsCustom pulumi.BoolPtrInput `pulumi:"isCustom"`
	// Specifies whether the permissions are granted to a RAM role. When `uid` is ram role id, the value of `isRamRole` must be `true`.
	IsRamRole pulumi.BoolPtrInput `pulumi:"isRamRole"`
	// The namespace to which the permissions are scoped. This parameter is required only if you set roleType to namespace.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Specifies the predefined role that you want to assign. Valid values `admin`, `ops`, `dev`, `restricted` and the custom cluster roles.
	RoleName pulumi.StringInput `pulumi:"roleName"`
	// The authorization type. Valid values `cluster`, `namespace` and `all-clusters`.
	RoleType pulumi.StringInput `pulumi:"roleType"`
}

func (KubernetesPermissionPermissionArgs) ElementType added in v3.1.0

func (KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutput added in v3.1.0

func (i KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutput() KubernetesPermissionPermissionOutput

func (KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutputWithContext added in v3.1.0

func (i KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutputWithContext(ctx context.Context) KubernetesPermissionPermissionOutput

type KubernetesPermissionPermissionArray added in v3.1.0

type KubernetesPermissionPermissionArray []KubernetesPermissionPermissionInput

func (KubernetesPermissionPermissionArray) ElementType added in v3.1.0

func (KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutput added in v3.1.0

func (i KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutput() KubernetesPermissionPermissionArrayOutput

func (KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutputWithContext added in v3.1.0

func (i KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionPermissionArrayOutput

type KubernetesPermissionPermissionArrayInput added in v3.1.0

type KubernetesPermissionPermissionArrayInput interface {
	pulumi.Input

	ToKubernetesPermissionPermissionArrayOutput() KubernetesPermissionPermissionArrayOutput
	ToKubernetesPermissionPermissionArrayOutputWithContext(context.Context) KubernetesPermissionPermissionArrayOutput
}

KubernetesPermissionPermissionArrayInput is an input type that accepts KubernetesPermissionPermissionArray and KubernetesPermissionPermissionArrayOutput values. You can construct a concrete instance of `KubernetesPermissionPermissionArrayInput` via:

KubernetesPermissionPermissionArray{ KubernetesPermissionPermissionArgs{...} }

type KubernetesPermissionPermissionArrayOutput added in v3.1.0

type KubernetesPermissionPermissionArrayOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionPermissionArrayOutput) ElementType added in v3.1.0

func (KubernetesPermissionPermissionArrayOutput) Index added in v3.1.0

func (KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutput added in v3.1.0

func (o KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutput() KubernetesPermissionPermissionArrayOutput

func (KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutputWithContext added in v3.1.0

func (o KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionPermissionArrayOutput

type KubernetesPermissionPermissionInput added in v3.1.0

type KubernetesPermissionPermissionInput interface {
	pulumi.Input

	ToKubernetesPermissionPermissionOutput() KubernetesPermissionPermissionOutput
	ToKubernetesPermissionPermissionOutputWithContext(context.Context) KubernetesPermissionPermissionOutput
}

KubernetesPermissionPermissionInput is an input type that accepts KubernetesPermissionPermissionArgs and KubernetesPermissionPermissionOutput values. You can construct a concrete instance of `KubernetesPermissionPermissionInput` via:

KubernetesPermissionPermissionArgs{...}

type KubernetesPermissionPermissionOutput added in v3.1.0

type KubernetesPermissionPermissionOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionPermissionOutput) Cluster added in v3.1.0

The ID of the cluster that you want to manage, When `roleType` value is `all-clusters`, the value of `cluster` must be `""`.

func (KubernetesPermissionPermissionOutput) ElementType added in v3.1.0

func (KubernetesPermissionPermissionOutput) IsCustom added in v3.1.0

Specifies whether to perform a custom authorization. To perform a custom authorization, the value of `isCustom` must be `true`, and set `roleName` to a custom cluster role.

func (KubernetesPermissionPermissionOutput) IsRamRole added in v3.1.0

Specifies whether the permissions are granted to a RAM role. When `uid` is ram role id, the value of `isRamRole` must be `true`.

func (KubernetesPermissionPermissionOutput) Namespace added in v3.1.0

The namespace to which the permissions are scoped. This parameter is required only if you set roleType to namespace.

func (KubernetesPermissionPermissionOutput) RoleName added in v3.1.0

Specifies the predefined role that you want to assign. Valid values `admin`, `ops`, `dev`, `restricted` and the custom cluster roles.

func (KubernetesPermissionPermissionOutput) RoleType added in v3.1.0

The authorization type. Valid values `cluster`, `namespace` and `all-clusters`.

func (KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutput added in v3.1.0

func (o KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutput() KubernetesPermissionPermissionOutput

func (KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutputWithContext added in v3.1.0

func (o KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutputWithContext(ctx context.Context) KubernetesPermissionPermissionOutput

type KubernetesPermissionState added in v3.1.0

type KubernetesPermissionState struct {
	// A list of user permission. See `permissions` below.
	Permissions KubernetesPermissionPermissionArrayInput
	// The ID of the Ram user, and it can also be the id of the Ram Role. If you use Ram Role id, you need to set `isRamRole` to `true` during authorization.
	Uid pulumi.StringPtrInput
}

func (KubernetesPermissionState) ElementType added in v3.1.0

func (KubernetesPermissionState) ElementType() reflect.Type

type KubernetesRuntime

type KubernetesRuntime struct {
	// The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
	Name *string `pulumi:"name"`
	// The version of the runtime.
	//
	// The following example is the definition of runtime block:
	Version *string `pulumi:"version"`
}

type KubernetesRuntimeArgs

type KubernetesRuntimeArgs struct {
	// The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The version of the runtime.
	//
	// The following example is the definition of runtime block:
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (KubernetesRuntimeArgs) ElementType

func (KubernetesRuntimeArgs) ElementType() reflect.Type

func (KubernetesRuntimeArgs) ToKubernetesRuntimeOutput

func (i KubernetesRuntimeArgs) ToKubernetesRuntimeOutput() KubernetesRuntimeOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimeOutputWithContext

func (i KubernetesRuntimeArgs) ToKubernetesRuntimeOutputWithContext(ctx context.Context) KubernetesRuntimeOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutput

func (i KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutputWithContext

func (i KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutputWithContext(ctx context.Context) KubernetesRuntimePtrOutput

type KubernetesRuntimeInput

type KubernetesRuntimeInput interface {
	pulumi.Input

	ToKubernetesRuntimeOutput() KubernetesRuntimeOutput
	ToKubernetesRuntimeOutputWithContext(context.Context) KubernetesRuntimeOutput
}

KubernetesRuntimeInput is an input type that accepts KubernetesRuntimeArgs and KubernetesRuntimeOutput values. You can construct a concrete instance of `KubernetesRuntimeInput` via:

KubernetesRuntimeArgs{...}

type KubernetesRuntimeOutput

type KubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (KubernetesRuntimeOutput) ElementType

func (KubernetesRuntimeOutput) ElementType() reflect.Type

func (KubernetesRuntimeOutput) Name

The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.

func (KubernetesRuntimeOutput) ToKubernetesRuntimeOutput

func (o KubernetesRuntimeOutput) ToKubernetesRuntimeOutput() KubernetesRuntimeOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimeOutputWithContext

func (o KubernetesRuntimeOutput) ToKubernetesRuntimeOutputWithContext(ctx context.Context) KubernetesRuntimeOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutput

func (o KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutputWithContext

func (o KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutputWithContext(ctx context.Context) KubernetesRuntimePtrOutput

func (KubernetesRuntimeOutput) Version

The version of the runtime.

The following example is the definition of runtime block:

type KubernetesRuntimePtrInput

type KubernetesRuntimePtrInput interface {
	pulumi.Input

	ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput
	ToKubernetesRuntimePtrOutputWithContext(context.Context) KubernetesRuntimePtrOutput
}

KubernetesRuntimePtrInput is an input type that accepts KubernetesRuntimeArgs, KubernetesRuntimePtr and KubernetesRuntimePtrOutput values. You can construct a concrete instance of `KubernetesRuntimePtrInput` via:

        KubernetesRuntimeArgs{...}

or:

        nil

type KubernetesRuntimePtrOutput

type KubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (KubernetesRuntimePtrOutput) Elem

func (KubernetesRuntimePtrOutput) ElementType

func (KubernetesRuntimePtrOutput) ElementType() reflect.Type

func (KubernetesRuntimePtrOutput) Name

The name of the runtime. Supported runtimes can be queried by data source alicloud_cs_kubernetes_version.

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput

func (o KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutputWithContext

func (o KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutputWithContext(ctx context.Context) KubernetesRuntimePtrOutput

func (KubernetesRuntimePtrOutput) Version

The version of the runtime.

The following example is the definition of runtime block:

type KubernetesState

type KubernetesState struct {
	// The addon you want to install in cluster. See `addons` below.
	//
	// *Network params*
	Addons KubernetesAddonTypeArrayInput
	// A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["https://kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature requires specifying `serviceAccountIssuer` as well. From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ApiAudiences pulumi.StringArrayInput
	// (Map, Available since v1.105.0) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority KubernetesCertificateAuthorityPtrInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	//
	// *Removed params*
	ClusterCaCert pulumi.StringPtrInput
	// Cluster local domain name, Default to `cluster.local`. A domain name consists of one or more sections separated by a decimal point (.), each of which is up to 63 characters long, and can be lowercase, numerals, and underscores (-), and must be lowercase or numerals at the beginning and end.
	ClusterDomain pulumi.StringPtrInput
	// (Map) Map of kubernetes cluster connection information.
	Connections KubernetesConnectionsPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Delete options, only work for deleting resource. Make sure you have run `pulumi up` to make the configuration applied. See `deleteOptions` below.
	DeleteOptions KubernetesDeleteOptionArrayInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Enable login to the node through SSH. Default to `false`.
	EnableSsh pulumi.BoolPtrInput
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// Install cloud monitor agent on ECS. Default to `true`.
	InstallCloudMonitor pulumi.BoolPtrInput
	// Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm).
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	// The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// The cluster api server load balance instance specification, default `slb.s1.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringPtrInput
	// Enable master payment auto-renew, defaults to false.
	MasterAutoRenew pulumi.BoolPtrInput
	// Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	MasterAutoRenewPeriod pulumi.IntPtrInput
	// The system disk category of master node. Its valid value are `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	MasterDiskCategory pulumi.StringPtrInput
	// Master node system disk performance level. When `masterDiskCategory` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	MasterDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrInput
	// Master node system disk auto snapshot policy.
	//
	// *Computed params*
	MasterDiskSnapshotPolicyId pulumi.StringPtrInput
	// Master payment type. or `PostPaid` or `PrePaid`, defaults to `PostPaid`. If value is `PrePaid`, the files `masterPeriod`, `masterPeriodUnit`, `masterAutoRenew` and `masterAutoRenewPeriod` are required.
	MasterInstanceChargeType pulumi.StringPtrInput
	// The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	MasterInstanceTypes pulumi.StringArrayInput
	// (Optional) The master nodes. See `masterNodes` below.
	MasterNodes KubernetesMasterNodeArrayInput
	// Master payment period.Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	MasterPeriod pulumi.IntPtrInput
	// Master payment period unit, the valid value is `Month`.
	MasterPeriodUnit pulumi.StringPtrInput
	// The vswitches used by master, you can specific 3 or 5 vswitches because of the amount of masters. Detailed below.
	MasterVswitchIds pulumi.StringArrayInput
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput
	// Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0.
	NamePrefix pulumi.StringPtrInput
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. Your cluster nodes and applications will have public network access. If there is a NAT gateway in the selected VPC, ACK will use this gateway by default; if there is no NAT gateway in the selected VPC, ACK will create a new NAT gateway for you and automatically configure SNAT rules.
	NewNatGateway pulumi.BoolPtrInput
	// The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24
	NodeCidrMask pulumi.IntPtrInput
	// Each node name consists of a prefix, an IP substring, and a suffix, the input format is `customized,<prefix>,IPSubStringLen,<suffix>`. For example "customized,aliyun.com-,5,-test", if the node IP address is 192.168.59.176, the prefix is aliyun.com-, IP substring length is 5, and the suffix is -test, the node name will be aliyun.com-59176-test.
	NodeNameMode pulumi.StringPtrInput
	// The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	OsType pulumi.StringPtrInput
	// The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	Platform pulumi.StringPtrInput
	// [Flannel Specific] The CIDR block for the pod network when using Flannel.
	PodCidr pulumi.StringPtrInput
	// [Terway Specific] The vswitches for the pod network when using Terway. It is recommended that `podVswitchIds` is not belong to `workerVswitchIds` and `masterVswitchIds` but must be in same availability zones.
	PodVswitchIds pulumi.StringArrayInput
	// Proxy mode is option of kube-proxy. options: iptables | ipvs. default: ipvs.
	ProxyMode pulumi.StringPtrInput
	// RDS instance list, You can choose which RDS instances whitelist to add instances to.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// The runtime of containers. If you select another container runtime, see [How do I select between Docker and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm?spm=a2c63.p38356.b99.440.22563866AJkBgI). See `runtime` below.
	Runtime KubernetesRuntimePtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"https://kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). From cluster version 1.22+, Service Account Token Volume Projection will be enabled by default.
	ServiceAccountIssuer pulumi.StringPtrInput
	// The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation.
	ServiceCidr pulumi.StringPtrInput
	// The ID of APIServer load balancer.
	SlbId pulumi.StringPtrInput
	// The public ip of load balancer.
	SlbInternet pulumi.StringPtrInput
	// Whether to create internet load balancer for API Server. Default to true.
	//
	// > **NOTE:** If you want to use `Terway` as CNI network plugin, You need to specify the `podVswitchIds` field and addons with `terway-eniip`.
	// If you want to use `Flannel` as CNI network plugin, You need to specify the `podCidr` field and addons with `flannel`.
	//
	// *Master params*
	SlbInternetEnabled pulumi.BoolPtrInput
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapInput
	// When you create a cluster, set the time zones for the Master and Worker nodes. You can only change the managed node time zone if you create a cluster. Once the cluster is created, you can only change the time zone of the Worker node.
	Timezone pulumi.StringPtrInput
	// The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.
	UserCa pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK.
	Version pulumi.StringPtrInput
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
}

func (KubernetesState) ElementType

func (KubernetesState) ElementType() reflect.Type

type LookupKubernetesPermissionArgs added in v3.1.0

type LookupKubernetesPermissionArgs struct {
	// The ID of the RAM user. If you want to query the permissions of a RAM role, specify the ID of the RAM role.
	Uid string `pulumi:"uid"`
}

A collection of arguments for invoking getKubernetesPermission.

type LookupKubernetesPermissionOutputArgs added in v3.9.0

type LookupKubernetesPermissionOutputArgs struct {
	// The ID of the RAM user. If you want to query the permissions of a RAM role, specify the ID of the RAM role.
	Uid pulumi.StringInput `pulumi:"uid"`
}

A collection of arguments for invoking getKubernetesPermission.

func (LookupKubernetesPermissionOutputArgs) ElementType added in v3.9.0

type LookupKubernetesPermissionResult added in v3.1.0

type LookupKubernetesPermissionResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of user permission. See `permissions` below.
	Permissions []GetKubernetesPermissionPermission `pulumi:"permissions"`
	// The ID of the RAM user. If you want to query the permissions of a RAM role, specify the ID of the RAM role.
	Uid string `pulumi:"uid"`
}

A collection of values returned by getKubernetesPermission.

func LookupKubernetesPermission added in v3.1.0

func LookupKubernetesPermission(ctx *pulumi.Context, args *LookupKubernetesPermissionArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesPermissionResult, error)

This data source provides a list of Ram user permissions.

> **NOTE:** Available since v1.122.0.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ram"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		_default, err := ram.GetUsers(ctx, nil, nil)
		if err != nil {
			return err
		}
		// permissions
		defaultGetKubernetesPermission, err := cs.LookupKubernetesPermission(ctx, &cs.LookupKubernetesPermissionArgs{
			Uid: _default.Users[0].Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("permissions", defaultGetKubernetesPermission.Permissions)
		return nil
	})
}

```

type LookupKubernetesPermissionResultOutput added in v3.9.0

type LookupKubernetesPermissionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesPermission.

func (LookupKubernetesPermissionResultOutput) ElementType added in v3.9.0

func (LookupKubernetesPermissionResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (LookupKubernetesPermissionResultOutput) Permissions added in v3.9.0

A list of user permission. See `permissions` below.

func (LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutput added in v3.9.0

func (o LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutput() LookupKubernetesPermissionResultOutput

func (LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutputWithContext added in v3.9.0

func (o LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutputWithContext(ctx context.Context) LookupKubernetesPermissionResultOutput

func (LookupKubernetesPermissionResultOutput) Uid added in v3.9.0

The ID of the RAM user. If you want to query the permissions of a RAM role, specify the ID of the RAM role.

type ManagedKubernetes

type ManagedKubernetes struct {
	pulumi.CustomResourceState

	Addons       ManagedKubernetesAddonArrayOutput `pulumi:"addons"`
	ApiAudiences pulumi.StringArrayOutput          `pulumi:"apiAudiences"`
	// (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority ManagedKubernetesCertificateAuthorityOutput `pulumi:"certificateAuthority"`
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
	ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"`
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
	ClientKey     pulumi.StringPtrOutput `pulumi:"clientKey"`
	ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"`
	// cluster local domain
	ClusterDomain pulumi.StringPtrOutput `pulumi:"clusterDomain"`
	ClusterSpec   pulumi.StringOutput    `pulumi:"clusterSpec"`
	// Map of kubernetes cluster connection information.
	Connections               ManagedKubernetesConnectionsOutput       `pulumi:"connections"`
	ControlPlaneLogComponents pulumi.StringArrayOutput                 `pulumi:"controlPlaneLogComponents"`
	ControlPlaneLogProject    pulumi.StringOutput                      `pulumi:"controlPlaneLogProject"`
	ControlPlaneLogTtl        pulumi.StringOutput                      `pulumi:"controlPlaneLogTtl"`
	CustomSan                 pulumi.StringPtrOutput                   `pulumi:"customSan"`
	DeleteOptions             ManagedKubernetesDeleteOptionArrayOutput `pulumi:"deleteOptions"`
	DeletionProtection        pulumi.BoolPtrOutput                     `pulumi:"deletionProtection"`
	EnableRrsa                pulumi.BoolPtrOutput                     `pulumi:"enableRrsa"`
	// disk encryption key, only in ack-pro
	EncryptionProviderKey     pulumi.StringPtrOutput                   `pulumi:"encryptionProviderKey"`
	IsEnterpriseSecurityGroup pulumi.BoolOutput                        `pulumi:"isEnterpriseSecurityGroup"`
	LoadBalancerSpec          pulumi.StringPtrOutput                   `pulumi:"loadBalancerSpec"`
	MaintenanceWindow         ManagedKubernetesMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// Node name.
	Name       pulumi.StringOutput    `pulumi:"name"`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId    pulumi.StringOutput      `pulumi:"natGatewayId"`
	NewNatGateway   pulumi.BoolPtrOutput     `pulumi:"newNatGateway"`
	NodeCidrMask    pulumi.IntPtrOutput      `pulumi:"nodeCidrMask"`
	PodCidr         pulumi.StringPtrOutput   `pulumi:"podCidr"`
	PodVswitchIds   pulumi.StringArrayOutput `pulumi:"podVswitchIds"`
	ProxyMode       pulumi.StringPtrOutput   `pulumi:"proxyMode"`
	ResourceGroupId pulumi.StringOutput      `pulumi:"resourceGroupId"`
	RetainResources pulumi.StringArrayOutput `pulumi:"retainResources"`
	// (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	RrsaMetadata         ManagedKubernetesRrsaMetadataOutput `pulumi:"rrsaMetadata"`
	SecurityGroupId      pulumi.StringOutput                 `pulumi:"securityGroupId"`
	ServiceAccountIssuer pulumi.StringPtrOutput              `pulumi:"serviceAccountIssuer"`
	ServiceCidr          pulumi.StringPtrOutput              `pulumi:"serviceCidr"`
	// The ID of APIServer load balancer.
	SlbId pulumi.StringOutput `pulumi:"slbId"`
	// The public ip of load balancer.
	SlbInternet        pulumi.StringOutput  `pulumi:"slbInternet"`
	SlbInternetEnabled pulumi.BoolPtrOutput `pulumi:"slbInternetEnabled"`
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringOutput    `pulumi:"slbIntranet"`
	Tags        pulumi.MapOutput       `pulumi:"tags"`
	Timezone    pulumi.StringPtrOutput `pulumi:"timezone"`
	UserCa      pulumi.StringPtrOutput `pulumi:"userCa"`
	Version     pulumi.StringOutput    `pulumi:"version"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput      `pulumi:"workerRamRoleName"`
	WorkerVswitchIds  pulumi.StringArrayOutput `pulumi:"workerVswitchIds"`
}

This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.

> **NOTE:** Available since v1.26.0.

> **NOTE:** It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes.

> **NOTE:** Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set `newNatGateway` to "true" to create one automatically.

> **NOTE:** Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.

> **NOTE:** From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.

> **NOTE:** From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting `false` to `slbInternetEnabled`.

> **NOTE:** If you want to manage Kubernetes, you can use Kubernetes Provider.

> **NOTE:** You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the `Authorization management` and `Cluster management` sections in the [Document Center](https://www.alibabacloud.com/help/doc-detail/86488.htm).

> **NOTE:** From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.

> **NOTE:** From version 1.120.0, Support for cluster migration from Standard cluster to professional.

> **NOTE:** From version 1.177.0+, `runtime`,`enableSsh`,`rdsInstances`,`excludeAutoscalerNodes`,`workerNumber`,`workerInstanceTypes`,`password`,`keyName`,`kmsEncryptedPassword`,`kmsEncryptionContext`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodeNameMode`,`nodePortRange`,`osType`,`platform`,`imageId`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId`,`installCloudMonitor` are deprecated. We Suggest you using resource **`cs.NodePool`** to manage your cluster worker nodes.

> **NOTE:** From version 1.212.0, `runtime`,`enableSsh`,`rdsInstances`,`excludeAutoscalerNodes`,`workerNumber`,`workerInstanceTypes`,`password`,`keyName`,`kmsEncryptedPassword`,`kmsEncryptionContext`,`workerInstanceChargeType`,`workerPeriod`,`workerPeriodUnit`,`workerAutoRenew`,`workerAutoRenewPeriod`,`workerDiskCategory`,`workerDiskSize`,`workerDataDisks`,`nodeNameMode`,`nodePortRange`,`osType`,`platform`,`imageId`,`cpuPolicy`,`userData`,`taints`,`workerDiskPerformanceLevel`,`workerDiskSnapshotPolicyId`,`installCloudMonitor`,`kubeConfig`,`availabilityZone` are removed. Please use resource **`cs.NodePool`** to manage your cluster worker nodes.

## Import

Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.

```sh $ pulumi import alicloud:cs/managedKubernetes:ManagedKubernetes main cluster_id ```

func GetManagedKubernetes

func GetManagedKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ManagedKubernetesState, opts ...pulumi.ResourceOption) (*ManagedKubernetes, error)

GetManagedKubernetes gets an existing ManagedKubernetes 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 NewManagedKubernetes

func NewManagedKubernetes(ctx *pulumi.Context,
	name string, args *ManagedKubernetesArgs, opts ...pulumi.ResourceOption) (*ManagedKubernetes, error)

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

func (*ManagedKubernetes) ElementType

func (*ManagedKubernetes) ElementType() reflect.Type

func (*ManagedKubernetes) ToManagedKubernetesOutput

func (i *ManagedKubernetes) ToManagedKubernetesOutput() ManagedKubernetesOutput

func (*ManagedKubernetes) ToManagedKubernetesOutputWithContext

func (i *ManagedKubernetes) ToManagedKubernetesOutputWithContext(ctx context.Context) ManagedKubernetesOutput

type ManagedKubernetesAddon

type ManagedKubernetesAddon struct {
	// If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
	Config *string `pulumi:"config"`
	// It specifies whether to disable automatic installation.
	//
	// It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
	//
	// You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
	//
	// `logtail-ds` - You can specify `IngressDashboardEnabled` and `slsProjectName` in config. If you switch on `IngressDashboardEnabled` and `slsProjectName`,then logtail-ds would use `slsProjectName` as default log store.
	//
	// `nginx-ingress-controller` - You can specific `IngressSlbNetworkType` in config. Options: internet|intranet.
	//
	// The `main.tf`:
	Disabled *bool `pulumi:"disabled"`
	// This parameter specifies the name of the component.
	Name *string `pulumi:"name"`
	// It specifies the version of the component.
	Version *string `pulumi:"version"`
}

type ManagedKubernetesAddonArgs

type ManagedKubernetesAddonArgs struct {
	// If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
	Config pulumi.StringPtrInput `pulumi:"config"`
	// It specifies whether to disable automatic installation.
	//
	// It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.
	//
	// You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.
	//
	// `logtail-ds` - You can specify `IngressDashboardEnabled` and `slsProjectName` in config. If you switch on `IngressDashboardEnabled` and `slsProjectName`,then logtail-ds would use `slsProjectName` as default log store.
	//
	// `nginx-ingress-controller` - You can specific `IngressSlbNetworkType` in config. Options: internet|intranet.
	//
	// The `main.tf`:
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// This parameter specifies the name of the component.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// It specifies the version of the component.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ManagedKubernetesAddonArgs) ElementType

func (ManagedKubernetesAddonArgs) ElementType() reflect.Type

func (ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutput

func (i ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput

func (ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutputWithContext

func (i ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput

type ManagedKubernetesAddonArray

type ManagedKubernetesAddonArray []ManagedKubernetesAddonInput

func (ManagedKubernetesAddonArray) ElementType

func (ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutput

func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput

func (ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutputWithContext

func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput

type ManagedKubernetesAddonArrayInput

type ManagedKubernetesAddonArrayInput interface {
	pulumi.Input

	ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput
	ToManagedKubernetesAddonArrayOutputWithContext(context.Context) ManagedKubernetesAddonArrayOutput
}

ManagedKubernetesAddonArrayInput is an input type that accepts ManagedKubernetesAddonArray and ManagedKubernetesAddonArrayOutput values. You can construct a concrete instance of `ManagedKubernetesAddonArrayInput` via:

ManagedKubernetesAddonArray{ ManagedKubernetesAddonArgs{...} }

type ManagedKubernetesAddonArrayOutput

type ManagedKubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesAddonArrayOutput) ElementType

func (ManagedKubernetesAddonArrayOutput) Index

func (ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutput

func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput

func (ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutputWithContext

func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput

type ManagedKubernetesAddonInput

type ManagedKubernetesAddonInput interface {
	pulumi.Input

	ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput
	ToManagedKubernetesAddonOutputWithContext(context.Context) ManagedKubernetesAddonOutput
}

ManagedKubernetesAddonInput is an input type that accepts ManagedKubernetesAddonArgs and ManagedKubernetesAddonOutput values. You can construct a concrete instance of `ManagedKubernetesAddonInput` via:

ManagedKubernetesAddonArgs{...}

type ManagedKubernetesAddonOutput

type ManagedKubernetesAddonOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesAddonOutput) Config

If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.

func (ManagedKubernetesAddonOutput) Disabled

It specifies whether to disable automatic installation.

It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

`logtail-ds` - You can specify `IngressDashboardEnabled` and `slsProjectName` in config. If you switch on `IngressDashboardEnabled` and `slsProjectName`,then logtail-ds would use `slsProjectName` as default log store.

`nginx-ingress-controller` - You can specific `IngressSlbNetworkType` in config. Options: internet|intranet.

The `main.tf`:

func (ManagedKubernetesAddonOutput) ElementType

func (ManagedKubernetesAddonOutput) Name

This parameter specifies the name of the component.

func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput

func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput

func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext

func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput

func (ManagedKubernetesAddonOutput) Version added in v3.45.0

It specifies the version of the component.

type ManagedKubernetesArgs

type ManagedKubernetesArgs struct {
	Addons       ManagedKubernetesAddonArrayInput
	ApiAudiences pulumi.StringArrayInput
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
	ClientCert pulumi.StringPtrInput
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
	ClientKey     pulumi.StringPtrInput
	ClusterCaCert pulumi.StringPtrInput
	// cluster local domain
	ClusterDomain             pulumi.StringPtrInput
	ClusterSpec               pulumi.StringPtrInput
	ControlPlaneLogComponents pulumi.StringArrayInput
	ControlPlaneLogProject    pulumi.StringPtrInput
	ControlPlaneLogTtl        pulumi.StringPtrInput
	CustomSan                 pulumi.StringPtrInput
	DeleteOptions             ManagedKubernetesDeleteOptionArrayInput
	DeletionProtection        pulumi.BoolPtrInput
	EnableRrsa                pulumi.BoolPtrInput
	// disk encryption key, only in ack-pro
	EncryptionProviderKey     pulumi.StringPtrInput
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	LoadBalancerSpec          pulumi.StringPtrInput
	MaintenanceWindow         ManagedKubernetesMaintenanceWindowPtrInput
	// Node name.
	Name                 pulumi.StringPtrInput
	NamePrefix           pulumi.StringPtrInput
	NewNatGateway        pulumi.BoolPtrInput
	NodeCidrMask         pulumi.IntPtrInput
	PodCidr              pulumi.StringPtrInput
	PodVswitchIds        pulumi.StringArrayInput
	ProxyMode            pulumi.StringPtrInput
	ResourceGroupId      pulumi.StringPtrInput
	RetainResources      pulumi.StringArrayInput
	SecurityGroupId      pulumi.StringPtrInput
	ServiceAccountIssuer pulumi.StringPtrInput
	ServiceCidr          pulumi.StringPtrInput
	SlbInternetEnabled   pulumi.BoolPtrInput
	Tags                 pulumi.MapInput
	Timezone             pulumi.StringPtrInput
	UserCa               pulumi.StringPtrInput
	Version              pulumi.StringPtrInput
	WorkerVswitchIds     pulumi.StringArrayInput
}

The set of arguments for constructing a ManagedKubernetes resource.

func (ManagedKubernetesArgs) ElementType

func (ManagedKubernetesArgs) ElementType() reflect.Type

type ManagedKubernetesArray

type ManagedKubernetesArray []ManagedKubernetesInput

func (ManagedKubernetesArray) ElementType

func (ManagedKubernetesArray) ElementType() reflect.Type

func (ManagedKubernetesArray) ToManagedKubernetesArrayOutput

func (i ManagedKubernetesArray) ToManagedKubernetesArrayOutput() ManagedKubernetesArrayOutput

func (ManagedKubernetesArray) ToManagedKubernetesArrayOutputWithContext

func (i ManagedKubernetesArray) ToManagedKubernetesArrayOutputWithContext(ctx context.Context) ManagedKubernetesArrayOutput

type ManagedKubernetesArrayInput

type ManagedKubernetesArrayInput interface {
	pulumi.Input

	ToManagedKubernetesArrayOutput() ManagedKubernetesArrayOutput
	ToManagedKubernetesArrayOutputWithContext(context.Context) ManagedKubernetesArrayOutput
}

ManagedKubernetesArrayInput is an input type that accepts ManagedKubernetesArray and ManagedKubernetesArrayOutput values. You can construct a concrete instance of `ManagedKubernetesArrayInput` via:

ManagedKubernetesArray{ ManagedKubernetesArgs{...} }

type ManagedKubernetesArrayOutput

type ManagedKubernetesArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesArrayOutput) ElementType

func (ManagedKubernetesArrayOutput) Index

func (ManagedKubernetesArrayOutput) ToManagedKubernetesArrayOutput

func (o ManagedKubernetesArrayOutput) ToManagedKubernetesArrayOutput() ManagedKubernetesArrayOutput

func (ManagedKubernetesArrayOutput) ToManagedKubernetesArrayOutputWithContext

func (o ManagedKubernetesArrayOutput) ToManagedKubernetesArrayOutputWithContext(ctx context.Context) ManagedKubernetesArrayOutput

type ManagedKubernetesCertificateAuthority

type ManagedKubernetesCertificateAuthority struct {
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
	ClientCert *string `pulumi:"clientCert"`
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
	ClientKey *string `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert *string `pulumi:"clusterCert"`
}

type ManagedKubernetesCertificateAuthorityArgs

type ManagedKubernetesCertificateAuthorityArgs struct {
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
	ClientCert pulumi.StringPtrInput `pulumi:"clientCert"`
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
	ClusterCert pulumi.StringPtrInput `pulumi:"clusterCert"`
}

func (ManagedKubernetesCertificateAuthorityArgs) ElementType

func (ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityOutput

func (i ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityOutput() ManagedKubernetesCertificateAuthorityOutput

func (ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityOutputWithContext

func (i ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) ManagedKubernetesCertificateAuthorityOutput

func (ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityPtrOutput

func (i ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityPtrOutput() ManagedKubernetesCertificateAuthorityPtrOutput

func (ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext

func (i ManagedKubernetesCertificateAuthorityArgs) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) ManagedKubernetesCertificateAuthorityPtrOutput

type ManagedKubernetesCertificateAuthorityInput

type ManagedKubernetesCertificateAuthorityInput interface {
	pulumi.Input

	ToManagedKubernetesCertificateAuthorityOutput() ManagedKubernetesCertificateAuthorityOutput
	ToManagedKubernetesCertificateAuthorityOutputWithContext(context.Context) ManagedKubernetesCertificateAuthorityOutput
}

ManagedKubernetesCertificateAuthorityInput is an input type that accepts ManagedKubernetesCertificateAuthorityArgs and ManagedKubernetesCertificateAuthorityOutput values. You can construct a concrete instance of `ManagedKubernetesCertificateAuthorityInput` via:

ManagedKubernetesCertificateAuthorityArgs{...}

type ManagedKubernetesCertificateAuthorityOutput

type ManagedKubernetesCertificateAuthorityOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesCertificateAuthorityOutput) ClientCert

The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityOutput) ClientKey

The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityOutput) ElementType

func (ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityOutput

func (o ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityOutput() ManagedKubernetesCertificateAuthorityOutput

func (ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityOutputWithContext

func (o ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityOutputWithContext(ctx context.Context) ManagedKubernetesCertificateAuthorityOutput

func (ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityPtrOutput

func (o ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityPtrOutput() ManagedKubernetesCertificateAuthorityPtrOutput

func (ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext

func (o ManagedKubernetesCertificateAuthorityOutput) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) ManagedKubernetesCertificateAuthorityPtrOutput

type ManagedKubernetesCertificateAuthorityPtrInput

type ManagedKubernetesCertificateAuthorityPtrInput interface {
	pulumi.Input

	ToManagedKubernetesCertificateAuthorityPtrOutput() ManagedKubernetesCertificateAuthorityPtrOutput
	ToManagedKubernetesCertificateAuthorityPtrOutputWithContext(context.Context) ManagedKubernetesCertificateAuthorityPtrOutput
}

ManagedKubernetesCertificateAuthorityPtrInput is an input type that accepts ManagedKubernetesCertificateAuthorityArgs, ManagedKubernetesCertificateAuthorityPtr and ManagedKubernetesCertificateAuthorityPtrOutput values. You can construct a concrete instance of `ManagedKubernetesCertificateAuthorityPtrInput` via:

        ManagedKubernetesCertificateAuthorityArgs{...}

or:

        nil

type ManagedKubernetesCertificateAuthorityPtrOutput

type ManagedKubernetesCertificateAuthorityPtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesCertificateAuthorityPtrOutput) ClientCert

The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityPtrOutput) ClientKey

The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityPtrOutput) ClusterCert

The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesCertificateAuthorityPtrOutput) Elem

func (ManagedKubernetesCertificateAuthorityPtrOutput) ElementType

func (ManagedKubernetesCertificateAuthorityPtrOutput) ToManagedKubernetesCertificateAuthorityPtrOutput

func (o ManagedKubernetesCertificateAuthorityPtrOutput) ToManagedKubernetesCertificateAuthorityPtrOutput() ManagedKubernetesCertificateAuthorityPtrOutput

func (ManagedKubernetesCertificateAuthorityPtrOutput) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext

func (o ManagedKubernetesCertificateAuthorityPtrOutput) ToManagedKubernetesCertificateAuthorityPtrOutputWithContext(ctx context.Context) ManagedKubernetesCertificateAuthorityPtrOutput

type ManagedKubernetesConnections

type ManagedKubernetesConnections struct {
	// API Server Internet endpoint.
	ApiServerInternet *string `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet *string `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp *string `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain *string `pulumi:"serviceDomain"`
}

type ManagedKubernetesConnectionsArgs

type ManagedKubernetesConnectionsArgs struct {
	// API Server Internet endpoint.
	ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"`
	// API Server Intranet endpoint.
	ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"`
	// Master node SSH IP address.
	MasterPublicIp pulumi.StringPtrInput `pulumi:"masterPublicIp"`
	// Service Access Domain.
	ServiceDomain pulumi.StringPtrInput `pulumi:"serviceDomain"`
}

func (ManagedKubernetesConnectionsArgs) ElementType

func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutput

func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput

func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutputWithContext

func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput

func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutput

func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput

func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutputWithContext

func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput

type ManagedKubernetesConnectionsInput

type ManagedKubernetesConnectionsInput interface {
	pulumi.Input

	ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput
	ToManagedKubernetesConnectionsOutputWithContext(context.Context) ManagedKubernetesConnectionsOutput
}

ManagedKubernetesConnectionsInput is an input type that accepts ManagedKubernetesConnectionsArgs and ManagedKubernetesConnectionsOutput values. You can construct a concrete instance of `ManagedKubernetesConnectionsInput` via:

ManagedKubernetesConnectionsArgs{...}

type ManagedKubernetesConnectionsOutput

type ManagedKubernetesConnectionsOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesConnectionsOutput) ApiServerInternet

API Server Internet endpoint.

func (ManagedKubernetesConnectionsOutput) ApiServerIntranet

API Server Intranet endpoint.

func (ManagedKubernetesConnectionsOutput) ElementType

func (ManagedKubernetesConnectionsOutput) MasterPublicIp

Master node SSH IP address.

func (ManagedKubernetesConnectionsOutput) ServiceDomain

Service Access Domain.

func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutput

func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput

func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutputWithContext

func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput

func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutput

func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput

func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutputWithContext

func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput

type ManagedKubernetesConnectionsPtrInput

type ManagedKubernetesConnectionsPtrInput interface {
	pulumi.Input

	ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
	ToManagedKubernetesConnectionsPtrOutputWithContext(context.Context) ManagedKubernetesConnectionsPtrOutput
}

ManagedKubernetesConnectionsPtrInput is an input type that accepts ManagedKubernetesConnectionsArgs, ManagedKubernetesConnectionsPtr and ManagedKubernetesConnectionsPtrOutput values. You can construct a concrete instance of `ManagedKubernetesConnectionsPtrInput` via:

        ManagedKubernetesConnectionsArgs{...}

or:

        nil

type ManagedKubernetesConnectionsPtrOutput

type ManagedKubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesConnectionsPtrOutput) ApiServerInternet

API Server Internet endpoint.

func (ManagedKubernetesConnectionsPtrOutput) ApiServerIntranet

API Server Intranet endpoint.

func (ManagedKubernetesConnectionsPtrOutput) Elem

func (ManagedKubernetesConnectionsPtrOutput) ElementType

func (ManagedKubernetesConnectionsPtrOutput) MasterPublicIp

Master node SSH IP address.

func (ManagedKubernetesConnectionsPtrOutput) ServiceDomain

Service Access Domain.

func (ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutput

func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput

func (ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutputWithContext

func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput

type ManagedKubernetesDeleteOption added in v3.55.2

type ManagedKubernetesDeleteOption struct {
	// The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:
	DeleteMode *string `pulumi:"deleteMode"`
	// The type of resources that are created by cluster. Valid values:
	// - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
	// - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
	// - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
	// - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
	ResourceType *string `pulumi:"resourceType"`
}

type ManagedKubernetesDeleteOptionArgs added in v3.55.2

type ManagedKubernetesDeleteOptionArgs struct {
	// The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:
	DeleteMode pulumi.StringPtrInput `pulumi:"deleteMode"`
	// The type of resources that are created by cluster. Valid values:
	// - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available.
	// - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
	// - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
	// - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}

func (ManagedKubernetesDeleteOptionArgs) ElementType added in v3.55.2

func (ManagedKubernetesDeleteOptionArgs) ToManagedKubernetesDeleteOptionOutput added in v3.55.2

func (i ManagedKubernetesDeleteOptionArgs) ToManagedKubernetesDeleteOptionOutput() ManagedKubernetesDeleteOptionOutput

func (ManagedKubernetesDeleteOptionArgs) ToManagedKubernetesDeleteOptionOutputWithContext added in v3.55.2

func (i ManagedKubernetesDeleteOptionArgs) ToManagedKubernetesDeleteOptionOutputWithContext(ctx context.Context) ManagedKubernetesDeleteOptionOutput

type ManagedKubernetesDeleteOptionArray added in v3.55.2

type ManagedKubernetesDeleteOptionArray []ManagedKubernetesDeleteOptionInput

func (ManagedKubernetesDeleteOptionArray) ElementType added in v3.55.2

func (ManagedKubernetesDeleteOptionArray) ToManagedKubernetesDeleteOptionArrayOutput added in v3.55.2

func (i ManagedKubernetesDeleteOptionArray) ToManagedKubernetesDeleteOptionArrayOutput() ManagedKubernetesDeleteOptionArrayOutput

func (ManagedKubernetesDeleteOptionArray) ToManagedKubernetesDeleteOptionArrayOutputWithContext added in v3.55.2

func (i ManagedKubernetesDeleteOptionArray) ToManagedKubernetesDeleteOptionArrayOutputWithContext(ctx context.Context) ManagedKubernetesDeleteOptionArrayOutput

type ManagedKubernetesDeleteOptionArrayInput added in v3.55.2

type ManagedKubernetesDeleteOptionArrayInput interface {
	pulumi.Input

	ToManagedKubernetesDeleteOptionArrayOutput() ManagedKubernetesDeleteOptionArrayOutput
	ToManagedKubernetesDeleteOptionArrayOutputWithContext(context.Context) ManagedKubernetesDeleteOptionArrayOutput
}

ManagedKubernetesDeleteOptionArrayInput is an input type that accepts ManagedKubernetesDeleteOptionArray and ManagedKubernetesDeleteOptionArrayOutput values. You can construct a concrete instance of `ManagedKubernetesDeleteOptionArrayInput` via:

ManagedKubernetesDeleteOptionArray{ ManagedKubernetesDeleteOptionArgs{...} }

type ManagedKubernetesDeleteOptionArrayOutput added in v3.55.2

type ManagedKubernetesDeleteOptionArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesDeleteOptionArrayOutput) ElementType added in v3.55.2

func (ManagedKubernetesDeleteOptionArrayOutput) Index added in v3.55.2

func (ManagedKubernetesDeleteOptionArrayOutput) ToManagedKubernetesDeleteOptionArrayOutput added in v3.55.2

func (o ManagedKubernetesDeleteOptionArrayOutput) ToManagedKubernetesDeleteOptionArrayOutput() ManagedKubernetesDeleteOptionArrayOutput

func (ManagedKubernetesDeleteOptionArrayOutput) ToManagedKubernetesDeleteOptionArrayOutputWithContext added in v3.55.2

func (o ManagedKubernetesDeleteOptionArrayOutput) ToManagedKubernetesDeleteOptionArrayOutputWithContext(ctx context.Context) ManagedKubernetesDeleteOptionArrayOutput

type ManagedKubernetesDeleteOptionInput added in v3.55.2

type ManagedKubernetesDeleteOptionInput interface {
	pulumi.Input

	ToManagedKubernetesDeleteOptionOutput() ManagedKubernetesDeleteOptionOutput
	ToManagedKubernetesDeleteOptionOutputWithContext(context.Context) ManagedKubernetesDeleteOptionOutput
}

ManagedKubernetesDeleteOptionInput is an input type that accepts ManagedKubernetesDeleteOptionArgs and ManagedKubernetesDeleteOptionOutput values. You can construct a concrete instance of `ManagedKubernetesDeleteOptionInput` via:

ManagedKubernetesDeleteOptionArgs{...}

type ManagedKubernetesDeleteOptionOutput added in v3.55.2

type ManagedKubernetesDeleteOptionOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesDeleteOptionOutput) DeleteMode added in v3.55.2

The deletion mode of the cluster. Different resources may have different default behavior, see `resourceType` for details. Valid values:

func (ManagedKubernetesDeleteOptionOutput) ElementType added in v3.55.2

func (ManagedKubernetesDeleteOptionOutput) ResourceType added in v3.55.2

The type of resources that are created by cluster. Valid values: - `SLB`: SLB resources created through the service, default behavior is to delete, option to retain is available. - `ALB`: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available. - `SLS_Data`: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available. - `SLS_ControlPlane`: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.

func (ManagedKubernetesDeleteOptionOutput) ToManagedKubernetesDeleteOptionOutput added in v3.55.2

func (o ManagedKubernetesDeleteOptionOutput) ToManagedKubernetesDeleteOptionOutput() ManagedKubernetesDeleteOptionOutput

func (ManagedKubernetesDeleteOptionOutput) ToManagedKubernetesDeleteOptionOutputWithContext added in v3.55.2

func (o ManagedKubernetesDeleteOptionOutput) ToManagedKubernetesDeleteOptionOutputWithContext(ctx context.Context) ManagedKubernetesDeleteOptionOutput

type ManagedKubernetesInput

type ManagedKubernetesInput interface {
	pulumi.Input

	ToManagedKubernetesOutput() ManagedKubernetesOutput
	ToManagedKubernetesOutputWithContext(ctx context.Context) ManagedKubernetesOutput
}

type ManagedKubernetesMaintenanceWindow

type ManagedKubernetesMaintenanceWindow struct {
	// The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
	Duration string `pulumi:"duration"`
	// Whether to open the maintenance window. The following parameters take effect only `enable = true`.
	Enable bool `pulumi:"enable"`
	// Initial maintenance time, For example:"03:00:00Z".
	MaintenanceTime string `pulumi:"maintenanceTime"`
	// Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
	//
	// for example:
	WeeklyPeriod string `pulumi:"weeklyPeriod"`
}

type ManagedKubernetesMaintenanceWindowArgs

type ManagedKubernetesMaintenanceWindowArgs struct {
	// The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
	Duration pulumi.StringInput `pulumi:"duration"`
	// Whether to open the maintenance window. The following parameters take effect only `enable = true`.
	Enable pulumi.BoolInput `pulumi:"enable"`
	// Initial maintenance time, For example:"03:00:00Z".
	MaintenanceTime pulumi.StringInput `pulumi:"maintenanceTime"`
	// Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.
	//
	// for example:
	WeeklyPeriod pulumi.StringInput `pulumi:"weeklyPeriod"`
}

func (ManagedKubernetesMaintenanceWindowArgs) ElementType

func (ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowOutput

func (i ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowOutput() ManagedKubernetesMaintenanceWindowOutput

func (ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowOutputWithContext

func (i ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowOutputWithContext(ctx context.Context) ManagedKubernetesMaintenanceWindowOutput

func (ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowPtrOutput

func (i ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowPtrOutput() ManagedKubernetesMaintenanceWindowPtrOutput

func (ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext

func (i ManagedKubernetesMaintenanceWindowArgs) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext(ctx context.Context) ManagedKubernetesMaintenanceWindowPtrOutput

type ManagedKubernetesMaintenanceWindowInput

type ManagedKubernetesMaintenanceWindowInput interface {
	pulumi.Input

	ToManagedKubernetesMaintenanceWindowOutput() ManagedKubernetesMaintenanceWindowOutput
	ToManagedKubernetesMaintenanceWindowOutputWithContext(context.Context) ManagedKubernetesMaintenanceWindowOutput
}

ManagedKubernetesMaintenanceWindowInput is an input type that accepts ManagedKubernetesMaintenanceWindowArgs and ManagedKubernetesMaintenanceWindowOutput values. You can construct a concrete instance of `ManagedKubernetesMaintenanceWindowInput` via:

ManagedKubernetesMaintenanceWindowArgs{...}

type ManagedKubernetesMaintenanceWindowOutput

type ManagedKubernetesMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesMaintenanceWindowOutput) Duration

The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".

func (ManagedKubernetesMaintenanceWindowOutput) ElementType

func (ManagedKubernetesMaintenanceWindowOutput) Enable

Whether to open the maintenance window. The following parameters take effect only `enable = true`.

func (ManagedKubernetesMaintenanceWindowOutput) MaintenanceTime

Initial maintenance time, For example:"03:00:00Z".

func (ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowOutput

func (o ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowOutput() ManagedKubernetesMaintenanceWindowOutput

func (ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowOutputWithContext

func (o ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowOutputWithContext(ctx context.Context) ManagedKubernetesMaintenanceWindowOutput

func (ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowPtrOutput

func (o ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowPtrOutput() ManagedKubernetesMaintenanceWindowPtrOutput

func (ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext

func (o ManagedKubernetesMaintenanceWindowOutput) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext(ctx context.Context) ManagedKubernetesMaintenanceWindowPtrOutput

func (ManagedKubernetesMaintenanceWindowOutput) WeeklyPeriod

Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

for example:

type ManagedKubernetesMaintenanceWindowPtrInput

type ManagedKubernetesMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToManagedKubernetesMaintenanceWindowPtrOutput() ManagedKubernetesMaintenanceWindowPtrOutput
	ToManagedKubernetesMaintenanceWindowPtrOutputWithContext(context.Context) ManagedKubernetesMaintenanceWindowPtrOutput
}

ManagedKubernetesMaintenanceWindowPtrInput is an input type that accepts ManagedKubernetesMaintenanceWindowArgs, ManagedKubernetesMaintenanceWindowPtr and ManagedKubernetesMaintenanceWindowPtrOutput values. You can construct a concrete instance of `ManagedKubernetesMaintenanceWindowPtrInput` via:

        ManagedKubernetesMaintenanceWindowArgs{...}

or:

        nil

type ManagedKubernetesMaintenanceWindowPtrOutput

type ManagedKubernetesMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesMaintenanceWindowPtrOutput) Duration

The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".

func (ManagedKubernetesMaintenanceWindowPtrOutput) Elem

func (ManagedKubernetesMaintenanceWindowPtrOutput) ElementType

func (ManagedKubernetesMaintenanceWindowPtrOutput) Enable

Whether to open the maintenance window. The following parameters take effect only `enable = true`.

func (ManagedKubernetesMaintenanceWindowPtrOutput) MaintenanceTime

Initial maintenance time, For example:"03:00:00Z".

func (ManagedKubernetesMaintenanceWindowPtrOutput) ToManagedKubernetesMaintenanceWindowPtrOutput

func (o ManagedKubernetesMaintenanceWindowPtrOutput) ToManagedKubernetesMaintenanceWindowPtrOutput() ManagedKubernetesMaintenanceWindowPtrOutput

func (ManagedKubernetesMaintenanceWindowPtrOutput) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext

func (o ManagedKubernetesMaintenanceWindowPtrOutput) ToManagedKubernetesMaintenanceWindowPtrOutputWithContext(ctx context.Context) ManagedKubernetesMaintenanceWindowPtrOutput

func (ManagedKubernetesMaintenanceWindowPtrOutput) WeeklyPeriod

Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

for example:

type ManagedKubernetesMap

type ManagedKubernetesMap map[string]ManagedKubernetesInput

func (ManagedKubernetesMap) ElementType

func (ManagedKubernetesMap) ElementType() reflect.Type

func (ManagedKubernetesMap) ToManagedKubernetesMapOutput

func (i ManagedKubernetesMap) ToManagedKubernetesMapOutput() ManagedKubernetesMapOutput

func (ManagedKubernetesMap) ToManagedKubernetesMapOutputWithContext

func (i ManagedKubernetesMap) ToManagedKubernetesMapOutputWithContext(ctx context.Context) ManagedKubernetesMapOutput

type ManagedKubernetesMapInput

type ManagedKubernetesMapInput interface {
	pulumi.Input

	ToManagedKubernetesMapOutput() ManagedKubernetesMapOutput
	ToManagedKubernetesMapOutputWithContext(context.Context) ManagedKubernetesMapOutput
}

ManagedKubernetesMapInput is an input type that accepts ManagedKubernetesMap and ManagedKubernetesMapOutput values. You can construct a concrete instance of `ManagedKubernetesMapInput` via:

ManagedKubernetesMap{ "key": ManagedKubernetesArgs{...} }

type ManagedKubernetesMapOutput

type ManagedKubernetesMapOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesMapOutput) ElementType

func (ManagedKubernetesMapOutput) ElementType() reflect.Type

func (ManagedKubernetesMapOutput) MapIndex

func (ManagedKubernetesMapOutput) ToManagedKubernetesMapOutput

func (o ManagedKubernetesMapOutput) ToManagedKubernetesMapOutput() ManagedKubernetesMapOutput

func (ManagedKubernetesMapOutput) ToManagedKubernetesMapOutputWithContext

func (o ManagedKubernetesMapOutput) ToManagedKubernetesMapOutputWithContext(ctx context.Context) ManagedKubernetesMapOutput

type ManagedKubernetesOutput

type ManagedKubernetesOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesOutput) Addons added in v3.27.0

func (ManagedKubernetesOutput) ApiAudiences added in v3.27.0

func (ManagedKubernetesOutput) CertificateAuthority added in v3.27.0

(Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.

func (ManagedKubernetesOutput) ClientCert added in v3.27.0

The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesOutput) ClientKey added in v3.27.0

The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.

func (ManagedKubernetesOutput) ClusterCaCert added in v3.27.0

func (ManagedKubernetesOutput) ClusterDomain added in v3.27.0

cluster local domain

func (ManagedKubernetesOutput) ClusterSpec added in v3.27.0

func (ManagedKubernetesOutput) Connections added in v3.27.0

Map of kubernetes cluster connection information.

func (ManagedKubernetesOutput) ControlPlaneLogComponents added in v3.27.0

func (o ManagedKubernetesOutput) ControlPlaneLogComponents() pulumi.StringArrayOutput

func (ManagedKubernetesOutput) ControlPlaneLogProject added in v3.27.0

func (o ManagedKubernetesOutput) ControlPlaneLogProject() pulumi.StringOutput

func (ManagedKubernetesOutput) ControlPlaneLogTtl added in v3.27.0

func (o ManagedKubernetesOutput) ControlPlaneLogTtl() pulumi.StringOutput

func (ManagedKubernetesOutput) CustomSan added in v3.27.0

func (ManagedKubernetesOutput) DeleteOptions added in v3.55.2

func (ManagedKubernetesOutput) DeletionProtection added in v3.27.0

func (o ManagedKubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

func (ManagedKubernetesOutput) ElementType

func (ManagedKubernetesOutput) ElementType() reflect.Type

func (ManagedKubernetesOutput) EnableRrsa added in v3.27.0

func (ManagedKubernetesOutput) EncryptionProviderKey added in v3.27.0

func (o ManagedKubernetesOutput) EncryptionProviderKey() pulumi.StringPtrOutput

disk encryption key, only in ack-pro

func (ManagedKubernetesOutput) IsEnterpriseSecurityGroup added in v3.27.0

func (o ManagedKubernetesOutput) IsEnterpriseSecurityGroup() pulumi.BoolOutput

func (ManagedKubernetesOutput) LoadBalancerSpec added in v3.27.0

func (o ManagedKubernetesOutput) LoadBalancerSpec() pulumi.StringPtrOutput

func (ManagedKubernetesOutput) MaintenanceWindow added in v3.27.0

func (ManagedKubernetesOutput) Name added in v3.27.0

Node name.

func (ManagedKubernetesOutput) NamePrefix added in v3.27.0

func (ManagedKubernetesOutput) NatGatewayId added in v3.27.0

func (o ManagedKubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (ManagedKubernetesOutput) NewNatGateway added in v3.27.0

func (o ManagedKubernetesOutput) NewNatGateway() pulumi.BoolPtrOutput

func (ManagedKubernetesOutput) NodeCidrMask added in v3.27.0

func (o ManagedKubernetesOutput) NodeCidrMask() pulumi.IntPtrOutput

func (ManagedKubernetesOutput) PodCidr added in v3.27.0

func (ManagedKubernetesOutput) PodVswitchIds added in v3.27.0

func (ManagedKubernetesOutput) ProxyMode added in v3.27.0

func (ManagedKubernetesOutput) ResourceGroupId added in v3.27.0

func (o ManagedKubernetesOutput) ResourceGroupId() pulumi.StringOutput

func (ManagedKubernetesOutput) RetainResources added in v3.27.0

func (o ManagedKubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (ManagedKubernetesOutput) RrsaMetadata added in v3.29.0

(Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.

func (ManagedKubernetesOutput) SecurityGroupId added in v3.27.0

func (o ManagedKubernetesOutput) SecurityGroupId() pulumi.StringOutput

func (ManagedKubernetesOutput) ServiceAccountIssuer added in v3.27.0

func (o ManagedKubernetesOutput) ServiceAccountIssuer() pulumi.StringPtrOutput

func (ManagedKubernetesOutput) ServiceCidr added in v3.27.0

func (ManagedKubernetesOutput) SlbId added in v3.27.0

The ID of APIServer load balancer.

func (ManagedKubernetesOutput) SlbInternet added in v3.27.0

The public ip of load balancer.

func (ManagedKubernetesOutput) SlbInternetEnabled added in v3.27.0

func (o ManagedKubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

func (ManagedKubernetesOutput) SlbIntranet added in v3.27.0

The ID of private load balancer where the current cluster master node is located.

func (ManagedKubernetesOutput) Tags added in v3.27.0

func (ManagedKubernetesOutput) Timezone added in v3.27.0

func (ManagedKubernetesOutput) ToManagedKubernetesOutput

func (o ManagedKubernetesOutput) ToManagedKubernetesOutput() ManagedKubernetesOutput

func (ManagedKubernetesOutput) ToManagedKubernetesOutputWithContext

func (o ManagedKubernetesOutput) ToManagedKubernetesOutputWithContext(ctx context.Context) ManagedKubernetesOutput

func (ManagedKubernetesOutput) UserCa added in v3.27.0

func (ManagedKubernetesOutput) Version added in v3.27.0

func (ManagedKubernetesOutput) VpcId added in v3.27.0

The ID of VPC where the current cluster is located.

func (ManagedKubernetesOutput) WorkerRamRoleName added in v3.27.0

func (o ManagedKubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

func (ManagedKubernetesOutput) WorkerVswitchIds added in v3.27.0

func (o ManagedKubernetesOutput) WorkerVswitchIds() pulumi.StringArrayOutput

type ManagedKubernetesRrsaMetadata added in v3.29.0

type ManagedKubernetesRrsaMetadata struct {
	// Whether the RRSA feature has been enabled.
	Enabled *bool `pulumi:"enabled"`
	// The arn of OIDC provider that was registered in RAM.
	RamOidcProviderArn *string `pulumi:"ramOidcProviderArn"`
	// The name of OIDC Provider that was registered in RAM.
	RamOidcProviderName *string `pulumi:"ramOidcProviderName"`
	// The issuer URL of RRSA OIDC Token.
	RrsaOidcIssuerUrl *string `pulumi:"rrsaOidcIssuerUrl"`
}

type ManagedKubernetesRrsaMetadataArgs added in v3.29.0

type ManagedKubernetesRrsaMetadataArgs struct {
	// Whether the RRSA feature has been enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The arn of OIDC provider that was registered in RAM.
	RamOidcProviderArn pulumi.StringPtrInput `pulumi:"ramOidcProviderArn"`
	// The name of OIDC Provider that was registered in RAM.
	RamOidcProviderName pulumi.StringPtrInput `pulumi:"ramOidcProviderName"`
	// The issuer URL of RRSA OIDC Token.
	RrsaOidcIssuerUrl pulumi.StringPtrInput `pulumi:"rrsaOidcIssuerUrl"`
}

func (ManagedKubernetesRrsaMetadataArgs) ElementType added in v3.29.0

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutput added in v3.29.0

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutput() ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutputWithContext added in v3.29.0

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesRrsaMetadataInput added in v3.29.0

type ManagedKubernetesRrsaMetadataInput interface {
	pulumi.Input

	ToManagedKubernetesRrsaMetadataOutput() ManagedKubernetesRrsaMetadataOutput
	ToManagedKubernetesRrsaMetadataOutputWithContext(context.Context) ManagedKubernetesRrsaMetadataOutput
}

ManagedKubernetesRrsaMetadataInput is an input type that accepts ManagedKubernetesRrsaMetadataArgs and ManagedKubernetesRrsaMetadataOutput values. You can construct a concrete instance of `ManagedKubernetesRrsaMetadataInput` via:

ManagedKubernetesRrsaMetadataArgs{...}

type ManagedKubernetesRrsaMetadataOutput added in v3.29.0

type ManagedKubernetesRrsaMetadataOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRrsaMetadataOutput) ElementType added in v3.29.0

func (ManagedKubernetesRrsaMetadataOutput) Enabled added in v3.29.0

Whether the RRSA feature has been enabled.

func (ManagedKubernetesRrsaMetadataOutput) RamOidcProviderArn added in v3.29.0

The arn of OIDC provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataOutput) RamOidcProviderName added in v3.29.0

The name of OIDC Provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataOutput) RrsaOidcIssuerUrl added in v3.29.0

The issuer URL of RRSA OIDC Token.

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutput added in v3.29.0

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutput() ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutputWithContext added in v3.29.0

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesRrsaMetadataPtrInput added in v3.29.0

type ManagedKubernetesRrsaMetadataPtrInput interface {
	pulumi.Input

	ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput
	ToManagedKubernetesRrsaMetadataPtrOutputWithContext(context.Context) ManagedKubernetesRrsaMetadataPtrOutput
}

ManagedKubernetesRrsaMetadataPtrInput is an input type that accepts ManagedKubernetesRrsaMetadataArgs, ManagedKubernetesRrsaMetadataPtr and ManagedKubernetesRrsaMetadataPtrOutput values. You can construct a concrete instance of `ManagedKubernetesRrsaMetadataPtrInput` via:

        ManagedKubernetesRrsaMetadataArgs{...}

or:

        nil

type ManagedKubernetesRrsaMetadataPtrOutput added in v3.29.0

type ManagedKubernetesRrsaMetadataPtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRrsaMetadataPtrOutput) Elem added in v3.29.0

func (ManagedKubernetesRrsaMetadataPtrOutput) ElementType added in v3.29.0

func (ManagedKubernetesRrsaMetadataPtrOutput) Enabled added in v3.29.0

Whether the RRSA feature has been enabled.

func (ManagedKubernetesRrsaMetadataPtrOutput) RamOidcProviderArn added in v3.29.0

The arn of OIDC provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataPtrOutput) RamOidcProviderName added in v3.29.0

The name of OIDC Provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataPtrOutput) RrsaOidcIssuerUrl added in v3.29.0

The issuer URL of RRSA OIDC Token.

func (ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (o ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (o ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesState

type ManagedKubernetesState struct {
	Addons       ManagedKubernetesAddonArrayInput
	ApiAudiences pulumi.StringArrayInput
	// (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority ManagedKubernetesCertificateAuthorityPtrInput
	// The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
	ClientCert pulumi.StringPtrInput
	// The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
	ClientKey     pulumi.StringPtrInput
	ClusterCaCert pulumi.StringPtrInput
	// cluster local domain
	ClusterDomain pulumi.StringPtrInput
	ClusterSpec   pulumi.StringPtrInput
	// Map of kubernetes cluster connection information.
	Connections               ManagedKubernetesConnectionsPtrInput
	ControlPlaneLogComponents pulumi.StringArrayInput
	ControlPlaneLogProject    pulumi.StringPtrInput
	ControlPlaneLogTtl        pulumi.StringPtrInput
	CustomSan                 pulumi.StringPtrInput
	DeleteOptions             ManagedKubernetesDeleteOptionArrayInput
	DeletionProtection        pulumi.BoolPtrInput
	EnableRrsa                pulumi.BoolPtrInput
	// disk encryption key, only in ack-pro
	EncryptionProviderKey     pulumi.StringPtrInput
	IsEnterpriseSecurityGroup pulumi.BoolPtrInput
	LoadBalancerSpec          pulumi.StringPtrInput
	MaintenanceWindow         ManagedKubernetesMaintenanceWindowPtrInput
	// Node name.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// The ID of nat gateway used to launch kubernetes cluster.
	NatGatewayId    pulumi.StringPtrInput
	NewNatGateway   pulumi.BoolPtrInput
	NodeCidrMask    pulumi.IntPtrInput
	PodCidr         pulumi.StringPtrInput
	PodVswitchIds   pulumi.StringArrayInput
	ProxyMode       pulumi.StringPtrInput
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	RrsaMetadata         ManagedKubernetesRrsaMetadataPtrInput
	SecurityGroupId      pulumi.StringPtrInput
	ServiceAccountIssuer pulumi.StringPtrInput
	ServiceCidr          pulumi.StringPtrInput
	// The ID of APIServer load balancer.
	SlbId pulumi.StringPtrInput
	// The public ip of load balancer.
	SlbInternet        pulumi.StringPtrInput
	SlbInternetEnabled pulumi.BoolPtrInput
	// The ID of private load balancer where the current cluster master node is located.
	SlbIntranet pulumi.StringPtrInput
	Tags        pulumi.MapInput
	Timezone    pulumi.StringPtrInput
	UserCa      pulumi.StringPtrInput
	Version     pulumi.StringPtrInput
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	WorkerVswitchIds  pulumi.StringArrayInput
}

func (ManagedKubernetesState) ElementType

func (ManagedKubernetesState) ElementType() reflect.Type

type NodePool

type NodePool struct {
	pulumi.CustomResourceState

	// Whether to enable automatic renewal for nodes in the node pool takes effect only when `instanceChargeType` is set to `PrePaid`. Default value: `false`. Valid values:
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When `PeriodUnit = Month`, the value range is {1, 2, 3, 6, 12}. Default value: 1.
	AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"`
	// Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	//
	// Deprecated: Field 'cis_enabled' has been deprecated from provider version 1.223.1. Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	CisEnabled pulumi.BoolPtrOutput `pulumi:"cisEnabled"`
	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set `multiAzPolicy` to `COST_OPTIMIZED`. Valid values: `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand pulumi.BoolPtrOutput `pulumi:"compensateWithOnDemand"`
	// Node CPU management policies. Default value: `none`. When the cluster version is 1.12.6 or later, the following two policies are supported:
	CpuPolicy pulumi.StringOutput `pulumi:"cpuPolicy"`
	// Configure the data disk of the node in the node pool. See `dataDisks` below.
	DataDisks NodePoolDataDiskArrayOutput `pulumi:"dataDisks"`
	// The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
	DeploymentSetId pulumi.StringPtrOutput `pulumi:"deploymentSetId"`
	// Number of expected nodes in the node pool.
	DesiredSize pulumi.IntPtrOutput `pulumi:"desiredSize"`
	// Whether to force deletion.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
	FormatDisk pulumi.BoolOutput `pulumi:"formatDisk"`
	// The custom image ID. The system-provided image is used by default.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The operating system image type and the `platform` parameter can be selected from the following values:
	// - `AliyunLinux` : Alinux2 image.
	// - `AliyunLinux3` : Alinux3 image.
	// - `AliyunLinux3Arm64` : Alinux3 mirror ARM version.
	// - `AliyunLinuxUEFI` : Alinux2 Image UEFI version.
	// - `CentOS` : CentOS image.
	// - `Windows` : Windows image.
	// - `WindowsCore` : WindowsCore image.
	// - `ContainerOS` : container-optimized image.
	ImageType pulumi.StringOutput `pulumi:"imageType"`
	// Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
	InstallCloudMonitor pulumi.BoolPtrOutput `pulumi:"installCloudMonitor"`
	// Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `periodUnit`, `autoRenew` and `autoRenewPeriod` are required.
	InstanceChargeType pulumi.StringPtrOutput `pulumi:"instanceChargeType"`
	// In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
	InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"`
	// The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
	Instances pulumi.StringArrayOutput `pulumi:"instances"`
	// The billing method for network usage. Valid values `PayByBandwidth` and `PayByTraffic`. Conflict with `eipInternetChargeType`, EIP and public network IP can only choose one. .
	InternetChargeType pulumi.StringPtrOutput `pulumi:"internetChargeType"`
	// The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\[1,100\].
	InternetMaxBandwidthOut pulumi.IntPtrOutput `pulumi:"internetMaxBandwidthOut"`
	// Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
	KeepInstanceName pulumi.BoolOutput `pulumi:"keepInstanceName"`
	// The name of the key pair. When the node pool is a managed node pool, only `keyName` is supported.
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"`
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"`
	// Kubelet configuration parameters for worker nodes. See `kubeletConfiguration` below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/). See `kubeletConfiguration` below.
	KubeletConfiguration NodePoolKubeletConfigurationPtrOutput `pulumi:"kubeletConfiguration"`
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Detailed below. More information in [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). See `labels` below.
	Labels NodePoolLabelArrayOutput `pulumi:"labels"`
	// Whether the ECS instance is logged on as a ecs-user user. Valid value: `true` and `false`.
	LoginAsNonRoot pulumi.BoolPtrOutput `pulumi:"loginAsNonRoot"`
	// Managed node pool configuration. See `management` below.
	Management NodePoolManagementOutput `pulumi:"management"`
	// The scaling policy for ECS instances in a multi-zone scaling group. Valid value: `PRIORITY`, `COST_OPTIMIZED` and `BALANCE`. `PRIORITY`: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. `COST_OPTIMIZED`: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. `BALANCE`: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
	MultiAzPolicy pulumi.StringOutput `pulumi:"multiAzPolicy"`
	// . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.
	Name pulumi.StringOutput `pulumi:"name"`
	// The worker node number of the node pool. From version 1.111.0, `nodeCount` is not required.
	//
	// Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
	// - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
	// - The node IP address is the complete private IP address of the node.
	// - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
	NodeNameMode pulumi.StringOutput `pulumi:"nodeNameMode"`
	// The first ID of the resource.
	NodePoolId pulumi.StringOutput `pulumi:"nodePoolId"`
	// The name of node pool.
	NodePoolName pulumi.StringOutput `pulumi:"nodePoolName"`
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity pulumi.IntPtrOutput `pulumi:"onDemandBaseCapacity"`
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `onDemandBaseCapacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity pulumi.IntPtrOutput `pulumi:"onDemandPercentageAboveBaseCapacity"`
	// The password of ssh login. You have to specify one of `password` and `keyName` fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// Operating system release, using `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using `imageType` instead.
	Platform pulumi.StringOutput `pulumi:"platform"`
	// Private node pool configuration. See `privatePoolOptions` below.
	PrivatePoolOptions NodePoolPrivatePoolOptionsPtrOutput `pulumi:"privatePoolOptions"`
	// The list of RDS instances.
	RdsInstances pulumi.StringArrayOutput `pulumi:"rdsInstances"`
	// The ID of the resource group.
	ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"`
	// Rotary configuration. See `rollingPolicy` below.
	RollingPolicy NodePoolRollingPolicyPtrOutput `pulumi:"rollingPolicy"`
	// The runtime name of containers. If not set, the cluster runtime will be used as the node pool runtime. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm).
	RuntimeName pulumi.StringOutput `pulumi:"runtimeName"`
	// The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
	RuntimeVersion pulumi.StringOutput `pulumi:"runtimeVersion"`
	// Automatic scaling configuration. See `scalingConfig` below.
	ScalingConfig NodePoolScalingConfigOutput `pulumi:"scalingConfig"`
	// The ID of the scaling group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// Scaling group mode, default value: `release`. Valid values:
	ScalingPolicy pulumi.StringOutput `pulumi:"scalingPolicy"`
	// The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// Multiple security groups can be configured for a node pool. If both `securityGroupIds` and `securityGroupId` are configured, `securityGroupIds` takes effect. This field cannot be modified.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// Alibaba Cloud OS security reinforcement. Default value: `false`. Value:
	SecurityHardeningOs pulumi.BoolPtrOutput `pulumi:"securityHardeningOs"`
	// Whether enable worker node to support soc security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. See [SOC Reinforcement](https://help.aliyun.com/document_detail/196148.html).
	// > **NOTE:**  It is forbidden to set both `securityHardeningOs` and `socEnabled` to `true` at the same time.
	SocEnabled pulumi.BoolPtrOutput `pulumi:"socEnabled"`
	// The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools pulumi.IntPtrOutput `pulumi:"spotInstancePools"`
	// Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If you set the value to true, Auto Scaling attempts to create a new preemptible instance when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values: `true`: enables the supplementation of preemptible instances. `false`: disables the supplementation of preemptible instances.
	SpotInstanceRemedy pulumi.BoolPtrOutput `pulumi:"spotInstanceRemedy"`
	// The current single preemptible instance type market price range configuration. See `spotPriceLimit` below.
	SpotPriceLimits NodePoolSpotPriceLimitArrayOutput `pulumi:"spotPriceLimits"`
	// The preemptible instance type. Value:
	// - `NoSpot` : Non-preemptible instance.
	// - `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
	// - `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
	SpotStrategy pulumi.StringOutput `pulumi:"spotStrategy"`
	// Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskBurstingEnabled pulumi.BoolPtrOutput `pulumi:"systemDiskBurstingEnabled"`
	// The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values: `cloud`: cloud disk. `cloudEfficiency`: a high-efficiency cloud disk. `cloudSsd`:SSD cloud disk. `cloudEssd`: ESSD cloud disk.
	SystemDiskCategories pulumi.StringArrayOutput `pulumi:"systemDiskCategories"`
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency`, `cloudEssd` and `cloudAuto`. .
	SystemDiskCategory pulumi.StringOutput `pulumi:"systemDiskCategory"`
	// The encryption algorithm used by the system disk. Value range: aes-256.
	SystemDiskEncryptAlgorithm pulumi.StringPtrOutput `pulumi:"systemDiskEncryptAlgorithm"`
	// Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
	SystemDiskEncrypted pulumi.BoolPtrOutput `pulumi:"systemDiskEncrypted"`
	// The ID of the KMS key used by the system disk.
	SystemDiskKmsKey pulumi.StringPtrOutput `pulumi:"systemDiskKmsKey"`
	// The system disk performance of the node takes effect only for the ESSD disk.
	// - `PL0`: maximum random read/write IOPS 10000 for a single disk.
	// - `PL1`: maximum random read/write IOPS 50000 for a single disk.
	// - `PL2`: highest random read/write IOPS 100000 for a single disk.
	// - `PL3`: maximum random read/write IOPS 1 million for a single disk.
	SystemDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"systemDiskPerformanceLevel"`
	// The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskProvisionedIops pulumi.IntPtrOutput `pulumi:"systemDiskProvisionedIops"`
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"`
	// The ID of the automatic snapshot policy used by the system disk.
	SystemDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"systemDiskSnapshotPolicyId"`
	// Add tags only for ECS instances.  The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://".
	Tags pulumi.MapOutput `pulumi:"tags"`
	// A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
	// The configuration about confidential computing for the cluster. See `teeConfig` below.
	TeeConfig NodePoolTeeConfigOutput `pulumi:"teeConfig"`
	// Whether the node after expansion can be scheduled.
	Unschedulable pulumi.BoolPtrOutput `pulumi:"unschedulable"`
	// Synchronously update node labels and taints.
	UpdateNodes pulumi.BoolPtrOutput `pulumi:"updateNodes"`
	// Node custom data.
	UserData pulumi.StringPtrOutput `pulumi:"userData"`
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

## Example Usage

Basic Usage

## Import

ACK Nodepool can be imported using the id, e.g.

```sh $ pulumi import alicloud:cs/nodePool:NodePool example <cluster_id>:<node_pool_id> ```

func GetNodePool

func GetNodePool(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodePoolState, opts ...pulumi.ResourceOption) (*NodePool, error)

GetNodePool gets an existing NodePool 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 NewNodePool

func NewNodePool(ctx *pulumi.Context,
	name string, args *NodePoolArgs, opts ...pulumi.ResourceOption) (*NodePool, error)

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

func (*NodePool) ElementType

func (*NodePool) ElementType() reflect.Type

func (*NodePool) ToNodePoolOutput

func (i *NodePool) ToNodePoolOutput() NodePoolOutput

func (*NodePool) ToNodePoolOutputWithContext

func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

type NodePoolArgs

type NodePoolArgs struct {
	// Whether to enable automatic renewal for nodes in the node pool takes effect only when `instanceChargeType` is set to `PrePaid`. Default value: `false`. Valid values:
	AutoRenew pulumi.BoolPtrInput
	// The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When `PeriodUnit = Month`, the value range is {1, 2, 3, 6, 12}. Default value: 1.
	AutoRenewPeriod pulumi.IntPtrInput
	// Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	//
	// Deprecated: Field 'cis_enabled' has been deprecated from provider version 1.223.1. Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	CisEnabled pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	// Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set `multiAzPolicy` to `COST_OPTIMIZED`. Valid values: `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand pulumi.BoolPtrInput
	// Node CPU management policies. Default value: `none`. When the cluster version is 1.12.6 or later, the following two policies are supported:
	CpuPolicy pulumi.StringPtrInput
	// Configure the data disk of the node in the node pool. See `dataDisks` below.
	DataDisks NodePoolDataDiskArrayInput
	// The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
	DeploymentSetId pulumi.StringPtrInput
	// Number of expected nodes in the node pool.
	DesiredSize pulumi.IntPtrInput
	// Whether to force deletion.
	ForceDelete pulumi.BoolPtrInput
	// After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
	FormatDisk pulumi.BoolPtrInput
	// The custom image ID. The system-provided image is used by default.
	ImageId pulumi.StringPtrInput
	// The operating system image type and the `platform` parameter can be selected from the following values:
	// - `AliyunLinux` : Alinux2 image.
	// - `AliyunLinux3` : Alinux3 image.
	// - `AliyunLinux3Arm64` : Alinux3 mirror ARM version.
	// - `AliyunLinuxUEFI` : Alinux2 Image UEFI version.
	// - `CentOS` : CentOS image.
	// - `Windows` : Windows image.
	// - `WindowsCore` : WindowsCore image.
	// - `ContainerOS` : container-optimized image.
	ImageType pulumi.StringPtrInput
	// Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
	InstallCloudMonitor pulumi.BoolPtrInput
	// Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `periodUnit`, `autoRenew` and `autoRenewPeriod` are required.
	InstanceChargeType pulumi.StringPtrInput
	// In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
	InstanceTypes pulumi.StringArrayInput
	// The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
	Instances pulumi.StringArrayInput
	// The billing method for network usage. Valid values `PayByBandwidth` and `PayByTraffic`. Conflict with `eipInternetChargeType`, EIP and public network IP can only choose one. .
	InternetChargeType pulumi.StringPtrInput
	// The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\[1,100\].
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
	KeepInstanceName pulumi.BoolPtrInput
	// The name of the key pair. When the node pool is a managed node pool, only `keyName` is supported.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// Kubelet configuration parameters for worker nodes. See `kubeletConfiguration` below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/). See `kubeletConfiguration` below.
	KubeletConfiguration NodePoolKubeletConfigurationPtrInput
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Detailed below. More information in [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). See `labels` below.
	Labels NodePoolLabelArrayInput
	// Whether the ECS instance is logged on as a ecs-user user. Valid value: `true` and `false`.
	LoginAsNonRoot pulumi.BoolPtrInput
	// Managed node pool configuration. See `management` below.
	Management NodePoolManagementPtrInput
	// The scaling policy for ECS instances in a multi-zone scaling group. Valid value: `PRIORITY`, `COST_OPTIMIZED` and `BALANCE`. `PRIORITY`: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. `COST_OPTIMIZED`: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. `BALANCE`: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
	MultiAzPolicy pulumi.StringPtrInput
	// . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.
	Name pulumi.StringPtrInput
	// The worker node number of the node pool. From version 1.111.0, `nodeCount` is not required.
	//
	// Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.
	NodeCount pulumi.IntPtrInput
	// Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
	// - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
	// - The node IP address is the complete private IP address of the node.
	// - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
	NodeNameMode pulumi.StringPtrInput
	// The name of node pool.
	NodePoolName pulumi.StringPtrInput
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity pulumi.IntPtrInput
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `onDemandBaseCapacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput
	// The password of ssh login. You have to specify one of `password` and `keyName` fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
	Password pulumi.StringPtrInput
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
	Period pulumi.IntPtrInput
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// Operating system release, using `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using `imageType` instead.
	Platform pulumi.StringPtrInput
	// Private node pool configuration. See `privatePoolOptions` below.
	PrivatePoolOptions NodePoolPrivatePoolOptionsPtrInput
	// The list of RDS instances.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Rotary configuration. See `rollingPolicy` below.
	RollingPolicy NodePoolRollingPolicyPtrInput
	// The runtime name of containers. If not set, the cluster runtime will be used as the node pool runtime. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm).
	RuntimeName pulumi.StringPtrInput
	// The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
	RuntimeVersion pulumi.StringPtrInput
	// Automatic scaling configuration. See `scalingConfig` below.
	ScalingConfig NodePoolScalingConfigPtrInput
	// Scaling group mode, default value: `release`. Valid values:
	ScalingPolicy pulumi.StringPtrInput
	// The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	SecurityGroupId pulumi.StringPtrInput
	// Multiple security groups can be configured for a node pool. If both `securityGroupIds` and `securityGroupId` are configured, `securityGroupIds` takes effect. This field cannot be modified.
	SecurityGroupIds pulumi.StringArrayInput
	// Alibaba Cloud OS security reinforcement. Default value: `false`. Value:
	SecurityHardeningOs pulumi.BoolPtrInput
	// Whether enable worker node to support soc security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. See [SOC Reinforcement](https://help.aliyun.com/document_detail/196148.html).
	// > **NOTE:**  It is forbidden to set both `securityHardeningOs` and `socEnabled` to `true` at the same time.
	SocEnabled pulumi.BoolPtrInput
	// The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools pulumi.IntPtrInput
	// Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If you set the value to true, Auto Scaling attempts to create a new preemptible instance when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values: `true`: enables the supplementation of preemptible instances. `false`: disables the supplementation of preemptible instances.
	SpotInstanceRemedy pulumi.BoolPtrInput
	// The current single preemptible instance type market price range configuration. See `spotPriceLimit` below.
	SpotPriceLimits NodePoolSpotPriceLimitArrayInput
	// The preemptible instance type. Value:
	// - `NoSpot` : Non-preemptible instance.
	// - `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
	// - `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
	SpotStrategy pulumi.StringPtrInput
	// Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskBurstingEnabled pulumi.BoolPtrInput
	// The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values: `cloud`: cloud disk. `cloudEfficiency`: a high-efficiency cloud disk. `cloudSsd`:SSD cloud disk. `cloudEssd`: ESSD cloud disk.
	SystemDiskCategories pulumi.StringArrayInput
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency`, `cloudEssd` and `cloudAuto`. .
	SystemDiskCategory pulumi.StringPtrInput
	// The encryption algorithm used by the system disk. Value range: aes-256.
	SystemDiskEncryptAlgorithm pulumi.StringPtrInput
	// Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
	SystemDiskEncrypted pulumi.BoolPtrInput
	// The ID of the KMS key used by the system disk.
	SystemDiskKmsKey pulumi.StringPtrInput
	// The system disk performance of the node takes effect only for the ESSD disk.
	// - `PL0`: maximum random read/write IOPS 10000 for a single disk.
	// - `PL1`: maximum random read/write IOPS 50000 for a single disk.
	// - `PL2`: highest random read/write IOPS 100000 for a single disk.
	// - `PL3`: maximum random read/write IOPS 1 million for a single disk.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskProvisionedIops pulumi.IntPtrInput
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrInput
	// The ID of the automatic snapshot policy used by the system disk.
	SystemDiskSnapshotPolicyId pulumi.StringPtrInput
	// Add tags only for ECS instances.  The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://".
	Tags pulumi.MapInput
	// A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
	Taints NodePoolTaintArrayInput
	// The configuration about confidential computing for the cluster. See `teeConfig` below.
	TeeConfig NodePoolTeeConfigPtrInput
	// Whether the node after expansion can be scheduled.
	Unschedulable pulumi.BoolPtrInput
	// Synchronously update node labels and taints.
	UpdateNodes pulumi.BoolPtrInput
	// Node custom data.
	UserData pulumi.StringPtrInput
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a NodePool resource.

func (NodePoolArgs) ElementType

func (NodePoolArgs) ElementType() reflect.Type

type NodePoolArray

type NodePoolArray []NodePoolInput

func (NodePoolArray) ElementType

func (NodePoolArray) ElementType() reflect.Type

func (NodePoolArray) ToNodePoolArrayOutput

func (i NodePoolArray) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArray) ToNodePoolArrayOutputWithContext

func (i NodePoolArray) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolArrayInput

type NodePoolArrayInput interface {
	pulumi.Input

	ToNodePoolArrayOutput() NodePoolArrayOutput
	ToNodePoolArrayOutputWithContext(context.Context) NodePoolArrayOutput
}

NodePoolArrayInput is an input type that accepts NodePoolArray and NodePoolArrayOutput values. You can construct a concrete instance of `NodePoolArrayInput` via:

NodePoolArray{ NodePoolArgs{...} }

type NodePoolArrayOutput

type NodePoolArrayOutput struct{ *pulumi.OutputState }

func (NodePoolArrayOutput) ElementType

func (NodePoolArrayOutput) ElementType() reflect.Type

func (NodePoolArrayOutput) Index

func (NodePoolArrayOutput) ToNodePoolArrayOutput

func (o NodePoolArrayOutput) ToNodePoolArrayOutput() NodePoolArrayOutput

func (NodePoolArrayOutput) ToNodePoolArrayOutputWithContext

func (o NodePoolArrayOutput) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput

type NodePoolDataDisk

type NodePoolDataDisk struct {
	// The ID of the automatic snapshot policy that you want to apply to the system disk.
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	// Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
	BurstingEnabled *bool `pulumi:"burstingEnabled"`
	// The type of the data disks. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloudAuto`.
	Category *string `pulumi:"category"`
	// The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
	Device *string `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default to `false`.
	Encrypted *string `pulumi:"encrypted"`
	// The kms key id used to encrypt the data disk. It takes effect when `encrypted` is true.
	KmsKeyId *string `pulumi:"kmsKeyId"`
	// The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-).
	Name *string `pulumi:"name"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	PerformanceLevel *string `pulumi:"performanceLevel"`
	// The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
	ProvisionedIops *int `pulumi:"provisionedIops"`
	// The size of a data disk, Its valid value range [40~32768] in GB. Default to `40`.
	Size *int `pulumi:"size"`
	// The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
	SnapshotId *string `pulumi:"snapshotId"`
}

type NodePoolDataDiskArgs

type NodePoolDataDiskArgs struct {
	// The ID of the automatic snapshot policy that you want to apply to the system disk.
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	// Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.
	BurstingEnabled pulumi.BoolPtrInput `pulumi:"burstingEnabled"`
	// The type of the data disks. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloudAuto`.
	Category pulumi.StringPtrInput `pulumi:"category"`
	// The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.
	Device pulumi.StringPtrInput `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default to `false`.
	Encrypted pulumi.StringPtrInput `pulumi:"encrypted"`
	// The kms key id used to encrypt the data disk. It takes effect when `encrypted` is true.
	KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.
	PerformanceLevel pulumi.StringPtrInput `pulumi:"performanceLevel"`
	// The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.
	ProvisionedIops pulumi.IntPtrInput `pulumi:"provisionedIops"`
	// The size of a data disk, Its valid value range [40~32768] in GB. Default to `40`.
	Size pulumi.IntPtrInput `pulumi:"size"`
	// The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (NodePoolDataDiskArgs) ElementType

func (NodePoolDataDiskArgs) ElementType() reflect.Type

func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutput

func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput

func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext

func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput

type NodePoolDataDiskArray

type NodePoolDataDiskArray []NodePoolDataDiskInput

func (NodePoolDataDiskArray) ElementType

func (NodePoolDataDiskArray) ElementType() reflect.Type

func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput

func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput

func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext

func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput

type NodePoolDataDiskArrayInput

type NodePoolDataDiskArrayInput interface {
	pulumi.Input

	ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput
	ToNodePoolDataDiskArrayOutputWithContext(context.Context) NodePoolDataDiskArrayOutput
}

NodePoolDataDiskArrayInput is an input type that accepts NodePoolDataDiskArray and NodePoolDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolDataDiskArrayInput` via:

NodePoolDataDiskArray{ NodePoolDataDiskArgs{...} }

type NodePoolDataDiskArrayOutput

type NodePoolDataDiskArrayOutput struct{ *pulumi.OutputState }

func (NodePoolDataDiskArrayOutput) ElementType

func (NodePoolDataDiskArrayOutput) Index

func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput

func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput

func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext

func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput

type NodePoolDataDiskInput

type NodePoolDataDiskInput interface {
	pulumi.Input

	ToNodePoolDataDiskOutput() NodePoolDataDiskOutput
	ToNodePoolDataDiskOutputWithContext(context.Context) NodePoolDataDiskOutput
}

NodePoolDataDiskInput is an input type that accepts NodePoolDataDiskArgs and NodePoolDataDiskOutput values. You can construct a concrete instance of `NodePoolDataDiskInput` via:

NodePoolDataDiskArgs{...}

type NodePoolDataDiskOutput

type NodePoolDataDiskOutput struct{ *pulumi.OutputState }

func (NodePoolDataDiskOutput) AutoSnapshotPolicyId

func (o NodePoolDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput

The ID of the automatic snapshot policy that you want to apply to the system disk.

func (NodePoolDataDiskOutput) BurstingEnabled added in v3.51.0

func (o NodePoolDataDiskOutput) BurstingEnabled() pulumi.BoolPtrOutput

Whether the data disk is enabled with Burst (performance Burst). This is configured when the disk type is cloud_auto.

func (NodePoolDataDiskOutput) Category

The type of the data disks. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd`, `cloudEssd`, `cloudAuto`.

func (NodePoolDataDiskOutput) Device

The mount target of data disk N. Valid values of N: 1 to 16. If you do not specify this parameter, the system automatically assigns a mount target when Auto Scaling creates ECS instances. The name of the mount target ranges from /dev/xvdb to /dev/xvdz.

func (NodePoolDataDiskOutput) ElementType

func (NodePoolDataDiskOutput) ElementType() reflect.Type

func (NodePoolDataDiskOutput) Encrypted

Specifies whether to encrypt data disks. Valid values: true and false. Default to `false`.

func (NodePoolDataDiskOutput) KmsKeyId

The kms key id used to encrypt the data disk. It takes effect when `encrypted` is true.

func (NodePoolDataDiskOutput) Name

The length is 2~128 English or Chinese characters. It must start with an uppercase or lowr letter or a Chinese character and cannot start with http:// or https. Can contain numbers, colons (:), underscores (_), or dashes (-).

func (NodePoolDataDiskOutput) PerformanceLevel

func (o NodePoolDataDiskOutput) PerformanceLevel() pulumi.StringPtrOutput

Worker node data disk performance level, when `category` values `cloudEssd`, the optional values are `PL0`, `PL1`, `PL2` or `PL3`, but the specific performance level is related to the disk capacity. For more information, see [Enhanced SSDs](https://www.alibabacloud.com/help/doc-detail/122389.htm). Default is `PL1`.

func (NodePoolDataDiskOutput) ProvisionedIops added in v3.51.0

func (o NodePoolDataDiskOutput) ProvisionedIops() pulumi.IntPtrOutput

The read/write IOPS preconfigured for the data disk, which is configured when the disk type is cloud_auto.

func (NodePoolDataDiskOutput) Size

The size of a data disk, Its valid value range [40~32768] in GB. Default to `40`.

func (NodePoolDataDiskOutput) SnapshotId

The ID of the snapshot that you want to use to create data disk N. Valid values of N: 1 to 16. If you specify this parameter, DataDisk.N.Size is ignored. The size of the disk is the same as the size of the specified snapshot. If you specify a snapshot that is created on or before July 15, 2013, the operation fails and InvalidSnapshot.TooOld is returned.

func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutput

func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput

func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext

func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput

type NodePoolInput

type NodePoolInput interface {
	pulumi.Input

	ToNodePoolOutput() NodePoolOutput
	ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
}

type NodePoolKubeletConfiguration added in v3.28.0

type NodePoolKubeletConfiguration struct {
	// Allowed sysctl mode whitelist.
	AllowedUnsafeSysctls []string `pulumi:"allowedUnsafeSysctls"`
	// The maximum number of log files that can exist in each container.
	ContainerLogMaxFiles *string `pulumi:"containerLogMaxFiles"`
	// The maximum size that can be reached before a log file is rotated.
	ContainerLogMaxSize *string `pulumi:"containerLogMaxSize"`
	// Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.
	CpuManagerPolicy *string `pulumi:"cpuManagerPolicy"`
	// Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `eventRecordQps`. It is only used when `eventRecordQps` is greater than 0. Valid value is `[0-100]`.
	EventBurst *string `pulumi:"eventBurst"`
	// Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.
	EventRecordQps *string `pulumi:"eventRecordQps"`
	// Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
	EvictionHard map[string]interface{} `pulumi:"evictionHard"`
	// Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
	EvictionSoft map[string]interface{} `pulumi:"evictionSoft"`
	// Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
	EvictionSoftGracePeriod map[string]interface{} `pulumi:"evictionSoftGracePeriod"`
	// Feature switch to enable configuration of experimental features.
	FeatureGates map[string]bool `pulumi:"featureGates"`
	// Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.
	KubeApiBurst *string `pulumi:"kubeApiBurst"`
	// Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.
	KubeApiQps *string `pulumi:"kubeApiQps"`
	// Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
	KubeReserved map[string]interface{} `pulumi:"kubeReserved"`
	// The maximum number of running pods.
	MaxPods *string `pulumi:"maxPods"`
	// Read-only port number.
	ReadOnlyPort *string `pulumi:"readOnlyPort"`
	// Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registryPullQps`. Only used if `registryPullQps` is greater than 0. Valid value is `[0-100]`.
	RegistryBurst *string `pulumi:"registryBurst"`
	// Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.
	RegistryPullQps *string `pulumi:"registryPullQps"`
	// Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.
	SerializeImagePulls *string `pulumi:"serializeImagePulls"`
	// Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
	SystemReserved map[string]interface{} `pulumi:"systemReserved"`
}

type NodePoolKubeletConfigurationArgs added in v3.28.0

type NodePoolKubeletConfigurationArgs struct {
	// Allowed sysctl mode whitelist.
	AllowedUnsafeSysctls pulumi.StringArrayInput `pulumi:"allowedUnsafeSysctls"`
	// The maximum number of log files that can exist in each container.
	ContainerLogMaxFiles pulumi.StringPtrInput `pulumi:"containerLogMaxFiles"`
	// The maximum size that can be reached before a log file is rotated.
	ContainerLogMaxSize pulumi.StringPtrInput `pulumi:"containerLogMaxSize"`
	// Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.
	CpuManagerPolicy pulumi.StringPtrInput `pulumi:"cpuManagerPolicy"`
	// Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `eventRecordQps`. It is only used when `eventRecordQps` is greater than 0. Valid value is `[0-100]`.
	EventBurst pulumi.StringPtrInput `pulumi:"eventBurst"`
	// Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.
	EventRecordQps pulumi.StringPtrInput `pulumi:"eventRecordQps"`
	// Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
	EvictionHard pulumi.MapInput `pulumi:"evictionHard"`
	// Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
	EvictionSoft pulumi.MapInput `pulumi:"evictionSoft"`
	// Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
	EvictionSoftGracePeriod pulumi.MapInput `pulumi:"evictionSoftGracePeriod"`
	// Feature switch to enable configuration of experimental features.
	FeatureGates pulumi.BoolMapInput `pulumi:"featureGates"`
	// Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.
	KubeApiBurst pulumi.StringPtrInput `pulumi:"kubeApiBurst"`
	// Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.
	KubeApiQps pulumi.StringPtrInput `pulumi:"kubeApiQps"`
	// Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
	KubeReserved pulumi.MapInput `pulumi:"kubeReserved"`
	// The maximum number of running pods.
	MaxPods pulumi.StringPtrInput `pulumi:"maxPods"`
	// Read-only port number.
	ReadOnlyPort pulumi.StringPtrInput `pulumi:"readOnlyPort"`
	// Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registryPullQps`. Only used if `registryPullQps` is greater than 0. Valid value is `[0-100]`.
	RegistryBurst pulumi.StringPtrInput `pulumi:"registryBurst"`
	// Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.
	RegistryPullQps pulumi.StringPtrInput `pulumi:"registryPullQps"`
	// Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.
	SerializeImagePulls pulumi.StringPtrInput `pulumi:"serializeImagePulls"`
	// Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
	SystemReserved pulumi.MapInput `pulumi:"systemReserved"`
}

func (NodePoolKubeletConfigurationArgs) ElementType added in v3.28.0

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutput added in v3.28.0

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutput() NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutputWithContext added in v3.28.0

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutput added in v3.28.0

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutputWithContext added in v3.28.0

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationPtrOutput

type NodePoolKubeletConfigurationInput added in v3.28.0

type NodePoolKubeletConfigurationInput interface {
	pulumi.Input

	ToNodePoolKubeletConfigurationOutput() NodePoolKubeletConfigurationOutput
	ToNodePoolKubeletConfigurationOutputWithContext(context.Context) NodePoolKubeletConfigurationOutput
}

NodePoolKubeletConfigurationInput is an input type that accepts NodePoolKubeletConfigurationArgs and NodePoolKubeletConfigurationOutput values. You can construct a concrete instance of `NodePoolKubeletConfigurationInput` via:

NodePoolKubeletConfigurationArgs{...}

type NodePoolKubeletConfigurationOutput added in v3.28.0

type NodePoolKubeletConfigurationOutput struct{ *pulumi.OutputState }

func (NodePoolKubeletConfigurationOutput) AllowedUnsafeSysctls added in v3.51.0

Allowed sysctl mode whitelist.

func (NodePoolKubeletConfigurationOutput) ContainerLogMaxFiles added in v3.51.0

The maximum number of log files that can exist in each container.

func (NodePoolKubeletConfigurationOutput) ContainerLogMaxSize added in v3.51.0

The maximum size that can be reached before a log file is rotated.

func (NodePoolKubeletConfigurationOutput) CpuManagerPolicy added in v3.28.0

Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.

func (NodePoolKubeletConfigurationOutput) ElementType added in v3.28.0

func (NodePoolKubeletConfigurationOutput) EventBurst added in v3.28.0

Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `eventRecordQps`. It is only used when `eventRecordQps` is greater than 0. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationOutput) EventRecordQps added in v3.28.0

Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationOutput) EvictionHard added in v3.28.0

Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationOutput) EvictionSoft added in v3.28.0

Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationOutput) EvictionSoftGracePeriod added in v3.28.0

func (o NodePoolKubeletConfigurationOutput) EvictionSoftGracePeriod() pulumi.MapOutput

Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.

func (NodePoolKubeletConfigurationOutput) FeatureGates added in v3.51.0

Feature switch to enable configuration of experimental features.

func (NodePoolKubeletConfigurationOutput) KubeApiBurst added in v3.28.0

Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationOutput) KubeApiQps added in v3.28.0

Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationOutput) KubeReserved added in v3.28.0

Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.

func (NodePoolKubeletConfigurationOutput) MaxPods added in v3.51.0

The maximum number of running pods.

func (NodePoolKubeletConfigurationOutput) ReadOnlyPort added in v3.51.0

Read-only port number.

func (NodePoolKubeletConfigurationOutput) RegistryBurst added in v3.28.0

Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registryPullQps`. Only used if `registryPullQps` is greater than 0. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationOutput) RegistryPullQps added in v3.28.0

Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationOutput) SerializeImagePulls added in v3.28.0

Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.

func (NodePoolKubeletConfigurationOutput) SystemReserved added in v3.28.0

Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutput added in v3.28.0

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutput() NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutputWithContext added in v3.28.0

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutput added in v3.28.0

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext added in v3.28.0

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationPtrOutput

type NodePoolKubeletConfigurationPtrInput added in v3.28.0

type NodePoolKubeletConfigurationPtrInput interface {
	pulumi.Input

	ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput
	ToNodePoolKubeletConfigurationPtrOutputWithContext(context.Context) NodePoolKubeletConfigurationPtrOutput
}

NodePoolKubeletConfigurationPtrInput is an input type that accepts NodePoolKubeletConfigurationArgs, NodePoolKubeletConfigurationPtr and NodePoolKubeletConfigurationPtrOutput values. You can construct a concrete instance of `NodePoolKubeletConfigurationPtrInput` via:

        NodePoolKubeletConfigurationArgs{...}

or:

        nil

func NodePoolKubeletConfigurationPtr added in v3.28.0

type NodePoolKubeletConfigurationPtrOutput added in v3.28.0

type NodePoolKubeletConfigurationPtrOutput struct{ *pulumi.OutputState }

func (NodePoolKubeletConfigurationPtrOutput) AllowedUnsafeSysctls added in v3.51.0

Allowed sysctl mode whitelist.

func (NodePoolKubeletConfigurationPtrOutput) ContainerLogMaxFiles added in v3.51.0

The maximum number of log files that can exist in each container.

func (NodePoolKubeletConfigurationPtrOutput) ContainerLogMaxSize added in v3.51.0

The maximum size that can be reached before a log file is rotated.

func (NodePoolKubeletConfigurationPtrOutput) CpuManagerPolicy added in v3.28.0

Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.

func (NodePoolKubeletConfigurationPtrOutput) Elem added in v3.28.0

func (NodePoolKubeletConfigurationPtrOutput) ElementType added in v3.28.0

func (NodePoolKubeletConfigurationPtrOutput) EventBurst added in v3.28.0

Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `eventRecordQps`. It is only used when `eventRecordQps` is greater than 0. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationPtrOutput) EventRecordQps added in v3.28.0

Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionHard added in v3.28.0

Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionSoft added in v3.28.0

Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionSoftGracePeriod added in v3.28.0

func (o NodePoolKubeletConfigurationPtrOutput) EvictionSoftGracePeriod() pulumi.MapOutput

Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.

func (NodePoolKubeletConfigurationPtrOutput) FeatureGates added in v3.51.0

Feature switch to enable configuration of experimental features.

func (NodePoolKubeletConfigurationPtrOutput) KubeApiBurst added in v3.28.0

Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationPtrOutput) KubeApiQps added in v3.28.0

Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationPtrOutput) KubeReserved added in v3.28.0

Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.

func (NodePoolKubeletConfigurationPtrOutput) MaxPods added in v3.51.0

The maximum number of running pods.

func (NodePoolKubeletConfigurationPtrOutput) ReadOnlyPort added in v3.51.0

Read-only port number.

func (NodePoolKubeletConfigurationPtrOutput) RegistryBurst added in v3.28.0

Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registryPullQps`. Only used if `registryPullQps` is greater than 0. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationPtrOutput) RegistryPullQps added in v3.28.0

Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationPtrOutput) SerializeImagePulls added in v3.28.0

Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.

func (NodePoolKubeletConfigurationPtrOutput) SystemReserved added in v3.28.0

Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.

func (NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutput added in v3.28.0

func (o NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext added in v3.28.0

func (o NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationPtrOutput

type NodePoolLabel

type NodePoolLabel struct {
	// The label key.
	Key string `pulumi:"key"`
	// The label value.
	Value *string `pulumi:"value"`
}

type NodePoolLabelArgs

type NodePoolLabelArgs struct {
	// The label key.
	Key pulumi.StringInput `pulumi:"key"`
	// The label value.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (NodePoolLabelArgs) ElementType

func (NodePoolLabelArgs) ElementType() reflect.Type

func (NodePoolLabelArgs) ToNodePoolLabelOutput

func (i NodePoolLabelArgs) ToNodePoolLabelOutput() NodePoolLabelOutput

func (NodePoolLabelArgs) ToNodePoolLabelOutputWithContext

func (i NodePoolLabelArgs) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput

type NodePoolLabelArray

type NodePoolLabelArray []NodePoolLabelInput

func (NodePoolLabelArray) ElementType

func (NodePoolLabelArray) ElementType() reflect.Type

func (NodePoolLabelArray) ToNodePoolLabelArrayOutput

func (i NodePoolLabelArray) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput

func (NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext

func (i NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput

type NodePoolLabelArrayInput

type NodePoolLabelArrayInput interface {
	pulumi.Input

	ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput
	ToNodePoolLabelArrayOutputWithContext(context.Context) NodePoolLabelArrayOutput
}

NodePoolLabelArrayInput is an input type that accepts NodePoolLabelArray and NodePoolLabelArrayOutput values. You can construct a concrete instance of `NodePoolLabelArrayInput` via:

NodePoolLabelArray{ NodePoolLabelArgs{...} }

type NodePoolLabelArrayOutput

type NodePoolLabelArrayOutput struct{ *pulumi.OutputState }

func (NodePoolLabelArrayOutput) ElementType

func (NodePoolLabelArrayOutput) ElementType() reflect.Type

func (NodePoolLabelArrayOutput) Index

func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput

func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput

func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext

func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput

type NodePoolLabelInput

type NodePoolLabelInput interface {
	pulumi.Input

	ToNodePoolLabelOutput() NodePoolLabelOutput
	ToNodePoolLabelOutputWithContext(context.Context) NodePoolLabelOutput
}

NodePoolLabelInput is an input type that accepts NodePoolLabelArgs and NodePoolLabelOutput values. You can construct a concrete instance of `NodePoolLabelInput` via:

NodePoolLabelArgs{...}

type NodePoolLabelOutput

type NodePoolLabelOutput struct{ *pulumi.OutputState }

func (NodePoolLabelOutput) ElementType

func (NodePoolLabelOutput) ElementType() reflect.Type

func (NodePoolLabelOutput) Key

The label key.

func (NodePoolLabelOutput) ToNodePoolLabelOutput

func (o NodePoolLabelOutput) ToNodePoolLabelOutput() NodePoolLabelOutput

func (NodePoolLabelOutput) ToNodePoolLabelOutputWithContext

func (o NodePoolLabelOutput) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput

func (NodePoolLabelOutput) Value

The label value.

type NodePoolManagement

type NodePoolManagement struct {
	// Whether to enable automatic repair. Valid values: `true`: Automatic repair. `false`: not automatically repaired.
	AutoRepair *bool `pulumi:"autoRepair"`
	// Automatic repair node policy. See `autoRepairPolicy` below.
	AutoRepairPolicy *NodePoolManagementAutoRepairPolicy `pulumi:"autoRepairPolicy"`
	// Specifies whether to enable auto update. Valid values: `true`: enables auto update. `false`: disables auto update.
	AutoUpgrade *bool `pulumi:"autoUpgrade"`
	// The auto update policy. See `autoUpgradePolicy` below.
	AutoUpgradePolicy *NodePoolManagementAutoUpgradePolicy `pulumi:"autoUpgradePolicy"`
	// Specifies whether to automatically patch CVE vulnerabilities. Valid values: `true`, `false`.
	AutoVulFix *bool `pulumi:"autoVulFix"`
	// The auto CVE patching policy. See `autoVulFixPolicy` below.
	AutoVulFixPolicy *NodePoolManagementAutoVulFixPolicy `pulumi:"autoVulFixPolicy"`
	// Specifies whether to enable the managed node pool feature. Valid values: `true`: enables the managed node pool feature. `false`: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
	Enable *bool `pulumi:"enable"`
	// Maximum number of unavailable nodes. Default value: 1. Value range:\[1,1000\].
	MaxUnavailable *int `pulumi:"maxUnavailable"`
	// Number of additional nodes. You have to specify one of surge, surge_percentage.
	//
	// Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.
	Surge *int `pulumi:"surge"`
	// Proportion of additional nodes. You have to specify one of surge, surge_percentage.
	//
	// Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.
	SurgePercentage *int `pulumi:"surgePercentage"`
}

type NodePoolManagementArgs

type NodePoolManagementArgs struct {
	// Whether to enable automatic repair. Valid values: `true`: Automatic repair. `false`: not automatically repaired.
	AutoRepair pulumi.BoolPtrInput `pulumi:"autoRepair"`
	// Automatic repair node policy. See `autoRepairPolicy` below.
	AutoRepairPolicy NodePoolManagementAutoRepairPolicyPtrInput `pulumi:"autoRepairPolicy"`
	// Specifies whether to enable auto update. Valid values: `true`: enables auto update. `false`: disables auto update.
	AutoUpgrade pulumi.BoolPtrInput `pulumi:"autoUpgrade"`
	// The auto update policy. See `autoUpgradePolicy` below.
	AutoUpgradePolicy NodePoolManagementAutoUpgradePolicyPtrInput `pulumi:"autoUpgradePolicy"`
	// Specifies whether to automatically patch CVE vulnerabilities. Valid values: `true`, `false`.
	AutoVulFix pulumi.BoolPtrInput `pulumi:"autoVulFix"`
	// The auto CVE patching policy. See `autoVulFixPolicy` below.
	AutoVulFixPolicy NodePoolManagementAutoVulFixPolicyPtrInput `pulumi:"autoVulFixPolicy"`
	// Specifies whether to enable the managed node pool feature. Valid values: `true`: enables the managed node pool feature. `false`: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.
	Enable pulumi.BoolPtrInput `pulumi:"enable"`
	// Maximum number of unavailable nodes. Default value: 1. Value range:\[1,1000\].
	MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"`
	// Number of additional nodes. You have to specify one of surge, surge_percentage.
	//
	// Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.
	Surge pulumi.IntPtrInput `pulumi:"surge"`
	// Proportion of additional nodes. You have to specify one of surge, surge_percentage.
	//
	// Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.
	SurgePercentage pulumi.IntPtrInput `pulumi:"surgePercentage"`
}

func (NodePoolManagementArgs) ElementType

func (NodePoolManagementArgs) ElementType() reflect.Type

func (NodePoolManagementArgs) ToNodePoolManagementOutput

func (i NodePoolManagementArgs) ToNodePoolManagementOutput() NodePoolManagementOutput

func (NodePoolManagementArgs) ToNodePoolManagementOutputWithContext

func (i NodePoolManagementArgs) ToNodePoolManagementOutputWithContext(ctx context.Context) NodePoolManagementOutput

func (NodePoolManagementArgs) ToNodePoolManagementPtrOutput

func (i NodePoolManagementArgs) ToNodePoolManagementPtrOutput() NodePoolManagementPtrOutput

func (NodePoolManagementArgs) ToNodePoolManagementPtrOutputWithContext

func (i NodePoolManagementArgs) ToNodePoolManagementPtrOutputWithContext(ctx context.Context) NodePoolManagementPtrOutput

type NodePoolManagementAutoRepairPolicy added in v3.51.0

type NodePoolManagementAutoRepairPolicy struct {
	// Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.
	RestartNode *bool `pulumi:"restartNode"`
}

type NodePoolManagementAutoRepairPolicyArgs added in v3.51.0

type NodePoolManagementAutoRepairPolicyArgs struct {
	// Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.
	RestartNode pulumi.BoolPtrInput `pulumi:"restartNode"`
}

func (NodePoolManagementAutoRepairPolicyArgs) ElementType added in v3.51.0

func (NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyOutput added in v3.51.0

func (i NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyOutput() NodePoolManagementAutoRepairPolicyOutput

func (NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoRepairPolicyOutput

func (NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyPtrOutput added in v3.51.0

func (i NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyPtrOutput() NodePoolManagementAutoRepairPolicyPtrOutput

func (NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoRepairPolicyArgs) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoRepairPolicyPtrOutput

type NodePoolManagementAutoRepairPolicyInput added in v3.51.0

type NodePoolManagementAutoRepairPolicyInput interface {
	pulumi.Input

	ToNodePoolManagementAutoRepairPolicyOutput() NodePoolManagementAutoRepairPolicyOutput
	ToNodePoolManagementAutoRepairPolicyOutputWithContext(context.Context) NodePoolManagementAutoRepairPolicyOutput
}

NodePoolManagementAutoRepairPolicyInput is an input type that accepts NodePoolManagementAutoRepairPolicyArgs and NodePoolManagementAutoRepairPolicyOutput values. You can construct a concrete instance of `NodePoolManagementAutoRepairPolicyInput` via:

NodePoolManagementAutoRepairPolicyArgs{...}

type NodePoolManagementAutoRepairPolicyOutput added in v3.51.0

type NodePoolManagementAutoRepairPolicyOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoRepairPolicyOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoRepairPolicyOutput) RestartNode added in v3.51.0

Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyOutput added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyOutput() NodePoolManagementAutoRepairPolicyOutput

func (NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoRepairPolicyOutput

func (NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyPtrOutput() NodePoolManagementAutoRepairPolicyPtrOutput

func (NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyOutput) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoRepairPolicyPtrOutput

type NodePoolManagementAutoRepairPolicyPtrInput added in v3.51.0

type NodePoolManagementAutoRepairPolicyPtrInput interface {
	pulumi.Input

	ToNodePoolManagementAutoRepairPolicyPtrOutput() NodePoolManagementAutoRepairPolicyPtrOutput
	ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext(context.Context) NodePoolManagementAutoRepairPolicyPtrOutput
}

NodePoolManagementAutoRepairPolicyPtrInput is an input type that accepts NodePoolManagementAutoRepairPolicyArgs, NodePoolManagementAutoRepairPolicyPtr and NodePoolManagementAutoRepairPolicyPtrOutput values. You can construct a concrete instance of `NodePoolManagementAutoRepairPolicyPtrInput` via:

        NodePoolManagementAutoRepairPolicyArgs{...}

or:

        nil

type NodePoolManagementAutoRepairPolicyPtrOutput added in v3.51.0

type NodePoolManagementAutoRepairPolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoRepairPolicyPtrOutput) Elem added in v3.51.0

func (NodePoolManagementAutoRepairPolicyPtrOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoRepairPolicyPtrOutput) RestartNode added in v3.51.0

Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementAutoRepairPolicyPtrOutput) ToNodePoolManagementAutoRepairPolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyPtrOutput) ToNodePoolManagementAutoRepairPolicyPtrOutput() NodePoolManagementAutoRepairPolicyPtrOutput

func (NodePoolManagementAutoRepairPolicyPtrOutput) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoRepairPolicyPtrOutput) ToNodePoolManagementAutoRepairPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoRepairPolicyPtrOutput

type NodePoolManagementAutoUpgradePolicy added in v3.51.0

type NodePoolManagementAutoUpgradePolicy struct {
	// Specifies whether  to automatically update the kubelet. Valid values: `true`: yes; `false`: no.
	AutoUpgradeKubelet *bool `pulumi:"autoUpgradeKubelet"`
}

type NodePoolManagementAutoUpgradePolicyArgs added in v3.51.0

type NodePoolManagementAutoUpgradePolicyArgs struct {
	// Specifies whether  to automatically update the kubelet. Valid values: `true`: yes; `false`: no.
	AutoUpgradeKubelet pulumi.BoolPtrInput `pulumi:"autoUpgradeKubelet"`
}

func (NodePoolManagementAutoUpgradePolicyArgs) ElementType added in v3.51.0

func (NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyOutput added in v3.51.0

func (i NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyOutput() NodePoolManagementAutoUpgradePolicyOutput

func (NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoUpgradePolicyOutput

func (NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyPtrOutput added in v3.51.0

func (i NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyPtrOutput() NodePoolManagementAutoUpgradePolicyPtrOutput

func (NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoUpgradePolicyArgs) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoUpgradePolicyPtrOutput

type NodePoolManagementAutoUpgradePolicyInput added in v3.51.0

type NodePoolManagementAutoUpgradePolicyInput interface {
	pulumi.Input

	ToNodePoolManagementAutoUpgradePolicyOutput() NodePoolManagementAutoUpgradePolicyOutput
	ToNodePoolManagementAutoUpgradePolicyOutputWithContext(context.Context) NodePoolManagementAutoUpgradePolicyOutput
}

NodePoolManagementAutoUpgradePolicyInput is an input type that accepts NodePoolManagementAutoUpgradePolicyArgs and NodePoolManagementAutoUpgradePolicyOutput values. You can construct a concrete instance of `NodePoolManagementAutoUpgradePolicyInput` via:

NodePoolManagementAutoUpgradePolicyArgs{...}

type NodePoolManagementAutoUpgradePolicyOutput added in v3.51.0

type NodePoolManagementAutoUpgradePolicyOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoUpgradePolicyOutput) AutoUpgradeKubelet added in v3.51.0

Specifies whether to automatically update the kubelet. Valid values: `true`: yes; `false`: no.

func (NodePoolManagementAutoUpgradePolicyOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyOutput added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyOutput() NodePoolManagementAutoUpgradePolicyOutput

func (NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoUpgradePolicyOutput

func (NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutput() NodePoolManagementAutoUpgradePolicyPtrOutput

func (NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoUpgradePolicyPtrOutput

type NodePoolManagementAutoUpgradePolicyPtrInput added in v3.51.0

type NodePoolManagementAutoUpgradePolicyPtrInput interface {
	pulumi.Input

	ToNodePoolManagementAutoUpgradePolicyPtrOutput() NodePoolManagementAutoUpgradePolicyPtrOutput
	ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext(context.Context) NodePoolManagementAutoUpgradePolicyPtrOutput
}

NodePoolManagementAutoUpgradePolicyPtrInput is an input type that accepts NodePoolManagementAutoUpgradePolicyArgs, NodePoolManagementAutoUpgradePolicyPtr and NodePoolManagementAutoUpgradePolicyPtrOutput values. You can construct a concrete instance of `NodePoolManagementAutoUpgradePolicyPtrInput` via:

        NodePoolManagementAutoUpgradePolicyArgs{...}

or:

        nil

type NodePoolManagementAutoUpgradePolicyPtrOutput added in v3.51.0

type NodePoolManagementAutoUpgradePolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoUpgradePolicyPtrOutput) AutoUpgradeKubelet added in v3.51.0

Specifies whether to automatically update the kubelet. Valid values: `true`: yes; `false`: no.

func (NodePoolManagementAutoUpgradePolicyPtrOutput) Elem added in v3.51.0

func (NodePoolManagementAutoUpgradePolicyPtrOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoUpgradePolicyPtrOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyPtrOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutput() NodePoolManagementAutoUpgradePolicyPtrOutput

func (NodePoolManagementAutoUpgradePolicyPtrOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoUpgradePolicyPtrOutput) ToNodePoolManagementAutoUpgradePolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoUpgradePolicyPtrOutput

type NodePoolManagementAutoVulFixPolicy added in v3.51.0

type NodePoolManagementAutoVulFixPolicy struct {
	// Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.
	RestartNode *bool `pulumi:"restartNode"`
	// The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
	VulLevel *string `pulumi:"vulLevel"`
}

type NodePoolManagementAutoVulFixPolicyArgs added in v3.51.0

type NodePoolManagementAutoVulFixPolicyArgs struct {
	// Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.
	RestartNode pulumi.BoolPtrInput `pulumi:"restartNode"`
	// The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).
	VulLevel pulumi.StringPtrInput `pulumi:"vulLevel"`
}

func (NodePoolManagementAutoVulFixPolicyArgs) ElementType added in v3.51.0

func (NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyOutput added in v3.51.0

func (i NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyOutput() NodePoolManagementAutoVulFixPolicyOutput

func (NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoVulFixPolicyOutput

func (NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyPtrOutput added in v3.51.0

func (i NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyPtrOutput() NodePoolManagementAutoVulFixPolicyPtrOutput

func (NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext added in v3.51.0

func (i NodePoolManagementAutoVulFixPolicyArgs) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoVulFixPolicyPtrOutput

type NodePoolManagementAutoVulFixPolicyInput added in v3.51.0

type NodePoolManagementAutoVulFixPolicyInput interface {
	pulumi.Input

	ToNodePoolManagementAutoVulFixPolicyOutput() NodePoolManagementAutoVulFixPolicyOutput
	ToNodePoolManagementAutoVulFixPolicyOutputWithContext(context.Context) NodePoolManagementAutoVulFixPolicyOutput
}

NodePoolManagementAutoVulFixPolicyInput is an input type that accepts NodePoolManagementAutoVulFixPolicyArgs and NodePoolManagementAutoVulFixPolicyOutput values. You can construct a concrete instance of `NodePoolManagementAutoVulFixPolicyInput` via:

NodePoolManagementAutoVulFixPolicyArgs{...}

type NodePoolManagementAutoVulFixPolicyOutput added in v3.51.0

type NodePoolManagementAutoVulFixPolicyOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoVulFixPolicyOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoVulFixPolicyOutput) RestartNode added in v3.51.0

Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyOutput added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyOutput() NodePoolManagementAutoVulFixPolicyOutput

func (NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyOutputWithContext(ctx context.Context) NodePoolManagementAutoVulFixPolicyOutput

func (NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutput() NodePoolManagementAutoVulFixPolicyPtrOutput

func (NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoVulFixPolicyPtrOutput

func (NodePoolManagementAutoVulFixPolicyOutput) VulLevel added in v3.51.0

The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).

type NodePoolManagementAutoVulFixPolicyPtrInput added in v3.51.0

type NodePoolManagementAutoVulFixPolicyPtrInput interface {
	pulumi.Input

	ToNodePoolManagementAutoVulFixPolicyPtrOutput() NodePoolManagementAutoVulFixPolicyPtrOutput
	ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext(context.Context) NodePoolManagementAutoVulFixPolicyPtrOutput
}

NodePoolManagementAutoVulFixPolicyPtrInput is an input type that accepts NodePoolManagementAutoVulFixPolicyArgs, NodePoolManagementAutoVulFixPolicyPtr and NodePoolManagementAutoVulFixPolicyPtrOutput values. You can construct a concrete instance of `NodePoolManagementAutoVulFixPolicyPtrInput` via:

        NodePoolManagementAutoVulFixPolicyArgs{...}

or:

        nil

type NodePoolManagementAutoVulFixPolicyPtrOutput added in v3.51.0

type NodePoolManagementAutoVulFixPolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolManagementAutoVulFixPolicyPtrOutput) Elem added in v3.51.0

func (NodePoolManagementAutoVulFixPolicyPtrOutput) ElementType added in v3.51.0

func (NodePoolManagementAutoVulFixPolicyPtrOutput) RestartNode added in v3.51.0

Specifies whether to automatically restart nodes after patching CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementAutoVulFixPolicyPtrOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutput added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyPtrOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutput() NodePoolManagementAutoVulFixPolicyPtrOutput

func (NodePoolManagementAutoVulFixPolicyPtrOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext added in v3.51.0

func (o NodePoolManagementAutoVulFixPolicyPtrOutput) ToNodePoolManagementAutoVulFixPolicyPtrOutputWithContext(ctx context.Context) NodePoolManagementAutoVulFixPolicyPtrOutput

func (NodePoolManagementAutoVulFixPolicyPtrOutput) VulLevel added in v3.51.0

The severity levels of vulnerabilities that is allowed to automatically patch. Multiple severity levels are separated by commas (,).

type NodePoolManagementInput

type NodePoolManagementInput interface {
	pulumi.Input

	ToNodePoolManagementOutput() NodePoolManagementOutput
	ToNodePoolManagementOutputWithContext(context.Context) NodePoolManagementOutput
}

NodePoolManagementInput is an input type that accepts NodePoolManagementArgs and NodePoolManagementOutput values. You can construct a concrete instance of `NodePoolManagementInput` via:

NodePoolManagementArgs{...}

type NodePoolManagementOutput

type NodePoolManagementOutput struct{ *pulumi.OutputState }

func (NodePoolManagementOutput) AutoRepair

Whether to enable automatic repair. Valid values: `true`: Automatic repair. `false`: not automatically repaired.

func (NodePoolManagementOutput) AutoRepairPolicy added in v3.51.0

Automatic repair node policy. See `autoRepairPolicy` below.

func (NodePoolManagementOutput) AutoUpgrade

Specifies whether to enable auto update. Valid values: `true`: enables auto update. `false`: disables auto update.

func (NodePoolManagementOutput) AutoUpgradePolicy added in v3.51.0

The auto update policy. See `autoUpgradePolicy` below.

func (NodePoolManagementOutput) AutoVulFix added in v3.51.0

Specifies whether to automatically patch CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementOutput) AutoVulFixPolicy added in v3.51.0

The auto CVE patching policy. See `autoVulFixPolicy` below.

func (NodePoolManagementOutput) ElementType

func (NodePoolManagementOutput) ElementType() reflect.Type

func (NodePoolManagementOutput) Enable added in v3.51.0

Specifies whether to enable the managed node pool feature. Valid values: `true`: enables the managed node pool feature. `false`: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.

func (NodePoolManagementOutput) MaxUnavailable

func (o NodePoolManagementOutput) MaxUnavailable() pulumi.IntPtrOutput

Maximum number of unavailable nodes. Default value: 1. Value range:\[1,1000\].

func (NodePoolManagementOutput) Surge deprecated

Number of additional nodes. You have to specify one of surge, surge_percentage.

Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementOutput) SurgePercentage deprecated

func (o NodePoolManagementOutput) SurgePercentage() pulumi.IntPtrOutput

Proportion of additional nodes. You have to specify one of surge, surge_percentage.

Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementOutput) ToNodePoolManagementOutput

func (o NodePoolManagementOutput) ToNodePoolManagementOutput() NodePoolManagementOutput

func (NodePoolManagementOutput) ToNodePoolManagementOutputWithContext

func (o NodePoolManagementOutput) ToNodePoolManagementOutputWithContext(ctx context.Context) NodePoolManagementOutput

func (NodePoolManagementOutput) ToNodePoolManagementPtrOutput

func (o NodePoolManagementOutput) ToNodePoolManagementPtrOutput() NodePoolManagementPtrOutput

func (NodePoolManagementOutput) ToNodePoolManagementPtrOutputWithContext

func (o NodePoolManagementOutput) ToNodePoolManagementPtrOutputWithContext(ctx context.Context) NodePoolManagementPtrOutput

type NodePoolManagementPtrInput

type NodePoolManagementPtrInput interface {
	pulumi.Input

	ToNodePoolManagementPtrOutput() NodePoolManagementPtrOutput
	ToNodePoolManagementPtrOutputWithContext(context.Context) NodePoolManagementPtrOutput
}

NodePoolManagementPtrInput is an input type that accepts NodePoolManagementArgs, NodePoolManagementPtr and NodePoolManagementPtrOutput values. You can construct a concrete instance of `NodePoolManagementPtrInput` via:

        NodePoolManagementArgs{...}

or:

        nil

type NodePoolManagementPtrOutput

type NodePoolManagementPtrOutput struct{ *pulumi.OutputState }

func (NodePoolManagementPtrOutput) AutoRepair

Whether to enable automatic repair. Valid values: `true`: Automatic repair. `false`: not automatically repaired.

func (NodePoolManagementPtrOutput) AutoRepairPolicy added in v3.51.0

Automatic repair node policy. See `autoRepairPolicy` below.

func (NodePoolManagementPtrOutput) AutoUpgrade

Specifies whether to enable auto update. Valid values: `true`: enables auto update. `false`: disables auto update.

func (NodePoolManagementPtrOutput) AutoUpgradePolicy added in v3.51.0

The auto update policy. See `autoUpgradePolicy` below.

func (NodePoolManagementPtrOutput) AutoVulFix added in v3.51.0

Specifies whether to automatically patch CVE vulnerabilities. Valid values: `true`, `false`.

func (NodePoolManagementPtrOutput) AutoVulFixPolicy added in v3.51.0

The auto CVE patching policy. See `autoVulFixPolicy` below.

func (NodePoolManagementPtrOutput) Elem

func (NodePoolManagementPtrOutput) ElementType

func (NodePoolManagementPtrOutput) Enable added in v3.51.0

Specifies whether to enable the managed node pool feature. Valid values: `true`: enables the managed node pool feature. `false`: disables the managed node pool feature. Other parameters in this section take effect only when you specify enable=true.

func (NodePoolManagementPtrOutput) MaxUnavailable

func (o NodePoolManagementPtrOutput) MaxUnavailable() pulumi.IntPtrOutput

Maximum number of unavailable nodes. Default value: 1. Value range:\[1,1000\].

func (NodePoolManagementPtrOutput) Surge deprecated

Number of additional nodes. You have to specify one of surge, surge_percentage.

Deprecated: Field 'surge' has been deprecated from provider version 1.219.0. Number of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementPtrOutput) SurgePercentage deprecated

func (o NodePoolManagementPtrOutput) SurgePercentage() pulumi.IntPtrOutput

Proportion of additional nodes. You have to specify one of surge, surge_percentage.

Deprecated: Field 'surge_percentage' has been deprecated from provider version 1.219.0. Proportion of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementPtrOutput) ToNodePoolManagementPtrOutput

func (o NodePoolManagementPtrOutput) ToNodePoolManagementPtrOutput() NodePoolManagementPtrOutput

func (NodePoolManagementPtrOutput) ToNodePoolManagementPtrOutputWithContext

func (o NodePoolManagementPtrOutput) ToNodePoolManagementPtrOutputWithContext(ctx context.Context) NodePoolManagementPtrOutput

type NodePoolMap

type NodePoolMap map[string]NodePoolInput

func (NodePoolMap) ElementType

func (NodePoolMap) ElementType() reflect.Type

func (NodePoolMap) ToNodePoolMapOutput

func (i NodePoolMap) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMap) ToNodePoolMapOutputWithContext

func (i NodePoolMap) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolMapInput

type NodePoolMapInput interface {
	pulumi.Input

	ToNodePoolMapOutput() NodePoolMapOutput
	ToNodePoolMapOutputWithContext(context.Context) NodePoolMapOutput
}

NodePoolMapInput is an input type that accepts NodePoolMap and NodePoolMapOutput values. You can construct a concrete instance of `NodePoolMapInput` via:

NodePoolMap{ "key": NodePoolArgs{...} }

type NodePoolMapOutput

type NodePoolMapOutput struct{ *pulumi.OutputState }

func (NodePoolMapOutput) ElementType

func (NodePoolMapOutput) ElementType() reflect.Type

func (NodePoolMapOutput) MapIndex

func (NodePoolMapOutput) ToNodePoolMapOutput

func (o NodePoolMapOutput) ToNodePoolMapOutput() NodePoolMapOutput

func (NodePoolMapOutput) ToNodePoolMapOutputWithContext

func (o NodePoolMapOutput) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput

type NodePoolOutput

type NodePoolOutput struct{ *pulumi.OutputState }

func (NodePoolOutput) AutoRenew added in v3.27.0

func (o NodePoolOutput) AutoRenew() pulumi.BoolPtrOutput

Whether to enable automatic renewal for nodes in the node pool takes effect only when `instanceChargeType` is set to `PrePaid`. Default value: `false`. Valid values:

func (NodePoolOutput) AutoRenewPeriod added in v3.27.0

func (o NodePoolOutput) AutoRenewPeriod() pulumi.IntPtrOutput

The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When `PeriodUnit = Month`, the value range is {1, 2, 3, 6, 12}. Default value: 1.

func (NodePoolOutput) CisEnabled deprecated added in v3.27.0

func (o NodePoolOutput) CisEnabled() pulumi.BoolPtrOutput

Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.

Deprecated: Field 'cis_enabled' has been deprecated from provider version 1.223.1. Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.

func (NodePoolOutput) ClusterId added in v3.27.0

func (o NodePoolOutput) ClusterId() pulumi.StringOutput

The id of kubernetes cluster.

func (NodePoolOutput) CompensateWithOnDemand added in v3.51.0

func (o NodePoolOutput) CompensateWithOnDemand() pulumi.BoolPtrOutput

Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set `multiAzPolicy` to `COST_OPTIMIZED`. Valid values: `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.

func (NodePoolOutput) CpuPolicy added in v3.27.0

func (o NodePoolOutput) CpuPolicy() pulumi.StringOutput

Node CPU management policies. Default value: `none`. When the cluster version is 1.12.6 or later, the following two policies are supported:

func (NodePoolOutput) DataDisks added in v3.27.0

Configure the data disk of the node in the node pool. See `dataDisks` below.

func (NodePoolOutput) DeploymentSetId added in v3.27.0

func (o NodePoolOutput) DeploymentSetId() pulumi.StringPtrOutput

The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.

func (NodePoolOutput) DesiredSize added in v3.27.0

func (o NodePoolOutput) DesiredSize() pulumi.IntPtrOutput

Number of expected nodes in the node pool.

func (NodePoolOutput) ElementType

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) ForceDelete added in v3.51.0

func (o NodePoolOutput) ForceDelete() pulumi.BoolPtrOutput

Whether to force deletion.

func (NodePoolOutput) FormatDisk added in v3.27.0

func (o NodePoolOutput) FormatDisk() pulumi.BoolOutput

After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.

func (NodePoolOutput) ImageId added in v3.27.0

func (o NodePoolOutput) ImageId() pulumi.StringOutput

The custom image ID. The system-provided image is used by default.

func (NodePoolOutput) ImageType added in v3.27.0

func (o NodePoolOutput) ImageType() pulumi.StringOutput

The operating system image type and the `platform` parameter can be selected from the following values: - `AliyunLinux` : Alinux2 image. - `AliyunLinux3` : Alinux3 image. - `AliyunLinux3Arm64` : Alinux3 mirror ARM version. - `AliyunLinuxUEFI` : Alinux2 Image UEFI version. - `CentOS` : CentOS image. - `Windows` : Windows image. - `WindowsCore` : WindowsCore image. - `ContainerOS` : container-optimized image.

func (NodePoolOutput) InstallCloudMonitor added in v3.27.0

func (o NodePoolOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:

func (NodePoolOutput) InstanceChargeType added in v3.27.0

func (o NodePoolOutput) InstanceChargeType() pulumi.StringPtrOutput

Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `periodUnit`, `autoRenew` and `autoRenewPeriod` are required.

func (NodePoolOutput) InstanceTypes added in v3.27.0

func (o NodePoolOutput) InstanceTypes() pulumi.StringArrayOutput

In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.

func (NodePoolOutput) Instances added in v3.27.0

func (o NodePoolOutput) Instances() pulumi.StringArrayOutput

The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.

func (NodePoolOutput) InternetChargeType added in v3.27.0

func (o NodePoolOutput) InternetChargeType() pulumi.StringPtrOutput

The billing method for network usage. Valid values `PayByBandwidth` and `PayByTraffic`. Conflict with `eipInternetChargeType`, EIP and public network IP can only choose one. .

func (NodePoolOutput) InternetMaxBandwidthOut added in v3.27.0

func (o NodePoolOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput

The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\[1,100\].

func (NodePoolOutput) KeepInstanceName added in v3.27.0

func (o NodePoolOutput) KeepInstanceName() pulumi.BoolOutput

Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.

func (NodePoolOutput) KeyName added in v3.27.0

The name of the key pair. When the node pool is a managed node pool, only `keyName` is supported.

func (NodePoolOutput) KmsEncryptedPassword added in v3.27.0

func (o NodePoolOutput) KmsEncryptedPassword() pulumi.StringPtrOutput

An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

func (NodePoolOutput) KmsEncryptionContext added in v3.27.0

func (o NodePoolOutput) KmsEncryptionContext() pulumi.MapOutput

An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.

func (NodePoolOutput) KubeletConfiguration added in v3.28.0

func (o NodePoolOutput) KubeletConfiguration() NodePoolKubeletConfigurationPtrOutput

Kubelet configuration parameters for worker nodes. See `kubeletConfiguration` below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/). See `kubeletConfiguration` below.

func (NodePoolOutput) Labels added in v3.27.0

A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Detailed below. More information in [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). See `labels` below.

func (NodePoolOutput) LoginAsNonRoot added in v3.51.0

func (o NodePoolOutput) LoginAsNonRoot() pulumi.BoolPtrOutput

Whether the ECS instance is logged on as a ecs-user user. Valid value: `true` and `false`.

func (NodePoolOutput) Management added in v3.27.0

Managed node pool configuration. See `management` below.

func (NodePoolOutput) MultiAzPolicy added in v3.51.0

func (o NodePoolOutput) MultiAzPolicy() pulumi.StringOutput

The scaling policy for ECS instances in a multi-zone scaling group. Valid value: `PRIORITY`, `COST_OPTIMIZED` and `BALANCE`. `PRIORITY`: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. `COST_OPTIMIZED`: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. `BALANCE`: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.

func (NodePoolOutput) Name deprecated added in v3.27.0

. Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.

Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.

func (NodePoolOutput) NodeCount deprecated added in v3.27.0

func (o NodePoolOutput) NodeCount() pulumi.IntOutput

The worker node number of the node pool. From version 1.111.0, `nodeCount` is not required.

Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.

func (NodePoolOutput) NodeNameMode added in v3.27.0

func (o NodePoolOutput) NodeNameMode() pulumi.StringOutput

Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`. - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers. - The node IP address is the complete private IP address of the node. - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.

func (NodePoolOutput) NodePoolId added in v3.51.0

func (o NodePoolOutput) NodePoolId() pulumi.StringOutput

The first ID of the resource.

func (NodePoolOutput) NodePoolName added in v3.51.0

func (o NodePoolOutput) NodePoolName() pulumi.StringOutput

The name of node pool.

func (NodePoolOutput) OnDemandBaseCapacity added in v3.51.0

func (o NodePoolOutput) OnDemandBaseCapacity() pulumi.IntPtrOutput

The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.

func (NodePoolOutput) OnDemandPercentageAboveBaseCapacity added in v3.51.0

func (o NodePoolOutput) OnDemandPercentageAboveBaseCapacity() pulumi.IntPtrOutput

The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `onDemandBaseCapacity`. Valid values: 0 to 100.

func (NodePoolOutput) Password added in v3.27.0

func (o NodePoolOutput) Password() pulumi.StringPtrOutput

The password of ssh login. You have to specify one of `password` and `keyName` fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).

func (NodePoolOutput) Period added in v3.27.0

func (o NodePoolOutput) Period() pulumi.IntPtrOutput

Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.

func (NodePoolOutput) PeriodUnit added in v3.27.0

func (o NodePoolOutput) PeriodUnit() pulumi.StringPtrOutput

Node payment period unit, valid value: `Month`. Default is `Month`.

func (NodePoolOutput) Platform deprecated added in v3.27.0

func (o NodePoolOutput) Platform() pulumi.StringOutput

Operating system release, using `imageType` instead.

Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using `imageType` instead.

func (NodePoolOutput) PrivatePoolOptions added in v3.51.0

func (o NodePoolOutput) PrivatePoolOptions() NodePoolPrivatePoolOptionsPtrOutput

Private node pool configuration. See `privatePoolOptions` below.

func (NodePoolOutput) RdsInstances added in v3.27.0

func (o NodePoolOutput) RdsInstances() pulumi.StringArrayOutput

The list of RDS instances.

func (NodePoolOutput) ResourceGroupId added in v3.27.0

func (o NodePoolOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group.

func (NodePoolOutput) RollingPolicy added in v3.29.0

Rotary configuration. See `rollingPolicy` below.

func (NodePoolOutput) RuntimeName added in v3.27.0

func (o NodePoolOutput) RuntimeName() pulumi.StringOutput

The runtime name of containers. If not set, the cluster runtime will be used as the node pool runtime. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm).

func (NodePoolOutput) RuntimeVersion added in v3.27.0

func (o NodePoolOutput) RuntimeVersion() pulumi.StringOutput

The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.

func (NodePoolOutput) ScalingConfig added in v3.27.0

func (o NodePoolOutput) ScalingConfig() NodePoolScalingConfigOutput

Automatic scaling configuration. See `scalingConfig` below.

func (NodePoolOutput) ScalingGroupId added in v3.27.0

func (o NodePoolOutput) ScalingGroupId() pulumi.StringOutput

The ID of the scaling group.

func (NodePoolOutput) ScalingPolicy added in v3.27.0

func (o NodePoolOutput) ScalingPolicy() pulumi.StringOutput

Scaling group mode, default value: `release`. Valid values:

func (NodePoolOutput) SecurityGroupId deprecated added in v3.27.0

func (o NodePoolOutput) SecurityGroupId() pulumi.StringOutput

The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.

Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.

func (NodePoolOutput) SecurityGroupIds added in v3.27.0

func (o NodePoolOutput) SecurityGroupIds() pulumi.StringArrayOutput

Multiple security groups can be configured for a node pool. If both `securityGroupIds` and `securityGroupId` are configured, `securityGroupIds` takes effect. This field cannot be modified.

func (NodePoolOutput) SecurityHardeningOs added in v3.55.1

func (o NodePoolOutput) SecurityHardeningOs() pulumi.BoolPtrOutput

Alibaba Cloud OS security reinforcement. Default value: `false`. Value:

func (NodePoolOutput) SocEnabled added in v3.27.0

func (o NodePoolOutput) SocEnabled() pulumi.BoolPtrOutput

Whether enable worker node to support soc security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. See [SOC Reinforcement](https://help.aliyun.com/document_detail/196148.html). > **NOTE:** It is forbidden to set both `securityHardeningOs` and `socEnabled` to `true` at the same time.

func (NodePoolOutput) SpotInstancePools added in v3.51.0

func (o NodePoolOutput) SpotInstancePools() pulumi.IntPtrOutput

The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.

func (NodePoolOutput) SpotInstanceRemedy added in v3.51.0

func (o NodePoolOutput) SpotInstanceRemedy() pulumi.BoolPtrOutput

Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If you set the value to true, Auto Scaling attempts to create a new preemptible instance when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values: `true`: enables the supplementation of preemptible instances. `false`: disables the supplementation of preemptible instances.

func (NodePoolOutput) SpotPriceLimits added in v3.27.0

The current single preemptible instance type market price range configuration. See `spotPriceLimit` below.

func (NodePoolOutput) SpotStrategy added in v3.27.0

func (o NodePoolOutput) SpotStrategy() pulumi.StringOutput

The preemptible instance type. Value: - `NoSpot` : Non-preemptible instance. - `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price. - `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.

func (NodePoolOutput) SystemDiskBurstingEnabled added in v3.51.0

func (o NodePoolOutput) SystemDiskBurstingEnabled() pulumi.BoolPtrOutput

Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.

func (NodePoolOutput) SystemDiskCategories added in v3.51.0

func (o NodePoolOutput) SystemDiskCategories() pulumi.StringArrayOutput

The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values: `cloud`: cloud disk. `cloudEfficiency`: a high-efficiency cloud disk. `cloudSsd`:SSD cloud disk. `cloudEssd`: ESSD cloud disk.

func (NodePoolOutput) SystemDiskCategory added in v3.27.0

func (o NodePoolOutput) SystemDiskCategory() pulumi.StringOutput

The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency`, `cloudEssd` and `cloudAuto`. .

func (NodePoolOutput) SystemDiskEncryptAlgorithm added in v3.27.0

func (o NodePoolOutput) SystemDiskEncryptAlgorithm() pulumi.StringPtrOutput

The encryption algorithm used by the system disk. Value range: aes-256.

func (NodePoolOutput) SystemDiskEncrypted added in v3.27.0

func (o NodePoolOutput) SystemDiskEncrypted() pulumi.BoolPtrOutput

Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.

func (NodePoolOutput) SystemDiskKmsKey added in v3.27.0

func (o NodePoolOutput) SystemDiskKmsKey() pulumi.StringPtrOutput

The ID of the KMS key used by the system disk.

func (NodePoolOutput) SystemDiskPerformanceLevel added in v3.27.0

func (o NodePoolOutput) SystemDiskPerformanceLevel() pulumi.StringPtrOutput

The system disk performance of the node takes effect only for the ESSD disk. - `PL0`: maximum random read/write IOPS 10000 for a single disk. - `PL1`: maximum random read/write IOPS 50000 for a single disk. - `PL2`: highest random read/write IOPS 100000 for a single disk. - `PL3`: maximum random read/write IOPS 1 million for a single disk.

func (NodePoolOutput) SystemDiskProvisionedIops added in v3.51.0

func (o NodePoolOutput) SystemDiskProvisionedIops() pulumi.IntPtrOutput

The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.

func (NodePoolOutput) SystemDiskSize added in v3.27.0

func (o NodePoolOutput) SystemDiskSize() pulumi.IntPtrOutput

The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.

func (NodePoolOutput) SystemDiskSnapshotPolicyId added in v3.27.0

func (o NodePoolOutput) SystemDiskSnapshotPolicyId() pulumi.StringPtrOutput

The ID of the automatic snapshot policy used by the system disk.

func (NodePoolOutput) Tags added in v3.27.0

func (o NodePoolOutput) Tags() pulumi.MapOutput

Add tags only for ECS instances. The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://".

func (NodePoolOutput) Taints added in v3.27.0

A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.

func (NodePoolOutput) TeeConfig added in v3.51.0

The configuration about confidential computing for the cluster. See `teeConfig` below.

func (NodePoolOutput) ToNodePoolOutput

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext

func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

func (NodePoolOutput) Unschedulable added in v3.27.0

func (o NodePoolOutput) Unschedulable() pulumi.BoolPtrOutput

Whether the node after expansion can be scheduled.

func (NodePoolOutput) UpdateNodes added in v3.55.1

func (o NodePoolOutput) UpdateNodes() pulumi.BoolPtrOutput

Synchronously update node labels and taints.

func (NodePoolOutput) UserData added in v3.27.0

func (o NodePoolOutput) UserData() pulumi.StringPtrOutput

Node custom data.

func (NodePoolOutput) VswitchIds added in v3.27.0

func (o NodePoolOutput) VswitchIds() pulumi.StringArrayOutput

The vswitches used by node pool workers.

type NodePoolPrivatePoolOptions added in v3.51.0

type NodePoolPrivatePoolOptions struct {
	// The ID of the private node pool.
	PrivatePoolOptionsId *string `pulumi:"privatePoolOptionsId"`
	// The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values: `Open`: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used. `Target`: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started. `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.
	PrivatePoolOptionsMatchCriteria *string `pulumi:"privatePoolOptionsMatchCriteria"`
}

type NodePoolPrivatePoolOptionsArgs added in v3.51.0

type NodePoolPrivatePoolOptionsArgs struct {
	// The ID of the private node pool.
	PrivatePoolOptionsId pulumi.StringPtrInput `pulumi:"privatePoolOptionsId"`
	// The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values: `Open`: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used. `Target`: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started. `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.
	PrivatePoolOptionsMatchCriteria pulumi.StringPtrInput `pulumi:"privatePoolOptionsMatchCriteria"`
}

func (NodePoolPrivatePoolOptionsArgs) ElementType added in v3.51.0

func (NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsOutput added in v3.51.0

func (i NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsOutput() NodePoolPrivatePoolOptionsOutput

func (NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsOutputWithContext added in v3.51.0

func (i NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsOutputWithContext(ctx context.Context) NodePoolPrivatePoolOptionsOutput

func (NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsPtrOutput added in v3.51.0

func (i NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsPtrOutput() NodePoolPrivatePoolOptionsPtrOutput

func (NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsPtrOutputWithContext added in v3.51.0

func (i NodePoolPrivatePoolOptionsArgs) ToNodePoolPrivatePoolOptionsPtrOutputWithContext(ctx context.Context) NodePoolPrivatePoolOptionsPtrOutput

type NodePoolPrivatePoolOptionsInput added in v3.51.0

type NodePoolPrivatePoolOptionsInput interface {
	pulumi.Input

	ToNodePoolPrivatePoolOptionsOutput() NodePoolPrivatePoolOptionsOutput
	ToNodePoolPrivatePoolOptionsOutputWithContext(context.Context) NodePoolPrivatePoolOptionsOutput
}

NodePoolPrivatePoolOptionsInput is an input type that accepts NodePoolPrivatePoolOptionsArgs and NodePoolPrivatePoolOptionsOutput values. You can construct a concrete instance of `NodePoolPrivatePoolOptionsInput` via:

NodePoolPrivatePoolOptionsArgs{...}

type NodePoolPrivatePoolOptionsOutput added in v3.51.0

type NodePoolPrivatePoolOptionsOutput struct{ *pulumi.OutputState }

func (NodePoolPrivatePoolOptionsOutput) ElementType added in v3.51.0

func (NodePoolPrivatePoolOptionsOutput) PrivatePoolOptionsId added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) PrivatePoolOptionsId() pulumi.StringPtrOutput

The ID of the private node pool.

func (NodePoolPrivatePoolOptionsOutput) PrivatePoolOptionsMatchCriteria added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) PrivatePoolOptionsMatchCriteria() pulumi.StringPtrOutput

The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values: `Open`: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used. `Target`: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started. `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.

func (NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsOutput added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsOutput() NodePoolPrivatePoolOptionsOutput

func (NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsOutputWithContext added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsOutputWithContext(ctx context.Context) NodePoolPrivatePoolOptionsOutput

func (NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsPtrOutput added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsPtrOutput() NodePoolPrivatePoolOptionsPtrOutput

func (NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsPtrOutputWithContext added in v3.51.0

func (o NodePoolPrivatePoolOptionsOutput) ToNodePoolPrivatePoolOptionsPtrOutputWithContext(ctx context.Context) NodePoolPrivatePoolOptionsPtrOutput

type NodePoolPrivatePoolOptionsPtrInput added in v3.51.0

type NodePoolPrivatePoolOptionsPtrInput interface {
	pulumi.Input

	ToNodePoolPrivatePoolOptionsPtrOutput() NodePoolPrivatePoolOptionsPtrOutput
	ToNodePoolPrivatePoolOptionsPtrOutputWithContext(context.Context) NodePoolPrivatePoolOptionsPtrOutput
}

NodePoolPrivatePoolOptionsPtrInput is an input type that accepts NodePoolPrivatePoolOptionsArgs, NodePoolPrivatePoolOptionsPtr and NodePoolPrivatePoolOptionsPtrOutput values. You can construct a concrete instance of `NodePoolPrivatePoolOptionsPtrInput` via:

        NodePoolPrivatePoolOptionsArgs{...}

or:

        nil

func NodePoolPrivatePoolOptionsPtr added in v3.51.0

type NodePoolPrivatePoolOptionsPtrOutput added in v3.51.0

type NodePoolPrivatePoolOptionsPtrOutput struct{ *pulumi.OutputState }

func (NodePoolPrivatePoolOptionsPtrOutput) Elem added in v3.51.0

func (NodePoolPrivatePoolOptionsPtrOutput) ElementType added in v3.51.0

func (NodePoolPrivatePoolOptionsPtrOutput) PrivatePoolOptionsId added in v3.51.0

The ID of the private node pool.

func (NodePoolPrivatePoolOptionsPtrOutput) PrivatePoolOptionsMatchCriteria added in v3.51.0

func (o NodePoolPrivatePoolOptionsPtrOutput) PrivatePoolOptionsMatchCriteria() pulumi.StringPtrOutput

The type of private node pool. This parameter specifies the type of the private pool that you want to use to create instances. A private node pool is generated when an elasticity assurance or a capacity reservation service takes effect. The system selects a private node pool to launch instances. Valid values: `Open`: specifies an open private node pool. The system selects an open private node pool to launch instances. If no matching open private node pool is available, the resources in the public node pool are used. `Target`: specifies a private node pool. The system uses the resources of the specified private node pool to launch instances. If the specified private node pool is unavailable, instances cannot be started. `None`: no private node pool is used. The resources of private node pools are not used to launch the instances.

func (NodePoolPrivatePoolOptionsPtrOutput) ToNodePoolPrivatePoolOptionsPtrOutput added in v3.51.0

func (o NodePoolPrivatePoolOptionsPtrOutput) ToNodePoolPrivatePoolOptionsPtrOutput() NodePoolPrivatePoolOptionsPtrOutput

func (NodePoolPrivatePoolOptionsPtrOutput) ToNodePoolPrivatePoolOptionsPtrOutputWithContext added in v3.51.0

func (o NodePoolPrivatePoolOptionsPtrOutput) ToNodePoolPrivatePoolOptionsPtrOutputWithContext(ctx context.Context) NodePoolPrivatePoolOptionsPtrOutput

type NodePoolRollingPolicy added in v3.29.0

type NodePoolRollingPolicy struct {
	// The maximum number of unusable nodes.
	MaxParallelism *int `pulumi:"maxParallelism"`
}

type NodePoolRollingPolicyArgs added in v3.29.0

type NodePoolRollingPolicyArgs struct {
	// The maximum number of unusable nodes.
	MaxParallelism pulumi.IntPtrInput `pulumi:"maxParallelism"`
}

func (NodePoolRollingPolicyArgs) ElementType added in v3.29.0

func (NodePoolRollingPolicyArgs) ElementType() reflect.Type

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutput added in v3.29.0

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutput() NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutputWithContext added in v3.29.0

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutputWithContext(ctx context.Context) NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutput added in v3.29.0

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutputWithContext added in v3.29.0

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolRollingPolicyInput added in v3.29.0

type NodePoolRollingPolicyInput interface {
	pulumi.Input

	ToNodePoolRollingPolicyOutput() NodePoolRollingPolicyOutput
	ToNodePoolRollingPolicyOutputWithContext(context.Context) NodePoolRollingPolicyOutput
}

NodePoolRollingPolicyInput is an input type that accepts NodePoolRollingPolicyArgs and NodePoolRollingPolicyOutput values. You can construct a concrete instance of `NodePoolRollingPolicyInput` via:

NodePoolRollingPolicyArgs{...}

type NodePoolRollingPolicyOutput added in v3.29.0

type NodePoolRollingPolicyOutput struct{ *pulumi.OutputState }

func (NodePoolRollingPolicyOutput) ElementType added in v3.29.0

func (NodePoolRollingPolicyOutput) MaxParallelism added in v3.29.0

func (o NodePoolRollingPolicyOutput) MaxParallelism() pulumi.IntPtrOutput

The maximum number of unusable nodes.

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutput added in v3.29.0

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutput() NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutputWithContext added in v3.29.0

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutputWithContext(ctx context.Context) NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutput added in v3.29.0

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutputWithContext added in v3.29.0

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolRollingPolicyPtrInput added in v3.29.0

type NodePoolRollingPolicyPtrInput interface {
	pulumi.Input

	ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput
	ToNodePoolRollingPolicyPtrOutputWithContext(context.Context) NodePoolRollingPolicyPtrOutput
}

NodePoolRollingPolicyPtrInput is an input type that accepts NodePoolRollingPolicyArgs, NodePoolRollingPolicyPtr and NodePoolRollingPolicyPtrOutput values. You can construct a concrete instance of `NodePoolRollingPolicyPtrInput` via:

        NodePoolRollingPolicyArgs{...}

or:

        nil

func NodePoolRollingPolicyPtr added in v3.29.0

func NodePoolRollingPolicyPtr(v *NodePoolRollingPolicyArgs) NodePoolRollingPolicyPtrInput

type NodePoolRollingPolicyPtrOutput added in v3.29.0

type NodePoolRollingPolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolRollingPolicyPtrOutput) Elem added in v3.29.0

func (NodePoolRollingPolicyPtrOutput) ElementType added in v3.29.0

func (NodePoolRollingPolicyPtrOutput) MaxParallelism added in v3.29.0

The maximum number of unusable nodes.

func (NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutput added in v3.29.0

func (o NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutputWithContext added in v3.29.0

func (o NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolScalingConfig

type NodePoolScalingConfig struct {
	// Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if `is_bond_eip=true`. Default to `5`.
	EipBandwidth *int `pulumi:"eipBandwidth"`
	// EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. It works if `is_bond_eip=true`, conflict with `internetChargeType`. EIP and public network IP can only choose one.
	EipInternetChargeType *string `pulumi:"eipInternetChargeType"`
	// Whether to enable automatic scaling. Value:
	Enable *bool `pulumi:"enable"`
	// Whether to bind EIP for an instance. Default: `false`.
	IsBondEip *bool `pulumi:"isBondEip"`
	// Max number of instances in a auto scaling group, its valid value range [0~1000]. `maxSize` has to be greater than `minSize`.
	MaxSize *int `pulumi:"maxSize"`
	// Min number of instances in a auto scaling group, its valid value range [0~1000].
	MinSize *int `pulumi:"minSize"`
	// Instance classification, not required. Vaild value: `cpu`, `gpu`, `gpushare` and `spot`. Default: `cpu`. The actual instance type is determined by `instanceTypes`.
	Type *string `pulumi:"type"`
}

type NodePoolScalingConfigArgs

type NodePoolScalingConfigArgs struct {
	// Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if `is_bond_eip=true`. Default to `5`.
	EipBandwidth pulumi.IntPtrInput `pulumi:"eipBandwidth"`
	// EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. It works if `is_bond_eip=true`, conflict with `internetChargeType`. EIP and public network IP can only choose one.
	EipInternetChargeType pulumi.StringPtrInput `pulumi:"eipInternetChargeType"`
	// Whether to enable automatic scaling. Value:
	Enable pulumi.BoolPtrInput `pulumi:"enable"`
	// Whether to bind EIP for an instance. Default: `false`.
	IsBondEip pulumi.BoolPtrInput `pulumi:"isBondEip"`
	// Max number of instances in a auto scaling group, its valid value range [0~1000]. `maxSize` has to be greater than `minSize`.
	MaxSize pulumi.IntPtrInput `pulumi:"maxSize"`
	// Min number of instances in a auto scaling group, its valid value range [0~1000].
	MinSize pulumi.IntPtrInput `pulumi:"minSize"`
	// Instance classification, not required. Vaild value: `cpu`, `gpu`, `gpushare` and `spot`. Default: `cpu`. The actual instance type is determined by `instanceTypes`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (NodePoolScalingConfigArgs) ElementType

func (NodePoolScalingConfigArgs) ElementType() reflect.Type

func (NodePoolScalingConfigArgs) ToNodePoolScalingConfigOutput

func (i NodePoolScalingConfigArgs) ToNodePoolScalingConfigOutput() NodePoolScalingConfigOutput

func (NodePoolScalingConfigArgs) ToNodePoolScalingConfigOutputWithContext

func (i NodePoolScalingConfigArgs) ToNodePoolScalingConfigOutputWithContext(ctx context.Context) NodePoolScalingConfigOutput

func (NodePoolScalingConfigArgs) ToNodePoolScalingConfigPtrOutput

func (i NodePoolScalingConfigArgs) ToNodePoolScalingConfigPtrOutput() NodePoolScalingConfigPtrOutput

func (NodePoolScalingConfigArgs) ToNodePoolScalingConfigPtrOutputWithContext

func (i NodePoolScalingConfigArgs) ToNodePoolScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolScalingConfigPtrOutput

type NodePoolScalingConfigInput

type NodePoolScalingConfigInput interface {
	pulumi.Input

	ToNodePoolScalingConfigOutput() NodePoolScalingConfigOutput
	ToNodePoolScalingConfigOutputWithContext(context.Context) NodePoolScalingConfigOutput
}

NodePoolScalingConfigInput is an input type that accepts NodePoolScalingConfigArgs and NodePoolScalingConfigOutput values. You can construct a concrete instance of `NodePoolScalingConfigInput` via:

NodePoolScalingConfigArgs{...}

type NodePoolScalingConfigOutput

type NodePoolScalingConfigOutput struct{ *pulumi.OutputState }

func (NodePoolScalingConfigOutput) EipBandwidth

Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if `is_bond_eip=true`. Default to `5`.

func (NodePoolScalingConfigOutput) EipInternetChargeType

func (o NodePoolScalingConfigOutput) EipInternetChargeType() pulumi.StringPtrOutput

EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. It works if `is_bond_eip=true`, conflict with `internetChargeType`. EIP and public network IP can only choose one.

func (NodePoolScalingConfigOutput) ElementType

func (NodePoolScalingConfigOutput) Enable added in v3.51.0

Whether to enable automatic scaling. Value:

func (NodePoolScalingConfigOutput) IsBondEip

Whether to bind EIP for an instance. Default: `false`.

func (NodePoolScalingConfigOutput) MaxSize

Max number of instances in a auto scaling group, its valid value range [0~1000]. `maxSize` has to be greater than `minSize`.

func (NodePoolScalingConfigOutput) MinSize

Min number of instances in a auto scaling group, its valid value range [0~1000].

func (NodePoolScalingConfigOutput) ToNodePoolScalingConfigOutput

func (o NodePoolScalingConfigOutput) ToNodePoolScalingConfigOutput() NodePoolScalingConfigOutput

func (NodePoolScalingConfigOutput) ToNodePoolScalingConfigOutputWithContext

func (o NodePoolScalingConfigOutput) ToNodePoolScalingConfigOutputWithContext(ctx context.Context) NodePoolScalingConfigOutput

func (NodePoolScalingConfigOutput) ToNodePoolScalingConfigPtrOutput

func (o NodePoolScalingConfigOutput) ToNodePoolScalingConfigPtrOutput() NodePoolScalingConfigPtrOutput

func (NodePoolScalingConfigOutput) ToNodePoolScalingConfigPtrOutputWithContext

func (o NodePoolScalingConfigOutput) ToNodePoolScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolScalingConfigPtrOutput

func (NodePoolScalingConfigOutput) Type

Instance classification, not required. Vaild value: `cpu`, `gpu`, `gpushare` and `spot`. Default: `cpu`. The actual instance type is determined by `instanceTypes`.

type NodePoolScalingConfigPtrInput

type NodePoolScalingConfigPtrInput interface {
	pulumi.Input

	ToNodePoolScalingConfigPtrOutput() NodePoolScalingConfigPtrOutput
	ToNodePoolScalingConfigPtrOutputWithContext(context.Context) NodePoolScalingConfigPtrOutput
}

NodePoolScalingConfigPtrInput is an input type that accepts NodePoolScalingConfigArgs, NodePoolScalingConfigPtr and NodePoolScalingConfigPtrOutput values. You can construct a concrete instance of `NodePoolScalingConfigPtrInput` via:

        NodePoolScalingConfigArgs{...}

or:

        nil

type NodePoolScalingConfigPtrOutput

type NodePoolScalingConfigPtrOutput struct{ *pulumi.OutputState }

func (NodePoolScalingConfigPtrOutput) EipBandwidth

Peak EIP bandwidth. Its valid value range [1~500] in Mbps. It works if `is_bond_eip=true`. Default to `5`.

func (NodePoolScalingConfigPtrOutput) EipInternetChargeType

func (o NodePoolScalingConfigPtrOutput) EipInternetChargeType() pulumi.StringPtrOutput

EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. It works if `is_bond_eip=true`, conflict with `internetChargeType`. EIP and public network IP can only choose one.

func (NodePoolScalingConfigPtrOutput) Elem

func (NodePoolScalingConfigPtrOutput) ElementType

func (NodePoolScalingConfigPtrOutput) Enable added in v3.51.0

Whether to enable automatic scaling. Value:

func (NodePoolScalingConfigPtrOutput) IsBondEip

Whether to bind EIP for an instance. Default: `false`.

func (NodePoolScalingConfigPtrOutput) MaxSize

Max number of instances in a auto scaling group, its valid value range [0~1000]. `maxSize` has to be greater than `minSize`.

func (NodePoolScalingConfigPtrOutput) MinSize

Min number of instances in a auto scaling group, its valid value range [0~1000].

func (NodePoolScalingConfigPtrOutput) ToNodePoolScalingConfigPtrOutput

func (o NodePoolScalingConfigPtrOutput) ToNodePoolScalingConfigPtrOutput() NodePoolScalingConfigPtrOutput

func (NodePoolScalingConfigPtrOutput) ToNodePoolScalingConfigPtrOutputWithContext

func (o NodePoolScalingConfigPtrOutput) ToNodePoolScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolScalingConfigPtrOutput

func (NodePoolScalingConfigPtrOutput) Type

Instance classification, not required. Vaild value: `cpu`, `gpu`, `gpushare` and `spot`. Default: `cpu`. The actual instance type is determined by `instanceTypes`.

type NodePoolSpotPriceLimit added in v3.3.0

type NodePoolSpotPriceLimit struct {
	// The type of the preemptible instance.
	InstanceType *string `pulumi:"instanceType"`
	// The maximum price of a single instance.
	PriceLimit *string `pulumi:"priceLimit"`
}

type NodePoolSpotPriceLimitArgs added in v3.3.0

type NodePoolSpotPriceLimitArgs struct {
	// The type of the preemptible instance.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// The maximum price of a single instance.
	PriceLimit pulumi.StringPtrInput `pulumi:"priceLimit"`
}

func (NodePoolSpotPriceLimitArgs) ElementType added in v3.3.0

func (NodePoolSpotPriceLimitArgs) ElementType() reflect.Type

func (NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutput added in v3.3.0

func (i NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutput() NodePoolSpotPriceLimitOutput

func (NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutputWithContext added in v3.3.0

func (i NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitOutput

type NodePoolSpotPriceLimitArray added in v3.3.0

type NodePoolSpotPriceLimitArray []NodePoolSpotPriceLimitInput

func (NodePoolSpotPriceLimitArray) ElementType added in v3.3.0

func (NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutput added in v3.3.0

func (i NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutput() NodePoolSpotPriceLimitArrayOutput

func (NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutputWithContext added in v3.3.0

func (i NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitArrayOutput

type NodePoolSpotPriceLimitArrayInput added in v3.3.0

type NodePoolSpotPriceLimitArrayInput interface {
	pulumi.Input

	ToNodePoolSpotPriceLimitArrayOutput() NodePoolSpotPriceLimitArrayOutput
	ToNodePoolSpotPriceLimitArrayOutputWithContext(context.Context) NodePoolSpotPriceLimitArrayOutput
}

NodePoolSpotPriceLimitArrayInput is an input type that accepts NodePoolSpotPriceLimitArray and NodePoolSpotPriceLimitArrayOutput values. You can construct a concrete instance of `NodePoolSpotPriceLimitArrayInput` via:

NodePoolSpotPriceLimitArray{ NodePoolSpotPriceLimitArgs{...} }

type NodePoolSpotPriceLimitArrayOutput added in v3.3.0

type NodePoolSpotPriceLimitArrayOutput struct{ *pulumi.OutputState }

func (NodePoolSpotPriceLimitArrayOutput) ElementType added in v3.3.0

func (NodePoolSpotPriceLimitArrayOutput) Index added in v3.3.0

func (NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutput added in v3.3.0

func (o NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutput() NodePoolSpotPriceLimitArrayOutput

func (NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutputWithContext added in v3.3.0

func (o NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitArrayOutput

type NodePoolSpotPriceLimitInput added in v3.3.0

type NodePoolSpotPriceLimitInput interface {
	pulumi.Input

	ToNodePoolSpotPriceLimitOutput() NodePoolSpotPriceLimitOutput
	ToNodePoolSpotPriceLimitOutputWithContext(context.Context) NodePoolSpotPriceLimitOutput
}

NodePoolSpotPriceLimitInput is an input type that accepts NodePoolSpotPriceLimitArgs and NodePoolSpotPriceLimitOutput values. You can construct a concrete instance of `NodePoolSpotPriceLimitInput` via:

NodePoolSpotPriceLimitArgs{...}

type NodePoolSpotPriceLimitOutput added in v3.3.0

type NodePoolSpotPriceLimitOutput struct{ *pulumi.OutputState }

func (NodePoolSpotPriceLimitOutput) ElementType added in v3.3.0

func (NodePoolSpotPriceLimitOutput) InstanceType added in v3.3.0

The type of the preemptible instance.

func (NodePoolSpotPriceLimitOutput) PriceLimit added in v3.3.0

The maximum price of a single instance.

func (NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutput added in v3.3.0

func (o NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutput() NodePoolSpotPriceLimitOutput

func (NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutputWithContext added in v3.3.0

func (o NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitOutput

type NodePoolState

type NodePoolState struct {
	// Whether to enable automatic renewal for nodes in the node pool takes effect only when `instanceChargeType` is set to `PrePaid`. Default value: `false`. Valid values:
	AutoRenew pulumi.BoolPtrInput
	// The automatic renewal period of nodes in the node pool takes effect only when you select Prepaid and Automatic Renewal, and is a required value. When `PeriodUnit = Month`, the value range is {1, 2, 3, 6, 12}. Default value: 1.
	AutoRenewPeriod pulumi.IntPtrInput
	// Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	//
	// Deprecated: Field 'cis_enabled' has been deprecated from provider version 1.223.1. Whether enable worker node to support cis security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. Use `securityHardeningOs` instead.
	CisEnabled pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect when you set `multiAzPolicy` to `COST_OPTIMIZED`. Valid values: `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created. `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
	CompensateWithOnDemand pulumi.BoolPtrInput
	// Node CPU management policies. Default value: `none`. When the cluster version is 1.12.6 or later, the following two policies are supported:
	CpuPolicy pulumi.StringPtrInput
	// Configure the data disk of the node in the node pool. See `dataDisks` below.
	DataDisks NodePoolDataDiskArrayInput
	// The deployment set of node pool. Specify the deploymentSet to ensure that the nodes in the node pool can be distributed on different physical machines.
	DeploymentSetId pulumi.StringPtrInput
	// Number of expected nodes in the node pool.
	DesiredSize pulumi.IntPtrInput
	// Whether to force deletion.
	ForceDelete pulumi.BoolPtrInput
	// After you select this check box, if data disks have been attached to the specified ECS instances and the file system of the last data disk is uninitialized, the system automatically formats the last data disk to ext4 and mounts the data disk to /var/lib/docker and /var/lib/kubelet. The original data on the disk will be cleared. Make sure that you back up data in advance. If no data disk is mounted on the ECS instance, no new data disk will be purchased. Default is `false`.
	FormatDisk pulumi.BoolPtrInput
	// The custom image ID. The system-provided image is used by default.
	ImageId pulumi.StringPtrInput
	// The operating system image type and the `platform` parameter can be selected from the following values:
	// - `AliyunLinux` : Alinux2 image.
	// - `AliyunLinux3` : Alinux3 image.
	// - `AliyunLinux3Arm64` : Alinux3 mirror ARM version.
	// - `AliyunLinuxUEFI` : Alinux2 Image UEFI version.
	// - `CentOS` : CentOS image.
	// - `Windows` : Windows image.
	// - `WindowsCore` : WindowsCore image.
	// - `ContainerOS` : container-optimized image.
	ImageType pulumi.StringPtrInput
	// Whether to install cloud monitoring on the ECS node. After installation, you can view the monitoring information of the created ECS instance in the cloud monitoring console and recommend enable it. Default value: `false`. Valid values:
	InstallCloudMonitor pulumi.BoolPtrInput
	// Node payment type. Valid values: `PostPaid`, `PrePaid`, default is `PostPaid`. If value is `PrePaid`, the arguments `period`, `periodUnit`, `autoRenew` and `autoRenewPeriod` are required.
	InstanceChargeType pulumi.StringPtrInput
	// In the node instance specification list, you can select multiple instance specifications as alternatives. When each node is created, it will try to purchase from the first specification until it is created successfully. The final purchased instance specifications may vary with inventory changes.
	InstanceTypes pulumi.StringArrayInput
	// The list of ECS instance ids. Add existing nodes with same type of security group under the same cluster VPC to the node pool. **Note** that removing instance ids from the list will remove the nodes from cluster and release the ECS instances.
	Instances pulumi.StringArrayInput
	// The billing method for network usage. Valid values `PayByBandwidth` and `PayByTraffic`. Conflict with `eipInternetChargeType`, EIP and public network IP can only choose one. .
	InternetChargeType pulumi.StringPtrInput
	// The maximum bandwidth of the public IP address of the node. The unit is Mbps(Mega bit per second). The value range is:\[1,100\].
	InternetMaxBandwidthOut pulumi.IntPtrInput
	// Add an existing instance to the node pool, whether to keep the original instance name. It is recommended to set to `true`.
	KeepInstanceName pulumi.BoolPtrInput
	// The name of the key pair. When the node pool is a managed node pool, only `keyName` is supported.
	KeyName pulumi.StringPtrInput
	// An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	KmsEncryptedPassword pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set.
	KmsEncryptionContext pulumi.MapInput
	// Kubelet configuration parameters for worker nodes. See `kubeletConfiguration` below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/). See `kubeletConfiguration` below.
	KubeletConfiguration NodePoolKubeletConfigurationPtrInput
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Detailed below. More information in [Labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/). See `labels` below.
	Labels NodePoolLabelArrayInput
	// Whether the ECS instance is logged on as a ecs-user user. Valid value: `true` and `false`.
	LoginAsNonRoot pulumi.BoolPtrInput
	// Managed node pool configuration. See `management` below.
	Management NodePoolManagementPtrInput
	// The scaling policy for ECS instances in a multi-zone scaling group. Valid value: `PRIORITY`, `COST_OPTIMIZED` and `BALANCE`. `PRIORITY`: scales the capacity according to the virtual switches you define (VSwitchIds.N). When an ECS instance cannot be created in the zone where the higher-priority vSwitch is located, the next-priority vSwitch is automatically used to create an ECS instance. `COST_OPTIMIZED`: try to create by vCPU unit price from low to high. When the scaling configuration is configured with multiple instances of preemptible billing, preemptible instances are created first. You can continue to use the `CompensateWithOnDemand` parameter to specify whether to automatically try to create a preemptible instance by paying for it. It takes effect only when the scaling configuration has multi-instance specifications or preemptible instances. `BALANCE`: distributes ECS instances evenly among the multi-zone specified by the scaling group. If the zones become unbalanced due to insufficient inventory, you can use the API RebalanceInstances to balance resources.
	MultiAzPolicy pulumi.StringPtrInput
	// . Field 'name' has been deprecated from provider version 1.219.0. New field 'node_pool_name' instead.
	//
	// Deprecated: Field 'name' has been deprecated since provider version 1.219.0. New field 'node_pool_name' instead.
	Name pulumi.StringPtrInput
	// The worker node number of the node pool. From version 1.111.0, `nodeCount` is not required.
	//
	// Deprecated: Field 'node_count' has been deprecated from provider version 1.158.0. New field 'desired_size' instead.
	NodeCount pulumi.IntPtrInput
	// Each node name consists of a prefix, its private network IP, and a suffix, separated by commas. The input format is `customized,,ip,`.
	// - The prefix and suffix can be composed of one or more parts separated by '.', each part can use lowercase letters, numbers and '-', and the beginning and end of the node name must be lowercase letters and numbers.
	// - The node IP address is the complete private IP address of the node.
	// - For example, if the string `customized,aliyun,ip,com` is passed in (where 'customized' and 'ip' are fixed strings, 'aliyun' is the prefix, and 'com' is the suffix), the name of the node is `aliyun192.168.xxx.xxxcom`.
	NodeNameMode pulumi.StringPtrInput
	// The first ID of the resource.
	NodePoolId pulumi.StringPtrInput
	// The name of node pool.
	NodePoolName pulumi.StringPtrInput
	// The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
	OnDemandBaseCapacity pulumi.IntPtrInput
	// The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `onDemandBaseCapacity`. Valid values: 0 to 100.
	OnDemandPercentageAboveBaseCapacity pulumi.IntPtrInput
	// The password of ssh login. You have to specify one of `password` and `keyName` fields. The password rule is 8 to 30 characters and contains at least three items (upper and lower case letters, numbers, and special symbols).
	Password pulumi.StringPtrInput
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12}.
	Period pulumi.IntPtrInput
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// Operating system release, using `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. Operating system release, using `imageType` instead.
	Platform pulumi.StringPtrInput
	// Private node pool configuration. See `privatePoolOptions` below.
	PrivatePoolOptions NodePoolPrivatePoolOptionsPtrInput
	// The list of RDS instances.
	RdsInstances pulumi.StringArrayInput
	// The ID of the resource group.
	ResourceGroupId pulumi.StringPtrInput
	// Rotary configuration. See `rollingPolicy` below.
	RollingPolicy NodePoolRollingPolicyPtrInput
	// The runtime name of containers. If not set, the cluster runtime will be used as the node pool runtime. If you select another container runtime, see [Comparison of Docker, containerd, and Sandboxed-Container](https://www.alibabacloud.com/help/doc-detail/160313.htm).
	RuntimeName pulumi.StringPtrInput
	// The runtime version of containers. If not set, the cluster runtime will be used as the node pool runtime.
	RuntimeVersion pulumi.StringPtrInput
	// Automatic scaling configuration. See `scalingConfig` below.
	ScalingConfig NodePoolScalingConfigPtrInput
	// The ID of the scaling group.
	ScalingGroupId pulumi.StringPtrInput
	// Scaling group mode, default value: `release`. Valid values:
	ScalingPolicy pulumi.StringPtrInput
	// The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. The security group ID of the node pool. This field has been replaced by `securityGroupIds`, please use the `securityGroupIds` field instead.
	SecurityGroupId pulumi.StringPtrInput
	// Multiple security groups can be configured for a node pool. If both `securityGroupIds` and `securityGroupId` are configured, `securityGroupIds` takes effect. This field cannot be modified.
	SecurityGroupIds pulumi.StringArrayInput
	// Alibaba Cloud OS security reinforcement. Default value: `false`. Value:
	SecurityHardeningOs pulumi.BoolPtrInput
	// Whether enable worker node to support soc security reinforcement, its valid value `true` or `false`. Default to `false` and apply to AliyunLinux series. See [SOC Reinforcement](https://help.aliyun.com/document_detail/196148.html).
	// > **NOTE:**  It is forbidden to set both `securityHardeningOs` and `socEnabled` to `true` at the same time.
	SocEnabled pulumi.BoolPtrInput
	// The number of instance types that are available. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
	SpotInstancePools pulumi.IntPtrInput
	// Specifies whether to supplement preemptible instances when the number of preemptible instances drops below the specified minimum number. If you set the value to true, Auto Scaling attempts to create a new preemptible instance when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values: `true`: enables the supplementation of preemptible instances. `false`: disables the supplementation of preemptible instances.
	SpotInstanceRemedy pulumi.BoolPtrInput
	// The current single preemptible instance type market price range configuration. See `spotPriceLimit` below.
	SpotPriceLimits NodePoolSpotPriceLimitArrayInput
	// The preemptible instance type. Value:
	// - `NoSpot` : Non-preemptible instance.
	// - `SpotWithPriceLimit` : Set the upper limit of the preemptible instance price.
	// - `SpotAsPriceGo` : The system automatically bids, following the actual price of the current market.
	SpotStrategy pulumi.StringPtrInput
	// Specifies whether to enable the burst feature for system disks. Valid values:`true`: enables the burst feature. `false`: disables the burst feature. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskBurstingEnabled pulumi.BoolPtrInput
	// The multi-disk categories of the system disk. When a high-priority disk type cannot be used, Auto Scaling automatically tries to create a system disk with the next priority disk category. Valid values: `cloud`: cloud disk. `cloudEfficiency`: a high-efficiency cloud disk. `cloudSsd`:SSD cloud disk. `cloudEssd`: ESSD cloud disk.
	SystemDiskCategories pulumi.StringArrayInput
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency`, `cloudEssd` and `cloudAuto`. .
	SystemDiskCategory pulumi.StringPtrInput
	// The encryption algorithm used by the system disk. Value range: aes-256.
	SystemDiskEncryptAlgorithm pulumi.StringPtrInput
	// Whether to encrypt the system disk. Value range: `true`: encryption. `false`: Do not encrypt.
	SystemDiskEncrypted pulumi.BoolPtrInput
	// The ID of the KMS key used by the system disk.
	SystemDiskKmsKey pulumi.StringPtrInput
	// The system disk performance of the node takes effect only for the ESSD disk.
	// - `PL0`: maximum random read/write IOPS 10000 for a single disk.
	// - `PL1`: maximum random read/write IOPS 50000 for a single disk.
	// - `PL2`: highest random read/write IOPS 100000 for a single disk.
	// - `PL3`: maximum random read/write IOPS 1 million for a single disk.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// The predefined IOPS of a system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}. Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `systemDiskCategory` is set to `cloudAuto`.
	SystemDiskProvisionedIops pulumi.IntPtrInput
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrInput
	// The ID of the automatic snapshot policy used by the system disk.
	SystemDiskSnapshotPolicyId pulumi.StringPtrInput
	// Add tags only for ECS instances.  The maximum length of the tag key is 128 characters. The tag key and value cannot start with aliyun or acs:, or contain https:// or http://".
	Tags pulumi.MapInput
	// A List of Kubernetes taints to assign to the nodes. Detailed below. More information in [Taints and Toleration](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). See `taints` below.
	Taints NodePoolTaintArrayInput
	// The configuration about confidential computing for the cluster. See `teeConfig` below.
	TeeConfig NodePoolTeeConfigPtrInput
	// Whether the node after expansion can be scheduled.
	Unschedulable pulumi.BoolPtrInput
	// Synchronously update node labels and taints.
	UpdateNodes pulumi.BoolPtrInput
	// Node custom data.
	UserData pulumi.StringPtrInput
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayInput
}

func (NodePoolState) ElementType

func (NodePoolState) ElementType() reflect.Type

type NodePoolTaint

type NodePoolTaint struct {
	// The scheduling policy.
	Effect *string `pulumi:"effect"`
	// The key of a taint.
	Key string `pulumi:"key"`
	// The value of a taint.
	Value *string `pulumi:"value"`
}

type NodePoolTaintArgs

type NodePoolTaintArgs struct {
	// The scheduling policy.
	Effect pulumi.StringPtrInput `pulumi:"effect"`
	// The key of a taint.
	Key pulumi.StringInput `pulumi:"key"`
	// The value of a taint.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (NodePoolTaintArgs) ElementType

func (NodePoolTaintArgs) ElementType() reflect.Type

func (NodePoolTaintArgs) ToNodePoolTaintOutput

func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext

func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

type NodePoolTaintArray

type NodePoolTaintArray []NodePoolTaintInput

func (NodePoolTaintArray) ElementType

func (NodePoolTaintArray) ElementType() reflect.Type

func (NodePoolTaintArray) ToNodePoolTaintArrayOutput

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintArrayInput

type NodePoolTaintArrayInput interface {
	pulumi.Input

	ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
	ToNodePoolTaintArrayOutputWithContext(context.Context) NodePoolTaintArrayOutput
}

NodePoolTaintArrayInput is an input type that accepts NodePoolTaintArray and NodePoolTaintArrayOutput values. You can construct a concrete instance of `NodePoolTaintArrayInput` via:

NodePoolTaintArray{ NodePoolTaintArgs{...} }

type NodePoolTaintArrayOutput

type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (NodePoolTaintArrayOutput) ElementType

func (NodePoolTaintArrayOutput) ElementType() reflect.Type

func (NodePoolTaintArrayOutput) Index

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintInput

type NodePoolTaintInput interface {
	pulumi.Input

	ToNodePoolTaintOutput() NodePoolTaintOutput
	ToNodePoolTaintOutputWithContext(context.Context) NodePoolTaintOutput
}

NodePoolTaintInput is an input type that accepts NodePoolTaintArgs and NodePoolTaintOutput values. You can construct a concrete instance of `NodePoolTaintInput` via:

NodePoolTaintArgs{...}

type NodePoolTaintOutput

type NodePoolTaintOutput struct{ *pulumi.OutputState }

func (NodePoolTaintOutput) Effect

The scheduling policy.

func (NodePoolTaintOutput) ElementType

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key

The key of a taint.

func (NodePoolTaintOutput) ToNodePoolTaintOutput

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext

func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

func (NodePoolTaintOutput) Value

The value of a taint.

type NodePoolTeeConfig added in v3.51.0

type NodePoolTeeConfig struct {
	// Specifies whether to enable confidential computing for the cluster.
	TeeEnable *bool `pulumi:"teeEnable"`
}

type NodePoolTeeConfigArgs added in v3.51.0

type NodePoolTeeConfigArgs struct {
	// Specifies whether to enable confidential computing for the cluster.
	TeeEnable pulumi.BoolPtrInput `pulumi:"teeEnable"`
}

func (NodePoolTeeConfigArgs) ElementType added in v3.51.0

func (NodePoolTeeConfigArgs) ElementType() reflect.Type

func (NodePoolTeeConfigArgs) ToNodePoolTeeConfigOutput added in v3.51.0

func (i NodePoolTeeConfigArgs) ToNodePoolTeeConfigOutput() NodePoolTeeConfigOutput

func (NodePoolTeeConfigArgs) ToNodePoolTeeConfigOutputWithContext added in v3.51.0

func (i NodePoolTeeConfigArgs) ToNodePoolTeeConfigOutputWithContext(ctx context.Context) NodePoolTeeConfigOutput

func (NodePoolTeeConfigArgs) ToNodePoolTeeConfigPtrOutput added in v3.51.0

func (i NodePoolTeeConfigArgs) ToNodePoolTeeConfigPtrOutput() NodePoolTeeConfigPtrOutput

func (NodePoolTeeConfigArgs) ToNodePoolTeeConfigPtrOutputWithContext added in v3.51.0

func (i NodePoolTeeConfigArgs) ToNodePoolTeeConfigPtrOutputWithContext(ctx context.Context) NodePoolTeeConfigPtrOutput

type NodePoolTeeConfigInput added in v3.51.0

type NodePoolTeeConfigInput interface {
	pulumi.Input

	ToNodePoolTeeConfigOutput() NodePoolTeeConfigOutput
	ToNodePoolTeeConfigOutputWithContext(context.Context) NodePoolTeeConfigOutput
}

NodePoolTeeConfigInput is an input type that accepts NodePoolTeeConfigArgs and NodePoolTeeConfigOutput values. You can construct a concrete instance of `NodePoolTeeConfigInput` via:

NodePoolTeeConfigArgs{...}

type NodePoolTeeConfigOutput added in v3.51.0

type NodePoolTeeConfigOutput struct{ *pulumi.OutputState }

func (NodePoolTeeConfigOutput) ElementType added in v3.51.0

func (NodePoolTeeConfigOutput) ElementType() reflect.Type

func (NodePoolTeeConfigOutput) TeeEnable added in v3.51.0

Specifies whether to enable confidential computing for the cluster.

func (NodePoolTeeConfigOutput) ToNodePoolTeeConfigOutput added in v3.51.0

func (o NodePoolTeeConfigOutput) ToNodePoolTeeConfigOutput() NodePoolTeeConfigOutput

func (NodePoolTeeConfigOutput) ToNodePoolTeeConfigOutputWithContext added in v3.51.0

func (o NodePoolTeeConfigOutput) ToNodePoolTeeConfigOutputWithContext(ctx context.Context) NodePoolTeeConfigOutput

func (NodePoolTeeConfigOutput) ToNodePoolTeeConfigPtrOutput added in v3.51.0

func (o NodePoolTeeConfigOutput) ToNodePoolTeeConfigPtrOutput() NodePoolTeeConfigPtrOutput

func (NodePoolTeeConfigOutput) ToNodePoolTeeConfigPtrOutputWithContext added in v3.51.0

func (o NodePoolTeeConfigOutput) ToNodePoolTeeConfigPtrOutputWithContext(ctx context.Context) NodePoolTeeConfigPtrOutput

type NodePoolTeeConfigPtrInput added in v3.51.0

type NodePoolTeeConfigPtrInput interface {
	pulumi.Input

	ToNodePoolTeeConfigPtrOutput() NodePoolTeeConfigPtrOutput
	ToNodePoolTeeConfigPtrOutputWithContext(context.Context) NodePoolTeeConfigPtrOutput
}

NodePoolTeeConfigPtrInput is an input type that accepts NodePoolTeeConfigArgs, NodePoolTeeConfigPtr and NodePoolTeeConfigPtrOutput values. You can construct a concrete instance of `NodePoolTeeConfigPtrInput` via:

        NodePoolTeeConfigArgs{...}

or:

        nil

func NodePoolTeeConfigPtr added in v3.51.0

func NodePoolTeeConfigPtr(v *NodePoolTeeConfigArgs) NodePoolTeeConfigPtrInput

type NodePoolTeeConfigPtrOutput added in v3.51.0

type NodePoolTeeConfigPtrOutput struct{ *pulumi.OutputState }

func (NodePoolTeeConfigPtrOutput) Elem added in v3.51.0

func (NodePoolTeeConfigPtrOutput) ElementType added in v3.51.0

func (NodePoolTeeConfigPtrOutput) ElementType() reflect.Type

func (NodePoolTeeConfigPtrOutput) TeeEnable added in v3.51.0

Specifies whether to enable confidential computing for the cluster.

func (NodePoolTeeConfigPtrOutput) ToNodePoolTeeConfigPtrOutput added in v3.51.0

func (o NodePoolTeeConfigPtrOutput) ToNodePoolTeeConfigPtrOutput() NodePoolTeeConfigPtrOutput

func (NodePoolTeeConfigPtrOutput) ToNodePoolTeeConfigPtrOutputWithContext added in v3.51.0

func (o NodePoolTeeConfigPtrOutput) ToNodePoolTeeConfigPtrOutputWithContext(ctx context.Context) NodePoolTeeConfigPtrOutput

type RegistryEnterpriseNamespace

type RegistryEnterpriseNamespace struct {
	pulumi.CustomResourceState

	// Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
	AutoCreate pulumi.BoolOutput `pulumi:"autoCreate"`
	// `PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
	DefaultVisibility pulumi.StringOutput `pulumi:"defaultVisibility"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters.
	Name pulumi.StringOutput `pulumi:"name"`
}

This resource will help you to manager Container Registry Enterprise Edition namespaces.

For information about Container Registry Enterprise Edition namespaces and how to use it, see [Create a Namespace](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createnamespace)

> **NOTE:** Available since v1.86.0.

> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cr"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example-name"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		example, err := cr.NewRegistryEnterpriseInstance(ctx, "example", &cr.RegistryEnterpriseInstanceArgs{
			PaymentType:   pulumi.String("Subscription"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(0),
			RenewalStatus: pulumi.String("ManualRenewal"),
			InstanceType:  pulumi.String("Advanced"),
			InstanceName:  pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewRegistryEnterpriseNamespace(ctx, "example", &cs.RegistryEnterpriseNamespaceArgs{
			InstanceId:        example.ID(),
			Name:              pulumi.String(name),
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Container Registry Enterprise Edition namespace can be imported using the `{instance_id}:{namespace}`, e.g.

```sh $ pulumi import alicloud:cs/registryEnterpriseNamespace:RegistryEnterpriseNamespace default cri-xxx:my-namespace ```

func GetRegistryEnterpriseNamespace

func GetRegistryEnterpriseNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryEnterpriseNamespaceState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseNamespace, error)

GetRegistryEnterpriseNamespace gets an existing RegistryEnterpriseNamespace 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 NewRegistryEnterpriseNamespace

func NewRegistryEnterpriseNamespace(ctx *pulumi.Context,
	name string, args *RegistryEnterpriseNamespaceArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseNamespace, error)

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

func (*RegistryEnterpriseNamespace) ElementType

func (*RegistryEnterpriseNamespace) ElementType() reflect.Type

func (*RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutput

func (i *RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput

func (*RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutputWithContext

func (i *RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput

type RegistryEnterpriseNamespaceArgs

type RegistryEnterpriseNamespaceArgs struct {
	// Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
	AutoCreate pulumi.BoolInput
	// `PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
	DefaultVisibility pulumi.StringInput
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput
	// Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a RegistryEnterpriseNamespace resource.

func (RegistryEnterpriseNamespaceArgs) ElementType

type RegistryEnterpriseNamespaceArray

type RegistryEnterpriseNamespaceArray []RegistryEnterpriseNamespaceInput

func (RegistryEnterpriseNamespaceArray) ElementType

func (RegistryEnterpriseNamespaceArray) ToRegistryEnterpriseNamespaceArrayOutput

func (i RegistryEnterpriseNamespaceArray) ToRegistryEnterpriseNamespaceArrayOutput() RegistryEnterpriseNamespaceArrayOutput

func (RegistryEnterpriseNamespaceArray) ToRegistryEnterpriseNamespaceArrayOutputWithContext

func (i RegistryEnterpriseNamespaceArray) ToRegistryEnterpriseNamespaceArrayOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceArrayOutput

type RegistryEnterpriseNamespaceArrayInput

type RegistryEnterpriseNamespaceArrayInput interface {
	pulumi.Input

	ToRegistryEnterpriseNamespaceArrayOutput() RegistryEnterpriseNamespaceArrayOutput
	ToRegistryEnterpriseNamespaceArrayOutputWithContext(context.Context) RegistryEnterpriseNamespaceArrayOutput
}

RegistryEnterpriseNamespaceArrayInput is an input type that accepts RegistryEnterpriseNamespaceArray and RegistryEnterpriseNamespaceArrayOutput values. You can construct a concrete instance of `RegistryEnterpriseNamespaceArrayInput` via:

RegistryEnterpriseNamespaceArray{ RegistryEnterpriseNamespaceArgs{...} }

type RegistryEnterpriseNamespaceArrayOutput

type RegistryEnterpriseNamespaceArrayOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseNamespaceArrayOutput) ElementType

func (RegistryEnterpriseNamespaceArrayOutput) Index

func (RegistryEnterpriseNamespaceArrayOutput) ToRegistryEnterpriseNamespaceArrayOutput

func (o RegistryEnterpriseNamespaceArrayOutput) ToRegistryEnterpriseNamespaceArrayOutput() RegistryEnterpriseNamespaceArrayOutput

func (RegistryEnterpriseNamespaceArrayOutput) ToRegistryEnterpriseNamespaceArrayOutputWithContext

func (o RegistryEnterpriseNamespaceArrayOutput) ToRegistryEnterpriseNamespaceArrayOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceArrayOutput

type RegistryEnterpriseNamespaceInput

type RegistryEnterpriseNamespaceInput interface {
	pulumi.Input

	ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput
	ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput
}

type RegistryEnterpriseNamespaceMap

type RegistryEnterpriseNamespaceMap map[string]RegistryEnterpriseNamespaceInput

func (RegistryEnterpriseNamespaceMap) ElementType

func (RegistryEnterpriseNamespaceMap) ToRegistryEnterpriseNamespaceMapOutput

func (i RegistryEnterpriseNamespaceMap) ToRegistryEnterpriseNamespaceMapOutput() RegistryEnterpriseNamespaceMapOutput

func (RegistryEnterpriseNamespaceMap) ToRegistryEnterpriseNamespaceMapOutputWithContext

func (i RegistryEnterpriseNamespaceMap) ToRegistryEnterpriseNamespaceMapOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceMapOutput

type RegistryEnterpriseNamespaceMapInput

type RegistryEnterpriseNamespaceMapInput interface {
	pulumi.Input

	ToRegistryEnterpriseNamespaceMapOutput() RegistryEnterpriseNamespaceMapOutput
	ToRegistryEnterpriseNamespaceMapOutputWithContext(context.Context) RegistryEnterpriseNamespaceMapOutput
}

RegistryEnterpriseNamespaceMapInput is an input type that accepts RegistryEnterpriseNamespaceMap and RegistryEnterpriseNamespaceMapOutput values. You can construct a concrete instance of `RegistryEnterpriseNamespaceMapInput` via:

RegistryEnterpriseNamespaceMap{ "key": RegistryEnterpriseNamespaceArgs{...} }

type RegistryEnterpriseNamespaceMapOutput

type RegistryEnterpriseNamespaceMapOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseNamespaceMapOutput) ElementType

func (RegistryEnterpriseNamespaceMapOutput) MapIndex

func (RegistryEnterpriseNamespaceMapOutput) ToRegistryEnterpriseNamespaceMapOutput

func (o RegistryEnterpriseNamespaceMapOutput) ToRegistryEnterpriseNamespaceMapOutput() RegistryEnterpriseNamespaceMapOutput

func (RegistryEnterpriseNamespaceMapOutput) ToRegistryEnterpriseNamespaceMapOutputWithContext

func (o RegistryEnterpriseNamespaceMapOutput) ToRegistryEnterpriseNamespaceMapOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceMapOutput

type RegistryEnterpriseNamespaceOutput

type RegistryEnterpriseNamespaceOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseNamespaceOutput) AutoCreate added in v3.27.0

Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.

func (RegistryEnterpriseNamespaceOutput) DefaultVisibility added in v3.27.0

`PUBLIC` or `PRIVATE`, default repository visibility in this namespace.

func (RegistryEnterpriseNamespaceOutput) ElementType

func (RegistryEnterpriseNamespaceOutput) InstanceId added in v3.27.0

ID of Container Registry Enterprise Edition instance.

func (RegistryEnterpriseNamespaceOutput) Name added in v3.27.0

Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters.

func (RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutput

func (o RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput

func (RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutputWithContext

func (o RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput

type RegistryEnterpriseNamespaceState

type RegistryEnterpriseNamespaceState struct {
	// Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
	AutoCreate pulumi.BoolPtrInput
	// `PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
	DefaultVisibility pulumi.StringPtrInput
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters.
	Name pulumi.StringPtrInput
}

func (RegistryEnterpriseNamespaceState) ElementType

type RegistryEnterpriseRepo

type RegistryEnterpriseRepo struct {
	pulumi.CustomResourceState

	// The repository specific information. MarkDown format is supported, and the length limit is 2000.
	Detail pulumi.StringPtrOutput `pulumi:"detail"`
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The uuid of Container Registry Enterprise Edition repository.
	RepoId pulumi.StringOutput `pulumi:"repoId"`
	// `PUBLIC` or `PRIVATE`, repo's visibility.
	RepoType pulumi.StringOutput `pulumi:"repoType"`
	// The repository general information. It can contain 1 to 100 characters.
	Summary pulumi.StringOutput `pulumi:"summary"`
}

This resource will help you to manager Container Registry Enterprise Edition repositories.

For information about Container Registry Enterprise Edition repository and how to use it, see [Create a Repository](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createrepository)

> **NOTE:** Available since v1.86.0.

> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cr"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		example, err := cr.NewRegistryEnterpriseInstance(ctx, "example", &cr.RegistryEnterpriseInstanceArgs{
			PaymentType:   pulumi.String("Subscription"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(0),
			RenewalStatus: pulumi.String("ManualRenewal"),
			InstanceType:  pulumi.String("Advanced"),
			InstanceName:  pulumi.String(name),
		})
		if err != nil {
			return err
		}
		exampleRegistryEnterpriseNamespace, err := cs.NewRegistryEnterpriseNamespace(ctx, "example", &cs.RegistryEnterpriseNamespaceArgs{
			InstanceId:        example.ID(),
			Name:              pulumi.String(name),
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewRegistryEnterpriseRepo(ctx, "example", &cs.RegistryEnterpriseRepoArgs{
			InstanceId: example.ID(),
			Namespace:  exampleRegistryEnterpriseNamespace.Name,
			Name:       pulumi.String(name),
			Summary:    pulumi.String("this is summary of my new repo"),
			RepoType:   pulumi.String("PUBLIC"),
			Detail:     pulumi.String("this is a public repo"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Container Registry Enterprise Edition repository can be imported using the `{instance_id}:{namespace}:{repository}`, e.g.

```sh $ pulumi import alicloud:cs/registryEnterpriseRepo:RegistryEnterpriseRepo default `cri-xxx:my-namespace:my-repo` ```

func GetRegistryEnterpriseRepo

func GetRegistryEnterpriseRepo(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryEnterpriseRepoState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseRepo, error)

GetRegistryEnterpriseRepo gets an existing RegistryEnterpriseRepo 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 NewRegistryEnterpriseRepo

func NewRegistryEnterpriseRepo(ctx *pulumi.Context,
	name string, args *RegistryEnterpriseRepoArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseRepo, error)

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

func (*RegistryEnterpriseRepo) ElementType

func (*RegistryEnterpriseRepo) ElementType() reflect.Type

func (*RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutput

func (i *RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput

func (*RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutputWithContext

func (i *RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput

type RegistryEnterpriseRepoArgs

type RegistryEnterpriseRepoArgs struct {
	// The repository specific information. MarkDown format is supported, and the length limit is 2000.
	Detail pulumi.StringPtrInput
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringInput
	// Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.
	Name pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.
	Namespace pulumi.StringInput
	// `PUBLIC` or `PRIVATE`, repo's visibility.
	RepoType pulumi.StringInput
	// The repository general information. It can contain 1 to 100 characters.
	Summary pulumi.StringInput
}

The set of arguments for constructing a RegistryEnterpriseRepo resource.

func (RegistryEnterpriseRepoArgs) ElementType

func (RegistryEnterpriseRepoArgs) ElementType() reflect.Type

type RegistryEnterpriseRepoArray

type RegistryEnterpriseRepoArray []RegistryEnterpriseRepoInput

func (RegistryEnterpriseRepoArray) ElementType

func (RegistryEnterpriseRepoArray) ToRegistryEnterpriseRepoArrayOutput

func (i RegistryEnterpriseRepoArray) ToRegistryEnterpriseRepoArrayOutput() RegistryEnterpriseRepoArrayOutput

func (RegistryEnterpriseRepoArray) ToRegistryEnterpriseRepoArrayOutputWithContext

func (i RegistryEnterpriseRepoArray) ToRegistryEnterpriseRepoArrayOutputWithContext(ctx context.Context) RegistryEnterpriseRepoArrayOutput

type RegistryEnterpriseRepoArrayInput

type RegistryEnterpriseRepoArrayInput interface {
	pulumi.Input

	ToRegistryEnterpriseRepoArrayOutput() RegistryEnterpriseRepoArrayOutput
	ToRegistryEnterpriseRepoArrayOutputWithContext(context.Context) RegistryEnterpriseRepoArrayOutput
}

RegistryEnterpriseRepoArrayInput is an input type that accepts RegistryEnterpriseRepoArray and RegistryEnterpriseRepoArrayOutput values. You can construct a concrete instance of `RegistryEnterpriseRepoArrayInput` via:

RegistryEnterpriseRepoArray{ RegistryEnterpriseRepoArgs{...} }

type RegistryEnterpriseRepoArrayOutput

type RegistryEnterpriseRepoArrayOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseRepoArrayOutput) ElementType

func (RegistryEnterpriseRepoArrayOutput) Index

func (RegistryEnterpriseRepoArrayOutput) ToRegistryEnterpriseRepoArrayOutput

func (o RegistryEnterpriseRepoArrayOutput) ToRegistryEnterpriseRepoArrayOutput() RegistryEnterpriseRepoArrayOutput

func (RegistryEnterpriseRepoArrayOutput) ToRegistryEnterpriseRepoArrayOutputWithContext

func (o RegistryEnterpriseRepoArrayOutput) ToRegistryEnterpriseRepoArrayOutputWithContext(ctx context.Context) RegistryEnterpriseRepoArrayOutput

type RegistryEnterpriseRepoInput

type RegistryEnterpriseRepoInput interface {
	pulumi.Input

	ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput
	ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput
}

type RegistryEnterpriseRepoMap

type RegistryEnterpriseRepoMap map[string]RegistryEnterpriseRepoInput

func (RegistryEnterpriseRepoMap) ElementType

func (RegistryEnterpriseRepoMap) ElementType() reflect.Type

func (RegistryEnterpriseRepoMap) ToRegistryEnterpriseRepoMapOutput

func (i RegistryEnterpriseRepoMap) ToRegistryEnterpriseRepoMapOutput() RegistryEnterpriseRepoMapOutput

func (RegistryEnterpriseRepoMap) ToRegistryEnterpriseRepoMapOutputWithContext

func (i RegistryEnterpriseRepoMap) ToRegistryEnterpriseRepoMapOutputWithContext(ctx context.Context) RegistryEnterpriseRepoMapOutput

type RegistryEnterpriseRepoMapInput

type RegistryEnterpriseRepoMapInput interface {
	pulumi.Input

	ToRegistryEnterpriseRepoMapOutput() RegistryEnterpriseRepoMapOutput
	ToRegistryEnterpriseRepoMapOutputWithContext(context.Context) RegistryEnterpriseRepoMapOutput
}

RegistryEnterpriseRepoMapInput is an input type that accepts RegistryEnterpriseRepoMap and RegistryEnterpriseRepoMapOutput values. You can construct a concrete instance of `RegistryEnterpriseRepoMapInput` via:

RegistryEnterpriseRepoMap{ "key": RegistryEnterpriseRepoArgs{...} }

type RegistryEnterpriseRepoMapOutput

type RegistryEnterpriseRepoMapOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseRepoMapOutput) ElementType

func (RegistryEnterpriseRepoMapOutput) MapIndex

func (RegistryEnterpriseRepoMapOutput) ToRegistryEnterpriseRepoMapOutput

func (o RegistryEnterpriseRepoMapOutput) ToRegistryEnterpriseRepoMapOutput() RegistryEnterpriseRepoMapOutput

func (RegistryEnterpriseRepoMapOutput) ToRegistryEnterpriseRepoMapOutputWithContext

func (o RegistryEnterpriseRepoMapOutput) ToRegistryEnterpriseRepoMapOutputWithContext(ctx context.Context) RegistryEnterpriseRepoMapOutput

type RegistryEnterpriseRepoOutput

type RegistryEnterpriseRepoOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseRepoOutput) Detail added in v3.27.0

The repository specific information. MarkDown format is supported, and the length limit is 2000.

func (RegistryEnterpriseRepoOutput) ElementType

func (RegistryEnterpriseRepoOutput) InstanceId added in v3.27.0

ID of Container Registry Enterprise Edition instance.

func (RegistryEnterpriseRepoOutput) Name added in v3.27.0

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

func (RegistryEnterpriseRepoOutput) Namespace added in v3.27.0

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

func (RegistryEnterpriseRepoOutput) RepoId added in v3.27.0

The uuid of Container Registry Enterprise Edition repository.

func (RegistryEnterpriseRepoOutput) RepoType added in v3.27.0

`PUBLIC` or `PRIVATE`, repo's visibility.

func (RegistryEnterpriseRepoOutput) Summary added in v3.27.0

The repository general information. It can contain 1 to 100 characters.

func (RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutput

func (o RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput

func (RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutputWithContext

func (o RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput

type RegistryEnterpriseRepoState

type RegistryEnterpriseRepoState struct {
	// The repository specific information. MarkDown format is supported, and the length limit is 2000.
	Detail pulumi.StringPtrInput
	// ID of Container Registry Enterprise Edition instance.
	InstanceId pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.
	Name pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.
	Namespace pulumi.StringPtrInput
	// The uuid of Container Registry Enterprise Edition repository.
	RepoId pulumi.StringPtrInput
	// `PUBLIC` or `PRIVATE`, repo's visibility.
	RepoType pulumi.StringPtrInput
	// The repository general information. It can contain 1 to 100 characters.
	Summary pulumi.StringPtrInput
}

func (RegistryEnterpriseRepoState) ElementType

type RegistryEnterpriseSyncRule

type RegistryEnterpriseSyncRule struct {
	pulumi.CustomResourceState

	// ID of Container Registry Enterprise Edition source instance.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// Name of Container Registry Enterprise Edition sync rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
	RepoName pulumi.StringPtrOutput `pulumi:"repoName"`
	// The uuid of Container Registry Enterprise Edition sync rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.
	SyncDirection pulumi.StringOutput `pulumi:"syncDirection"`
	// `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
	SyncScope pulumi.StringOutput `pulumi:"syncScope"`
	// The regular expression used to filter image tags for synchronization in the source repository.
	TagFilter pulumi.StringOutput `pulumi:"tagFilter"`
	// ID of Container Registry Enterprise Edition target instance to be synchronized.
	TargetInstanceId pulumi.StringOutput `pulumi:"targetInstanceId"`
	// Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
	TargetNamespaceName pulumi.StringOutput `pulumi:"targetNamespaceName"`
	// The target region to be synchronized.
	TargetRegionId pulumi.StringOutput `pulumi:"targetRegionId"`
	// Name of the target repository.
	TargetRepoName pulumi.StringPtrOutput `pulumi:"targetRepoName"`
}

This resource will help you to manager Container Registry Enterprise Edition sync rules.

For information about Container Registry Enterprise Edition sync rules and how to use it, see [Create a Sync Rule](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createreposynctaskbyrule)

> **NOTE:** Available since v1.90.0.

> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cr"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		source, err := cr.NewRegistryEnterpriseInstance(ctx, "source", &cr.RegistryEnterpriseInstanceArgs{
			PaymentType:   pulumi.String("Subscription"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(0),
			RenewalStatus: pulumi.String("ManualRenewal"),
			InstanceType:  pulumi.String("Advanced"),
			InstanceName:  pulumi.String(fmt.Sprintf("%v-source", name)),
		})
		if err != nil {
			return err
		}
		target, err := cr.NewRegistryEnterpriseInstance(ctx, "target", &cr.RegistryEnterpriseInstanceArgs{
			PaymentType:   pulumi.String("Subscription"),
			Period:        pulumi.Int(1),
			RenewPeriod:   pulumi.Int(0),
			RenewalStatus: pulumi.String("ManualRenewal"),
			InstanceType:  pulumi.String("Advanced"),
			InstanceName:  pulumi.String(fmt.Sprintf("%v-target", name)),
		})
		if err != nil {
			return err
		}
		sourceRegistryEnterpriseNamespace, err := cs.NewRegistryEnterpriseNamespace(ctx, "source", &cs.RegistryEnterpriseNamespaceArgs{
			InstanceId:        source.ID(),
			Name:              pulumi.String(name),
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
		})
		if err != nil {
			return err
		}
		targetRegistryEnterpriseNamespace, err := cs.NewRegistryEnterpriseNamespace(ctx, "target", &cs.RegistryEnterpriseNamespaceArgs{
			InstanceId:        target.ID(),
			Name:              pulumi.String(name),
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
		})
		if err != nil {
			return err
		}
		sourceRegistryEnterpriseRepo, err := cs.NewRegistryEnterpriseRepo(ctx, "source", &cs.RegistryEnterpriseRepoArgs{
			InstanceId: source.ID(),
			Namespace:  sourceRegistryEnterpriseNamespace.Name,
			Name:       pulumi.String(name),
			Summary:    pulumi.String("this is summary of my new repo"),
			RepoType:   pulumi.String("PUBLIC"),
			Detail:     pulumi.String("this is a public repo"),
		})
		if err != nil {
			return err
		}
		targetRegistryEnterpriseRepo, err := cs.NewRegistryEnterpriseRepo(ctx, "target", &cs.RegistryEnterpriseRepoArgs{
			InstanceId: target.ID(),
			Namespace:  targetRegistryEnterpriseNamespace.Name,
			Name:       pulumi.String(name),
			Summary:    pulumi.String("this is summary of my new repo"),
			RepoType:   pulumi.String("PUBLIC"),
			Detail:     pulumi.String("this is a public repo"),
		})
		if err != nil {
			return err
		}
		_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
			Current: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		_, err = cs.NewRegistryEnterpriseSyncRule(ctx, "default", &cs.RegistryEnterpriseSyncRuleArgs{
			InstanceId:          source.ID(),
			NamespaceName:       sourceRegistryEnterpriseNamespace.Name,
			Name:                pulumi.String(name),
			TargetRegionId:      pulumi.String(_default.Regions[0].Id),
			TargetInstanceId:    target.ID(),
			TargetNamespaceName: targetRegistryEnterpriseNamespace.Name,
			TagFilter:           pulumi.String(".*"),
			RepoName:            sourceRegistryEnterpriseRepo.Name,
			TargetRepoName:      targetRegistryEnterpriseRepo.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Container Registry Enterprise Edition sync rule can be imported using the id. Format to `{instance_id}:{namespace_name}:{rule_id}`, e.g.

```sh $ pulumi import alicloud:cs/registryEnterpriseSyncRule:RegistryEnterpriseSyncRule default `cri-xxx:my-namespace:crsr-yyy` ```

func GetRegistryEnterpriseSyncRule

func GetRegistryEnterpriseSyncRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryEnterpriseSyncRuleState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseSyncRule, error)

GetRegistryEnterpriseSyncRule gets an existing RegistryEnterpriseSyncRule 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 NewRegistryEnterpriseSyncRule

func NewRegistryEnterpriseSyncRule(ctx *pulumi.Context,
	name string, args *RegistryEnterpriseSyncRuleArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseSyncRule, error)

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

func (*RegistryEnterpriseSyncRule) ElementType

func (*RegistryEnterpriseSyncRule) ElementType() reflect.Type

func (*RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutput

func (i *RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput

func (*RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutputWithContext

func (i *RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput

type RegistryEnterpriseSyncRuleArgs

type RegistryEnterpriseSyncRuleArgs struct {
	// ID of Container Registry Enterprise Edition source instance.
	InstanceId pulumi.StringInput
	// Name of Container Registry Enterprise Edition sync rule.
	Name pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
	NamespaceName pulumi.StringInput
	// Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
	RepoName pulumi.StringPtrInput
	// The regular expression used to filter image tags for synchronization in the source repository.
	TagFilter pulumi.StringInput
	// ID of Container Registry Enterprise Edition target instance to be synchronized.
	TargetInstanceId pulumi.StringInput
	// Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
	TargetNamespaceName pulumi.StringInput
	// The target region to be synchronized.
	TargetRegionId pulumi.StringInput
	// Name of the target repository.
	TargetRepoName pulumi.StringPtrInput
}

The set of arguments for constructing a RegistryEnterpriseSyncRule resource.

func (RegistryEnterpriseSyncRuleArgs) ElementType

type RegistryEnterpriseSyncRuleArray

type RegistryEnterpriseSyncRuleArray []RegistryEnterpriseSyncRuleInput

func (RegistryEnterpriseSyncRuleArray) ElementType

func (RegistryEnterpriseSyncRuleArray) ToRegistryEnterpriseSyncRuleArrayOutput

func (i RegistryEnterpriseSyncRuleArray) ToRegistryEnterpriseSyncRuleArrayOutput() RegistryEnterpriseSyncRuleArrayOutput

func (RegistryEnterpriseSyncRuleArray) ToRegistryEnterpriseSyncRuleArrayOutputWithContext

func (i RegistryEnterpriseSyncRuleArray) ToRegistryEnterpriseSyncRuleArrayOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleArrayOutput

type RegistryEnterpriseSyncRuleArrayInput

type RegistryEnterpriseSyncRuleArrayInput interface {
	pulumi.Input

	ToRegistryEnterpriseSyncRuleArrayOutput() RegistryEnterpriseSyncRuleArrayOutput
	ToRegistryEnterpriseSyncRuleArrayOutputWithContext(context.Context) RegistryEnterpriseSyncRuleArrayOutput
}

RegistryEnterpriseSyncRuleArrayInput is an input type that accepts RegistryEnterpriseSyncRuleArray and RegistryEnterpriseSyncRuleArrayOutput values. You can construct a concrete instance of `RegistryEnterpriseSyncRuleArrayInput` via:

RegistryEnterpriseSyncRuleArray{ RegistryEnterpriseSyncRuleArgs{...} }

type RegistryEnterpriseSyncRuleArrayOutput

type RegistryEnterpriseSyncRuleArrayOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseSyncRuleArrayOutput) ElementType

func (RegistryEnterpriseSyncRuleArrayOutput) Index

func (RegistryEnterpriseSyncRuleArrayOutput) ToRegistryEnterpriseSyncRuleArrayOutput

func (o RegistryEnterpriseSyncRuleArrayOutput) ToRegistryEnterpriseSyncRuleArrayOutput() RegistryEnterpriseSyncRuleArrayOutput

func (RegistryEnterpriseSyncRuleArrayOutput) ToRegistryEnterpriseSyncRuleArrayOutputWithContext

func (o RegistryEnterpriseSyncRuleArrayOutput) ToRegistryEnterpriseSyncRuleArrayOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleArrayOutput

type RegistryEnterpriseSyncRuleInput

type RegistryEnterpriseSyncRuleInput interface {
	pulumi.Input

	ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput
	ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput
}

type RegistryEnterpriseSyncRuleMap

type RegistryEnterpriseSyncRuleMap map[string]RegistryEnterpriseSyncRuleInput

func (RegistryEnterpriseSyncRuleMap) ElementType

func (RegistryEnterpriseSyncRuleMap) ToRegistryEnterpriseSyncRuleMapOutput

func (i RegistryEnterpriseSyncRuleMap) ToRegistryEnterpriseSyncRuleMapOutput() RegistryEnterpriseSyncRuleMapOutput

func (RegistryEnterpriseSyncRuleMap) ToRegistryEnterpriseSyncRuleMapOutputWithContext

func (i RegistryEnterpriseSyncRuleMap) ToRegistryEnterpriseSyncRuleMapOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleMapOutput

type RegistryEnterpriseSyncRuleMapInput

type RegistryEnterpriseSyncRuleMapInput interface {
	pulumi.Input

	ToRegistryEnterpriseSyncRuleMapOutput() RegistryEnterpriseSyncRuleMapOutput
	ToRegistryEnterpriseSyncRuleMapOutputWithContext(context.Context) RegistryEnterpriseSyncRuleMapOutput
}

RegistryEnterpriseSyncRuleMapInput is an input type that accepts RegistryEnterpriseSyncRuleMap and RegistryEnterpriseSyncRuleMapOutput values. You can construct a concrete instance of `RegistryEnterpriseSyncRuleMapInput` via:

RegistryEnterpriseSyncRuleMap{ "key": RegistryEnterpriseSyncRuleArgs{...} }

type RegistryEnterpriseSyncRuleMapOutput

type RegistryEnterpriseSyncRuleMapOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseSyncRuleMapOutput) ElementType

func (RegistryEnterpriseSyncRuleMapOutput) MapIndex

func (RegistryEnterpriseSyncRuleMapOutput) ToRegistryEnterpriseSyncRuleMapOutput

func (o RegistryEnterpriseSyncRuleMapOutput) ToRegistryEnterpriseSyncRuleMapOutput() RegistryEnterpriseSyncRuleMapOutput

func (RegistryEnterpriseSyncRuleMapOutput) ToRegistryEnterpriseSyncRuleMapOutputWithContext

func (o RegistryEnterpriseSyncRuleMapOutput) ToRegistryEnterpriseSyncRuleMapOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleMapOutput

type RegistryEnterpriseSyncRuleOutput

type RegistryEnterpriseSyncRuleOutput struct{ *pulumi.OutputState }

func (RegistryEnterpriseSyncRuleOutput) ElementType

func (RegistryEnterpriseSyncRuleOutput) InstanceId added in v3.27.0

ID of Container Registry Enterprise Edition source instance.

func (RegistryEnterpriseSyncRuleOutput) Name added in v3.27.0

Name of Container Registry Enterprise Edition sync rule.

func (RegistryEnterpriseSyncRuleOutput) NamespaceName added in v3.27.0

Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.

func (RegistryEnterpriseSyncRuleOutput) RepoName added in v3.27.0

Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.

func (RegistryEnterpriseSyncRuleOutput) RuleId added in v3.27.0

The uuid of Container Registry Enterprise Edition sync rule.

func (RegistryEnterpriseSyncRuleOutput) SyncDirection added in v3.27.0

`FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.

func (RegistryEnterpriseSyncRuleOutput) SyncScope added in v3.27.0

`REPO` or `NAMESPACE`,the scope that the synchronization rule applies.

func (RegistryEnterpriseSyncRuleOutput) TagFilter added in v3.27.0

The regular expression used to filter image tags for synchronization in the source repository.

func (RegistryEnterpriseSyncRuleOutput) TargetInstanceId added in v3.27.0

ID of Container Registry Enterprise Edition target instance to be synchronized.

func (RegistryEnterpriseSyncRuleOutput) TargetNamespaceName added in v3.27.0

func (o RegistryEnterpriseSyncRuleOutput) TargetNamespaceName() pulumi.StringOutput

Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.

func (RegistryEnterpriseSyncRuleOutput) TargetRegionId added in v3.27.0

The target region to be synchronized.

func (RegistryEnterpriseSyncRuleOutput) TargetRepoName added in v3.27.0

Name of the target repository.

func (RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutput

func (o RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput

func (RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutputWithContext

func (o RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput

type RegistryEnterpriseSyncRuleState

type RegistryEnterpriseSyncRuleState struct {
	// ID of Container Registry Enterprise Edition source instance.
	InstanceId pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition sync rule.
	Name pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.
	NamespaceName pulumi.StringPtrInput
	// Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level.
	RepoName pulumi.StringPtrInput
	// The uuid of Container Registry Enterprise Edition sync rule.
	RuleId pulumi.StringPtrInput
	// `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.
	SyncDirection pulumi.StringPtrInput
	// `REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
	SyncScope pulumi.StringPtrInput
	// The regular expression used to filter image tags for synchronization in the source repository.
	TagFilter pulumi.StringPtrInput
	// ID of Container Registry Enterprise Edition target instance to be synchronized.
	TargetInstanceId pulumi.StringPtrInput
	// Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters.
	TargetNamespaceName pulumi.StringPtrInput
	// The target region to be synchronized.
	TargetRegionId pulumi.StringPtrInput
	// Name of the target repository.
	TargetRepoName pulumi.StringPtrInput
}

func (RegistryEnterpriseSyncRuleState) ElementType

type ServerlessKubernetes

type ServerlessKubernetes struct {
	pulumi.CustomResourceState

	// You can specific network plugin,log component,ingress component and so on. See `addons` below.
	Addons ServerlessKubernetesAddonArrayOutput `pulumi:"addons"`
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"`
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"`
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"`
	// The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
	// - ack.standard: Standard serverless clusters.
	// - ack.pro.small: Professional serverless clusters.
	ClusterSpec pulumi.StringOutput `pulumi:"clusterSpec"`
	// whether to create a v2 version cluster.
	//
	// *Removed params*
	CreateV2Cluster pulumi.BoolOutput `pulumi:"createV2Cluster"`
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
	EnableRrsa pulumi.BoolPtrOutput `pulumi:"enableRrsa"`
	// Whether to create internet  eip for API Server. Default to false.
	EndpointPublicAccessEnabled pulumi.BoolPtrOutput `pulumi:"endpointPublicAccessEnabled"`
	// Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"`
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"`
	// The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"`
	// Enable log service, Valid value `SLS`.
	LoggingType pulumi.StringPtrOutput `pulumi:"loggingType"`
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringOutput    `pulumi:"name"`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
	NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"`
	// Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `serviceDiscoveryTypes`.
	//
	// Deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.
	PrivateZone pulumi.BoolPtrOutput `pulumi:"privateZone"`
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringOutput      `pulumi:"resourceGroupId"`
	RetainResources pulumi.StringArrayOutput `pulumi:"retainResources"`
	// Nested attribute containing RRSA related data for your cluster. See `rrsaMetadata` below.
	RrsaMetadata ServerlessKubernetesRrsaMetadataOutput `pulumi:"rrsaMetadata"`
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
	ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"`
	// Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
	ServiceDiscoveryTypes pulumi.StringArrayOutput `pulumi:"serviceDiscoveryTypes"`
	// If you use an existing SLS project, you must specify `slsProjectName`.
	SlsProjectName pulumi.StringOutput `pulumi:"slsProjectName"`
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// The time zone of the cluster.
	TimeZone pulumi.StringOutput `pulumi:"timeZone"`
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
	Version pulumi.StringOutput `pulumi:"version"`
	// The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC  will be built.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
	// The vswitches where new kubernetes cluster will be located.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
	// When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
	ZoneId pulumi.StringPtrOutput `pulumi:"zoneId"`
}

This resource will help you to manager a Serverless Kubernetes Cluster, see [What is serverless kubernetes](https://www.alibabacloud.com/help/en/ack/ack-managed-and-ack-dedicated/developer-reference/create-a-dedicated-kubernetes-cluster-that-supports-sandboxed-containers). The cluster is same as container service created by web console.

> **NOTE:** Available since v1.58.0.

> **NOTE:** Serverless Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set `newNatGateway` to "true" to create one automatically.

> **NOTE:** Creating serverless kubernetes cluster need to install several packages and it will cost about 5 minutes. Please be patient.

> **NOTE:** The provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like '~/.kube/config'.

> **NOTE:** If you want to manage serverless Kubernetes, you can use Kubernetes Provider.

> **NOTE:** You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the `Authorization management` and `Cluster management` sections in the [Document Center](https://www.alibabacloud.com/help/doc-detail/86488.htm).

> **NOTE:** From version 1.162.0, support for creating professional serverless cluster.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "ask-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.1.0.0/21"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("10.1.1.0/24"),
			ZoneId:      pulumi.String(_default.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewServerlessKubernetes(ctx, "serverless", &cs.ServerlessKubernetesArgs{
			NamePrefix:  pulumi.String(name),
			ClusterSpec: pulumi.String("ack.pro.small"),
			VpcId:       defaultNetwork.ID(),
			VswitchIds: pulumi.StringArray{
				defaultSwitch.ID(),
			},
			NewNatGateway:               pulumi.Bool(true),
			EndpointPublicAccessEnabled: pulumi.Bool(true),
			DeletionProtection:          pulumi.Bool(false),
			LoadBalancerSpec:            pulumi.String("slb.s2.small"),
			TimeZone:                    pulumi.String("Asia/Shanghai"),
			ServiceCidr:                 pulumi.String("172.21.0.0/20"),
			ServiceDiscoveryTypes: pulumi.StringArray{
				pulumi.String("PrivateZone"),
			},
			LoggingType: pulumi.String("SLS"),
			Tags: pulumi.Map{
				"k-aa": pulumi.Any("v-aa"),
				"k-bb": pulumi.Any("v-aa"),
			},
			Addons: cs.ServerlessKubernetesAddonArray{
				&cs.ServerlessKubernetesAddonArgs{
					Name: pulumi.String("alb-ingress-controller"),
				},
				&cs.ServerlessKubernetesAddonArgs{
					Name: pulumi.String("metrics-server"),
				},
				&cs.ServerlessKubernetesAddonArgs{
					Name: pulumi.String("knative"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Serverless Kubernetes cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of `pulumi preview`.

```sh $ pulumi import alicloud:cs/serverlessKubernetes:ServerlessKubernetes main ce4273f9156874b46bb ```

func GetServerlessKubernetes

func GetServerlessKubernetes(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerlessKubernetesState, opts ...pulumi.ResourceOption) (*ServerlessKubernetes, error)

GetServerlessKubernetes gets an existing ServerlessKubernetes 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 NewServerlessKubernetes

func NewServerlessKubernetes(ctx *pulumi.Context,
	name string, args *ServerlessKubernetesArgs, opts ...pulumi.ResourceOption) (*ServerlessKubernetes, error)

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

func (*ServerlessKubernetes) ElementType

func (*ServerlessKubernetes) ElementType() reflect.Type

func (*ServerlessKubernetes) ToServerlessKubernetesOutput

func (i *ServerlessKubernetes) ToServerlessKubernetesOutput() ServerlessKubernetesOutput

func (*ServerlessKubernetes) ToServerlessKubernetesOutputWithContext

func (i *ServerlessKubernetes) ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput

type ServerlessKubernetesAddon

type ServerlessKubernetesAddon struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config *string `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled *bool `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name *string `pulumi:"name"`
}

type ServerlessKubernetesAddonArgs

type ServerlessKubernetesAddonArgs struct {
	// The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.
	Config pulumi.StringPtrInput `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	//
	// The following example is the definition of addons block, The type of this field is list:
	Disabled pulumi.BoolPtrInput `pulumi:"disabled"`
	// Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (ServerlessKubernetesAddonArgs) ElementType

func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput

func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput

func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext

func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput

type ServerlessKubernetesAddonArray

type ServerlessKubernetesAddonArray []ServerlessKubernetesAddonInput

func (ServerlessKubernetesAddonArray) ElementType

func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput

func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput

func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext

func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput

type ServerlessKubernetesAddonArrayInput

type ServerlessKubernetesAddonArrayInput interface {
	pulumi.Input

	ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput
	ToServerlessKubernetesAddonArrayOutputWithContext(context.Context) ServerlessKubernetesAddonArrayOutput
}

ServerlessKubernetesAddonArrayInput is an input type that accepts ServerlessKubernetesAddonArray and ServerlessKubernetesAddonArrayOutput values. You can construct a concrete instance of `ServerlessKubernetesAddonArrayInput` via:

ServerlessKubernetesAddonArray{ ServerlessKubernetesAddonArgs{...} }

type ServerlessKubernetesAddonArrayOutput

type ServerlessKubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesAddonArrayOutput) ElementType

func (ServerlessKubernetesAddonArrayOutput) Index

func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput

func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput

func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext

func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput

type ServerlessKubernetesAddonInput

type ServerlessKubernetesAddonInput interface {
	pulumi.Input

	ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput
	ToServerlessKubernetesAddonOutputWithContext(context.Context) ServerlessKubernetesAddonOutput
}

ServerlessKubernetesAddonInput is an input type that accepts ServerlessKubernetesAddonArgs and ServerlessKubernetesAddonOutput values. You can construct a concrete instance of `ServerlessKubernetesAddonInput` via:

ServerlessKubernetesAddonArgs{...}

type ServerlessKubernetesAddonOutput

type ServerlessKubernetesAddonOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesAddonOutput) Config

The ACK add-on configurations. For more config information, see cs_kubernetes_addon_metadata.

func (ServerlessKubernetesAddonOutput) Disabled

Disables the automatic installation of a component. Default is `false`.

The following example is the definition of addons block, The type of this field is list:

func (ServerlessKubernetesAddonOutput) ElementType

func (ServerlessKubernetesAddonOutput) Name

Name of the ACK add-on. The name must match one of the names returned by [DescribeAddons](https://help.aliyun.com/document_detail/171524.html).

func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput

func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput

func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext

func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput

type ServerlessKubernetesArgs

type ServerlessKubernetesArgs struct {
	// You can specific network plugin,log component,ingress component and so on. See `addons` below.
	Addons ServerlessKubernetesAddonArrayInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	ClusterCaCert pulumi.StringPtrInput
	// The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
	// - ack.standard: Standard serverless clusters.
	// - ack.pro.small: Professional serverless clusters.
	ClusterSpec pulumi.StringPtrInput
	// whether to create a v2 version cluster.
	//
	// *Removed params*
	CreateV2Cluster pulumi.BoolPtrInput
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
	EnableRrsa pulumi.BoolPtrInput
	// Whether to create internet  eip for API Server. Default to false.
	EndpointPublicAccessEnabled pulumi.BoolPtrInput
	// Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrInput
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrInput
	// The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringPtrInput
	// Enable log service, Valid value `SLS`.
	LoggingType pulumi.StringPtrInput
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
	NewNatGateway pulumi.BoolPtrInput
	// Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `serviceDiscoveryTypes`.
	//
	// Deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.
	PrivateZone pulumi.BoolPtrInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// Nested attribute containing RRSA related data for your cluster. See `rrsaMetadata` below.
	RrsaMetadata ServerlessKubernetesRrsaMetadataPtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
	ServiceCidr pulumi.StringPtrInput
	// Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
	ServiceDiscoveryTypes pulumi.StringArrayInput
	// If you use an existing SLS project, you must specify `slsProjectName`.
	SlsProjectName pulumi.StringPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapInput
	// The time zone of the cluster.
	TimeZone pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
	Version pulumi.StringPtrInput
	// The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC  will be built.
	VpcId pulumi.StringInput
	// The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
	VswitchId pulumi.StringPtrInput
	// The vswitches where new kubernetes cluster will be located.
	VswitchIds pulumi.StringArrayInput
	// When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
	ZoneId pulumi.StringPtrInput
}

The set of arguments for constructing a ServerlessKubernetes resource.

func (ServerlessKubernetesArgs) ElementType

func (ServerlessKubernetesArgs) ElementType() reflect.Type

type ServerlessKubernetesArray

type ServerlessKubernetesArray []ServerlessKubernetesInput

func (ServerlessKubernetesArray) ElementType

func (ServerlessKubernetesArray) ElementType() reflect.Type

func (ServerlessKubernetesArray) ToServerlessKubernetesArrayOutput

func (i ServerlessKubernetesArray) ToServerlessKubernetesArrayOutput() ServerlessKubernetesArrayOutput

func (ServerlessKubernetesArray) ToServerlessKubernetesArrayOutputWithContext

func (i ServerlessKubernetesArray) ToServerlessKubernetesArrayOutputWithContext(ctx context.Context) ServerlessKubernetesArrayOutput

type ServerlessKubernetesArrayInput

type ServerlessKubernetesArrayInput interface {
	pulumi.Input

	ToServerlessKubernetesArrayOutput() ServerlessKubernetesArrayOutput
	ToServerlessKubernetesArrayOutputWithContext(context.Context) ServerlessKubernetesArrayOutput
}

ServerlessKubernetesArrayInput is an input type that accepts ServerlessKubernetesArray and ServerlessKubernetesArrayOutput values. You can construct a concrete instance of `ServerlessKubernetesArrayInput` via:

ServerlessKubernetesArray{ ServerlessKubernetesArgs{...} }

type ServerlessKubernetesArrayOutput

type ServerlessKubernetesArrayOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesArrayOutput) ElementType

func (ServerlessKubernetesArrayOutput) Index

func (ServerlessKubernetesArrayOutput) ToServerlessKubernetesArrayOutput

func (o ServerlessKubernetesArrayOutput) ToServerlessKubernetesArrayOutput() ServerlessKubernetesArrayOutput

func (ServerlessKubernetesArrayOutput) ToServerlessKubernetesArrayOutputWithContext

func (o ServerlessKubernetesArrayOutput) ToServerlessKubernetesArrayOutputWithContext(ctx context.Context) ServerlessKubernetesArrayOutput

type ServerlessKubernetesInput

type ServerlessKubernetesInput interface {
	pulumi.Input

	ToServerlessKubernetesOutput() ServerlessKubernetesOutput
	ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput
}

type ServerlessKubernetesMap

type ServerlessKubernetesMap map[string]ServerlessKubernetesInput

func (ServerlessKubernetesMap) ElementType

func (ServerlessKubernetesMap) ElementType() reflect.Type

func (ServerlessKubernetesMap) ToServerlessKubernetesMapOutput

func (i ServerlessKubernetesMap) ToServerlessKubernetesMapOutput() ServerlessKubernetesMapOutput

func (ServerlessKubernetesMap) ToServerlessKubernetesMapOutputWithContext

func (i ServerlessKubernetesMap) ToServerlessKubernetesMapOutputWithContext(ctx context.Context) ServerlessKubernetesMapOutput

type ServerlessKubernetesMapInput

type ServerlessKubernetesMapInput interface {
	pulumi.Input

	ToServerlessKubernetesMapOutput() ServerlessKubernetesMapOutput
	ToServerlessKubernetesMapOutputWithContext(context.Context) ServerlessKubernetesMapOutput
}

ServerlessKubernetesMapInput is an input type that accepts ServerlessKubernetesMap and ServerlessKubernetesMapOutput values. You can construct a concrete instance of `ServerlessKubernetesMapInput` via:

ServerlessKubernetesMap{ "key": ServerlessKubernetesArgs{...} }

type ServerlessKubernetesMapOutput

type ServerlessKubernetesMapOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesMapOutput) ElementType

func (ServerlessKubernetesMapOutput) MapIndex

func (ServerlessKubernetesMapOutput) ToServerlessKubernetesMapOutput

func (o ServerlessKubernetesMapOutput) ToServerlessKubernetesMapOutput() ServerlessKubernetesMapOutput

func (ServerlessKubernetesMapOutput) ToServerlessKubernetesMapOutputWithContext

func (o ServerlessKubernetesMapOutput) ToServerlessKubernetesMapOutputWithContext(ctx context.Context) ServerlessKubernetesMapOutput

type ServerlessKubernetesOutput

type ServerlessKubernetesOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesOutput) Addons added in v3.27.0

You can specific network plugin,log component,ingress component and so on. See `addons` below.

func (ServerlessKubernetesOutput) ClientCert added in v3.27.0

The path of client certificate, like `~/.kube/client-cert.pem`.

func (ServerlessKubernetesOutput) ClientKey added in v3.27.0

The path of client key, like `~/.kube/client-key.pem`.

func (ServerlessKubernetesOutput) ClusterCaCert added in v3.27.0

The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`

func (ServerlessKubernetesOutput) ClusterSpec added in v3.27.0

The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values: - ack.standard: Standard serverless clusters. - ack.pro.small: Professional serverless clusters.

func (ServerlessKubernetesOutput) CreateV2Cluster added in v3.27.0

func (o ServerlessKubernetesOutput) CreateV2Cluster() pulumi.BoolOutput

whether to create a v2 version cluster.

*Removed params*

func (ServerlessKubernetesOutput) DeletionProtection added in v3.27.0

func (o ServerlessKubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether enable the deletion protection or not. - true: Enable deletion protection. - false: Disable deletion protection.

func (ServerlessKubernetesOutput) ElementType

func (ServerlessKubernetesOutput) ElementType() reflect.Type

func (ServerlessKubernetesOutput) EnableRrsa added in v3.27.0

Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).

func (ServerlessKubernetesOutput) EndpointPublicAccessEnabled added in v3.27.0

func (o ServerlessKubernetesOutput) EndpointPublicAccessEnabled() pulumi.BoolPtrOutput

Whether to create internet eip for API Server. Default to false.

func (ServerlessKubernetesOutput) ForceUpdate added in v3.27.0

Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.

func (ServerlessKubernetesOutput) KubeConfig deprecated added in v3.27.0

The path of kube config, like `~/.kube/config`.

Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.

func (ServerlessKubernetesOutput) LoadBalancerSpec added in v3.27.0

func (o ServerlessKubernetesOutput) LoadBalancerSpec() pulumi.StringOutput

The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).

func (ServerlessKubernetesOutput) LoggingType added in v3.27.0

Enable log service, Valid value `SLS`.

func (ServerlessKubernetesOutput) Name added in v3.27.0

The kubernetes cluster's name. It is the only in one Alicloud account.

func (ServerlessKubernetesOutput) NamePrefix added in v3.27.0

func (ServerlessKubernetesOutput) NewNatGateway added in v3.27.0

Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.

func (ServerlessKubernetesOutput) PrivateZone deprecated added in v3.27.0

Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `serviceDiscoveryTypes`.

Deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.

func (ServerlessKubernetesOutput) ResourceGroupId added in v3.27.0

func (o ServerlessKubernetesOutput) ResourceGroupId() pulumi.StringOutput

The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.

func (ServerlessKubernetesOutput) RetainResources added in v3.27.0

func (ServerlessKubernetesOutput) RrsaMetadata added in v3.29.0

Nested attribute containing RRSA related data for your cluster. See `rrsaMetadata` below.

func (ServerlessKubernetesOutput) SecurityGroupId added in v3.27.0

func (o ServerlessKubernetesOutput) SecurityGroupId() pulumi.StringOutput

The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.

func (ServerlessKubernetesOutput) ServiceCidr added in v3.27.0

CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.

func (ServerlessKubernetesOutput) ServiceDiscoveryTypes added in v3.27.0

func (o ServerlessKubernetesOutput) ServiceDiscoveryTypes() pulumi.StringArrayOutput

Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.

func (ServerlessKubernetesOutput) SlsProjectName added in v3.27.0

func (o ServerlessKubernetesOutput) SlsProjectName() pulumi.StringOutput

If you use an existing SLS project, you must specify `slsProjectName`.

func (ServerlessKubernetesOutput) Tags added in v3.27.0

Default nil, A map of tags assigned to the kubernetes cluster and work nodes.

func (ServerlessKubernetesOutput) TimeZone added in v3.27.0

The time zone of the cluster.

func (ServerlessKubernetesOutput) ToServerlessKubernetesOutput

func (o ServerlessKubernetesOutput) ToServerlessKubernetesOutput() ServerlessKubernetesOutput

func (ServerlessKubernetesOutput) ToServerlessKubernetesOutputWithContext

func (o ServerlessKubernetesOutput) ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput

func (ServerlessKubernetesOutput) Version added in v3.27.0

Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.

func (ServerlessKubernetesOutput) VpcId added in v3.27.0

The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.

func (ServerlessKubernetesOutput) VswitchId deprecated added in v3.27.0

The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.

Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.

func (ServerlessKubernetesOutput) VswitchIds added in v3.27.0

The vswitches where new kubernetes cluster will be located.

func (ServerlessKubernetesOutput) ZoneId added in v3.27.0

When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.

type ServerlessKubernetesRrsaMetadata added in v3.29.0

type ServerlessKubernetesRrsaMetadata struct {
	// Whether the RRSA feature has been enabled.
	Enabled *bool `pulumi:"enabled"`
	// The arn of OIDC provider that was registered in RAM.
	RamOidcProviderArn *string `pulumi:"ramOidcProviderArn"`
	// The name of OIDC Provider that was registered in RAM.
	RamOidcProviderName *string `pulumi:"ramOidcProviderName"`
	// The issuer URL of RRSA OIDC Token.
	RrsaOidcIssuerUrl *string `pulumi:"rrsaOidcIssuerUrl"`
}

type ServerlessKubernetesRrsaMetadataArgs added in v3.29.0

type ServerlessKubernetesRrsaMetadataArgs struct {
	// Whether the RRSA feature has been enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The arn of OIDC provider that was registered in RAM.
	RamOidcProviderArn pulumi.StringPtrInput `pulumi:"ramOidcProviderArn"`
	// The name of OIDC Provider that was registered in RAM.
	RamOidcProviderName pulumi.StringPtrInput `pulumi:"ramOidcProviderName"`
	// The issuer URL of RRSA OIDC Token.
	RrsaOidcIssuerUrl pulumi.StringPtrInput `pulumi:"rrsaOidcIssuerUrl"`
}

func (ServerlessKubernetesRrsaMetadataArgs) ElementType added in v3.29.0

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutput added in v3.29.0

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutput() ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutputWithContext added in v3.29.0

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataPtrOutput

type ServerlessKubernetesRrsaMetadataInput added in v3.29.0

type ServerlessKubernetesRrsaMetadataInput interface {
	pulumi.Input

	ToServerlessKubernetesRrsaMetadataOutput() ServerlessKubernetesRrsaMetadataOutput
	ToServerlessKubernetesRrsaMetadataOutputWithContext(context.Context) ServerlessKubernetesRrsaMetadataOutput
}

ServerlessKubernetesRrsaMetadataInput is an input type that accepts ServerlessKubernetesRrsaMetadataArgs and ServerlessKubernetesRrsaMetadataOutput values. You can construct a concrete instance of `ServerlessKubernetesRrsaMetadataInput` via:

ServerlessKubernetesRrsaMetadataArgs{...}

type ServerlessKubernetesRrsaMetadataOutput added in v3.29.0

type ServerlessKubernetesRrsaMetadataOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesRrsaMetadataOutput) ElementType added in v3.29.0

func (ServerlessKubernetesRrsaMetadataOutput) Enabled added in v3.29.0

Whether the RRSA feature has been enabled.

func (ServerlessKubernetesRrsaMetadataOutput) RamOidcProviderArn added in v3.29.0

The arn of OIDC provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataOutput) RamOidcProviderName added in v3.29.0

The name of OIDC Provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataOutput) RrsaOidcIssuerUrl added in v3.29.0

The issuer URL of RRSA OIDC Token.

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutput added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutput() ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutputWithContext added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataPtrOutput

type ServerlessKubernetesRrsaMetadataPtrInput added in v3.29.0

type ServerlessKubernetesRrsaMetadataPtrInput interface {
	pulumi.Input

	ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput
	ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(context.Context) ServerlessKubernetesRrsaMetadataPtrOutput
}

ServerlessKubernetesRrsaMetadataPtrInput is an input type that accepts ServerlessKubernetesRrsaMetadataArgs, ServerlessKubernetesRrsaMetadataPtr and ServerlessKubernetesRrsaMetadataPtrOutput values. You can construct a concrete instance of `ServerlessKubernetesRrsaMetadataPtrInput` via:

        ServerlessKubernetesRrsaMetadataArgs{...}

or:

        nil

type ServerlessKubernetesRrsaMetadataPtrOutput added in v3.29.0

type ServerlessKubernetesRrsaMetadataPtrOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesRrsaMetadataPtrOutput) Elem added in v3.29.0

func (ServerlessKubernetesRrsaMetadataPtrOutput) ElementType added in v3.29.0

func (ServerlessKubernetesRrsaMetadataPtrOutput) Enabled added in v3.29.0

Whether the RRSA feature has been enabled.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RamOidcProviderArn added in v3.29.0

The arn of OIDC provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RamOidcProviderName added in v3.29.0

The name of OIDC Provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RrsaOidcIssuerUrl added in v3.29.0

The issuer URL of RRSA OIDC Token.

func (ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutput added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext added in v3.29.0

func (o ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataPtrOutput

type ServerlessKubernetesState

type ServerlessKubernetesState struct {
	// You can specific network plugin,log component,ingress component and so on. See `addons` below.
	Addons ServerlessKubernetesAddonArrayInput
	// The path of client certificate, like `~/.kube/client-cert.pem`.
	ClientCert pulumi.StringPtrInput
	// The path of client key, like `~/.kube/client-key.pem`.
	ClientKey pulumi.StringPtrInput
	// The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem`
	ClusterCaCert pulumi.StringPtrInput
	// The cluster specifications of serverless kubernetes cluster, which can be empty. Valid values:
	// - ack.standard: Standard serverless clusters.
	// - ack.pro.small: Professional serverless clusters.
	ClusterSpec pulumi.StringPtrInput
	// whether to create a v2 version cluster.
	//
	// *Removed params*
	CreateV2Cluster pulumi.BoolPtrInput
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Whether to enable cluster to support RRSA for version 1.22.3+. Default to `false`. Once the RRSA function is turned on, it is not allowed to turn off. If your cluster has enabled this function, please manually modify your tf file and add the rrsa configuration to the file, learn more [RAM Roles for Service Accounts](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/use-rrsa-to-enforce-access-control).
	EnableRrsa pulumi.BoolPtrInput
	// Whether to create internet  eip for API Server. Default to false.
	EndpointPublicAccessEnabled pulumi.BoolPtrInput
	// Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated.
	ForceUpdate pulumi.BoolPtrInput
	// The path of kube config, like `~/.kube/config`.
	//
	// Deprecated: Field 'kube_config' has been deprecated from provider version 1.187.0. New DataSource 'alicloud_cs_cluster_credential' manage your cluster's kube config.
	KubeConfig pulumi.StringPtrInput
	// The cluster api server load balance instance specification, default `slb.s2.small`. For more information on how to select a LB instance specification, see [SLB instance overview](https://help.aliyun.com/document_detail/85931.html).
	LoadBalancerSpec pulumi.StringPtrInput
	// Enable log service, Valid value `SLS`.
	LoggingType pulumi.StringPtrInput
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. SNAT must be configured when a new VPC is automatically created. Default is `true`.
	NewNatGateway pulumi.BoolPtrInput
	// Has been deprecated from provider version 1.123.1. `PrivateZone` is used as the enumeration value of `serviceDiscoveryTypes`.
	//
	// Deprecated: Field 'private_zone' has been deprecated from provider version 1.123.1. New field 'service_discovery_types' replace it.
	PrivateZone pulumi.BoolPtrInput
	// The ID of the resource group,by default these cloud resources are automatically assigned to the default resource group.
	ResourceGroupId pulumi.StringPtrInput
	RetainResources pulumi.StringArrayInput
	// Nested attribute containing RRSA related data for your cluster. See `rrsaMetadata` below.
	RrsaMetadata ServerlessKubernetesRrsaMetadataPtrInput
	// The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built.
	SecurityGroupId pulumi.StringPtrInput
	// CIDR block of the service network. The specified CIDR block cannot overlap with that of the VPC or those of the ACK clusters that are deployed in the VPC. The CIDR block cannot be modified after the cluster is created.
	ServiceCidr pulumi.StringPtrInput
	// Service discovery type. If the value is empty, it means that service discovery is not enabled. Valid values are `CoreDNS` and `PrivateZone`.
	ServiceDiscoveryTypes pulumi.StringArrayInput
	// If you use an existing SLS project, you must specify `slsProjectName`.
	SlsProjectName pulumi.StringPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes.
	Tags pulumi.MapInput
	// The time zone of the cluster.
	TimeZone pulumi.StringPtrInput
	// Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.
	Version pulumi.StringPtrInput
	// The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC  will be built.
	VpcId pulumi.StringPtrInput
	// The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified.
	//
	// Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it.
	VswitchId pulumi.StringPtrInput
	// The vswitches where new kubernetes cluster will be located.
	VswitchIds pulumi.StringArrayInput
	// When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.
	ZoneId pulumi.StringPtrInput
}

func (ServerlessKubernetesState) ElementType

func (ServerlessKubernetesState) ElementType() reflect.Type

type Swarm

type Swarm struct {
	pulumi.CustomResourceState

	AgentVersion    pulumi.StringOutput    `pulumi:"agentVersion"`
	CidrBlock       pulumi.StringOutput    `pulumi:"cidrBlock"`
	DiskCategory    pulumi.StringPtrOutput `pulumi:"diskCategory"`
	DiskSize        pulumi.IntPtrOutput    `pulumi:"diskSize"`
	ImageId         pulumi.StringPtrOutput `pulumi:"imageId"`
	InstanceType    pulumi.StringOutput    `pulumi:"instanceType"`
	IsOutdated      pulumi.BoolPtrOutput   `pulumi:"isOutdated"`
	Name            pulumi.StringOutput    `pulumi:"name"`
	NamePrefix      pulumi.StringPtrOutput `pulumi:"namePrefix"`
	NeedSlb         pulumi.BoolPtrOutput   `pulumi:"needSlb"`
	NodeNumber      pulumi.IntPtrOutput    `pulumi:"nodeNumber"`
	Nodes           SwarmNodeArrayOutput   `pulumi:"nodes"`
	Password        pulumi.StringOutput    `pulumi:"password"`
	ReleaseEip      pulumi.BoolPtrOutput   `pulumi:"releaseEip"`
	SecurityGroupId pulumi.StringOutput    `pulumi:"securityGroupId"`
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrOutput `pulumi:"size"`
	SlbId     pulumi.StringOutput `pulumi:"slbId"`
	VpcId     pulumi.StringOutput `pulumi:"vpcId"`
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

func GetSwarm

func GetSwarm(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SwarmState, opts ...pulumi.ResourceOption) (*Swarm, error)

GetSwarm gets an existing Swarm 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 NewSwarm

func NewSwarm(ctx *pulumi.Context,
	name string, args *SwarmArgs, opts ...pulumi.ResourceOption) (*Swarm, error)

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

func (*Swarm) ElementType

func (*Swarm) ElementType() reflect.Type

func (*Swarm) ToSwarmOutput

func (i *Swarm) ToSwarmOutput() SwarmOutput

func (*Swarm) ToSwarmOutputWithContext

func (i *Swarm) ToSwarmOutputWithContext(ctx context.Context) SwarmOutput

type SwarmArgs

type SwarmArgs struct {
	CidrBlock    pulumi.StringInput
	DiskCategory pulumi.StringPtrInput
	DiskSize     pulumi.IntPtrInput
	ImageId      pulumi.StringPtrInput
	InstanceType pulumi.StringInput
	IsOutdated   pulumi.BoolPtrInput
	Name         pulumi.StringPtrInput
	NamePrefix   pulumi.StringPtrInput
	NeedSlb      pulumi.BoolPtrInput
	NodeNumber   pulumi.IntPtrInput
	Password     pulumi.StringInput
	ReleaseEip   pulumi.BoolPtrInput
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrInput
	VswitchId pulumi.StringInput
}

The set of arguments for constructing a Swarm resource.

func (SwarmArgs) ElementType

func (SwarmArgs) ElementType() reflect.Type

type SwarmArray

type SwarmArray []SwarmInput

func (SwarmArray) ElementType

func (SwarmArray) ElementType() reflect.Type

func (SwarmArray) ToSwarmArrayOutput

func (i SwarmArray) ToSwarmArrayOutput() SwarmArrayOutput

func (SwarmArray) ToSwarmArrayOutputWithContext

func (i SwarmArray) ToSwarmArrayOutputWithContext(ctx context.Context) SwarmArrayOutput

type SwarmArrayInput

type SwarmArrayInput interface {
	pulumi.Input

	ToSwarmArrayOutput() SwarmArrayOutput
	ToSwarmArrayOutputWithContext(context.Context) SwarmArrayOutput
}

SwarmArrayInput is an input type that accepts SwarmArray and SwarmArrayOutput values. You can construct a concrete instance of `SwarmArrayInput` via:

SwarmArray{ SwarmArgs{...} }

type SwarmArrayOutput

type SwarmArrayOutput struct{ *pulumi.OutputState }

func (SwarmArrayOutput) ElementType

func (SwarmArrayOutput) ElementType() reflect.Type

func (SwarmArrayOutput) Index

func (SwarmArrayOutput) ToSwarmArrayOutput

func (o SwarmArrayOutput) ToSwarmArrayOutput() SwarmArrayOutput

func (SwarmArrayOutput) ToSwarmArrayOutputWithContext

func (o SwarmArrayOutput) ToSwarmArrayOutputWithContext(ctx context.Context) SwarmArrayOutput

type SwarmInput

type SwarmInput interface {
	pulumi.Input

	ToSwarmOutput() SwarmOutput
	ToSwarmOutputWithContext(ctx context.Context) SwarmOutput
}

type SwarmMap

type SwarmMap map[string]SwarmInput

func (SwarmMap) ElementType

func (SwarmMap) ElementType() reflect.Type

func (SwarmMap) ToSwarmMapOutput

func (i SwarmMap) ToSwarmMapOutput() SwarmMapOutput

func (SwarmMap) ToSwarmMapOutputWithContext

func (i SwarmMap) ToSwarmMapOutputWithContext(ctx context.Context) SwarmMapOutput

type SwarmMapInput

type SwarmMapInput interface {
	pulumi.Input

	ToSwarmMapOutput() SwarmMapOutput
	ToSwarmMapOutputWithContext(context.Context) SwarmMapOutput
}

SwarmMapInput is an input type that accepts SwarmMap and SwarmMapOutput values. You can construct a concrete instance of `SwarmMapInput` via:

SwarmMap{ "key": SwarmArgs{...} }

type SwarmMapOutput

type SwarmMapOutput struct{ *pulumi.OutputState }

func (SwarmMapOutput) ElementType

func (SwarmMapOutput) ElementType() reflect.Type

func (SwarmMapOutput) MapIndex

func (SwarmMapOutput) ToSwarmMapOutput

func (o SwarmMapOutput) ToSwarmMapOutput() SwarmMapOutput

func (SwarmMapOutput) ToSwarmMapOutputWithContext

func (o SwarmMapOutput) ToSwarmMapOutputWithContext(ctx context.Context) SwarmMapOutput

type SwarmNode

type SwarmNode struct {
	Eip       *string `pulumi:"eip"`
	Id        *string `pulumi:"id"`
	Name      *string `pulumi:"name"`
	PrivateIp *string `pulumi:"privateIp"`
	Status    *string `pulumi:"status"`
}

type SwarmNodeArgs

type SwarmNodeArgs struct {
	Eip       pulumi.StringPtrInput `pulumi:"eip"`
	Id        pulumi.StringPtrInput `pulumi:"id"`
	Name      pulumi.StringPtrInput `pulumi:"name"`
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	Status    pulumi.StringPtrInput `pulumi:"status"`
}

func (SwarmNodeArgs) ElementType

func (SwarmNodeArgs) ElementType() reflect.Type

func (SwarmNodeArgs) ToSwarmNodeOutput

func (i SwarmNodeArgs) ToSwarmNodeOutput() SwarmNodeOutput

func (SwarmNodeArgs) ToSwarmNodeOutputWithContext

func (i SwarmNodeArgs) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput

type SwarmNodeArray

type SwarmNodeArray []SwarmNodeInput

func (SwarmNodeArray) ElementType

func (SwarmNodeArray) ElementType() reflect.Type

func (SwarmNodeArray) ToSwarmNodeArrayOutput

func (i SwarmNodeArray) ToSwarmNodeArrayOutput() SwarmNodeArrayOutput

func (SwarmNodeArray) ToSwarmNodeArrayOutputWithContext

func (i SwarmNodeArray) ToSwarmNodeArrayOutputWithContext(ctx context.Context) SwarmNodeArrayOutput

type SwarmNodeArrayInput

type SwarmNodeArrayInput interface {
	pulumi.Input

	ToSwarmNodeArrayOutput() SwarmNodeArrayOutput
	ToSwarmNodeArrayOutputWithContext(context.Context) SwarmNodeArrayOutput
}

SwarmNodeArrayInput is an input type that accepts SwarmNodeArray and SwarmNodeArrayOutput values. You can construct a concrete instance of `SwarmNodeArrayInput` via:

SwarmNodeArray{ SwarmNodeArgs{...} }

type SwarmNodeArrayOutput

type SwarmNodeArrayOutput struct{ *pulumi.OutputState }

func (SwarmNodeArrayOutput) ElementType

func (SwarmNodeArrayOutput) ElementType() reflect.Type

func (SwarmNodeArrayOutput) Index

func (SwarmNodeArrayOutput) ToSwarmNodeArrayOutput

func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutput() SwarmNodeArrayOutput

func (SwarmNodeArrayOutput) ToSwarmNodeArrayOutputWithContext

func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutputWithContext(ctx context.Context) SwarmNodeArrayOutput

type SwarmNodeInput

type SwarmNodeInput interface {
	pulumi.Input

	ToSwarmNodeOutput() SwarmNodeOutput
	ToSwarmNodeOutputWithContext(context.Context) SwarmNodeOutput
}

SwarmNodeInput is an input type that accepts SwarmNodeArgs and SwarmNodeOutput values. You can construct a concrete instance of `SwarmNodeInput` via:

SwarmNodeArgs{...}

type SwarmNodeOutput

type SwarmNodeOutput struct{ *pulumi.OutputState }

func (SwarmNodeOutput) Eip

func (SwarmNodeOutput) ElementType

func (SwarmNodeOutput) ElementType() reflect.Type

func (SwarmNodeOutput) Id

func (SwarmNodeOutput) Name

func (SwarmNodeOutput) PrivateIp

func (o SwarmNodeOutput) PrivateIp() pulumi.StringPtrOutput

func (SwarmNodeOutput) Status

func (SwarmNodeOutput) ToSwarmNodeOutput

func (o SwarmNodeOutput) ToSwarmNodeOutput() SwarmNodeOutput

func (SwarmNodeOutput) ToSwarmNodeOutputWithContext

func (o SwarmNodeOutput) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput

type SwarmOutput

type SwarmOutput struct{ *pulumi.OutputState }

func (SwarmOutput) AgentVersion added in v3.27.0

func (o SwarmOutput) AgentVersion() pulumi.StringOutput

func (SwarmOutput) CidrBlock added in v3.27.0

func (o SwarmOutput) CidrBlock() pulumi.StringOutput

func (SwarmOutput) DiskCategory added in v3.27.0

func (o SwarmOutput) DiskCategory() pulumi.StringPtrOutput

func (SwarmOutput) DiskSize added in v3.27.0

func (o SwarmOutput) DiskSize() pulumi.IntPtrOutput

func (SwarmOutput) ElementType

func (SwarmOutput) ElementType() reflect.Type

func (SwarmOutput) ImageId added in v3.27.0

func (o SwarmOutput) ImageId() pulumi.StringPtrOutput

func (SwarmOutput) InstanceType added in v3.27.0

func (o SwarmOutput) InstanceType() pulumi.StringOutput

func (SwarmOutput) IsOutdated added in v3.27.0

func (o SwarmOutput) IsOutdated() pulumi.BoolPtrOutput

func (SwarmOutput) Name added in v3.27.0

func (o SwarmOutput) Name() pulumi.StringOutput

func (SwarmOutput) NamePrefix added in v3.27.0

func (o SwarmOutput) NamePrefix() pulumi.StringPtrOutput

func (SwarmOutput) NeedSlb added in v3.27.0

func (o SwarmOutput) NeedSlb() pulumi.BoolPtrOutput

func (SwarmOutput) NodeNumber added in v3.27.0

func (o SwarmOutput) NodeNumber() pulumi.IntPtrOutput

func (SwarmOutput) Nodes added in v3.27.0

func (SwarmOutput) Password added in v3.27.0

func (o SwarmOutput) Password() pulumi.StringOutput

func (SwarmOutput) ReleaseEip added in v3.27.0

func (o SwarmOutput) ReleaseEip() pulumi.BoolPtrOutput

func (SwarmOutput) SecurityGroupId added in v3.27.0

func (o SwarmOutput) SecurityGroupId() pulumi.StringOutput

func (SwarmOutput) Size deprecated added in v3.27.0

func (o SwarmOutput) Size() pulumi.IntPtrOutput

Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.

func (SwarmOutput) SlbId added in v3.27.0

func (o SwarmOutput) SlbId() pulumi.StringOutput

func (SwarmOutput) ToSwarmOutput

func (o SwarmOutput) ToSwarmOutput() SwarmOutput

func (SwarmOutput) ToSwarmOutputWithContext

func (o SwarmOutput) ToSwarmOutputWithContext(ctx context.Context) SwarmOutput

func (SwarmOutput) VpcId added in v3.27.0

func (o SwarmOutput) VpcId() pulumi.StringOutput

func (SwarmOutput) VswitchId added in v3.27.0

func (o SwarmOutput) VswitchId() pulumi.StringOutput

type SwarmState

type SwarmState struct {
	AgentVersion    pulumi.StringPtrInput
	CidrBlock       pulumi.StringPtrInput
	DiskCategory    pulumi.StringPtrInput
	DiskSize        pulumi.IntPtrInput
	ImageId         pulumi.StringPtrInput
	InstanceType    pulumi.StringPtrInput
	IsOutdated      pulumi.BoolPtrInput
	Name            pulumi.StringPtrInput
	NamePrefix      pulumi.StringPtrInput
	NeedSlb         pulumi.BoolPtrInput
	NodeNumber      pulumi.IntPtrInput
	Nodes           SwarmNodeArrayInput
	Password        pulumi.StringPtrInput
	ReleaseEip      pulumi.BoolPtrInput
	SecurityGroupId pulumi.StringPtrInput
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size      pulumi.IntPtrInput
	SlbId     pulumi.StringPtrInput
	VpcId     pulumi.StringPtrInput
	VswitchId pulumi.StringPtrInput
}

func (SwarmState) ElementType

func (SwarmState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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