cs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

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

func (o ApplicationOutput) BlueGreen() pulumi.BoolPtrOutput

func (ApplicationOutput) BlueGreenConfirm

func (o ApplicationOutput) BlueGreenConfirm() pulumi.BoolPtrOutput

func (ApplicationOutput) ClusterName

func (o ApplicationOutput) ClusterName() pulumi.StringOutput

func (ApplicationOutput) DefaultDomain

func (o ApplicationOutput) DefaultDomain() pulumi.StringOutput

func (ApplicationOutput) Description

func (o ApplicationOutput) Description() pulumi.StringPtrOutput

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) Environment

func (o ApplicationOutput) Environment() pulumi.MapOutput

func (ApplicationOutput) LatestImage

func (o ApplicationOutput) LatestImage() pulumi.BoolPtrOutput

func (ApplicationOutput) Name

func (ApplicationOutput) Services

func (ApplicationOutput) Template

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

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

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"`
	// 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"`
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrOutput `pulumi:"scaleDownEnabled"`
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrOutput `pulumi:"scanInterval"`
	// The unneeded duration. Default is `10m`.
	UnneededDuration pulumi.StringPtrOutput `pulumi:"unneededDuration"`
	// The scale-in threshold. Default is `0.5`.
	UtilizationThreshold pulumi.StringPtrOutput `pulumi:"utilizationThreshold"`
}

func GetAutoscalingConfig

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

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

func (*AutoscalingConfig) ElementType() reflect.Type

func (*AutoscalingConfig) ToAutoscalingConfigOutput

func (i *AutoscalingConfig) ToAutoscalingConfigOutput() AutoscalingConfigOutput

func (*AutoscalingConfig) ToAutoscalingConfigOutputWithContext

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

type AutoscalingConfigArgs

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
	// 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
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrInput
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrInput
	// 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

func (AutoscalingConfigArgs) ElementType() reflect.Type

type AutoscalingConfigArray

type AutoscalingConfigArray []AutoscalingConfigInput

func (AutoscalingConfigArray) ElementType

func (AutoscalingConfigArray) ElementType() reflect.Type

func (AutoscalingConfigArray) ToAutoscalingConfigArrayOutput

func (i AutoscalingConfigArray) ToAutoscalingConfigArrayOutput() AutoscalingConfigArrayOutput

func (AutoscalingConfigArray) ToAutoscalingConfigArrayOutputWithContext

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

type AutoscalingConfigArrayInput

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

type AutoscalingConfigArrayOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigArrayOutput) ElementType

func (AutoscalingConfigArrayOutput) Index

func (AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutput

func (o AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutput() AutoscalingConfigArrayOutput

func (AutoscalingConfigArrayOutput) ToAutoscalingConfigArrayOutputWithContext

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

type AutoscalingConfigInput

type AutoscalingConfigInput interface {
	pulumi.Input

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

type AutoscalingConfigMap

type AutoscalingConfigMap map[string]AutoscalingConfigInput

func (AutoscalingConfigMap) ElementType

func (AutoscalingConfigMap) ElementType() reflect.Type

func (AutoscalingConfigMap) ToAutoscalingConfigMapOutput

func (i AutoscalingConfigMap) ToAutoscalingConfigMapOutput() AutoscalingConfigMapOutput

func (AutoscalingConfigMap) ToAutoscalingConfigMapOutputWithContext

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

type AutoscalingConfigMapInput

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

type AutoscalingConfigMapOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigMapOutput) ElementType

func (AutoscalingConfigMapOutput) ElementType() reflect.Type

func (AutoscalingConfigMapOutput) MapIndex

func (AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutput

func (o AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutput() AutoscalingConfigMapOutput

func (AutoscalingConfigMapOutput) ToAutoscalingConfigMapOutputWithContext

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

type AutoscalingConfigOutput

type AutoscalingConfigOutput struct{ *pulumi.OutputState }

func (AutoscalingConfigOutput) ClusterId

The id of kubernetes cluster.

func (AutoscalingConfigOutput) CoolDownDuration

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) ElementType

func (AutoscalingConfigOutput) ElementType() reflect.Type

func (AutoscalingConfigOutput) Expander

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

func (o AutoscalingConfigOutput) GpuUtilizationThreshold() pulumi.StringPtrOutput

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

func (AutoscalingConfigOutput) ScaleDownEnabled

func (o AutoscalingConfigOutput) ScaleDownEnabled() pulumi.BoolPtrOutput

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

func (AutoscalingConfigOutput) ScanInterval

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

func (AutoscalingConfigOutput) ToAutoscalingConfigOutput

func (o AutoscalingConfigOutput) ToAutoscalingConfigOutput() AutoscalingConfigOutput

func (AutoscalingConfigOutput) ToAutoscalingConfigOutputWithContext

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

func (AutoscalingConfigOutput) UnneededDuration

func (o AutoscalingConfigOutput) UnneededDuration() pulumi.StringPtrOutput

The unneeded duration. Default is `10m`.

func (AutoscalingConfigOutput) UtilizationThreshold

func (o AutoscalingConfigOutput) UtilizationThreshold() pulumi.StringPtrOutput

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

type AutoscalingConfigState

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
	// 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
	// Specify whether to allow the scale-in of nodes. Default is `true`.
	ScaleDownEnabled pulumi.BoolPtrInput
	// The interval at which the cluster is reevaluated for scaling. Default is `30s`.
	ScanInterval pulumi.StringPtrInput
	// The unneeded duration. Default is `10m`.
	UnneededDuration pulumi.StringPtrInput
	// The scale-in threshold. Default is `0.5`.
	UtilizationThreshold pulumi.StringPtrInput
}

func (AutoscalingConfigState) ElementType

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

func (o ClusterOutput) AgentVersion() pulumi.StringOutput

func (ClusterOutput) CidrBlock

func (o ClusterOutput) CidrBlock() pulumi.StringOutput

func (ClusterOutput) DiskCategory

func (o ClusterOutput) DiskCategory() pulumi.StringPtrOutput

func (ClusterOutput) DiskSize

func (o ClusterOutput) DiskSize() pulumi.IntPtrOutput

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ImageId

func (o ClusterOutput) ImageId() pulumi.StringPtrOutput

func (ClusterOutput) InstanceType

func (o ClusterOutput) InstanceType() pulumi.StringOutput

func (ClusterOutput) IsOutdated

func (o ClusterOutput) IsOutdated() pulumi.BoolPtrOutput

func (ClusterOutput) Name

func (ClusterOutput) NamePrefix

func (o ClusterOutput) NamePrefix() pulumi.StringPtrOutput

func (ClusterOutput) NeedSlb

func (o ClusterOutput) NeedSlb() pulumi.BoolPtrOutput

func (ClusterOutput) NodeNumber

func (o ClusterOutput) NodeNumber() pulumi.IntPtrOutput

func (ClusterOutput) Nodes

func (ClusterOutput) Password

func (o ClusterOutput) Password() pulumi.StringOutput

func (ClusterOutput) ReleaseEip

func (o ClusterOutput) ReleaseEip() pulumi.BoolPtrOutput

func (ClusterOutput) SecurityGroupId

func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput

func (ClusterOutput) Size deprecated

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

func (ClusterOutput) SlbId

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

func (o ClusterOutput) VpcId() pulumi.StringOutput

func (ClusterOutput) VswitchId

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.
	Addons EdgeKubernetesAddonArrayOutput `pulumi:"addons"`
	// The ID of availability zone.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// (Available in 1.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`
	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 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).
	LoadBalancerSpec pulumi.StringOutput `pulumi:"loadBalancerSpec"`
	// A list of one element containing information about the associated log store. It contains the following attributes:
	//
	// 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). Detailed 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.
	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.
	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"`
}

## Import

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

```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 {
	Config   *string `pulumi:"config"`
	Disabled *bool   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
}

type EdgeKubernetesAddonArgs

type EdgeKubernetesAddonArgs struct {
	Config   pulumi.StringPtrInput `pulumi:"config"`
	Disabled pulumi.BoolPtrInput   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

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

func (EdgeKubernetesAddonOutput) Disabled

func (EdgeKubernetesAddonOutput) ElementType

func (EdgeKubernetesAddonOutput) ElementType() reflect.Type

func (EdgeKubernetesAddonOutput) Name

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

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput

func (o EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutputWithContext

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

type EdgeKubernetesArgs

type EdgeKubernetesArgs struct {
	// The addon you want to install in cluster.
	Addons EdgeKubernetesAddonArrayInput
	// The ID of availability zone.
	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`
	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).
	LoadBalancerSpec pulumi.StringPtrInput
	// A list of one element containing information about the associated log store. It contains the following attributes:
	//
	// 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). Detailed 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.
	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.
	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

The addon you want to install in cluster.

func (EdgeKubernetesOutput) AvailabilityZone

func (o EdgeKubernetesOutput) AvailabilityZone() pulumi.StringOutput

The ID of availability zone.

func (EdgeKubernetesOutput) CertificateAuthority

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

func (EdgeKubernetesOutput) ClientCert

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

func (EdgeKubernetesOutput) ClientKey

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

func (EdgeKubernetesOutput) ClusterCaCert

func (o EdgeKubernetesOutput) ClusterCaCert() pulumi.StringPtrOutput

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

func (EdgeKubernetesOutput) ClusterSpec

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

Map of kubernetes cluster connection information.

func (EdgeKubernetesOutput) DeletionProtection

func (o EdgeKubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether to enable cluster deletion protection.

func (EdgeKubernetesOutput) ElementType

func (EdgeKubernetesOutput) ElementType() reflect.Type

func (EdgeKubernetesOutput) ForceUpdate

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

func (o EdgeKubernetesOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

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

func (EdgeKubernetesOutput) IsEnterpriseSecurityGroup

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

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

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

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).

func (EdgeKubernetesOutput) LogConfig deprecated

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

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

func (EdgeKubernetesOutput) Name

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

func (EdgeKubernetesOutput) NamePrefix

func (EdgeKubernetesOutput) NatGatewayId

func (o EdgeKubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (EdgeKubernetesOutput) NewNatGateway

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

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

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

func (EdgeKubernetesOutput) PodCidr

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

func (EdgeKubernetesOutput) ProxyMode

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

func (EdgeKubernetesOutput) RdsInstances

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

func (EdgeKubernetesOutput) ResourceGroupId

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

func (o EdgeKubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (EdgeKubernetesOutput) Runtime

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). Detailed below.

func (EdgeKubernetesOutput) SecurityGroupId

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

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

func (o EdgeKubernetesOutput) SlbInternet() pulumi.StringOutput

The public ip of load balancer.

func (EdgeKubernetesOutput) SlbInternetEnabled

func (o EdgeKubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

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

func (EdgeKubernetesOutput) SlbIntranet

func (o EdgeKubernetesOutput) SlbIntranet() pulumi.StringOutput

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

func (EdgeKubernetesOutput) Tags

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

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

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

The ID of VPC where the current cluster is located.

func (EdgeKubernetesOutput) WorkerDataDisks

The data disk configurations of worker nodes, such as the disk type and disk size.

func (EdgeKubernetesOutput) WorkerDiskCategory

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

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

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

func (o EdgeKubernetesOutput) WorkerDiskSnapshotPolicyId() pulumi.StringPtrOutput

Worker node system disk auto snapshot policy.

func (EdgeKubernetesOutput) WorkerInstanceChargeType

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

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

List of cluster worker nodes.

func (EdgeKubernetesOutput) WorkerNumber

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

func (o EdgeKubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

func (EdgeKubernetesOutput) WorkerVswitchIds

func (o EdgeKubernetesOutput) WorkerVswitchIds() pulumi.StringArrayOutput

The vswitches used by workers.

type EdgeKubernetesRuntime

type EdgeKubernetesRuntime struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// 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 *string `pulumi:"version"`
}

type EdgeKubernetesRuntimeArgs

type EdgeKubernetesRuntimeArgs struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// 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 `pulumi:"version"`
}

func (EdgeKubernetesRuntimeArgs) ElementType

func (EdgeKubernetesRuntimeArgs) ElementType() reflect.Type

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutput

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutput() EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimeOutputWithContext

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

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutput

func (i EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimeArgs) ToEdgeKubernetesRuntimePtrOutputWithContext

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

type EdgeKubernetesRuntimeInput

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

type EdgeKubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesRuntimeOutput) ElementType

func (EdgeKubernetesRuntimeOutput) Name

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

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutput

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutput() EdgeKubernetesRuntimeOutput

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimeOutputWithContext

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

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutput

func (o EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimeOutput) ToEdgeKubernetesRuntimePtrOutputWithContext

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

func (EdgeKubernetesRuntimeOutput) Version

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.

type EdgeKubernetesRuntimePtrInput

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

type EdgeKubernetesRuntimePtrOutput

type EdgeKubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesRuntimePtrOutput) Elem

func (EdgeKubernetesRuntimePtrOutput) ElementType

func (EdgeKubernetesRuntimePtrOutput) Name

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

func (EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutput

func (o EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutput() EdgeKubernetesRuntimePtrOutput

func (EdgeKubernetesRuntimePtrOutput) ToEdgeKubernetesRuntimePtrOutputWithContext

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

func (EdgeKubernetesRuntimePtrOutput) Version

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.

type EdgeKubernetesState

type EdgeKubernetesState struct {
	// The addon you want to install in cluster.
	Addons EdgeKubernetesAddonArrayInput
	// The ID of availability zone.
	AvailabilityZone pulumi.StringPtrInput
	// (Available in 1.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`
	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 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).
	LoadBalancerSpec pulumi.StringPtrInput
	// A list of one element containing information about the associated log store. It contains the following attributes:
	//
	// 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). Detailed 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.
	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.
	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"`
	Device   *string `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default is `false`.
	Encrypted *string `pulumi:"encrypted"`
	KmsKeyId  *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	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"`
	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"`
	Device   pulumi.StringPtrInput `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default is `false`.
	Encrypted pulumi.StringPtrInput `pulumi:"encrypted"`
	KmsKeyId  pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	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"`
	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

func (EdgeKubernetesWorkerDataDiskOutput) ElementType

func (EdgeKubernetesWorkerDataDiskOutput) Encrypted

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

func (EdgeKubernetesWorkerDataDiskOutput) KmsKeyId

func (EdgeKubernetesWorkerDataDiskOutput) Name

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

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

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.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getAckService.

type GetAckServiceOutputArgs

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.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getAckService.

func (GetAckServiceOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

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

type GetAckServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAckService.

func (GetAckServiceResultOutput) ElementType

func (GetAckServiceResultOutput) ElementType() reflect.Type

func (GetAckServiceResultOutput) Enable

func (GetAckServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAckServiceResultOutput) Status

The current service enable status.

func (GetAckServiceResultOutput) ToGetAckServiceResultOutput

func (o GetAckServiceResultOutput) ToGetAckServiceResultOutput() GetAckServiceResultOutput

func (GetAckServiceResultOutput) ToGetAckServiceResultOutputWithContext

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

func (GetAckServiceResultOutput) Type

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"`
	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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getEdgeKubernetesClusters.

func (GetEdgeKubernetesClustersOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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

type GetEdgeKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getEdgeKubernetesClusters.

func (GetEdgeKubernetesClustersResultOutput) Clusters

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

func (GetEdgeKubernetesClustersResultOutput) ElementType

func (GetEdgeKubernetesClustersResultOutput) EnableDetails

func (GetEdgeKubernetesClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetEdgeKubernetesClustersResultOutput) Ids

A list of matched Kubernetes clusters' ids.

func (GetEdgeKubernetesClustersResultOutput) NameRegex

func (GetEdgeKubernetesClustersResultOutput) Names

A list of matched Kubernetes clusters' names.

func (GetEdgeKubernetesClustersResultOutput) OutputFile

func (GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutput

func (o GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutput() GetEdgeKubernetesClustersResultOutput

func (GetEdgeKubernetesClustersResultOutput) ToGetEdgeKubernetesClustersResultOutputWithContext

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

type GetKubernetesAddonMetadataArgs

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

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

type GetKubernetesAddonMetadataResult

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

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+.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.GetKubernetesAddonMetadata(ctx, &cs.GetKubernetesAddonMetadataArgs{
			ClusterId: _var.Cluster_id,
			Name:      "nginx-ingress-controller",
			Version:   "v1.1.2-aliyun.2",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("addonConfigSchema", data.Alicloud_cs_kubernetes_addons.Default.Config_schema)
		return nil
	})
}

```

type GetKubernetesAddonMetadataResultOutput

type GetKubernetesAddonMetadataResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesAddonMetadata.

func (GetKubernetesAddonMetadataResultOutput) ClusterId

func (GetKubernetesAddonMetadataResultOutput) ConfigSchema

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

func (GetKubernetesAddonMetadataResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKubernetesAddonMetadataResultOutput) Name

func (GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutput

func (o GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutput() GetKubernetesAddonMetadataResultOutput

func (GetKubernetesAddonMetadataResultOutput) ToGetKubernetesAddonMetadataResultOutputWithContext

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

func (GetKubernetesAddonMetadataResultOutput) Version

type GetKubernetesAddonsAddon

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

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

func (GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutput

func (i GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutput() GetKubernetesAddonsAddonOutput

func (GetKubernetesAddonsAddonArgs) ToGetKubernetesAddonsAddonOutputWithContext

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

type GetKubernetesAddonsAddonArray

type GetKubernetesAddonsAddonArray []GetKubernetesAddonsAddonInput

func (GetKubernetesAddonsAddonArray) ElementType

func (GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutput

func (i GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutput() GetKubernetesAddonsAddonArrayOutput

func (GetKubernetesAddonsAddonArray) ToGetKubernetesAddonsAddonArrayOutputWithContext

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

type GetKubernetesAddonsAddonArrayInput

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

type GetKubernetesAddonsAddonArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesAddonsAddonArrayOutput) ElementType

func (GetKubernetesAddonsAddonArrayOutput) Index

func (GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutput

func (o GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutput() GetKubernetesAddonsAddonArrayOutput

func (GetKubernetesAddonsAddonArrayOutput) ToGetKubernetesAddonsAddonArrayOutputWithContext

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

type GetKubernetesAddonsAddonInput

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

type GetKubernetesAddonsAddonOutput struct{ *pulumi.OutputState }

func (GetKubernetesAddonsAddonOutput) CurrentConfig

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

func (GetKubernetesAddonsAddonOutput) CurrentVersion

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

func (GetKubernetesAddonsAddonOutput) ElementType

func (GetKubernetesAddonsAddonOutput) Name

The name of addon.

func (GetKubernetesAddonsAddonOutput) NextVersion

The next version of this addon can be upgraded to.

func (GetKubernetesAddonsAddonOutput) Required

Whether the addon is a system addon.

func (GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutput

func (o GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutput() GetKubernetesAddonsAddonOutput

func (GetKubernetesAddonsAddonOutput) ToGetKubernetesAddonsAddonOutputWithContext

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

type GetKubernetesAddonsArgs

type GetKubernetesAddonsArgs struct {
	// A list of addons.
	Addons []GetKubernetesAddonsAddon `pulumi:"addons"`
	// 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

type GetKubernetesAddonsOutputArgs struct {
	// A list of addons.
	Addons GetKubernetesAddonsAddonArrayInput `pulumi:"addons"`
	// 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

type GetKubernetesAddonsResult

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

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 in 1.150.0+. **NOTE:** From version 1.166.0, support for returning custom configuration of kubernetes cluster addon.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := cs.GetKubernetesAddons(ctx, &cs.GetKubernetesAddonsArgs{
			ClusterId: alicloud_cs_managed_kubernetes.Default[0].Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("addons", _default.Addons)
		return nil
	})
}

```

type GetKubernetesAddonsResultOutput

type GetKubernetesAddonsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesAddons.

func (GetKubernetesAddonsResultOutput) Addons

A list of addons.

func (GetKubernetesAddonsResultOutput) ClusterId

The id of kubernetes cluster.

func (GetKubernetesAddonsResultOutput) ElementType

func (GetKubernetesAddonsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKubernetesAddonsResultOutput) Ids

func (GetKubernetesAddonsResultOutput) NameRegex

func (GetKubernetesAddonsResultOutput) Names

A list of addon names.

func (GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutput

func (o GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutput() GetKubernetesAddonsResultOutput

func (GetKubernetesAddonsResultOutput) ToGetKubernetesAddonsResultOutputWithContext

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"`
	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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getKubernetesClusters.

func (GetKubernetesClustersOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		k8sClusters, err := cs.GetKubernetesClusters(ctx, &cs.GetKubernetesClustersArgs{
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/k8s"),
			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 GetKubernetesClustersResultOutput

type GetKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesClusters.

func (GetKubernetesClustersResultOutput) Clusters

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

func (GetKubernetesClustersResultOutput) ElementType

func (GetKubernetesClustersResultOutput) EnableDetails

func (GetKubernetesClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKubernetesClustersResultOutput) Ids

A list of matched Kubernetes clusters' ids.

func (GetKubernetesClustersResultOutput) KubeConfigFilePrefix

func (o GetKubernetesClustersResultOutput) KubeConfigFilePrefix() pulumi.StringPtrOutput

func (GetKubernetesClustersResultOutput) NameRegex

func (GetKubernetesClustersResultOutput) Names

A list of matched Kubernetes clusters' names.

func (GetKubernetesClustersResultOutput) OutputFile

func (GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutput

func (o GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutput() GetKubernetesClustersResultOutput

func (GetKubernetesClustersResultOutput) ToGetKubernetesClustersResultOutputWithContext

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

type GetKubernetesPermissionPermission

type GetKubernetesPermissionPermission struct {
	// ndicates whether the permissions are granted to the cluster owner. Valid values `0`, `1`.
	// * `isRamRole` -Indicates whether the permissions are granted to the RAM role. Valid values `0`,`1`.
	IsOwner   *bool `pulumi:"isOwner"`
	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

type GetKubernetesPermissionPermissionArgs struct {
	// ndicates whether the permissions are granted to the cluster owner. Valid values `0`, `1`.
	// * `isRamRole` -Indicates whether the permissions are granted to the RAM role. Valid values `0`,`1`.
	IsOwner   pulumi.BoolPtrInput `pulumi:"isOwner"`
	IsRamRole pulumi.BoolPtrInput `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.StringPtrInput `pulumi:"roleType"`
}

func (GetKubernetesPermissionPermissionArgs) ElementType

func (GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutput

func (i GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutput() GetKubernetesPermissionPermissionOutput

func (GetKubernetesPermissionPermissionArgs) ToGetKubernetesPermissionPermissionOutputWithContext

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

type GetKubernetesPermissionPermissionArray

type GetKubernetesPermissionPermissionArray []GetKubernetesPermissionPermissionInput

func (GetKubernetesPermissionPermissionArray) ElementType

func (GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutput

func (i GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutput() GetKubernetesPermissionPermissionArrayOutput

func (GetKubernetesPermissionPermissionArray) ToGetKubernetesPermissionPermissionArrayOutputWithContext

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

type GetKubernetesPermissionPermissionArrayInput

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

type GetKubernetesPermissionPermissionArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesPermissionPermissionArrayOutput) ElementType

func (GetKubernetesPermissionPermissionArrayOutput) Index

func (GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutput

func (o GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutput() GetKubernetesPermissionPermissionArrayOutput

func (GetKubernetesPermissionPermissionArrayOutput) ToGetKubernetesPermissionPermissionArrayOutputWithContext

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

type GetKubernetesPermissionPermissionInput

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

type GetKubernetesPermissionPermissionOutput struct{ *pulumi.OutputState }

func (GetKubernetesPermissionPermissionOutput) ElementType

func (GetKubernetesPermissionPermissionOutput) IsOwner

ndicates whether the permissions are granted to the cluster owner. Valid values `0`, `1`. * `isRamRole` -Indicates whether the permissions are granted to the RAM role. Valid values `0`,`1`.

func (GetKubernetesPermissionPermissionOutput) IsRamRole

func (GetKubernetesPermissionPermissionOutput) ResourceId

The permission settings to manage ACK clusters.

func (GetKubernetesPermissionPermissionOutput) ResourceType

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

func (GetKubernetesPermissionPermissionOutput) RoleName

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

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

func (GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutput

func (o GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutput() GetKubernetesPermissionPermissionOutput

func (GetKubernetesPermissionPermissionOutput) ToGetKubernetesPermissionPermissionOutputWithContext

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

type GetKubernetesVersionArgs

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

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

type GetKubernetesVersionMetadataArgs

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

func (GetKubernetesVersionMetadataArgs) ElementType

func (GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutput

func (i GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutput() GetKubernetesVersionMetadataOutput

func (GetKubernetesVersionMetadataArgs) ToGetKubernetesVersionMetadataOutputWithContext

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

type GetKubernetesVersionMetadataArray

type GetKubernetesVersionMetadataArray []GetKubernetesVersionMetadataInput

func (GetKubernetesVersionMetadataArray) ElementType

func (GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutput

func (i GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutput() GetKubernetesVersionMetadataArrayOutput

func (GetKubernetesVersionMetadataArray) ToGetKubernetesVersionMetadataArrayOutputWithContext

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

type GetKubernetesVersionMetadataArrayInput

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

type GetKubernetesVersionMetadataArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataArrayOutput) ElementType

func (GetKubernetesVersionMetadataArrayOutput) Index

func (GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutput

func (o GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutput() GetKubernetesVersionMetadataArrayOutput

func (GetKubernetesVersionMetadataArrayOutput) ToGetKubernetesVersionMetadataArrayOutputWithContext

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

type GetKubernetesVersionMetadataInput

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

type GetKubernetesVersionMetadataOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataOutput) ElementType

func (GetKubernetesVersionMetadataOutput) Runtimes

The list of supported runtime.

func (GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutput

func (o GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutput() GetKubernetesVersionMetadataOutput

func (GetKubernetesVersionMetadataOutput) ToGetKubernetesVersionMetadataOutputWithContext

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

func (GetKubernetesVersionMetadataOutput) Version

The runtime version.

type GetKubernetesVersionMetadataRuntime

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

type GetKubernetesVersionMetadataRuntimeArgs

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

func (GetKubernetesVersionMetadataRuntimeArgs) ElementType

func (GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutput

func (i GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutput() GetKubernetesVersionMetadataRuntimeOutput

func (GetKubernetesVersionMetadataRuntimeArgs) ToGetKubernetesVersionMetadataRuntimeOutputWithContext

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

type GetKubernetesVersionMetadataRuntimeArray

type GetKubernetesVersionMetadataRuntimeArray []GetKubernetesVersionMetadataRuntimeInput

func (GetKubernetesVersionMetadataRuntimeArray) ElementType

func (GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutput

func (i GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutput() GetKubernetesVersionMetadataRuntimeArrayOutput

func (GetKubernetesVersionMetadataRuntimeArray) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext

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

type GetKubernetesVersionMetadataRuntimeArrayInput

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

type GetKubernetesVersionMetadataRuntimeArrayOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ElementType

func (GetKubernetesVersionMetadataRuntimeArrayOutput) Index

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutput

func (o GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutput() GetKubernetesVersionMetadataRuntimeArrayOutput

func (GetKubernetesVersionMetadataRuntimeArrayOutput) ToGetKubernetesVersionMetadataRuntimeArrayOutputWithContext

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

type GetKubernetesVersionMetadataRuntimeInput

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

type GetKubernetesVersionMetadataRuntimeOutput struct{ *pulumi.OutputState }

func (GetKubernetesVersionMetadataRuntimeOutput) ElementType

func (GetKubernetesVersionMetadataRuntimeOutput) Name

The runtime name.

func (GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutput

func (o GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutput() GetKubernetesVersionMetadataRuntimeOutput

func (GetKubernetesVersionMetadataRuntimeOutput) ToGetKubernetesVersionMetadataRuntimeOutputWithContext

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

func (GetKubernetesVersionMetadataRuntimeOutput) Version

The runtime version.

type GetKubernetesVersionOutputArgs

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

type GetKubernetesVersionResult

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

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_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

type GetKubernetesVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesVersion.

func (GetKubernetesVersionResultOutput) ClusterType

func (GetKubernetesVersionResultOutput) ElementType

func (GetKubernetesVersionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetKubernetesVersionResultOutput) KubernetesVersion

func (GetKubernetesVersionResultOutput) Metadatas

A list of metadata of kubernetes version.

func (GetKubernetesVersionResultOutput) Profile

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput

func (o GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutput() GetKubernetesVersionResultOutput

func (GetKubernetesVersionResultOutput) ToGetKubernetesVersionResultOutputWithContext

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"`
	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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getManagedKubernetesClusters.

func (GetManagedKubernetesClustersOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		k8sClusters, err := cs.GetManagedKubernetesClusters(ctx, &cs.GetManagedKubernetesClustersArgs{
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/managed"),
			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 GetManagedKubernetesClustersResultOutput

type GetManagedKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getManagedKubernetesClusters.

func (GetManagedKubernetesClustersResultOutput) Clusters

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

func (GetManagedKubernetesClustersResultOutput) ElementType

func (GetManagedKubernetesClustersResultOutput) EnableDetails

func (GetManagedKubernetesClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetManagedKubernetesClustersResultOutput) Ids

A list of matched Kubernetes clusters' ids.

func (GetManagedKubernetesClustersResultOutput) KubeConfigFilePrefix

func (GetManagedKubernetesClustersResultOutput) NameRegex

func (GetManagedKubernetesClustersResultOutput) Names

A list of matched Kubernetes clusters' names.

func (GetManagedKubernetesClustersResultOutput) OutputFile

func (GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutput

func (o GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutput() GetManagedKubernetesClustersResultOutput

func (GetManagedKubernetesClustersResultOutput) ToGetManagedKubernetesClustersResultOutputWithContext

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"`
	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

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

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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseInstances.

func (GetRegistryEnterpriseInstancesOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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

type GetRegistryEnterpriseInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseInstances.

func (GetRegistryEnterpriseInstancesResultOutput) ElementType

func (GetRegistryEnterpriseInstancesResultOutput) EnableDetails

func (GetRegistryEnterpriseInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseInstancesResultOutput) Ids

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

func (GetRegistryEnterpriseInstancesResultOutput) Instances

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

func (GetRegistryEnterpriseInstancesResultOutput) NameRegex

func (GetRegistryEnterpriseInstancesResultOutput) Names

A list of instance names.

func (GetRegistryEnterpriseInstancesResultOutput) OutputFile

func (GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutput

func (o GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutput() GetRegistryEnterpriseInstancesResultOutput

func (GetRegistryEnterpriseInstancesResultOutput) ToGetRegistryEnterpriseInstancesResultOutputWithContext

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"`
	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

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

func (GetRegistryEnterpriseNamespacesNamespaceOutput) NamespaceName

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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseNamespaces.

func (GetRegistryEnterpriseNamespacesOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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

type GetRegistryEnterpriseNamespacesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseNamespaces.

func (GetRegistryEnterpriseNamespacesResultOutput) ElementType

func (GetRegistryEnterpriseNamespacesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseNamespacesResultOutput) Ids

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

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseNamespacesResultOutput) NameRegex

func (GetRegistryEnterpriseNamespacesResultOutput) Names

A list of namespace names.

func (GetRegistryEnterpriseNamespacesResultOutput) Namespaces

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

func (GetRegistryEnterpriseNamespacesResultOutput) OutputFile

func (GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutput

func (o GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutput() GetRegistryEnterpriseNamespacesResultOutput

func (GetRegistryEnterpriseNamespacesResultOutput) ToGetRegistryEnterpriseNamespacesResultOutputWithContext

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"`
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseRepos.

type GetRegistryEnterpriseReposOutputArgs

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegistryEnterpriseRepos.

func (GetRegistryEnterpriseReposOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		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

type GetRegistryEnterpriseReposResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseRepos.

func (GetRegistryEnterpriseReposResultOutput) ElementType

func (GetRegistryEnterpriseReposResultOutput) EnableDetails

func (GetRegistryEnterpriseReposResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseReposResultOutput) Ids

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

func (GetRegistryEnterpriseReposResultOutput) InstanceId

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseReposResultOutput) NameRegex

func (GetRegistryEnterpriseReposResultOutput) Names

A list of repository names.

func (GetRegistryEnterpriseReposResultOutput) Namespace

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

func (GetRegistryEnterpriseReposResultOutput) OutputFile

func (GetRegistryEnterpriseReposResultOutput) Repos

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

func (GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutput

func (o GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutput() GetRegistryEnterpriseReposResultOutput

func (GetRegistryEnterpriseReposResultOutput) ToGetRegistryEnterpriseReposResultOutputWithContext

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"`
	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

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"`
	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

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+

type GetRegistryEnterpriseSyncRulesResultOutput

type GetRegistryEnterpriseSyncRulesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistryEnterpriseSyncRules.

func (GetRegistryEnterpriseSyncRulesResultOutput) ElementType

func (GetRegistryEnterpriseSyncRulesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegistryEnterpriseSyncRulesResultOutput) Ids

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

func (GetRegistryEnterpriseSyncRulesResultOutput) InstanceId

ID of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesResultOutput) NameRegex

func (GetRegistryEnterpriseSyncRulesResultOutput) Names

A list of sync rule names.

func (GetRegistryEnterpriseSyncRulesResultOutput) NamespaceName

Name of Container Registry Enterprise Edition local namespace.

func (GetRegistryEnterpriseSyncRulesResultOutput) OutputFile

func (GetRegistryEnterpriseSyncRulesResultOutput) RepoName

Name of Container Registry Enterprise Edition local repo.

func (GetRegistryEnterpriseSyncRulesResultOutput) Rules

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

func (GetRegistryEnterpriseSyncRulesResultOutput) TargetInstanceId

ID of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutput

func (o GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutput() GetRegistryEnterpriseSyncRulesResultOutput

func (GetRegistryEnterpriseSyncRulesResultOutput) ToGetRegistryEnterpriseSyncRulesResultOutputWithContext

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"`
	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

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"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getServerlessKubernetesClusters.

func (GetServerlessKubernetesClustersOutputArgs) ElementType

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/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		k8sClusters, err := cs.GetServerlessKubernetesClusters(ctx, &cs.GetServerlessKubernetesClustersArgs{
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/serverless"),
			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 GetServerlessKubernetesClustersResultOutput

type GetServerlessKubernetesClustersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServerlessKubernetesClusters.

func (GetServerlessKubernetesClustersResultOutput) Clusters

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

func (GetServerlessKubernetesClustersResultOutput) ElementType

func (GetServerlessKubernetesClustersResultOutput) EnableDetails

func (GetServerlessKubernetesClustersResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServerlessKubernetesClustersResultOutput) Ids

A list of matched Kubernetes clusters' ids.

func (GetServerlessKubernetesClustersResultOutput) KubeConfigFilePrefix

func (GetServerlessKubernetesClustersResultOutput) NameRegex

func (GetServerlessKubernetesClustersResultOutput) Names

A list of matched Kubernetes clusters' names.

func (GetServerlessKubernetesClustersResultOutput) OutputFile

func (GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutput

func (o GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutput() GetServerlessKubernetesClustersResultOutput

func (GetServerlessKubernetesClustersResultOutput) ToGetServerlessKubernetesClustersResultOutputWithContext

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

type Kubernetes

type Kubernetes struct {
	pulumi.CustomResourceState

	// The addon you want to install in cluster.
	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"`
	// The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// (Available in 1.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`
	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 of kubernetes cluster connection information.
	Connections KubernetesConnectionsOutput `pulumi:"connections"`
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrOutput `pulumi:"cpuPolicy"`
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrOutput `pulumi:"customSan"`
	// 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"`
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	ExcludeAutoscalerNodes pulumi.BoolPtrOutput `pulumi:"excludeAutoscalerNodes"`
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrOutput `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 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.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.
	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"`
	// List of cluster master nodes.
	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.StringPtrOutput `pulumi:"nodeNameMode"`
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	NodePortRange pulumi.StringOutput `pulumi:"nodePortRange"`
	// 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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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). Detailed 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 load balancer.
	//
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	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.
	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. Detailed below.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
	Taints KubernetesTaintArrayOutput `pulumi:"taints"`
	// 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"`
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
	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"`
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"`
	// (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntOutput `pulumi:"workerAutoRenewPeriod"`
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"`
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrOutput `pulumi:"workerDataDiskSize"`
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
	WorkerDataDisks KubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"`
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
	WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"`
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"workerDiskPerformanceLevel"`
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
	WorkerDiskSize pulumi.IntOutput `pulumi:"workerDiskSize"`
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"workerDiskSnapshotPolicyId"`
	// (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringOutput `pulumi:"workerInstanceChargeType"`
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
	WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"`
	// (Deprecated from version 1.177.0)List of cluster worker nodes.
	//
	// Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	WorkerNodes KubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"`
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
	WorkerNumber pulumi.IntPtrOutput `pulumi:"workerNumber"`
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntOutput `pulumi:"workerPeriod"`
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringOutput `pulumi:"workerPeriodUnit"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"`
	// (Optional) The vswitches used by workers.
	//
	// Deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
	WorkerVswitchIds pulumi.StringArrayOutput `pulumi:"workerVswitchIds"`
}

## Import

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

```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"`
	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The custom configuration of addon. You can checkout the customizable 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.StringPtrOutput `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.

> **NOTE:** Available in 1.150.0+. **NOTE:** From version 1.166.0, support specifying addon customizable configuration.

## Example Usage

**Create a managed cluster**

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-test"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(defaultZones.Zones[0].Id),
			CpuCoreCount:       pulumi.IntRef(2),
			MemorySize:         pulumi.Float64Ref(4),
			KubernetesNodeRole: pulumi.StringRef("Worker"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.1.0.0/21"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("10.1.1.0/24"),
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewKeyPair(ctx, "defaultKeyPair", &ecs.KeyPairArgs{
			KeyPairName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		var defaultManagedKubernetes []*cs.ManagedKubernetes
		for key0, _ := range 1 == true {
			__res, err := cs.NewManagedKubernetes(ctx, fmt.Sprintf("defaultManagedKubernetes-%v", key0), &cs.ManagedKubernetesArgs{
				ClusterSpec:               pulumi.String("ack.pro.small"),
				IsEnterpriseSecurityGroup: pulumi.Bool(true),
				WorkerNumber:              pulumi.Int(2),
				Password:                  pulumi.String("Hello1234"),
				PodCidr:                   pulumi.String("172.20.0.0/16"),
				ServiceCidr:               pulumi.String("172.21.0.0/20"),
				WorkerVswitchIds: pulumi.StringArray{
					defaultSwitch.ID(),
				},
				WorkerInstanceTypes: pulumi.StringArray{
					pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
				},
			})
			if err != nil {
				return err
			}
			defaultManagedKubernetes = append(defaultManagedKubernetes, __res)
		}
		return nil
	})
}

``` **Installing of addon** When a cluster is created, some system addons and those specified at the time of cluster creation will be installed, so when an addon resource is applied: * If the addon already exists in the cluster and its version is the same as the specified version, it will be skipped and will not be reinstalled. * If the addon already exists in the cluster and its version is different from the specified version, the addon will be upgraded. * If the addon does not exist in the cluster, it will be installed.

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewKubernetesAddon(ctx, "ack-node-problem-detector", &cs.KubernetesAddonArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			Version:   pulumi.String("1.2.7"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"CpuLimit":              "",
			"CpuRequest":            "100m",
			"EnableWebhook":         true,
			"HostNetwork":           false,
			"IngressSlbNetworkType": "internet",
			"IngressSlbSpec":        "slb.s2.small",
			"MemoryLimit":           "",
			"MemoryRequest":         "200Mi",
			"NodeSelector":          []interface{}{},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = cs.NewKubernetesAddon(ctx, "nginxIngressController", &cs.KubernetesAddonArgs{
			ClusterId: pulumi.Any(_var.Cluster_id),
			Version:   pulumi.String("v1.1.2-aliyun.2"),
			Config:    pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

**Upgrading of addon** First, check the `nextVersion` field of the addon that can be upgraded to through the `.tfstate file`, then overwrite the `version` field with the value of `nextVersion` and apply. ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewKubernetesAddon(ctx, "ack-node-problem-detector", &cs.KubernetesAddonArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			Version:   pulumi.String("1.2.8"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

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

```

func GetKubernetesAddon

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

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

func (*KubernetesAddon) ElementType() reflect.Type

func (*KubernetesAddon) ToKubernetesAddonOutput

func (i *KubernetesAddon) ToKubernetesAddonOutput() KubernetesAddonOutput

func (*KubernetesAddon) ToKubernetesAddonOutputWithContext

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

type KubernetesAddonArgs

type KubernetesAddonArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	// The custom configuration of addon. You can checkout the customizable 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.StringInput
}

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

type KubernetesAddonMap map[string]KubernetesAddonInput

func (KubernetesAddonMap) ElementType

func (KubernetesAddonMap) ElementType() reflect.Type

func (KubernetesAddonMap) ToKubernetesAddonMapOutput

func (i KubernetesAddonMap) ToKubernetesAddonMapOutput() KubernetesAddonMapOutput

func (KubernetesAddonMap) ToKubernetesAddonMapOutputWithContext

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

type KubernetesAddonMapInput

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

type KubernetesAddonMapOutput struct{ *pulumi.OutputState }

func (KubernetesAddonMapOutput) ElementType

func (KubernetesAddonMapOutput) ElementType() reflect.Type

func (KubernetesAddonMapOutput) MapIndex

func (KubernetesAddonMapOutput) ToKubernetesAddonMapOutput

func (o KubernetesAddonMapOutput) ToKubernetesAddonMapOutput() KubernetesAddonMapOutput

func (KubernetesAddonMapOutput) ToKubernetesAddonMapOutputWithContext

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

type KubernetesAddonOutput

type KubernetesAddonOutput struct{ *pulumi.OutputState }

func (KubernetesAddonOutput) CanUpgrade

func (o KubernetesAddonOutput) CanUpgrade() pulumi.BoolOutput

Is the addon ready for upgrade.

func (KubernetesAddonOutput) ClusterId

The id of kubernetes cluster.

func (KubernetesAddonOutput) Config

The custom configuration of addon. You can checkout the customizable 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

func (o KubernetesAddonOutput) NextVersion() pulumi.StringOutput

The version which addon can be upgraded to.

func (KubernetesAddonOutput) Required

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

The current version of addon.

type KubernetesAddonState

type KubernetesAddonState struct {
	// Is the addon ready for upgrade.
	CanUpgrade pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// The custom configuration of addon. You can checkout the customizable 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

func (KubernetesAddonState) ElementType() reflect.Type

type KubernetesAddonType

type KubernetesAddonType struct {
	Config   *string `pulumi:"config"`
	Disabled *bool   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
}

type KubernetesAddonTypeArgs

type KubernetesAddonTypeArgs struct {
	Config   pulumi.StringPtrInput `pulumi:"config"`
	Disabled pulumi.BoolPtrInput   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (KubernetesAddonTypeArgs) ElementType

func (KubernetesAddonTypeArgs) ElementType() reflect.Type

func (KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutput

func (i KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutput() KubernetesAddonTypeOutput

func (KubernetesAddonTypeArgs) ToKubernetesAddonTypeOutputWithContext

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

type KubernetesAddonTypeArray

type KubernetesAddonTypeArray []KubernetesAddonTypeInput

func (KubernetesAddonTypeArray) ElementType

func (KubernetesAddonTypeArray) ElementType() reflect.Type

func (KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutput

func (i KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutput() KubernetesAddonTypeArrayOutput

func (KubernetesAddonTypeArray) ToKubernetesAddonTypeArrayOutputWithContext

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

type KubernetesAddonTypeArrayInput

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

type KubernetesAddonTypeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesAddonTypeArrayOutput) ElementType

func (KubernetesAddonTypeArrayOutput) Index

func (KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutput

func (o KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutput() KubernetesAddonTypeArrayOutput

func (KubernetesAddonTypeArrayOutput) ToKubernetesAddonTypeArrayOutputWithContext

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

type KubernetesAddonTypeInput

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

type KubernetesAddonTypeOutput struct{ *pulumi.OutputState }

func (KubernetesAddonTypeOutput) Config

func (KubernetesAddonTypeOutput) Disabled

func (KubernetesAddonTypeOutput) ElementType

func (KubernetesAddonTypeOutput) ElementType() reflect.Type

func (KubernetesAddonTypeOutput) Name

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

func (KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutput

func (o KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutput() KubernetesAddonTypeOutput

func (KubernetesAddonTypeOutput) ToKubernetesAddonTypeOutputWithContext

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

type KubernetesArgs

type KubernetesArgs struct {
	// The addon you want to install in cluster.
	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 Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	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`
	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
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Enable login to the node through SSH. Default to `false`.
	EnableSsh pulumi.BoolPtrInput
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	ExcludeAutoscalerNodes 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 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.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.
	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
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	NodePortRange 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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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). Detailed 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.
	SlbInternetEnabled pulumi.BoolPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.
	Tags pulumi.MapInput
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
	Taints KubernetesTaintArrayInput
	// 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
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
	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
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrInput
	// (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntPtrInput
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrInput
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
	WorkerDataDisks KubernetesWorkerDataDiskArrayInput
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
	WorkerDiskCategory pulumi.StringPtrInput
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
	WorkerDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringPtrInput
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
	WorkerInstanceTypes pulumi.StringArrayInput
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
	WorkerNumber pulumi.IntPtrInput
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntPtrInput
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringPtrInput
	// (Optional) The vswitches used by workers.
	//
	// Deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
	WorkerVswitchIds pulumi.StringArrayInput
}

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"`
	// * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler.
	// * `nodepools.taints` - (Required) The taints for the nodes in scaling group.
	// * `nodepools.labels` - (Required) The labels for the nodes in scaling group.
	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"`
}

## Example Usage

cluster-autoscaler in Kubernetes Cluster.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "autoscaler"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultNetworks, err := vpc.GetNetworks(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			Owners:     pulumi.StringRef("system"),
			NameRegex:  pulumi.StringRef("^centos_7"),
			MostRecent: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		defaultManagedKubernetesClusters, err := cs.GetManagedKubernetesClusters(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			CpuCoreCount: pulumi.IntRef(2),
			MemorySize:   pulumi.Float64Ref(4),
		}, nil)
		if err != nil {
			return err
		}
		defaultSecurityGroup, err := ecs.NewSecurityGroup(ctx, "defaultSecurityGroup", &ecs.SecurityGroupArgs{
			VpcId: pulumi.String(defaultNetworks.Vpcs[0].Id),
		})
		if err != nil {
			return err
		}
		defaultScalingGroup, err := ess.NewScalingGroup(ctx, "defaultScalingGroup", &ess.ScalingGroupArgs{
			ScalingGroupName: pulumi.String(name),
			MinSize:          pulumi.Any(_var.Min_size),
			MaxSize:          pulumi.Any(_var.Max_size),
			VswitchIds: pulumi.StringArray{
				pulumi.String(defaultNetworks.Vpcs[0].VswitchIds[0]),
			},
			RemovalPolicies: pulumi.StringArray{
				pulumi.String("OldestInstance"),
				pulumi.String("NewestInstance"),
			},
		})
		if err != nil {
			return err
		}
		defaultScalingConfiguration, err := ess.NewScalingConfiguration(ctx, "defaultScalingConfiguration", &ess.ScalingConfigurationArgs{
			ImageId:            pulumi.String(defaultImages.Images[0].Id),
			SecurityGroupId:    defaultSecurityGroup.ID(),
			ScalingGroupId:     defaultScalingGroup.ID(),
			InstanceType:       pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id),
			InternetChargeType: pulumi.String("PayByTraffic"),
			ForceDelete:        pulumi.Bool(true),
			Enable:             pulumi.Bool(true),
			Active:             pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewKubernetesAutoscaler(ctx, "defaultKubernetesAutoscaler", &cs.KubernetesAutoscalerArgs{
			ClusterId: pulumi.String(defaultManagedKubernetesClusters.Clusters[0].Id),
			Nodepools: cs.KubernetesAutoscalerNodepoolArray{
				&cs.KubernetesAutoscalerNodepoolArgs{
					Id:     defaultScalingGroup.ID(),
					Labels: pulumi.String("a=b"),
				},
			},
			Utilization:          pulumi.Any(_var.Utilization),
			CoolDownDuration:     pulumi.Any(_var.Cool_down_duration),
			DeferScaleInDuration: pulumi.Any(_var.Defer_scale_in_duration),
		}, pulumi.DependsOn([]pulumi.Resource{
			alicloud_ess_scaling_group.Defalut,
			defaultScalingConfiguration,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

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
	// * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler.
	// * `nodepools.taints` - (Required) The taints for the nodes in scaling group.
	// * `nodepools.labels` - (Required) The labels for the nodes in scaling group.
	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 {
	Id     *string `pulumi:"id"`
	Labels *string `pulumi:"labels"`
	Taints *string `pulumi:"taints"`
}

type KubernetesAutoscalerNodepoolArgs

type KubernetesAutoscalerNodepoolArgs struct {
	Id     pulumi.StringPtrInput `pulumi:"id"`
	Labels pulumi.StringPtrInput `pulumi:"labels"`
	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

func (KubernetesAutoscalerNodepoolOutput) Labels

func (KubernetesAutoscalerNodepoolOutput) Taints

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

The id of kubernetes cluster.

func (KubernetesAutoscalerOutput) CoolDownDuration

func (o KubernetesAutoscalerOutput) CoolDownDuration() pulumi.StringOutput

The coolDownDuration option of cluster-autoscaler.

func (KubernetesAutoscalerOutput) DeferScaleInDuration

func (o KubernetesAutoscalerOutput) DeferScaleInDuration() pulumi.StringOutput

The deferScaleInDuration option of cluster-autoscaler.

func (KubernetesAutoscalerOutput) ElementType

func (KubernetesAutoscalerOutput) ElementType() reflect.Type

func (KubernetesAutoscalerOutput) Nodepools

* `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler. * `nodepools.taints` - (Required) The taints for the nodes in scaling group. * `nodepools.labels` - (Required) The labels for the nodes in scaling group.

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput

func (o KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutputWithContext

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

func (KubernetesAutoscalerOutput) UseEcsRamRoleToken

func (o KubernetesAutoscalerOutput) UseEcsRamRoleToken() pulumi.BoolPtrOutput

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

func (KubernetesAutoscalerOutput) Utilization

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
	// * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler.
	// * `nodepools.taints` - (Required) The taints for the nodes in scaling group.
	// * `nodepools.labels` - (Required) The labels for the nodes in scaling group.
	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 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

The addon you want to install in cluster.

func (KubernetesOutput) ApiAudiences

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) AvailabilityZone

func (o KubernetesOutput) AvailabilityZone() pulumi.StringOutput

The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.

func (KubernetesOutput) CertificateAuthority

func (o KubernetesOutput) CertificateAuthority() KubernetesCertificateAuthorityOutput

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

func (KubernetesOutput) ClientCert

func (o KubernetesOutput) ClientCert() pulumi.StringPtrOutput

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

func (KubernetesOutput) ClientKey

func (o KubernetesOutput) ClientKey() pulumi.StringPtrOutput

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

func (KubernetesOutput) ClusterCaCert

func (o KubernetesOutput) ClusterCaCert() pulumi.StringPtrOutput

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

func (KubernetesOutput) ClusterDomain

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

Map of kubernetes cluster connection information.

func (KubernetesOutput) CpuPolicy deprecated

func (o KubernetesOutput) CpuPolicy() pulumi.StringPtrOutput

(Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.

Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it

func (KubernetesOutput) CustomSan

func (o KubernetesOutput) CustomSan() pulumi.StringPtrOutput

Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).

func (KubernetesOutput) DeletionProtection

func (o KubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether to enable cluster deletion protection.

func (KubernetesOutput) ElementType

func (KubernetesOutput) ElementType() reflect.Type

func (KubernetesOutput) EnableSsh

func (o KubernetesOutput) EnableSsh() pulumi.BoolPtrOutput

Enable login to the node through SSH. Default to `false`.

func (KubernetesOutput) ExcludeAutoscalerNodes deprecated

func (o KubernetesOutput) ExcludeAutoscalerNodes() pulumi.BoolPtrOutput

(Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.

Deprecated: Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.

func (KubernetesOutput) ImageId

Custom Image support. Must based on CentOS7 or AliyunLinux2.

func (KubernetesOutput) InstallCloudMonitor

func (o KubernetesOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

Install cloud monitor agent on ECS. Default to `true`.

func (KubernetesOutput) IsEnterpriseSecurityGroup

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

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

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

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) KubeConfig deprecated

func (o KubernetesOutput) KubeConfig() pulumi.StringPtrOutput

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 (KubernetesOutput) LoadBalancerSpec

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

func (o KubernetesOutput) MasterAutoRenew() pulumi.BoolPtrOutput

Enable master payment auto-renew, defaults to false.

func (KubernetesOutput) MasterAutoRenewPeriod

func (o KubernetesOutput) MasterAutoRenewPeriod() pulumi.IntPtrOutput

Master payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.

func (KubernetesOutput) MasterDiskCategory

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

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

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

func (o KubernetesOutput) MasterDiskSnapshotPolicyId() pulumi.StringPtrOutput

Master node system disk auto snapshot policy.

func (KubernetesOutput) MasterInstanceChargeType

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

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

List of cluster master nodes.

func (KubernetesOutput) MasterPeriod

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

func (o KubernetesOutput) MasterPeriodUnit() pulumi.StringPtrOutput

Master payment period unit, the valid value is `Month`.

func (KubernetesOutput) MasterVswitchIds

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

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

func (KubernetesOutput) NamePrefix deprecated

func (o KubernetesOutput) NamePrefix() pulumi.StringPtrOutput

Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0.

func (KubernetesOutput) NatGatewayId

func (o KubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (KubernetesOutput) NewNatGateway

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

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

func (o KubernetesOutput) NodeNameMode() pulumi.StringPtrOutput

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) NodePortRange deprecated

func (o KubernetesOutput) NodePortRange() pulumi.StringOutput

(Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.

Deprecated: Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.

func (KubernetesOutput) OsType

The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.

func (KubernetesOutput) Password

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

func (KubernetesOutput) Platform

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

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

func (KubernetesOutput) PodVswitchIds

func (o KubernetesOutput) PodVswitchIds() pulumi.StringArrayOutput

[Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `masterVswitchIds` but must be in same availability zones.

func (KubernetesOutput) ProxyMode

func (o KubernetesOutput) ProxyMode() pulumi.StringPtrOutput

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

func (KubernetesOutput) RdsInstances

func (o KubernetesOutput) RdsInstances() pulumi.StringArrayOutput

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

func (KubernetesOutput) ResourceGroupId

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

func (o KubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (KubernetesOutput) Runtime

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). Detailed below.

func (KubernetesOutput) SecurityGroupId

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

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

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 deprecated

The ID of load balancer.

Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.

func (KubernetesOutput) SlbInternet

func (o KubernetesOutput) SlbInternet() pulumi.StringOutput

The public ip of load balancer.

func (KubernetesOutput) SlbInternetEnabled

func (o KubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

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

func (KubernetesOutput) SlbIntranet

func (o KubernetesOutput) SlbIntranet() pulumi.StringOutput

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

func (KubernetesOutput) Tags

Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.

func (KubernetesOutput) Taints deprecated

(Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.

Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it

func (KubernetesOutput) Timezone

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

The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.

func (KubernetesOutput) UserData deprecated

(Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).

Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it

func (KubernetesOutput) Version

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

The ID of VPC where the current cluster is located.

func (KubernetesOutput) WorkerAutoRenew deprecated

func (o KubernetesOutput) WorkerAutoRenew() pulumi.BoolPtrOutput

(Optional) Enable worker payment auto-renew, defaults to false.

Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it

func (KubernetesOutput) WorkerAutoRenewPeriod deprecated

func (o KubernetesOutput) WorkerAutoRenewPeriod() pulumi.IntOutput

(Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.

Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it

func (KubernetesOutput) WorkerDataDiskCategory deprecated

func (o KubernetesOutput) WorkerDataDiskCategory() pulumi.StringPtrOutput

The data disk category of worker, use `workerDataDisks` to instead it.

Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.category' to replace it

func (KubernetesOutput) WorkerDataDiskSize deprecated

func (o KubernetesOutput) WorkerDataDiskSize() pulumi.IntPtrOutput

The data disk size of worker, use `workerDataDisks` to instead it.

Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.size' to replace it

func (KubernetesOutput) WorkerDataDisks deprecated

(Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.

Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it

func (KubernetesOutput) WorkerDiskCategory deprecated

func (o KubernetesOutput) WorkerDiskCategory() pulumi.StringPtrOutput

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

Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it

func (KubernetesOutput) WorkerDiskPerformanceLevel deprecated

func (o KubernetesOutput) WorkerDiskPerformanceLevel() pulumi.StringPtrOutput

(Optional, Available in 1.120.0+) 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`.

Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it

func (KubernetesOutput) WorkerDiskSize deprecated

func (o KubernetesOutput) WorkerDiskSize() pulumi.IntOutput

(Optional) The system disk size of worker node. Its valid value range [40~500] in GB.

Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it

func (KubernetesOutput) WorkerDiskSnapshotPolicyId deprecated

func (o KubernetesOutput) WorkerDiskSnapshotPolicyId() pulumi.StringPtrOutput

(Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.

Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it

func (KubernetesOutput) WorkerInstanceChargeType deprecated

func (o KubernetesOutput) WorkerInstanceChargeType() pulumi.StringOutput

(Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.

Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it

func (KubernetesOutput) WorkerInstanceTypes deprecated

func (o KubernetesOutput) WorkerInstanceTypes() pulumi.StringArrayOutput

(Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it

func (KubernetesOutput) WorkerNodes deprecated

(Deprecated from version 1.177.0)List of cluster worker nodes.

Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.

func (KubernetesOutput) WorkerNumber deprecated

func (o KubernetesOutput) WorkerNumber() pulumi.IntPtrOutput

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

Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it

func (KubernetesOutput) WorkerPeriod deprecated

func (o KubernetesOutput) WorkerPeriod() pulumi.IntOutput

(Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.

Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it

func (KubernetesOutput) WorkerPeriodUnit deprecated

func (o KubernetesOutput) WorkerPeriodUnit() pulumi.StringOutput

(Optional) Worker payment period unit, the valid value is `Month`.

Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it

func (KubernetesOutput) WorkerRamRoleName

func (o KubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

func (KubernetesOutput) WorkerVswitchIds deprecated

func (o KubernetesOutput) WorkerVswitchIds() pulumi.StringArrayOutput

(Optional) The vswitches used by workers.

Deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it

type KubernetesPermission

type KubernetesPermission struct {
	pulumi.CustomResourceState

	// A list of user permission.
	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"`
}

func GetKubernetesPermission

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

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

func (*KubernetesPermission) ElementType() reflect.Type

func (*KubernetesPermission) ToKubernetesPermissionOutput

func (i *KubernetesPermission) ToKubernetesPermissionOutput() KubernetesPermissionOutput

func (*KubernetesPermission) ToKubernetesPermissionOutputWithContext

func (i *KubernetesPermission) ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput

type KubernetesPermissionArgs

type KubernetesPermissionArgs struct {
	// A list of user permission.
	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

func (KubernetesPermissionArgs) ElementType() reflect.Type

type KubernetesPermissionArray

type KubernetesPermissionArray []KubernetesPermissionInput

func (KubernetesPermissionArray) ElementType

func (KubernetesPermissionArray) ElementType() reflect.Type

func (KubernetesPermissionArray) ToKubernetesPermissionArrayOutput

func (i KubernetesPermissionArray) ToKubernetesPermissionArrayOutput() KubernetesPermissionArrayOutput

func (KubernetesPermissionArray) ToKubernetesPermissionArrayOutputWithContext

func (i KubernetesPermissionArray) ToKubernetesPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionArrayOutput

type KubernetesPermissionArrayInput

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

type KubernetesPermissionArrayOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionArrayOutput) ElementType

func (KubernetesPermissionArrayOutput) Index

func (KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutput

func (o KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutput() KubernetesPermissionArrayOutput

func (KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutputWithContext

func (o KubernetesPermissionArrayOutput) ToKubernetesPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionArrayOutput

type KubernetesPermissionInput

type KubernetesPermissionInput interface {
	pulumi.Input

	ToKubernetesPermissionOutput() KubernetesPermissionOutput
	ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput
}

type KubernetesPermissionMap

type KubernetesPermissionMap map[string]KubernetesPermissionInput

func (KubernetesPermissionMap) ElementType

func (KubernetesPermissionMap) ElementType() reflect.Type

func (KubernetesPermissionMap) ToKubernetesPermissionMapOutput

func (i KubernetesPermissionMap) ToKubernetesPermissionMapOutput() KubernetesPermissionMapOutput

func (KubernetesPermissionMap) ToKubernetesPermissionMapOutputWithContext

func (i KubernetesPermissionMap) ToKubernetesPermissionMapOutputWithContext(ctx context.Context) KubernetesPermissionMapOutput

type KubernetesPermissionMapInput

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

type KubernetesPermissionMapOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionMapOutput) ElementType

func (KubernetesPermissionMapOutput) MapIndex

func (KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutput

func (o KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutput() KubernetesPermissionMapOutput

func (KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutputWithContext

func (o KubernetesPermissionMapOutput) ToKubernetesPermissionMapOutputWithContext(ctx context.Context) KubernetesPermissionMapOutput

type KubernetesPermissionOutput

type KubernetesPermissionOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionOutput) ElementType

func (KubernetesPermissionOutput) ElementType() reflect.Type

func (KubernetesPermissionOutput) Permissions

A list of user permission.

func (KubernetesPermissionOutput) ToKubernetesPermissionOutput

func (o KubernetesPermissionOutput) ToKubernetesPermissionOutput() KubernetesPermissionOutput

func (KubernetesPermissionOutput) ToKubernetesPermissionOutputWithContext

func (o KubernetesPermissionOutput) ToKubernetesPermissionOutputWithContext(ctx context.Context) KubernetesPermissionOutput

func (KubernetesPermissionOutput) Uid

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

type KubernetesPermissionPermission struct {
	// The ID of the cluster that you want to manage.
	Cluster string `pulumi:"cluster"`
	// Specifies whether to perform a custom authorization. To perform a custom authorization, 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`.
	RoleType string `pulumi:"roleType"`
}

type KubernetesPermissionPermissionArgs

type KubernetesPermissionPermissionArgs struct {
	// The ID of the cluster that you want to manage.
	Cluster pulumi.StringInput `pulumi:"cluster"`
	// Specifies whether to perform a custom authorization. To perform a custom authorization, 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`.
	RoleType pulumi.StringInput `pulumi:"roleType"`
}

func (KubernetesPermissionPermissionArgs) ElementType

func (KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutput

func (i KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutput() KubernetesPermissionPermissionOutput

func (KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutputWithContext

func (i KubernetesPermissionPermissionArgs) ToKubernetesPermissionPermissionOutputWithContext(ctx context.Context) KubernetesPermissionPermissionOutput

type KubernetesPermissionPermissionArray

type KubernetesPermissionPermissionArray []KubernetesPermissionPermissionInput

func (KubernetesPermissionPermissionArray) ElementType

func (KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutput

func (i KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutput() KubernetesPermissionPermissionArrayOutput

func (KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutputWithContext

func (i KubernetesPermissionPermissionArray) ToKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionPermissionArrayOutput

type KubernetesPermissionPermissionArrayInput

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

type KubernetesPermissionPermissionArrayOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionPermissionArrayOutput) ElementType

func (KubernetesPermissionPermissionArrayOutput) Index

func (KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutput

func (o KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutput() KubernetesPermissionPermissionArrayOutput

func (KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutputWithContext

func (o KubernetesPermissionPermissionArrayOutput) ToKubernetesPermissionPermissionArrayOutputWithContext(ctx context.Context) KubernetesPermissionPermissionArrayOutput

type KubernetesPermissionPermissionInput

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

type KubernetesPermissionPermissionOutput struct{ *pulumi.OutputState }

func (KubernetesPermissionPermissionOutput) Cluster

The ID of the cluster that you want to manage.

func (KubernetesPermissionPermissionOutput) ElementType

func (KubernetesPermissionPermissionOutput) IsCustom

Specifies whether to perform a custom authorization. To perform a custom authorization, set `roleName` to a custom cluster role.

func (KubernetesPermissionPermissionOutput) IsRamRole

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

The namespace to which the permissions are scoped. This parameter is required only if you set roleType to namespace.

func (KubernetesPermissionPermissionOutput) RoleName

Specifies the predefined role that you want to assign. Valid values `admin`, `ops`, `dev`, `restricted` and the custom cluster roles.

func (KubernetesPermissionPermissionOutput) RoleType

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

func (KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutput

func (o KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutput() KubernetesPermissionPermissionOutput

func (KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutputWithContext

func (o KubernetesPermissionPermissionOutput) ToKubernetesPermissionPermissionOutputWithContext(ctx context.Context) KubernetesPermissionPermissionOutput

type KubernetesPermissionState

type KubernetesPermissionState struct {
	// A list of user permission.
	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

func (KubernetesPermissionState) ElementType() reflect.Type

type KubernetesRuntime

type KubernetesRuntime struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// 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 *string `pulumi:"version"`
}

type KubernetesRuntimeArgs

type KubernetesRuntimeArgs struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// 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 `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 kubernetes cluster's name. It is unique in one Alicloud account.

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

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.

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 kubernetes cluster's name. It is unique in one Alicloud account.

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput

func (o KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutputWithContext

func (o KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutputWithContext(ctx context.Context) KubernetesRuntimePtrOutput

func (KubernetesRuntimePtrOutput) Version

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.

type KubernetesState

type KubernetesState struct {
	// The addon you want to install in cluster.
	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 Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	AvailabilityZone pulumi.StringPtrInput
	// (Available in 1.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`
	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 of kubernetes cluster connection information.
	Connections KubernetesConnectionsPtrInput
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrInput
	// Enable login to the node through SSH. Default to `false`.
	EnableSsh pulumi.BoolPtrInput
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'exclude_autoscaler_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	ExcludeAutoscalerNodes 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 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.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.
	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
	// List of cluster master nodes.
	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
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'node_port_range' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	NodePortRange 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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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). Detailed 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 load balancer.
	//
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId 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 nodes. Detailed below.
	Tags pulumi.MapInput
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'taints' to replace it
	Taints KubernetesTaintArrayInput
	// 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
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'user_data' to replace it
	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
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrInput
	// (Optional) Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntPtrInput
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrInput
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'data_disks' to replace it
	WorkerDataDisks KubernetesWorkerDataDiskArrayInput
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_category' to replace it
	WorkerDiskCategory pulumi.StringPtrInput
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_size' to replace it
	WorkerDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// (Optional, Force new resource) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringPtrInput
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'instance_types' to replace it
	WorkerInstanceTypes pulumi.StringArrayInput
	// (Deprecated from version 1.177.0)List of cluster worker nodes.
	//
	// Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes.
	WorkerNodes KubernetesWorkerNodeArrayInput
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'desired_size' to replace it
	WorkerNumber pulumi.IntPtrInput
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntPtrInput
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	// (Optional) The vswitches used by workers.
	//
	// Deprecated: Field 'worker_vswitch_ids' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster worker nodes, by using field 'vswitch_ids' to replace it
	WorkerVswitchIds pulumi.StringArrayInput
}

func (KubernetesState) ElementType

func (KubernetesState) ElementType() reflect.Type

type KubernetesTaint

type KubernetesTaint struct {
	Effect *string `pulumi:"effect"`
	Key    *string `pulumi:"key"`
	Value  *string `pulumi:"value"`
}

type KubernetesTaintArgs

type KubernetesTaintArgs struct {
	Effect pulumi.StringPtrInput `pulumi:"effect"`
	Key    pulumi.StringPtrInput `pulumi:"key"`
	Value  pulumi.StringPtrInput `pulumi:"value"`
}

func (KubernetesTaintArgs) ElementType

func (KubernetesTaintArgs) ElementType() reflect.Type

func (KubernetesTaintArgs) ToKubernetesTaintOutput

func (i KubernetesTaintArgs) ToKubernetesTaintOutput() KubernetesTaintOutput

func (KubernetesTaintArgs) ToKubernetesTaintOutputWithContext

func (i KubernetesTaintArgs) ToKubernetesTaintOutputWithContext(ctx context.Context) KubernetesTaintOutput

type KubernetesTaintArray

type KubernetesTaintArray []KubernetesTaintInput

func (KubernetesTaintArray) ElementType

func (KubernetesTaintArray) ElementType() reflect.Type

func (KubernetesTaintArray) ToKubernetesTaintArrayOutput

func (i KubernetesTaintArray) ToKubernetesTaintArrayOutput() KubernetesTaintArrayOutput

func (KubernetesTaintArray) ToKubernetesTaintArrayOutputWithContext

func (i KubernetesTaintArray) ToKubernetesTaintArrayOutputWithContext(ctx context.Context) KubernetesTaintArrayOutput

type KubernetesTaintArrayInput

type KubernetesTaintArrayInput interface {
	pulumi.Input

	ToKubernetesTaintArrayOutput() KubernetesTaintArrayOutput
	ToKubernetesTaintArrayOutputWithContext(context.Context) KubernetesTaintArrayOutput
}

KubernetesTaintArrayInput is an input type that accepts KubernetesTaintArray and KubernetesTaintArrayOutput values. You can construct a concrete instance of `KubernetesTaintArrayInput` via:

KubernetesTaintArray{ KubernetesTaintArgs{...} }

type KubernetesTaintArrayOutput

type KubernetesTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesTaintArrayOutput) ElementType

func (KubernetesTaintArrayOutput) ElementType() reflect.Type

func (KubernetesTaintArrayOutput) Index

func (KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutput

func (o KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutput() KubernetesTaintArrayOutput

func (KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutputWithContext

func (o KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutputWithContext(ctx context.Context) KubernetesTaintArrayOutput

type KubernetesTaintInput

type KubernetesTaintInput interface {
	pulumi.Input

	ToKubernetesTaintOutput() KubernetesTaintOutput
	ToKubernetesTaintOutputWithContext(context.Context) KubernetesTaintOutput
}

KubernetesTaintInput is an input type that accepts KubernetesTaintArgs and KubernetesTaintOutput values. You can construct a concrete instance of `KubernetesTaintInput` via:

KubernetesTaintArgs{...}

type KubernetesTaintOutput

type KubernetesTaintOutput struct{ *pulumi.OutputState }

func (KubernetesTaintOutput) Effect

func (KubernetesTaintOutput) ElementType

func (KubernetesTaintOutput) ElementType() reflect.Type

func (KubernetesTaintOutput) Key

func (KubernetesTaintOutput) ToKubernetesTaintOutput

func (o KubernetesTaintOutput) ToKubernetesTaintOutput() KubernetesTaintOutput

func (KubernetesTaintOutput) ToKubernetesTaintOutputWithContext

func (o KubernetesTaintOutput) ToKubernetesTaintOutputWithContext(ctx context.Context) KubernetesTaintOutput

func (KubernetesTaintOutput) Value

type KubernetesWorkerDataDisk

type KubernetesWorkerDataDisk struct {
	// (Optional, Available in 1.120.0+) 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"`
	Device   *string `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false.
	Encrypted *string `pulumi:"encrypted"`
	KmsKeyId  *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// (Optional, Available in 1.120.0+) 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, Its valid value range [40~32768] in GB. Unit: GiB.
	Size       *string `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type KubernetesWorkerDataDiskArgs

type KubernetesWorkerDataDiskArgs struct {
	// (Optional, Available in 1.120.0+) 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"`
	Device   pulumi.StringPtrInput `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false.
	Encrypted pulumi.StringPtrInput `pulumi:"encrypted"`
	KmsKeyId  pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Optional, Available in 1.120.0+) 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, Its valid value range [40~32768] in GB. Unit: GiB.
	Size       pulumi.StringPtrInput `pulumi:"size"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (KubernetesWorkerDataDiskArgs) ElementType

func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput

func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput

func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext

func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput

type KubernetesWorkerDataDiskArray

type KubernetesWorkerDataDiskArray []KubernetesWorkerDataDiskInput

func (KubernetesWorkerDataDiskArray) ElementType

func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput

func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput

func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext

func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput

type KubernetesWorkerDataDiskArrayInput

type KubernetesWorkerDataDiskArrayInput interface {
	pulumi.Input

	ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput
	ToKubernetesWorkerDataDiskArrayOutputWithContext(context.Context) KubernetesWorkerDataDiskArrayOutput
}

KubernetesWorkerDataDiskArrayInput is an input type that accepts KubernetesWorkerDataDiskArray and KubernetesWorkerDataDiskArrayOutput values. You can construct a concrete instance of `KubernetesWorkerDataDiskArrayInput` via:

KubernetesWorkerDataDiskArray{ KubernetesWorkerDataDiskArgs{...} }

type KubernetesWorkerDataDiskArrayOutput

type KubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerDataDiskArrayOutput) ElementType

func (KubernetesWorkerDataDiskArrayOutput) Index

func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput

func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput

func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext

func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput

type KubernetesWorkerDataDiskInput

type KubernetesWorkerDataDiskInput interface {
	pulumi.Input

	ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput
	ToKubernetesWorkerDataDiskOutputWithContext(context.Context) KubernetesWorkerDataDiskOutput
}

KubernetesWorkerDataDiskInput is an input type that accepts KubernetesWorkerDataDiskArgs and KubernetesWorkerDataDiskOutput values. You can construct a concrete instance of `KubernetesWorkerDataDiskInput` via:

KubernetesWorkerDataDiskArgs{...}

type KubernetesWorkerDataDiskOutput

type KubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId

func (o KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput

(Optional, Available in 1.120.0+) Worker node data disk auto snapshot policy.

func (KubernetesWorkerDataDiskOutput) Category

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

func (KubernetesWorkerDataDiskOutput) Device

func (KubernetesWorkerDataDiskOutput) ElementType

func (KubernetesWorkerDataDiskOutput) Encrypted

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

func (KubernetesWorkerDataDiskOutput) KmsKeyId

func (KubernetesWorkerDataDiskOutput) Name

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

func (KubernetesWorkerDataDiskOutput) PerformanceLevel

(Optional, Available in 1.120.0+) 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 (KubernetesWorkerDataDiskOutput) Size

The size of a data disk, Its valid value range [40~32768] in GB. Unit: GiB.

func (KubernetesWorkerDataDiskOutput) SnapshotId

func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput

func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput

func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext

func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput

type KubernetesWorkerNode

type KubernetesWorkerNode 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 KubernetesWorkerNodeArgs

type KubernetesWorkerNodeArgs 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 (KubernetesWorkerNodeArgs) ElementType

func (KubernetesWorkerNodeArgs) ElementType() reflect.Type

func (KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutput

func (i KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput

func (KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutputWithContext

func (i KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutputWithContext(ctx context.Context) KubernetesWorkerNodeOutput

type KubernetesWorkerNodeArray

type KubernetesWorkerNodeArray []KubernetesWorkerNodeInput

func (KubernetesWorkerNodeArray) ElementType

func (KubernetesWorkerNodeArray) ElementType() reflect.Type

func (KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutput

func (i KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput

func (KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutputWithContext

func (i KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) KubernetesWorkerNodeArrayOutput

type KubernetesWorkerNodeArrayInput

type KubernetesWorkerNodeArrayInput interface {
	pulumi.Input

	ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput
	ToKubernetesWorkerNodeArrayOutputWithContext(context.Context) KubernetesWorkerNodeArrayOutput
}

KubernetesWorkerNodeArrayInput is an input type that accepts KubernetesWorkerNodeArray and KubernetesWorkerNodeArrayOutput values. You can construct a concrete instance of `KubernetesWorkerNodeArrayInput` via:

KubernetesWorkerNodeArray{ KubernetesWorkerNodeArgs{...} }

type KubernetesWorkerNodeArrayOutput

type KubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerNodeArrayOutput) ElementType

func (KubernetesWorkerNodeArrayOutput) Index

func (KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutput

func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput

func (KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutputWithContext

func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) KubernetesWorkerNodeArrayOutput

type KubernetesWorkerNodeInput

type KubernetesWorkerNodeInput interface {
	pulumi.Input

	ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput
	ToKubernetesWorkerNodeOutputWithContext(context.Context) KubernetesWorkerNodeOutput
}

KubernetesWorkerNodeInput is an input type that accepts KubernetesWorkerNodeArgs and KubernetesWorkerNodeOutput values. You can construct a concrete instance of `KubernetesWorkerNodeInput` via:

KubernetesWorkerNodeArgs{...}

type KubernetesWorkerNodeOutput

type KubernetesWorkerNodeOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerNodeOutput) ElementType

func (KubernetesWorkerNodeOutput) ElementType() reflect.Type

func (KubernetesWorkerNodeOutput) Id

ID of the node.

func (KubernetesWorkerNodeOutput) Name

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

func (KubernetesWorkerNodeOutput) PrivateIp

The private IP address of node.

func (KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutput

func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput

func (KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutputWithContext

func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutputWithContext(ctx context.Context) KubernetesWorkerNodeOutput

type LookupKubernetesPermissionArgs

type LookupKubernetesPermissionArgs struct {
	// A list of user permission.
	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 arguments for invoking getKubernetesPermission.

type LookupKubernetesPermissionOutputArgs

type LookupKubernetesPermissionOutputArgs struct {
	// A list of user permission.
	Permissions GetKubernetesPermissionPermissionArrayInput `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 pulumi.StringInput `pulumi:"uid"`
}

A collection of arguments for invoking getKubernetesPermission.

func (LookupKubernetesPermissionOutputArgs) ElementType

type LookupKubernetesPermissionResult

type LookupKubernetesPermissionResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of user permission.
	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

func LookupKubernetesPermission(ctx *pulumi.Context, args *LookupKubernetesPermissionArgs, opts ...pulumi.InvokeOption) (*LookupKubernetesPermissionResult, error)

This data source provides a list of Ram user permissions.

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		usersDs, err := ram.GetUsers(ctx, &ram.GetUsersArgs{
			NameRegex: pulumi.StringRef("your_user_name"),
		}, nil)
		if err != nil {
			return err
		}
		_default, err := cs.LookupKubernetesPermission(ctx, &cs.LookupKubernetesPermissionArgs{
			Uid: usersDs.Users[0].Id,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("permissions", _default.Permissions)
		return nil
	})
}

```

type LookupKubernetesPermissionResultOutput

type LookupKubernetesPermissionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getKubernetesPermission.

func (LookupKubernetesPermissionResultOutput) ElementType

func (LookupKubernetesPermissionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupKubernetesPermissionResultOutput) Permissions

A list of user permission.

func (LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutput

func (o LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutput() LookupKubernetesPermissionResultOutput

func (LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutputWithContext

func (o LookupKubernetesPermissionResultOutput) ToLookupKubernetesPermissionResultOutputWithContext(ctx context.Context) LookupKubernetesPermissionResultOutput

func (LookupKubernetesPermissionResultOutput) Uid

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

	// The addon you want to install in cluster.
	Addons ManagedKubernetesAddonArrayOutput `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"`
	// The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority ManagedKubernetesCertificateAuthorityOutput `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`
	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"`
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard managed clusters.
	// * ack.pro.small : Professional managed clusters.
	ClusterSpec pulumi.StringOutput `pulumi:"clusterSpec"`
	// Map of kubernetes cluster connection information.
	Connections ManagedKubernetesConnectionsOutput `pulumi:"connections"`
	// List of target components for which logs need to be collected. Supports `apiserver`, `kcm` and `scheduler`.
	ControlPlaneLogComponents pulumi.StringArrayOutput `pulumi:"controlPlaneLogComponents"`
	// Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
	ControlPlaneLogProject pulumi.StringPtrOutput `pulumi:"controlPlaneLogProject"`
	// Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `controlPlaneLogTtl` and `controlPlaneLogComponents` must be specified.
	ControlPlaneLogTtl pulumi.StringPtrOutput `pulumi:"controlPlaneLogTtl"`
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrOutput `pulumi:"cpuPolicy"`
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrOutput `pulumi:"customSan"`
	// Whether to enable cluster 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"`
	// (Optional) Enable login to the node through SSH. Default to `false`.
	//
	// Deprecated: Field 'enable_ssh' has been deprecated from provider version 1.177.0.
	EnableSsh pulumi.BoolPtrOutput `pulumi:"enableSsh"`
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrOutput `pulumi:"encryptionProviderKey"`
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes
	ExcludeAutoscalerNodes pulumi.BoolPtrOutput `pulumi:"excludeAutoscalerNodes"`
	// (Optional) Custom Image support. Must based on CentOS7 or AliyunLinux2.
	//
	// Deprecated: Field 'image_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'image_id' to replace it
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// (Optional) Install cloud monitor agent on ECS. Default to `true`.
	//
	// Deprecated: Field 'install_cloud_monitor' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'install_cloud_monitor' to replace it
	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"`
	// (Optional) The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'key_name' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'key_name' to replace it
	KeyName pulumi.StringPtrOutput `pulumi:"keyName"`
	// (Optional, Available in 1.57.1+) An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	//
	// Deprecated: Field 'kms_encrypted_password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encrypted_password' to replace it
	KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"`
	// (Optional, MapString, Available in 1.57.1+) 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.
	//
	// Deprecated: Field 'kms_encryption_context' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encryption_context' to replace it
	KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"`
	// 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.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"`
	// The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. Detailed below.
	MaintenanceWindow ManagedKubernetesMaintenanceWindowOutput `pulumi:"maintenanceWindow"`
	// 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"`
	// (Optional, Available in 1.88.0+) 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.
	//
	// Deprecated: Field 'node_name_mode' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'node_name_mode' to replace it.
	NodeNameMode pulumi.StringPtrOutput `pulumi:"nodeNameMode"`
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	NodePortRange pulumi.StringOutput `pulumi:"nodePortRange"`
	// (Optional, ForceNew, Available in 1.103.2+) The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	//
	// Deprecated: Field 'os_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	OsType pulumi.StringPtrOutput `pulumi:"osType"`
	// (Optional, Sensitive) The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'password' to replace it
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// (Optional, ForceNew, Available in 1.103.2+) The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'platform' to replace it.
	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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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"`
	// (Optional, Available in 1.103.2+) RDS instance list, You can choose which RDS instances whitelist to add instances to.
	//
	// Deprecated: Field 'rds_instances' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'rds_instances' to replace it.
	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"`
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	RrsaMetadata ManagedKubernetesRrsaMetadataOutput `pulumi:"rrsaMetadata"`
	// (Optional, Available in 1.103.2+) 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). Detailed below.
	//
	// Deprecated: Field 'runtime' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'runtime_name' and 'runtime_version' to replace it.
	Runtime ManagedKubernetesRuntimePtrOutput `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 load balancer.
	//
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	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.
	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. Detailed below.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'taints' to replace it.
	Taints ManagedKubernetesTaintArrayOutput `pulumi:"taints"`
	// 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"`
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'user_data' to replace it.
	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"`
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"`
	// Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntOutput `pulumi:"workerAutoRenewPeriod"`
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"`
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrOutput `pulumi:"workerDataDiskSize"`
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks' to replace it
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"`
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_category' to replace it.
	WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"`
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"workerDiskPerformanceLevel"`
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_size' to replace it.
	WorkerDiskSize pulumi.IntOutput `pulumi:"workerDiskSize"`
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"workerDiskSnapshotPolicyId"`
	// (Optional) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringOutput `pulumi:"workerInstanceChargeType"`
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_types' to replace it.
	WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"`
	// (Deprecated from version 1.177.0) List of cluster worker nodes.
	//
	// Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	WorkerNodes ManagedKubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"`
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes., by using field 'desired_size' to replace it.
	WorkerNumber pulumi.IntPtrOutput `pulumi:"workerNumber"`
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntOutput `pulumi:"workerPeriod"`
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringOutput `pulumi:"workerPeriodUnit"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"`
	// The vswitches used by control plane.
	WorkerVswitchIds pulumi.StringArrayOutput `pulumi:"workerVswitchIds"`
}

## Import

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

```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 {
	Config   *string `pulumi:"config"`
	Disabled *bool   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
}

type ManagedKubernetesAddonArgs

type ManagedKubernetesAddonArgs struct {
	Config   pulumi.StringPtrInput `pulumi:"config"`
	Disabled pulumi.BoolPtrInput   `pulumi:"disabled"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

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

func (ManagedKubernetesAddonOutput) Disabled

func (ManagedKubernetesAddonOutput) ElementType

func (ManagedKubernetesAddonOutput) Name

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

func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput

func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput

func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext

func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput

type ManagedKubernetesArgs

type ManagedKubernetesArgs struct {
	// The addon you want to install in cluster.
	Addons ManagedKubernetesAddonArrayInput
	// 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 Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	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`
	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
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard managed clusters.
	// * ack.pro.small : Professional managed clusters.
	ClusterSpec pulumi.StringPtrInput
	// List of target components for which logs need to be collected. Supports `apiserver`, `kcm` and `scheduler`.
	ControlPlaneLogComponents pulumi.StringArrayInput
	// Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
	ControlPlaneLogProject pulumi.StringPtrInput
	// Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `controlPlaneLogTtl` and `controlPlaneLogComponents` must be specified.
	ControlPlaneLogTtl pulumi.StringPtrInput
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Whether to enable cluster 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
	// (Optional) Enable login to the node through SSH. Default to `false`.
	//
	// Deprecated: Field 'enable_ssh' has been deprecated from provider version 1.177.0.
	EnableSsh pulumi.BoolPtrInput
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrInput
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes
	ExcludeAutoscalerNodes pulumi.BoolPtrInput
	// (Optional) Custom Image support. Must based on CentOS7 or AliyunLinux2.
	//
	// Deprecated: Field 'image_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'image_id' to replace it
	ImageId pulumi.StringPtrInput
	// (Optional) Install cloud monitor agent on ECS. Default to `true`.
	//
	// Deprecated: Field 'install_cloud_monitor' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'install_cloud_monitor' to replace it
	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
	// (Optional) The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'key_name' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'key_name' to replace it
	KeyName pulumi.StringPtrInput
	// (Optional, Available in 1.57.1+) An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	//
	// Deprecated: Field 'kms_encrypted_password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encrypted_password' to replace it
	KmsEncryptedPassword pulumi.StringPtrInput
	// (Optional, MapString, Available in 1.57.1+) 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.
	//
	// Deprecated: Field 'kms_encryption_context' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encryption_context' to replace it
	KmsEncryptionContext pulumi.MapInput
	// 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.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
	// The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. Detailed below.
	MaintenanceWindow ManagedKubernetesMaintenanceWindowPtrInput
	// 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
	// (Optional, Available in 1.88.0+) 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.
	//
	// Deprecated: Field 'node_name_mode' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'node_name_mode' to replace it.
	NodeNameMode pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	NodePortRange pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	//
	// Deprecated: Field 'os_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	OsType pulumi.StringPtrInput
	// (Optional, Sensitive) The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'password' to replace it
	Password pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'platform' to replace it.
	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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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
	// (Optional, Available in 1.103.2+) RDS instance list, You can choose which RDS instances whitelist to add instances to.
	//
	// Deprecated: Field 'rds_instances' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'rds_instances' to replace it.
	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
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	RrsaMetadata ManagedKubernetesRrsaMetadataPtrInput
	// (Optional, Available in 1.103.2+) 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). Detailed below.
	//
	// Deprecated: Field 'runtime' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'runtime_name' and 'runtime_version' to replace it.
	Runtime ManagedKubernetesRuntimePtrInput
	// 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.
	SlbInternetEnabled pulumi.BoolPtrInput
	// Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.
	Tags pulumi.MapInput
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'taints' to replace it.
	Taints ManagedKubernetesTaintArrayInput
	// 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
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'user_data' to replace it.
	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
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntPtrInput
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrInput
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks' to replace it
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_category' to replace it.
	WorkerDiskCategory pulumi.StringPtrInput
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_size' to replace it.
	WorkerDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// (Optional) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringPtrInput
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_types' to replace it.
	WorkerInstanceTypes pulumi.StringArrayInput
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes., by using field 'desired_size' to replace it.
	WorkerNumber pulumi.IntPtrInput
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntPtrInput
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringPtrInput
	// The vswitches used by control plane.
	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 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 ManagedKubernetesCertificateAuthorityArgs

type ManagedKubernetesCertificateAuthorityArgs 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 (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 path of client certificate, like `~/.kube/client-cert.pem`.

func (ManagedKubernetesCertificateAuthorityOutput) ClientKey

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

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 path of client certificate, like `~/.kube/client-cert.pem`.

func (ManagedKubernetesCertificateAuthorityPtrOutput) ClientKey

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

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 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.
	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.
	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.

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.

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

The addon you want to install in cluster.

func (ManagedKubernetesOutput) ApiAudiences

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 (ManagedKubernetesOutput) AvailabilityZone

func (o ManagedKubernetesOutput) AvailabilityZone() pulumi.StringOutput

The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.

func (ManagedKubernetesOutput) CertificateAuthority

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

func (ManagedKubernetesOutput) ClientCert

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

func (ManagedKubernetesOutput) ClientKey

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

func (ManagedKubernetesOutput) ClusterCaCert

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

func (ManagedKubernetesOutput) ClusterDomain

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 (ManagedKubernetesOutput) ClusterSpec

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

func (ManagedKubernetesOutput) Connections

Map of kubernetes cluster connection information.

func (ManagedKubernetesOutput) ControlPlaneLogComponents

func (o ManagedKubernetesOutput) ControlPlaneLogComponents() pulumi.StringArrayOutput

List of target components for which logs need to be collected. Supports `apiserver`, `kcm` and `scheduler`.

func (ManagedKubernetesOutput) ControlPlaneLogProject

func (o ManagedKubernetesOutput) ControlPlaneLogProject() pulumi.StringPtrOutput

Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.

func (ManagedKubernetesOutput) ControlPlaneLogTtl

func (o ManagedKubernetesOutput) ControlPlaneLogTtl() pulumi.StringPtrOutput

Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `controlPlaneLogTtl` and `controlPlaneLogComponents` must be specified.

func (ManagedKubernetesOutput) CpuPolicy deprecated

(Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.

Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'cpu_policy' to replace it

func (ManagedKubernetesOutput) CustomSan

Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).

func (ManagedKubernetesOutput) DeletionProtection

func (o ManagedKubernetesOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether to enable cluster deletion protection.

func (ManagedKubernetesOutput) ElementType

func (ManagedKubernetesOutput) ElementType() reflect.Type

func (ManagedKubernetesOutput) EnableRrsa

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 (ManagedKubernetesOutput) EnableSsh deprecated

(Optional) Enable login to the node through SSH. Default to `false`.

Deprecated: Field 'enable_ssh' has been deprecated from provider version 1.177.0.

func (ManagedKubernetesOutput) EncryptionProviderKey

func (o ManagedKubernetesOutput) EncryptionProviderKey() pulumi.StringPtrOutput

The disk encryption key.

func (ManagedKubernetesOutput) ExcludeAutoscalerNodes deprecated

func (o ManagedKubernetesOutput) ExcludeAutoscalerNodes() pulumi.BoolPtrOutput

(Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.

Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes

func (ManagedKubernetesOutput) ImageId deprecated

(Optional) Custom Image support. Must based on CentOS7 or AliyunLinux2.

Deprecated: Field 'image_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'image_id' to replace it

func (ManagedKubernetesOutput) InstallCloudMonitor deprecated

func (o ManagedKubernetesOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

(Optional) Install cloud monitor agent on ECS. Default to `true`.

Deprecated: Field 'install_cloud_monitor' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'install_cloud_monitor' to replace it

func (ManagedKubernetesOutput) IsEnterpriseSecurityGroup

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) KeyName deprecated

(Optional) The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.

Deprecated: Field 'key_name' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'key_name' to replace it

func (ManagedKubernetesOutput) KmsEncryptedPassword deprecated

func (o ManagedKubernetesOutput) KmsEncryptedPassword() pulumi.StringPtrOutput

(Optional, Available in 1.57.1+) An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.

Deprecated: Field 'kms_encrypted_password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encrypted_password' to replace it

func (ManagedKubernetesOutput) KmsEncryptionContext deprecated

func (o ManagedKubernetesOutput) KmsEncryptionContext() pulumi.MapOutput

(Optional, MapString, Available in 1.57.1+) 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.

Deprecated: Field 'kms_encryption_context' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encryption_context' to replace it

func (ManagedKubernetesOutput) KubeConfig deprecated

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 (ManagedKubernetesOutput) LoadBalancerSpec

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) MaintenanceWindow

The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. Detailed below.

func (ManagedKubernetesOutput) Name

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

func (ManagedKubernetesOutput) NamePrefix

func (ManagedKubernetesOutput) NatGatewayId

func (o ManagedKubernetesOutput) NatGatewayId() pulumi.StringOutput

The ID of nat gateway used to launch kubernetes cluster.

func (ManagedKubernetesOutput) NewNatGateway

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) NodeCidrMask

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) NodeNameMode deprecated

(Optional, Available in 1.88.0+) 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.

Deprecated: Field 'node_name_mode' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'node_name_mode' to replace it.

func (ManagedKubernetesOutput) NodePortRange deprecated

func (o ManagedKubernetesOutput) NodePortRange() pulumi.StringOutput

(Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.

Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.

func (ManagedKubernetesOutput) OsType deprecated

(Optional, ForceNew, Available in 1.103.2+) The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.

Deprecated: Field 'os_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.

func (ManagedKubernetesOutput) Password deprecated

(Optional, Sensitive) The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.

Deprecated: Field 'password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'password' to replace it

func (ManagedKubernetesOutput) Platform deprecated

(Optional, ForceNew, Available in 1.103.2+) The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.

Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'platform' to replace it.

func (ManagedKubernetesOutput) PodCidr

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

func (ManagedKubernetesOutput) PodVswitchIds

- [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `masterVswitchIds` but must be in same availability zones.

func (ManagedKubernetesOutput) ProxyMode

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

func (ManagedKubernetesOutput) RdsInstances deprecated

(Optional, Available in 1.103.2+) RDS instance list, You can choose which RDS instances whitelist to add instances to.

Deprecated: Field 'rds_instances' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'rds_instances' to replace it.

func (ManagedKubernetesOutput) ResourceGroupId

func (o ManagedKubernetesOutput) ResourceGroupId() pulumi.StringOutput

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

func (ManagedKubernetesOutput) RetainResources

func (o ManagedKubernetesOutput) RetainResources() pulumi.StringArrayOutput

func (ManagedKubernetesOutput) RrsaMetadata

(Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.

func (ManagedKubernetesOutput) Runtime deprecated

(Optional, Available in 1.103.2+) 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). Detailed below.

Deprecated: Field 'runtime' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'runtime_name' and 'runtime_version' to replace it.

func (ManagedKubernetesOutput) SecurityGroupId

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) ServiceAccountIssuer

func (o ManagedKubernetesOutput) 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 (ManagedKubernetesOutput) ServiceCidr

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 (ManagedKubernetesOutput) SlbId deprecated

The ID of load balancer.

Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.

func (ManagedKubernetesOutput) SlbInternet

The public ip of load balancer.

func (ManagedKubernetesOutput) SlbInternetEnabled

func (o ManagedKubernetesOutput) SlbInternetEnabled() pulumi.BoolPtrOutput

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

func (ManagedKubernetesOutput) SlbIntranet

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

func (ManagedKubernetesOutput) Tags

Default nil, A map of tags assigned to the kubernetes cluster and work nodes. Detailed below.

func (ManagedKubernetesOutput) Taints deprecated

(Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.

Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'taints' to replace it.

func (ManagedKubernetesOutput) Timezone

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 (ManagedKubernetesOutput) ToManagedKubernetesOutput

func (o ManagedKubernetesOutput) ToManagedKubernetesOutput() ManagedKubernetesOutput

func (ManagedKubernetesOutput) ToManagedKubernetesOutputWithContext

func (o ManagedKubernetesOutput) ToManagedKubernetesOutputWithContext(ctx context.Context) ManagedKubernetesOutput

func (ManagedKubernetesOutput) UserCa

The path of customized CA cert, you can use this CA to sign client certs to connect your cluster.

func (ManagedKubernetesOutput) UserData deprecated

(Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).

Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'user_data' to replace it.

func (ManagedKubernetesOutput) Version

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 (ManagedKubernetesOutput) VpcId

The ID of VPC where the current cluster is located.

func (ManagedKubernetesOutput) WorkerAutoRenew deprecated

func (o ManagedKubernetesOutput) WorkerAutoRenew() pulumi.BoolPtrOutput

(Optional) Enable worker payment auto-renew, defaults to false.

Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew' to replace it

func (ManagedKubernetesOutput) WorkerAutoRenewPeriod deprecated

func (o ManagedKubernetesOutput) WorkerAutoRenewPeriod() pulumi.IntOutput

Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.

Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew_period' to replace it

func (ManagedKubernetesOutput) WorkerDataDiskCategory deprecated

func (o ManagedKubernetesOutput) WorkerDataDiskCategory() pulumi.StringPtrOutput

The data disk category of worker, use `workerDataDisks` to instead it.

Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.category' to replace it

func (ManagedKubernetesOutput) WorkerDataDiskSize deprecated

func (o ManagedKubernetesOutput) WorkerDataDiskSize() pulumi.IntPtrOutput

The data disk size of worker, use `workerDataDisks` to instead it.

Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.size' to replace it

func (ManagedKubernetesOutput) WorkerDataDisks deprecated

(Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.

Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks' to replace it

func (ManagedKubernetesOutput) WorkerDiskCategory deprecated

func (o ManagedKubernetesOutput) WorkerDiskCategory() pulumi.StringPtrOutput

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

Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_category' to replace it.

func (ManagedKubernetesOutput) WorkerDiskPerformanceLevel deprecated

func (o ManagedKubernetesOutput) WorkerDiskPerformanceLevel() pulumi.StringPtrOutput

(Optional, Available in 1.120.0+) 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`.

Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_performance_level' to replace it

func (ManagedKubernetesOutput) WorkerDiskSize deprecated

func (o ManagedKubernetesOutput) WorkerDiskSize() pulumi.IntOutput

(Optional) The system disk size of worker node. Its valid value range [40~500] in GB.

Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_size' to replace it.

func (ManagedKubernetesOutput) WorkerDiskSnapshotPolicyId deprecated

func (o ManagedKubernetesOutput) WorkerDiskSnapshotPolicyId() pulumi.StringPtrOutput

(Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.

Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_snapshot_policy_id' to replace it

func (ManagedKubernetesOutput) WorkerInstanceChargeType deprecated

func (o ManagedKubernetesOutput) WorkerInstanceChargeType() pulumi.StringOutput

(Optional) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.

Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_charge_type' to replace it

func (ManagedKubernetesOutput) WorkerInstanceTypes deprecated

func (o ManagedKubernetesOutput) WorkerInstanceTypes() pulumi.StringArrayOutput

(Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.

Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_types' to replace it.

func (ManagedKubernetesOutput) WorkerNodes deprecated

(Deprecated from version 1.177.0) List of cluster worker nodes.

Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.

func (ManagedKubernetesOutput) WorkerNumber deprecated

func (o ManagedKubernetesOutput) WorkerNumber() pulumi.IntPtrOutput

(Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.

Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes., by using field 'desired_size' to replace it.

func (ManagedKubernetesOutput) WorkerPeriod deprecated

func (o ManagedKubernetesOutput) WorkerPeriod() pulumi.IntOutput

(Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.

Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period' to replace it

func (ManagedKubernetesOutput) WorkerPeriodUnit deprecated

func (o ManagedKubernetesOutput) WorkerPeriodUnit() pulumi.StringOutput

(Optional) Worker payment period unit, the valid value is `Month`.

Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period_unit' to replace it

func (ManagedKubernetesOutput) WorkerRamRoleName

func (o ManagedKubernetesOutput) WorkerRamRoleName() pulumi.StringOutput

The RamRole Name attached to worker node.

func (ManagedKubernetesOutput) WorkerVswitchIds

func (o ManagedKubernetesOutput) WorkerVswitchIds() pulumi.StringArrayOutput

The vswitches used by control plane.

type ManagedKubernetesRrsaMetadata

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

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

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutput

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutput() ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutputWithContext

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutput

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutputWithContext

func (i ManagedKubernetesRrsaMetadataArgs) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesRrsaMetadataInput

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

type ManagedKubernetesRrsaMetadataOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRrsaMetadataOutput) ElementType

func (ManagedKubernetesRrsaMetadataOutput) Enabled

Whether the RRSA feature has been enabled.

func (ManagedKubernetesRrsaMetadataOutput) RamOidcProviderArn

The arn of OIDC provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataOutput) RamOidcProviderName

The name of OIDC Provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataOutput) RrsaOidcIssuerUrl

The issuer URL of RRSA OIDC Token.

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutput

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutput() ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutputWithContext

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutput

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext

func (o ManagedKubernetesRrsaMetadataOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesRrsaMetadataPtrInput

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

type ManagedKubernetesRrsaMetadataPtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRrsaMetadataPtrOutput) Elem

func (ManagedKubernetesRrsaMetadataPtrOutput) ElementType

func (ManagedKubernetesRrsaMetadataPtrOutput) Enabled

Whether the RRSA feature has been enabled.

func (ManagedKubernetesRrsaMetadataPtrOutput) RamOidcProviderArn

The arn of OIDC provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataPtrOutput) RamOidcProviderName

The name of OIDC Provider that was registered in RAM.

func (ManagedKubernetesRrsaMetadataPtrOutput) RrsaOidcIssuerUrl

The issuer URL of RRSA OIDC Token.

func (ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutput

func (o ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutput() ManagedKubernetesRrsaMetadataPtrOutput

func (ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext

func (o ManagedKubernetesRrsaMetadataPtrOutput) ToManagedKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ManagedKubernetesRrsaMetadataPtrOutput

type ManagedKubernetesRuntime

type ManagedKubernetesRuntime struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// 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 *string `pulumi:"version"`
}

type ManagedKubernetesRuntimeArgs

type ManagedKubernetesRuntimeArgs struct {
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// 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 `pulumi:"version"`
}

func (ManagedKubernetesRuntimeArgs) ElementType

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutput

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutput() ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutputWithContext

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutputWithContext(ctx context.Context) ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutput

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutputWithContext

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutputWithContext(ctx context.Context) ManagedKubernetesRuntimePtrOutput

type ManagedKubernetesRuntimeInput

type ManagedKubernetesRuntimeInput interface {
	pulumi.Input

	ToManagedKubernetesRuntimeOutput() ManagedKubernetesRuntimeOutput
	ToManagedKubernetesRuntimeOutputWithContext(context.Context) ManagedKubernetesRuntimeOutput
}

ManagedKubernetesRuntimeInput is an input type that accepts ManagedKubernetesRuntimeArgs and ManagedKubernetesRuntimeOutput values. You can construct a concrete instance of `ManagedKubernetesRuntimeInput` via:

ManagedKubernetesRuntimeArgs{...}

type ManagedKubernetesRuntimeOutput

type ManagedKubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRuntimeOutput) ElementType

func (ManagedKubernetesRuntimeOutput) Name

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

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutput

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutput() ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutputWithContext

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutputWithContext(ctx context.Context) ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutput

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutputWithContext

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutputWithContext(ctx context.Context) ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimeOutput) Version

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.

type ManagedKubernetesRuntimePtrInput

type ManagedKubernetesRuntimePtrInput interface {
	pulumi.Input

	ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput
	ToManagedKubernetesRuntimePtrOutputWithContext(context.Context) ManagedKubernetesRuntimePtrOutput
}

ManagedKubernetesRuntimePtrInput is an input type that accepts ManagedKubernetesRuntimeArgs, ManagedKubernetesRuntimePtr and ManagedKubernetesRuntimePtrOutput values. You can construct a concrete instance of `ManagedKubernetesRuntimePtrInput` via:

        ManagedKubernetesRuntimeArgs{...}

or:

        nil

type ManagedKubernetesRuntimePtrOutput

type ManagedKubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRuntimePtrOutput) Elem

func (ManagedKubernetesRuntimePtrOutput) ElementType

func (ManagedKubernetesRuntimePtrOutput) Name

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

func (ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutput

func (o ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutputWithContext

func (o ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutputWithContext(ctx context.Context) ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimePtrOutput) Version

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.

type ManagedKubernetesState

type ManagedKubernetesState struct {
	// The addon you want to install in cluster.
	Addons ManagedKubernetesAddonArrayInput
	// 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 Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone.
	AvailabilityZone pulumi.StringPtrInput
	// (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
	CertificateAuthority ManagedKubernetesCertificateAuthorityPtrInput
	// 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
	// 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
	// The cluster specifications of kubernetes cluster,which can be empty. Valid values:
	// * ack.standard : Standard managed clusters.
	// * ack.pro.small : Professional managed clusters.
	ClusterSpec pulumi.StringPtrInput
	// Map of kubernetes cluster connection information.
	Connections ManagedKubernetesConnectionsPtrInput
	// List of target components for which logs need to be collected. Supports `apiserver`, `kcm` and `scheduler`.
	ControlPlaneLogComponents pulumi.StringArrayInput
	// Control plane log project. If this field is not set, a log service project named k8s-log-{ClusterID} will be automatically created.
	ControlPlaneLogProject pulumi.StringPtrInput
	// Control plane log retention duration (unit: day). Default `30`. If control plane logs are to be collected, `controlPlaneLogTtl` and `controlPlaneLogComponents` must be specified.
	ControlPlaneLogTtl pulumi.StringPtrInput
	// (Optional) Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	//
	// Deprecated: Field 'cpu_policy' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'cpu_policy' to replace it
	CpuPolicy pulumi.StringPtrInput
	// Customize the certificate SAN, multiple IP or domain names are separated by English commas (,).
	CustomSan pulumi.StringPtrInput
	// Whether to enable cluster 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
	// (Optional) Enable login to the node through SSH. Default to `false`.
	//
	// Deprecated: Field 'enable_ssh' has been deprecated from provider version 1.177.0.
	EnableSsh pulumi.BoolPtrInput
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrInput
	// (Optional, Available in 1.88.0+) Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes
	ExcludeAutoscalerNodes pulumi.BoolPtrInput
	// (Optional) Custom Image support. Must based on CentOS7 or AliyunLinux2.
	//
	// Deprecated: Field 'image_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'image_id' to replace it
	ImageId pulumi.StringPtrInput
	// (Optional) Install cloud monitor agent on ECS. Default to `true`.
	//
	// Deprecated: Field 'install_cloud_monitor' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'install_cloud_monitor' to replace it
	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
	// (Optional) The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'key_name' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'key_name' to replace it
	KeyName pulumi.StringPtrInput
	// (Optional, Available in 1.57.1+) An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	//
	// Deprecated: Field 'kms_encrypted_password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encrypted_password' to replace it
	KmsEncryptedPassword pulumi.StringPtrInput
	// (Optional, MapString, Available in 1.57.1+) 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.
	//
	// Deprecated: Field 'kms_encryption_context' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'kms_encryption_context' to replace it
	KmsEncryptionContext pulumi.MapInput
	// 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.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
	// The cluster maintenance window,effective only in the professional managed cluster. Managed node pool will use it. Detailed below.
	MaintenanceWindow ManagedKubernetesMaintenanceWindowPtrInput
	// 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
	// (Optional, Available in 1.88.0+) 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.
	//
	// Deprecated: Field 'node_name_mode' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'node_name_mode' to replace it.
	NodeNameMode pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	NodePortRange pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The operating system of the nodes that run pods, its valid value is either `Linux` or `Windows`. Default to `Linux`.
	//
	// Deprecated: Field 'os_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	OsType pulumi.StringPtrInput
	// (Optional, Sensitive) The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. From ersion 1.109.1, It is not necessary in the professional managed cluster.
	//
	// Deprecated: Field 'password' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'password' to replace it
	Password pulumi.StringPtrInput
	// (Optional, ForceNew, Available in 1.103.2+) The architecture of the nodes that run pods, its valid value is either `CentOS` or `AliyunLinux`. Default to `CentOS`.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'platform' to replace it.
	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.Be careful the `podVswitchIds` can not equal to `workerVswitchIds` or `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
	// (Optional, Available in 1.103.2+) RDS instance list, You can choose which RDS instances whitelist to add instances to.
	//
	// Deprecated: Field 'rds_instances' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'rds_instances' to replace it.
	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
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	RrsaMetadata ManagedKubernetesRrsaMetadataPtrInput
	// (Optional, Available in 1.103.2+) 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). Detailed below.
	//
	// Deprecated: Field 'runtime' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'runtime_name' and 'runtime_version' to replace it.
	Runtime ManagedKubernetesRuntimePtrInput
	// 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 load balancer.
	//
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId 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 nodes. Detailed below.
	Tags pulumi.MapInput
	// (Optional, Available in 1.103.2+) Taints ensure pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. For more information, see [Taints and Tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/). Detailed below.
	//
	// Deprecated: Field 'taints' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'taints' to replace it.
	Taints ManagedKubernetesTaintArrayInput
	// 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
	// (Optional, Available in 1.81.0+) Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	//
	// Deprecated: Field 'user_data' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'user_data' to replace it.
	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
	// (Optional) Enable worker payment auto-renew, defaults to false.
	//
	// Deprecated: Field 'worker_auto_renew' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew' to replace it
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period, it can be one of {1, 2, 3, 6, 12}.
	//
	// Deprecated: Field 'worker_auto_renew_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'auto_renew_period' to replace it
	WorkerAutoRenewPeriod pulumi.IntPtrInput
	// The data disk category of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.category' to replace it
	WorkerDataDiskCategory pulumi.StringPtrInput
	// The data disk size of worker, use `workerDataDisks` to instead it.
	//
	// Deprecated: Field 'worker_data_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks.size' to replace it
	WorkerDataDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.91.0+) The data disk configurations of worker nodes, such as the disk type and disk size.
	//
	// Deprecated: Field 'worker_data_disks' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'data_disks' to replace it
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput
	// (Optional) The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	//
	// Deprecated: Field 'worker_disk_category' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_category' to replace it.
	WorkerDiskCategory pulumi.StringPtrInput
	// (Optional, Available in 1.120.0+) 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`.
	//
	// Deprecated: Field 'worker_disk_performance_level' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_performance_level' to replace it
	WorkerDiskPerformanceLevel pulumi.StringPtrInput
	// (Optional) The system disk size of worker node. Its valid value range [40~500] in GB.
	//
	// Deprecated: Field 'worker_disk_size' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_size' to replace it.
	WorkerDiskSize pulumi.IntPtrInput
	// (Optional, Available in 1.120.0+) Worker node system disk auto snapshot policy.
	//
	// Deprecated: Field 'worker_disk_snapshot_policy_id' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'system_disk_snapshot_policy_id' to replace it
	WorkerDiskSnapshotPolicyId pulumi.StringPtrInput
	// (Optional) Worker payment type, its valid value is either or `PostPaid` or `PrePaid`. Defaults to `PostPaid`. If value is `PrePaid`, the files `workerPeriod`, `workerPeriodUnit`, `workerAutoRenew` and `workerAutoRenewPeriod` are required, default is `PostPaid`.
	//
	// Deprecated: Field 'worker_instance_charge_type' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_charge_type' to replace it
	WorkerInstanceChargeType pulumi.StringPtrInput
	// (Optional) The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_instance_types' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'instance_types' to replace it.
	WorkerInstanceTypes pulumi.StringArrayInput
	// (Deprecated from version 1.177.0) List of cluster worker nodes.
	//
	// Deprecated: Field 'worker_nodes' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes.
	WorkerNodes ManagedKubernetesWorkerNodeArrayInput
	// (Optional) The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. From version 1.109.1, It is not necessary in the professional managed cluster, but it is necessary in other types of clusters.
	//
	// Deprecated: Field 'worker_number' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes., by using field 'desired_size' to replace it.
	WorkerNumber pulumi.IntPtrInput
	// (Optional) Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	//
	// Deprecated: Field 'worker_period' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period' to replace it
	WorkerPeriod pulumi.IntPtrInput
	// (Optional) Worker payment period unit, the valid value is `Month`.
	//
	// Deprecated: Field 'worker_period_unit' has been deprecated from provider version 1.177.0. Please use resource 'alicloud_cs_kubernetes_node_pool' to manage cluster nodes, by using field 'period_unit' to replace it
	WorkerPeriodUnit pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	// The vswitches used by control plane.
	WorkerVswitchIds pulumi.StringArrayInput
}

func (ManagedKubernetesState) ElementType

func (ManagedKubernetesState) ElementType() reflect.Type

type ManagedKubernetesTaint

type ManagedKubernetesTaint struct {
	Effect *string `pulumi:"effect"`
	Key    *string `pulumi:"key"`
	Value  *string `pulumi:"value"`
}

type ManagedKubernetesTaintArgs

type ManagedKubernetesTaintArgs struct {
	Effect pulumi.StringPtrInput `pulumi:"effect"`
	Key    pulumi.StringPtrInput `pulumi:"key"`
	Value  pulumi.StringPtrInput `pulumi:"value"`
}

func (ManagedKubernetesTaintArgs) ElementType

func (ManagedKubernetesTaintArgs) ElementType() reflect.Type

func (ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutput

func (i ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutput() ManagedKubernetesTaintOutput

func (ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutputWithContext

func (i ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutputWithContext(ctx context.Context) ManagedKubernetesTaintOutput

type ManagedKubernetesTaintArray

type ManagedKubernetesTaintArray []ManagedKubernetesTaintInput

func (ManagedKubernetesTaintArray) ElementType

func (ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutput

func (i ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutput() ManagedKubernetesTaintArrayOutput

func (ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutputWithContext

func (i ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutputWithContext(ctx context.Context) ManagedKubernetesTaintArrayOutput

type ManagedKubernetesTaintArrayInput

type ManagedKubernetesTaintArrayInput interface {
	pulumi.Input

	ToManagedKubernetesTaintArrayOutput() ManagedKubernetesTaintArrayOutput
	ToManagedKubernetesTaintArrayOutputWithContext(context.Context) ManagedKubernetesTaintArrayOutput
}

ManagedKubernetesTaintArrayInput is an input type that accepts ManagedKubernetesTaintArray and ManagedKubernetesTaintArrayOutput values. You can construct a concrete instance of `ManagedKubernetesTaintArrayInput` via:

ManagedKubernetesTaintArray{ ManagedKubernetesTaintArgs{...} }

type ManagedKubernetesTaintArrayOutput

type ManagedKubernetesTaintArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesTaintArrayOutput) ElementType

func (ManagedKubernetesTaintArrayOutput) Index

func (ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutput

func (o ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutput() ManagedKubernetesTaintArrayOutput

func (ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutputWithContext

func (o ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutputWithContext(ctx context.Context) ManagedKubernetesTaintArrayOutput

type ManagedKubernetesTaintInput

type ManagedKubernetesTaintInput interface {
	pulumi.Input

	ToManagedKubernetesTaintOutput() ManagedKubernetesTaintOutput
	ToManagedKubernetesTaintOutputWithContext(context.Context) ManagedKubernetesTaintOutput
}

ManagedKubernetesTaintInput is an input type that accepts ManagedKubernetesTaintArgs and ManagedKubernetesTaintOutput values. You can construct a concrete instance of `ManagedKubernetesTaintInput` via:

ManagedKubernetesTaintArgs{...}

type ManagedKubernetesTaintOutput

type ManagedKubernetesTaintOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesTaintOutput) Effect

func (ManagedKubernetesTaintOutput) ElementType

func (ManagedKubernetesTaintOutput) Key

func (ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutput

func (o ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutput() ManagedKubernetesTaintOutput

func (ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutputWithContext

func (o ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutputWithContext(ctx context.Context) ManagedKubernetesTaintOutput

func (ManagedKubernetesTaintOutput) Value

type ManagedKubernetesWorkerDataDisk

type ManagedKubernetesWorkerDataDisk struct {
	// (Optional, Available in 1.120.0+) 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"`
	Device   *string `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default to `false`.
	Encrypted *string `pulumi:"encrypted"`
	KmsKeyId  *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name *string `pulumi:"name"`
	// (Optional, Available in 1.120.0+) 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"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type ManagedKubernetesWorkerDataDiskArgs

type ManagedKubernetesWorkerDataDiskArgs struct {
	// (Optional, Available in 1.120.0+) 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"`
	Device   pulumi.StringPtrInput `pulumi:"device"`
	// Specifies whether to encrypt data disks. Valid values: true and false. Default to `false`.
	Encrypted pulumi.StringPtrInput `pulumi:"encrypted"`
	KmsKeyId  pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// (Optional, Available in 1.120.0+) 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"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ManagedKubernetesWorkerDataDiskArgs) ElementType

func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput

func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput

func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext

func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput

type ManagedKubernetesWorkerDataDiskArray

type ManagedKubernetesWorkerDataDiskArray []ManagedKubernetesWorkerDataDiskInput

func (ManagedKubernetesWorkerDataDiskArray) ElementType

func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput

func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput

func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext

func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput

type ManagedKubernetesWorkerDataDiskArrayInput

type ManagedKubernetesWorkerDataDiskArrayInput interface {
	pulumi.Input

	ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput
	ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(context.Context) ManagedKubernetesWorkerDataDiskArrayOutput
}

ManagedKubernetesWorkerDataDiskArrayInput is an input type that accepts ManagedKubernetesWorkerDataDiskArray and ManagedKubernetesWorkerDataDiskArrayOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerDataDiskArrayInput` via:

ManagedKubernetesWorkerDataDiskArray{ ManagedKubernetesWorkerDataDiskArgs{...} }

type ManagedKubernetesWorkerDataDiskArrayOutput

type ManagedKubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerDataDiskArrayOutput) ElementType

func (ManagedKubernetesWorkerDataDiskArrayOutput) Index

func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput

func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput

func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext

func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput

type ManagedKubernetesWorkerDataDiskInput

type ManagedKubernetesWorkerDataDiskInput interface {
	pulumi.Input

	ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput
	ToManagedKubernetesWorkerDataDiskOutputWithContext(context.Context) ManagedKubernetesWorkerDataDiskOutput
}

ManagedKubernetesWorkerDataDiskInput is an input type that accepts ManagedKubernetesWorkerDataDiskArgs and ManagedKubernetesWorkerDataDiskOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerDataDiskInput` via:

ManagedKubernetesWorkerDataDiskArgs{...}

type ManagedKubernetesWorkerDataDiskOutput

type ManagedKubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId

(Optional, Available in 1.120.0+) Worker node data disk auto snapshot policy.

func (ManagedKubernetesWorkerDataDiskOutput) Category

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

func (ManagedKubernetesWorkerDataDiskOutput) Device

func (ManagedKubernetesWorkerDataDiskOutput) ElementType

func (ManagedKubernetesWorkerDataDiskOutput) Encrypted

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

func (ManagedKubernetesWorkerDataDiskOutput) KmsKeyId

func (ManagedKubernetesWorkerDataDiskOutput) Name

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

func (ManagedKubernetesWorkerDataDiskOutput) PerformanceLevel

(Optional, Available in 1.120.0+) 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 (ManagedKubernetesWorkerDataDiskOutput) Size

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

func (ManagedKubernetesWorkerDataDiskOutput) SnapshotId

func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput

func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput

func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext

func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput

type ManagedKubernetesWorkerNode

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

type ManagedKubernetesWorkerNodeArgs

type ManagedKubernetesWorkerNodeArgs struct {
	// (Deprecated from version 1.177.0) 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"`
	// (Deprecated from version 1.177.0) The private IP address of node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
}

func (ManagedKubernetesWorkerNodeArgs) ElementType

func (ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutput

func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput

func (ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutputWithContext

func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput

type ManagedKubernetesWorkerNodeArray

type ManagedKubernetesWorkerNodeArray []ManagedKubernetesWorkerNodeInput

func (ManagedKubernetesWorkerNodeArray) ElementType

func (ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutput

func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput

func (ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutputWithContext

func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput

type ManagedKubernetesWorkerNodeArrayInput

type ManagedKubernetesWorkerNodeArrayInput interface {
	pulumi.Input

	ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput
	ToManagedKubernetesWorkerNodeArrayOutputWithContext(context.Context) ManagedKubernetesWorkerNodeArrayOutput
}

ManagedKubernetesWorkerNodeArrayInput is an input type that accepts ManagedKubernetesWorkerNodeArray and ManagedKubernetesWorkerNodeArrayOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerNodeArrayInput` via:

ManagedKubernetesWorkerNodeArray{ ManagedKubernetesWorkerNodeArgs{...} }

type ManagedKubernetesWorkerNodeArrayOutput

type ManagedKubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerNodeArrayOutput) ElementType

func (ManagedKubernetesWorkerNodeArrayOutput) Index

func (ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutput

func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput

func (ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutputWithContext

func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput

type ManagedKubernetesWorkerNodeInput

type ManagedKubernetesWorkerNodeInput interface {
	pulumi.Input

	ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput
	ToManagedKubernetesWorkerNodeOutputWithContext(context.Context) ManagedKubernetesWorkerNodeOutput
}

ManagedKubernetesWorkerNodeInput is an input type that accepts ManagedKubernetesWorkerNodeArgs and ManagedKubernetesWorkerNodeOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerNodeInput` via:

ManagedKubernetesWorkerNodeArgs{...}

type ManagedKubernetesWorkerNodeOutput

type ManagedKubernetesWorkerNodeOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerNodeOutput) ElementType

func (ManagedKubernetesWorkerNodeOutput) Id

(Deprecated from version 1.177.0) ID of the node.

func (ManagedKubernetesWorkerNodeOutput) Name

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

func (ManagedKubernetesWorkerNodeOutput) PrivateIp

(Deprecated from version 1.177.0) The private IP address of node.

func (ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutput

func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput

func (ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutputWithContext

func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput

type NodePool

type NodePool struct {
	pulumi.CustomResourceState

	// Enable Node payment auto-renew, default is `false`.
	AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"`
	// Node payment auto-renew period, one of `1`, `2`, `3`,`6`, `12`.
	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. See [CIS Reinforcement](https://help.aliyun.com/document_detail/223744.html).
	CisEnabled pulumi.BoolPtrOutput `pulumi:"cisEnabled"`
	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none` and modification is not supported.
	CpuPolicy pulumi.StringPtrOutput `pulumi:"cpuPolicy"`
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	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.StringOutput `pulumi:"deploymentSetId"`
	// The desired size of nodes of the node pool. From version 1.158.0, `desiredSize` is not required.
	DesiredSize pulumi.IntOutput `pulumi:"desiredSize"`
	// 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"`
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The image type, instead of `platform`. This field cannot be modified. One of `AliyunLinux`, `AliyunLinux3`, `AliyunLinux3Arm64`, `AliyunLinuxUEFI`, `CentOS`, `Windows`,`WindowsCore`,`AliyunLinux Qboot`,`ContainerOS`. If you select `Windows` or `WindowsCore`, the `passord` is required.
	ImageType pulumi.StringOutput `pulumi:"imageType"`
	// Install the cloud monitoring plug-in on the node, and you can view the monitoring information of the instance through the cloud monitoring console. Default is `true`.
	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"`
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"`
	// The instance list. Add existing nodes under the same cluster VPC to the node pool.
	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.StringOutput `pulumi:"internetChargeType"`
	// The maximum outbound bandwidth for the public network. Unit: Mbit/s. Valid values: 0 to 100.
	InternetMaxBandwidthOut pulumi.IntOutput `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 keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Only `keyName` is supported in the management node pool.
	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. Detailed below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/).
	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/).
	Labels NodePoolLabelArrayOutput `pulumi:"labels"`
	// Managed node pool configuration. When using a managed node pool, the node key must use `keyName`. Detailed below.
	Management NodePoolManagementPtrOutput `pulumi:"management"`
	// The name of node pool.
	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, 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 password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	Period pulumi.IntPtrOutput `pulumi:"period"`
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"`
	// The platform. One of `AliyunLinux`, `Windows`, `CentOS`, `WindowsCore`. If you select `Windows` or `WindowsCore`, the `passord` is required. Field `platform` has been deprecated from provider version 1.145.0. New field `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. New field 'image_type' instead
	Platform pulumi.StringOutput `pulumi:"platform"`
	// PolarDB id list, You can choose which PolarDB whitelist to add instances to.
	PolardbIds pulumi.StringArrayOutput `pulumi:"polardbIds"`
	// 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"`
	// Rolling policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating.
	RollingPolicy NodePoolRollingPolicyPtrOutput `pulumi:"rollingPolicy"`
	// Rollout policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating. Please use `rollingPolicy` to instead it from provider version 1.185.0.
	//
	// Deprecated: Field 'rollout_policy' has been deprecated from provider version 1.184.0. Please use new field 'rolling_policy' instead it to ensure the config takes effect
	RolloutPolicy NodePoolRolloutPolicyPtrOutput `pulumi:"rolloutPolicy"`
	// 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"`
	// Auto scaling node pool configuration. For more details, see `scalingConfig`. With auto-scaling is enabled, the nodes in the node pool will be labeled with `k8s.aliyun.com=true` to prevent system pods such as coredns, metrics-servers from being scheduled to elastic nodes, and to prevent node shrinkage from causing business abnormalities.
	ScalingConfig NodePoolScalingConfigPtrOutput `pulumi:"scalingConfig"`
	// (Available in 1.105.0+) Id of the Scaling Group.
	ScalingGroupId pulumi.StringOutput `pulumi:"scalingGroupId"`
	// The scaling mode. Valid values: `release`, `recycle`, default is `release`. Standard mode(release): Create and release ECS instances based on requests.Swift mode(recycle): Create, stop, and restart ECS instances based on needs. New ECS instances are only created when no stopped ECS instance is avalible. This mode further accelerates the scaling process. Apart from ECS instances that use local storage, when an ECS instance is stopped, you are only chatged for storage space.
	ScalingPolicy pulumi.StringOutput `pulumi:"scalingPolicy"`
	// The security group id for worker node. Field `securityGroupId` has been deprecated from provider version 1.145.0. New field `securityGroupIds` instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. New field 'security_group_ids' 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"`
	// 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 `cisEnabled` and `socEnabled` to `true`at the same time.
	SocEnabled pulumi.BoolPtrOutput `pulumi:"socEnabled"`
	// The maximum hourly price of the instance. This parameter takes effect only when `spotStrategy` is set to `SpotWithPriceLimit`. You could enable multiple spot instances by setting this field repeatedly.
	SpotPriceLimits NodePoolSpotPriceLimitArrayOutput `pulumi:"spotPriceLimits"`
	// The preemption policy for the pay-as-you-go instance. This parameter takes effect only when `instanceChargeType` is set to `PostPaid`. Valid value `SpotWithPriceLimit`,`SpotAsPriceGo` and `NoSpot`, default is `NoSpot`.
	SpotStrategy pulumi.StringOutput `pulumi:"spotStrategy"`
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency` and `cloudEssd`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrOutput `pulumi:"systemDiskCategory"`
	// The encryption Algorithm for Encrypting System Disk. It takes effect when systemDiskEncrypted is true. Valid values `aes-256` and `sm4-128`.
	SystemDiskEncryptAlgorithm pulumi.StringPtrOutput `pulumi:"systemDiskEncryptAlgorithm"`
	// Whether to enable system disk encryption.
	SystemDiskEncrypted pulumi.BoolPtrOutput `pulumi:"systemDiskEncrypted"`
	// The kms key id used to encrypt the system disk. It takes effect when systemDiskEncrypted is true.
	SystemDiskKmsKey pulumi.StringPtrOutput `pulumi:"systemDiskKmsKey"`
	// The performance of system disk, only valid for ESSD disk. You have to specify one of `PL0` `PL1` `PL2` `PL3` fields.
	SystemDiskPerformanceLevel pulumi.StringPtrOutput `pulumi:"systemDiskPerformanceLevel"`
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"`
	// The system disk snapshot policy id.
	SystemDiskSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"systemDiskSnapshotPolicyId"`
	// A Map of tags to assign to the resource. It will be applied for ECS instances finally. Detailed below.
	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/).
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
	// Set the newly added node as unschedulable. If you want to open the scheduling option, you can open it in the node list of the console. If you are using an auto-scaling node pool, the setting will not take effect. Default is `false`.
	Unschedulable pulumi.BoolPtrOutput `pulumi:"unschedulable"`
	// 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"`
	// The VPC of the nodes in the node pool.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

## Example Usage

The managed cluster configuration,

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf-test"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			AvailabilityZone:   pulumi.StringRef(defaultZones.Zones[0].Id),
			CpuCoreCount:       pulumi.IntRef(2),
			MemorySize:         pulumi.Float64Ref(4),
			KubernetesNodeRole: pulumi.StringRef("Worker"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.1.0.0/21"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("10.1.1.0/24"),
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = ecs.NewKeyPair(ctx, "defaultKeyPair", &ecs.KeyPairArgs{
			KeyPairName: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		var defaultManagedKubernetes []*cs.ManagedKubernetes
		for key0, _ := range 1 == true {
			__res, err := cs.NewManagedKubernetes(ctx, fmt.Sprintf("defaultManagedKubernetes-%v", key0), &cs.ManagedKubernetesArgs{
				ClusterSpec:               pulumi.String("ack.pro.small"),
				IsEnterpriseSecurityGroup: pulumi.Bool(true),
				PodCidr:                   pulumi.String("172.20.0.0/16"),
				ServiceCidr:               pulumi.String("172.21.0.0/20"),
				WorkerVswitchIds: pulumi.StringArray{
					defaultSwitch.ID(),
				},
			})
			if err != nil {
				return err
			}
			defaultManagedKubernetes = append(defaultManagedKubernetes, __res)
		}
		return nil
	})
}

```

Create a node pool.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			DesiredSize:        pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

The parameter `nodeCount` are deprecated from version 1.158.0,but it can still works. If you want to use the new parameter `desiredSize` instead, you can update it as follows. for more information of `desiredSize`, visit [Modify the expected number of nodes in a node pool](https://www.alibabacloud.com/help/en/doc-detail/160490.html#title-mpp-3jj-oo3).

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			DesiredSize:        pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a managed node pool. If you need to enable maintenance window, you need to set the maintenance window in `cs.ManagedKubernetes`.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			DesiredSize:        pulumi.Int(1),
			Management: &cs.NodePoolManagementArgs{
				AutoRepair:     pulumi.Bool(true),
				AutoUpgrade:    pulumi.Bool(true),
				Surge:          pulumi.Int(1),
				MaxUnavailable: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Enable automatic scaling for the node pool. `scalingConfig` is required.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			ScalingConfig: &cs.NodePoolScalingConfigArgs{
				MinSize: pulumi.Int(1),
				MaxSize: pulumi.Int(10),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Enable automatic scaling for managed node pool.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			Management: &cs.NodePoolManagementArgs{
				AutoRepair:     pulumi.Bool(true),
				AutoUpgrade:    pulumi.Bool(true),
				Surge:          pulumi.Int(1),
				MaxUnavailable: pulumi.Int(1),
			},
			ScalingConfig: &cs.NodePoolScalingConfigArgs{
				MinSize: pulumi.Int(1),
				MaxSize: pulumi.Int(10),
				Type:    pulumi.String("cpu"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			alicloud_cs_autoscaling_config.Default,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a `PrePaid` node pool. ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory:  pulumi.String("cloud_efficiency"),
			SystemDiskSize:      pulumi.Int(40),
			KeyName:             pulumi.Any(alicloud_key_pair.Default.Key_name),
			InstanceChargeType:  pulumi.String("PrePaid"),
			Period:              pulumi.Int(1),
			PeriodUnit:          pulumi.String("Month"),
			AutoRenew:           pulumi.Bool(true),
			AutoRenewPeriod:     pulumi.Int(1),
			InstallCloudMonitor: pulumi.Bool(true),
			ScalingConfig: &cs.NodePoolScalingConfigArgs{
				MinSize: pulumi.Int(1),
				MaxSize: pulumi.Int(10),
				Type:    pulumi.String("cpu"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a node pool with spot instance. ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			DesiredSize:        pulumi.Int(1),
			SpotStrategy:       pulumi.String("SpotWithPriceLimit"),
			SpotPriceLimits: cs.NodePoolSpotPriceLimitArray{
				&cs.NodePoolSpotPriceLimitArgs{
					InstanceType: pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
					PriceLimit:   pulumi.String("0.70"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Use Spot instances to create a node pool with auto-scaling enabled ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			KeyName:            pulumi.Any(alicloud_key_pair.Default.Key_name),
			ScalingConfig: &cs.NodePoolScalingConfigArgs{
				MinSize: pulumi.Int(1),
				MaxSize: pulumi.Int(10),
				Type:    pulumi.String("spot"),
			},
			SpotStrategy: pulumi.String("SpotWithPriceLimit"),
			SpotPriceLimits: cs.NodePoolSpotPriceLimitArray{
				&cs.NodePoolSpotPriceLimitArgs{
					InstanceType: pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
					PriceLimit:   pulumi.String("0.70"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a node pool with platform as Windows ```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			InstanceChargeType: pulumi.String("PostPaid"),
			DesiredSize:        pulumi.Int(1),
			Password:           pulumi.String("Hello1234"),
			Platform:           pulumi.String("Windows"),
			ImageId:            pulumi.Any(window_image_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Add an existing node to the node pool

In order to distinguish automatically created nodes, it is recommended that existing nodes be placed separately in a node pool for management.

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			InstanceChargeType: pulumi.String("PostPaid"),
			Instances: pulumi.StringArray{
				pulumi.String("instance_id_01"),
				pulumi.String("instance_id_02"),
				pulumi.String("instance_id_03"),
			},
			FormatDisk:       pulumi.Bool(false),
			KeepInstanceName: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Create a node pool with customized kubelet parameters ```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewNodePool(ctx, "default", &cs.NodePoolArgs{
			ClusterId: pulumi.Any(alicloud_cs_managed_kubernetes.Default[0].Id),
			VswitchIds: pulumi.StringArray{
				pulumi.Any(alicloud_vswitch.Default.Id),
			},
			InstanceTypes: pulumi.StringArray{
				pulumi.Any(data.Alicloud_instance_types.Default.Instance_types[0].Id),
			},
			SystemDiskCategory: pulumi.String("cloud_efficiency"),
			SystemDiskSize:     pulumi.Int(40),
			InstanceChargeType: pulumi.String("PostPaid"),
			DesiredSize:        pulumi.Int(3),
			KubeletConfiguration: &cs.NodePoolKubeletConfigurationArgs{
				RegistryPullQps: pulumi.String("10"),
				RegistryBurst:   pulumi.String("5"),
				EventRecordQps:  pulumi.String("10"),
				EventBurst:      pulumi.String("5"),
				EvictionHard: pulumi.AnyMap{
					"memory.available":            pulumi.Any("1024Mi"),
					"nodefs.available":            pulumi.Any(fmt.Sprintf("10%v", "%")),
					"nodefs.inodesFree":           pulumi.Any("1000"),
					"imagefs.available":           pulumi.Any(fmt.Sprintf("10%v", "%")),
					"imagefs.inodesFree":          pulumi.Any("1000"),
					"allocatableMemory.available": pulumi.Any("2048"),
					"pid.available":               pulumi.Any("1000"),
				},
				SystemReserved: pulumi.AnyMap{
					"cpu":               pulumi.Any("1"),
					"memory":            pulumi.Any("1Gi"),
					"ephemeral-storage": pulumi.Any("10Gi"),
				},
				KubeReserved: pulumi.AnyMap{
					"cpu":    pulumi.Any("500m"),
					"memory": pulumi.Any("1Gi"),
				},
			},
			RollingPolicy: &cs.NodePoolRollingPolicyArgs{
				MaxParallelism: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cluster nodepool can be imported using the id, e.g. Then complete the nodepool.tf accords to the result of `terraform plan`.

```sh

$ pulumi import alicloud:cs/nodePool:NodePool custom_nodepool cluster_id:nodepool_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 {
	// Enable Node payment auto-renew, default is `false`.
	AutoRenew pulumi.BoolPtrInput
	// Node payment auto-renew period, one of `1`, `2`, `3`,`6`, `12`.
	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. See [CIS Reinforcement](https://help.aliyun.com/document_detail/223744.html).
	CisEnabled pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none` and modification is not supported.
	CpuPolicy pulumi.StringPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	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
	// The desired size of nodes of the node pool. From version 1.158.0, `desiredSize` is not required.
	DesiredSize pulumi.IntPtrInput
	// 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
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// The image type, instead of `platform`. This field cannot be modified. One of `AliyunLinux`, `AliyunLinux3`, `AliyunLinux3Arm64`, `AliyunLinuxUEFI`, `CentOS`, `Windows`,`WindowsCore`,`AliyunLinux Qboot`,`ContainerOS`. If you select `Windows` or `WindowsCore`, the `passord` is required.
	ImageType pulumi.StringPtrInput
	// Install the cloud monitoring plug-in on the node, and you can view the monitoring information of the instance through the cloud monitoring console. Default is `true`.
	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
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayInput
	// The instance list. Add existing nodes under the same cluster VPC to the node pool.
	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 outbound bandwidth for the public network. Unit: Mbit/s. Valid values: 0 to 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 keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Only `keyName` is supported in the management node pool.
	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. Detailed below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/).
	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/).
	Labels NodePoolLabelArrayInput
	// Managed node pool configuration. When using a managed node pool, the node key must use `keyName`. Detailed below.
	Management NodePoolManagementPtrInput
	// The name of node pool.
	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, 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 password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	Period pulumi.IntPtrInput
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// The platform. One of `AliyunLinux`, `Windows`, `CentOS`, `WindowsCore`. If you select `Windows` or `WindowsCore`, the `passord` is required. Field `platform` has been deprecated from provider version 1.145.0. New field `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. New field 'image_type' instead
	Platform pulumi.StringPtrInput
	// PolarDB id list, You can choose which PolarDB whitelist to add instances to.
	PolardbIds pulumi.StringArrayInput
	// 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
	// Rolling policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating.
	RollingPolicy NodePoolRollingPolicyPtrInput
	// Rollout policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating. Please use `rollingPolicy` to instead it from provider version 1.185.0.
	//
	// Deprecated: Field 'rollout_policy' has been deprecated from provider version 1.184.0. Please use new field 'rolling_policy' instead it to ensure the config takes effect
	RolloutPolicy NodePoolRolloutPolicyPtrInput
	// 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
	// Auto scaling node pool configuration. For more details, see `scalingConfig`. With auto-scaling is enabled, the nodes in the node pool will be labeled with `k8s.aliyun.com=true` to prevent system pods such as coredns, metrics-servers from being scheduled to elastic nodes, and to prevent node shrinkage from causing business abnormalities.
	ScalingConfig NodePoolScalingConfigPtrInput
	// The scaling mode. Valid values: `release`, `recycle`, default is `release`. Standard mode(release): Create and release ECS instances based on requests.Swift mode(recycle): Create, stop, and restart ECS instances based on needs. New ECS instances are only created when no stopped ECS instance is avalible. This mode further accelerates the scaling process. Apart from ECS instances that use local storage, when an ECS instance is stopped, you are only chatged for storage space.
	ScalingPolicy pulumi.StringPtrInput
	// The security group id for worker node. Field `securityGroupId` has been deprecated from provider version 1.145.0. New field `securityGroupIds` instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. New field 'security_group_ids' 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
	// 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 `cisEnabled` and `socEnabled` to `true`at the same time.
	SocEnabled pulumi.BoolPtrInput
	// The maximum hourly price of the instance. This parameter takes effect only when `spotStrategy` is set to `SpotWithPriceLimit`. You could enable multiple spot instances by setting this field repeatedly.
	SpotPriceLimits NodePoolSpotPriceLimitArrayInput
	// The preemption policy for the pay-as-you-go instance. This parameter takes effect only when `instanceChargeType` is set to `PostPaid`. Valid value `SpotWithPriceLimit`,`SpotAsPriceGo` and `NoSpot`, default is `NoSpot`.
	SpotStrategy pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency` and `cloudEssd`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The encryption Algorithm for Encrypting System Disk. It takes effect when systemDiskEncrypted is true. Valid values `aes-256` and `sm4-128`.
	SystemDiskEncryptAlgorithm pulumi.StringPtrInput
	// Whether to enable system disk encryption.
	SystemDiskEncrypted pulumi.BoolPtrInput
	// The kms key id used to encrypt the system disk. It takes effect when systemDiskEncrypted is true.
	SystemDiskKmsKey pulumi.StringPtrInput
	// The performance of system disk, only valid for ESSD disk. You have to specify one of `PL0` `PL1` `PL2` `PL3` fields.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrInput
	// The system disk snapshot policy id.
	SystemDiskSnapshotPolicyId pulumi.StringPtrInput
	// A Map of tags to assign to the resource. It will be applied for ECS instances finally. Detailed below.
	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/).
	Taints NodePoolTaintArrayInput
	// Set the newly added node as unschedulable. If you want to open the scheduling option, you can open it in the node list of the console. If you are using an auto-scaling node pool, the setting will not take effect. Default is `false`.
	Unschedulable pulumi.BoolPtrInput
	// 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
	// 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 {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	// The type of the data disks. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd` and `cloudEssd`.
	Category *string `pulumi:"category"`
	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 name of node pool.
	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, Its valid value range [40~32768] in GB. Default to `40`.
	Size       *int    `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type NodePoolDataDiskArgs

type NodePoolDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	// The type of the data disks. Valid values:`cloud`, `cloudEfficiency`, `cloudSsd` and `cloudEssd`.
	Category pulumi.StringPtrInput `pulumi:"category"`
	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 name of node pool.
	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, Its valid value range [40~32768] in GB. Default to `40`.
	Size       pulumi.IntPtrInput    `pulumi:"size"`
	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

func (NodePoolDataDiskOutput) Category

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

func (NodePoolDataDiskOutput) Device

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 name of node pool.

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) Size

The size of a data disk, Its valid value range [40~32768] in GB. Default to `40`.

func (NodePoolDataDiskOutput) SnapshotId

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

type NodePoolKubeletConfiguration struct {
	// 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"`
	// 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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.
	KubeReserved map[string]interface{} `pulumi:"kubeReserved"`
	// 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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.
	SystemReserved map[string]interface{} `pulumi:"systemReserved"`
}

type NodePoolKubeletConfigurationArgs

type NodePoolKubeletConfigurationArgs struct {
	// 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"`
	// 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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.
	KubeReserved pulumi.MapInput `pulumi:"kubeReserved"`
	// 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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.
	SystemReserved pulumi.MapInput `pulumi:"systemReserved"`
}

func (NodePoolKubeletConfigurationArgs) ElementType

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutput

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutput() NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutputWithContext

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutput

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutputWithContext

func (i NodePoolKubeletConfigurationArgs) ToNodePoolKubeletConfigurationPtrOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationPtrOutput

type NodePoolKubeletConfigurationInput

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

type NodePoolKubeletConfigurationOutput struct{ *pulumi.OutputState }

func (NodePoolKubeletConfigurationOutput) CpuManagerPolicy

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

func (NodePoolKubeletConfigurationOutput) EventBurst

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

Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationOutput) EvictionHard

Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationOutput) EvictionSoft

Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationOutput) EvictionSoftGracePeriod

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) KubeApiBurst

Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationOutput) KubeApiQps

Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationOutput) KubeReserved

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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.

func (NodePoolKubeletConfigurationOutput) RegistryBurst

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

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

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

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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutput

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutput() NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutputWithContext

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutput

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext

func (o NodePoolKubeletConfigurationOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext(ctx context.Context) NodePoolKubeletConfigurationPtrOutput

type NodePoolKubeletConfigurationPtrInput

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

type NodePoolKubeletConfigurationPtrOutput

type NodePoolKubeletConfigurationPtrOutput struct{ *pulumi.OutputState }

func (NodePoolKubeletConfigurationPtrOutput) CpuManagerPolicy

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

func (NodePoolKubeletConfigurationPtrOutput) ElementType

func (NodePoolKubeletConfigurationPtrOutput) EventBurst

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

Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionHard

Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionSoft

Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.

func (NodePoolKubeletConfigurationPtrOutput) EvictionSoftGracePeriod

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) KubeApiBurst

Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.

func (NodePoolKubeletConfigurationPtrOutput) KubeApiQps

Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.

func (NodePoolKubeletConfigurationPtrOutput) KubeReserved

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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.

func (NodePoolKubeletConfigurationPtrOutput) RegistryBurst

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

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

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

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](http://kubernetes.io/docs/user-guide/compute-resources) for more details.

func (NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutput

func (o NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutput() NodePoolKubeletConfigurationPtrOutput

func (NodePoolKubeletConfigurationPtrOutput) ToNodePoolKubeletConfigurationPtrOutputWithContext

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 automatic repair, Default to `false`.
	AutoRepair *bool `pulumi:"autoRepair"`
	// Whether auto upgrade, Default to `false`.
	AutoUpgrade *bool `pulumi:"autoUpgrade"`
	// Max number of unavailable nodes. Default to `1`.
	MaxUnavailable int `pulumi:"maxUnavailable"`
	// 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.
	SurgePercentage *int `pulumi:"surgePercentage"`
}

type NodePoolManagementArgs

type NodePoolManagementArgs struct {
	// Whether automatic repair, Default to `false`.
	AutoRepair pulumi.BoolPtrInput `pulumi:"autoRepair"`
	// Whether auto upgrade, Default to `false`.
	AutoUpgrade pulumi.BoolPtrInput `pulumi:"autoUpgrade"`
	// Max number of unavailable nodes. Default to `1`.
	MaxUnavailable pulumi.IntInput `pulumi:"maxUnavailable"`
	// 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.
	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 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 automatic repair, Default to `false`.

func (NodePoolManagementOutput) AutoUpgrade

Whether auto upgrade, Default to `false`.

func (NodePoolManagementOutput) ElementType

func (NodePoolManagementOutput) ElementType() reflect.Type

func (NodePoolManagementOutput) MaxUnavailable

func (o NodePoolManagementOutput) MaxUnavailable() pulumi.IntOutput

Max number of unavailable nodes. Default to `1`.

func (NodePoolManagementOutput) Surge

Number of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementOutput) SurgePercentage

func (o NodePoolManagementOutput) SurgePercentage() pulumi.IntPtrOutput

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 automatic repair, Default to `false`.

func (NodePoolManagementPtrOutput) AutoUpgrade

Whether auto upgrade, Default to `false`.

func (NodePoolManagementPtrOutput) Elem

func (NodePoolManagementPtrOutput) ElementType

func (NodePoolManagementPtrOutput) MaxUnavailable

func (o NodePoolManagementPtrOutput) MaxUnavailable() pulumi.IntPtrOutput

Max number of unavailable nodes. Default to `1`.

func (NodePoolManagementPtrOutput) Surge

Number of additional nodes. You have to specify one of surge, surge_percentage.

func (NodePoolManagementPtrOutput) SurgePercentage

func (o NodePoolManagementPtrOutput) SurgePercentage() pulumi.IntPtrOutput

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

func (o NodePoolOutput) AutoRenew() pulumi.BoolPtrOutput

Enable Node payment auto-renew, default is `false`.

func (NodePoolOutput) AutoRenewPeriod

func (o NodePoolOutput) AutoRenewPeriod() pulumi.IntPtrOutput

Node payment auto-renew period, one of `1`, `2`, `3`,`6`, `12`.

func (NodePoolOutput) CisEnabled

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. See [CIS Reinforcement](https://help.aliyun.com/document_detail/223744.html).

func (NodePoolOutput) ClusterId

func (o NodePoolOutput) ClusterId() pulumi.StringOutput

The id of kubernetes cluster.

func (NodePoolOutput) CpuPolicy

func (o NodePoolOutput) CpuPolicy() pulumi.StringPtrOutput

Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none` and modification is not supported.

func (NodePoolOutput) DataDisks

The data disk configurations of worker nodes, such as the disk type and disk size.

func (NodePoolOutput) DeploymentSetId

func (o NodePoolOutput) DeploymentSetId() pulumi.StringOutput

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

func (o NodePoolOutput) DesiredSize() pulumi.IntOutput

The desired size of nodes of the node pool. From version 1.158.0, `desiredSize` is not required.

func (NodePoolOutput) ElementType

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) FormatDisk

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

func (o NodePoolOutput) ImageId() pulumi.StringOutput

Custom Image support. Must based on CentOS7 or AliyunLinux2.

func (NodePoolOutput) ImageType

func (o NodePoolOutput) ImageType() pulumi.StringOutput

The image type, instead of `platform`. This field cannot be modified. One of `AliyunLinux`, `AliyunLinux3`, `AliyunLinux3Arm64`, `AliyunLinuxUEFI`, `CentOS`, `Windows`,`WindowsCore`,`AliyunLinux Qboot`,`ContainerOS`. If you select `Windows` or `WindowsCore`, the `passord` is required.

func (NodePoolOutput) InstallCloudMonitor

func (o NodePoolOutput) InstallCloudMonitor() pulumi.BoolPtrOutput

Install the cloud monitoring plug-in on the node, and you can view the monitoring information of the instance through the cloud monitoring console. Default is `true`.

func (NodePoolOutput) InstanceChargeType

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

func (o NodePoolOutput) InstanceTypes() pulumi.StringArrayOutput

The instance type of worker node.

func (NodePoolOutput) Instances

func (o NodePoolOutput) Instances() pulumi.StringArrayOutput

The instance list. Add existing nodes under the same cluster VPC to the node pool.

func (NodePoolOutput) InternetChargeType

func (o NodePoolOutput) InternetChargeType() pulumi.StringOutput

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

func (o NodePoolOutput) InternetMaxBandwidthOut() pulumi.IntOutput

The maximum outbound bandwidth for the public network. Unit: Mbit/s. Valid values: 0 to 100.

func (NodePoolOutput) KeepInstanceName

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

The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Only `keyName` is supported in the management node pool.

func (NodePoolOutput) KmsEncryptedPassword

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

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

func (o NodePoolOutput) KubeletConfiguration() NodePoolKubeletConfigurationPtrOutput

Kubelet configuration parameters for worker nodes. Detailed below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/).

func (NodePoolOutput) Labels

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/).

func (NodePoolOutput) Management

Managed node pool configuration. When using a managed node pool, the node key must use `keyName`. Detailed below.

func (NodePoolOutput) Name

The name of node pool.

func (NodePoolOutput) NodeCount deprecated

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

func (o NodePoolOutput) 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 (NodePoolOutput) Password

func (o NodePoolOutput) Password() pulumi.StringPtrOutput

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

func (NodePoolOutput) Period

func (o NodePoolOutput) Period() pulumi.IntPtrOutput

Node payment period. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.

func (NodePoolOutput) PeriodUnit

func (o NodePoolOutput) PeriodUnit() pulumi.StringPtrOutput

Node payment period unit, valid value: `Month`. Default is `Month`.

func (NodePoolOutput) Platform deprecated

func (o NodePoolOutput) Platform() pulumi.StringOutput

The platform. One of `AliyunLinux`, `Windows`, `CentOS`, `WindowsCore`. If you select `Windows` or `WindowsCore`, the `passord` is required. Field `platform` has been deprecated from provider version 1.145.0. New field `imageType` instead.

Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. New field 'image_type' instead

func (NodePoolOutput) PolardbIds

func (o NodePoolOutput) PolardbIds() pulumi.StringArrayOutput

PolarDB id list, You can choose which PolarDB whitelist to add instances to.

func (NodePoolOutput) RdsInstances

func (o NodePoolOutput) RdsInstances() pulumi.StringArrayOutput

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

func (NodePoolOutput) ResourceGroupId

func (o NodePoolOutput) ResourceGroupId() pulumi.StringOutput

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

func (NodePoolOutput) RollingPolicy

Rolling policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating.

func (NodePoolOutput) RolloutPolicy deprecated

Rollout policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating. Please use `rollingPolicy` to instead it from provider version 1.185.0.

Deprecated: Field 'rollout_policy' has been deprecated from provider version 1.184.0. Please use new field 'rolling_policy' instead it to ensure the config takes effect

func (NodePoolOutput) RuntimeName

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

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

Auto scaling node pool configuration. For more details, see `scalingConfig`. With auto-scaling is enabled, the nodes in the node pool will be labeled with `k8s.aliyun.com=true` to prevent system pods such as coredns, metrics-servers from being scheduled to elastic nodes, and to prevent node shrinkage from causing business abnormalities.

func (NodePoolOutput) ScalingGroupId

func (o NodePoolOutput) ScalingGroupId() pulumi.StringOutput

(Available in 1.105.0+) Id of the Scaling Group.

func (NodePoolOutput) ScalingPolicy

func (o NodePoolOutput) ScalingPolicy() pulumi.StringOutput

The scaling mode. Valid values: `release`, `recycle`, default is `release`. Standard mode(release): Create and release ECS instances based on requests.Swift mode(recycle): Create, stop, and restart ECS instances based on needs. New ECS instances are only created when no stopped ECS instance is avalible. This mode further accelerates the scaling process. Apart from ECS instances that use local storage, when an ECS instance is stopped, you are only chatged for storage space.

func (NodePoolOutput) SecurityGroupId deprecated

func (o NodePoolOutput) SecurityGroupId() pulumi.StringOutput

The security group id for worker node. Field `securityGroupId` has been deprecated from provider version 1.145.0. New field `securityGroupIds` instead.

Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. New field 'security_group_ids' instead

func (NodePoolOutput) SecurityGroupIds

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) SocEnabled

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 `cisEnabled` and `socEnabled` to `true`at the same time.

func (NodePoolOutput) SpotPriceLimits

The maximum hourly price of the instance. This parameter takes effect only when `spotStrategy` is set to `SpotWithPriceLimit`. You could enable multiple spot instances by setting this field repeatedly.

func (NodePoolOutput) SpotStrategy

func (o NodePoolOutput) SpotStrategy() pulumi.StringOutput

The preemption policy for the pay-as-you-go instance. This parameter takes effect only when `instanceChargeType` is set to `PostPaid`. Valid value `SpotWithPriceLimit`,`SpotAsPriceGo` and `NoSpot`, default is `NoSpot`.

func (NodePoolOutput) SystemDiskCategory

func (o NodePoolOutput) SystemDiskCategory() pulumi.StringPtrOutput

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

func (NodePoolOutput) SystemDiskEncryptAlgorithm

func (o NodePoolOutput) SystemDiskEncryptAlgorithm() pulumi.StringPtrOutput

The encryption Algorithm for Encrypting System Disk. It takes effect when systemDiskEncrypted is true. Valid values `aes-256` and `sm4-128`.

func (NodePoolOutput) SystemDiskEncrypted

func (o NodePoolOutput) SystemDiskEncrypted() pulumi.BoolPtrOutput

Whether to enable system disk encryption.

func (NodePoolOutput) SystemDiskKmsKey

func (o NodePoolOutput) SystemDiskKmsKey() pulumi.StringPtrOutput

The kms key id used to encrypt the system disk. It takes effect when systemDiskEncrypted is true.

func (NodePoolOutput) SystemDiskPerformanceLevel

func (o NodePoolOutput) SystemDiskPerformanceLevel() pulumi.StringPtrOutput

The performance of system disk, only valid for ESSD disk. You have to specify one of `PL0` `PL1` `PL2` `PL3` fields.

func (NodePoolOutput) SystemDiskSize

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

func (o NodePoolOutput) SystemDiskSnapshotPolicyId() pulumi.StringPtrOutput

The system disk snapshot policy id.

func (NodePoolOutput) Tags

func (o NodePoolOutput) Tags() pulumi.MapOutput

A Map of tags to assign to the resource. It will be applied for ECS instances finally. Detailed below.

func (NodePoolOutput) Taints

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/).

func (NodePoolOutput) ToNodePoolOutput

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext

func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

func (NodePoolOutput) Unschedulable

func (o NodePoolOutput) Unschedulable() pulumi.BoolPtrOutput

Set the newly added node as unschedulable. If you want to open the scheduling option, you can open it in the node list of the console. If you are using an auto-scaling node pool, the setting will not take effect. Default is `false`.

func (NodePoolOutput) UserData

func (o NodePoolOutput) UserData() pulumi.StringPtrOutput

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 (NodePoolOutput) VpcId

The VPC of the nodes in the node pool.

func (NodePoolOutput) VswitchIds

func (o NodePoolOutput) VswitchIds() pulumi.StringArrayOutput

The vswitches used by node pool workers.

type NodePoolRollingPolicy

type NodePoolRollingPolicy struct {
	// Maximum parallel number nodes during rolling upgrade. The value of this field should be greater than `0`, and if it's set to a number less than or equal to `0`, the default setting will be used.
	MaxParallelism *int `pulumi:"maxParallelism"`
}

type NodePoolRollingPolicyArgs

type NodePoolRollingPolicyArgs struct {
	// Maximum parallel number nodes during rolling upgrade. The value of this field should be greater than `0`, and if it's set to a number less than or equal to `0`, the default setting will be used.
	MaxParallelism pulumi.IntPtrInput `pulumi:"maxParallelism"`
}

func (NodePoolRollingPolicyArgs) ElementType

func (NodePoolRollingPolicyArgs) ElementType() reflect.Type

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutput

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutput() NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutputWithContext

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyOutputWithContext(ctx context.Context) NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutput

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutputWithContext

func (i NodePoolRollingPolicyArgs) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolRollingPolicyInput

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

type NodePoolRollingPolicyOutput struct{ *pulumi.OutputState }

func (NodePoolRollingPolicyOutput) ElementType

func (NodePoolRollingPolicyOutput) MaxParallelism

func (o NodePoolRollingPolicyOutput) MaxParallelism() pulumi.IntPtrOutput

Maximum parallel number nodes during rolling upgrade. The value of this field should be greater than `0`, and if it's set to a number less than or equal to `0`, the default setting will be used.

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutput

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutput() NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutputWithContext

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyOutputWithContext(ctx context.Context) NodePoolRollingPolicyOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutput

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutputWithContext

func (o NodePoolRollingPolicyOutput) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolRollingPolicyPtrInput

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

type NodePoolRollingPolicyPtrOutput

type NodePoolRollingPolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolRollingPolicyPtrOutput) Elem

func (NodePoolRollingPolicyPtrOutput) ElementType

func (NodePoolRollingPolicyPtrOutput) MaxParallelism

Maximum parallel number nodes during rolling upgrade. The value of this field should be greater than `0`, and if it's set to a number less than or equal to `0`, the default setting will be used.

func (NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutput

func (o NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutput() NodePoolRollingPolicyPtrOutput

func (NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutputWithContext

func (o NodePoolRollingPolicyPtrOutput) ToNodePoolRollingPolicyPtrOutputWithContext(ctx context.Context) NodePoolRollingPolicyPtrOutput

type NodePoolRolloutPolicy

type NodePoolRolloutPolicy struct {
	// Max number of unavailable nodes. Default to `1`.
	MaxUnavailable *int `pulumi:"maxUnavailable"`
}

type NodePoolRolloutPolicyArgs

type NodePoolRolloutPolicyArgs struct {
	// Max number of unavailable nodes. Default to `1`.
	MaxUnavailable pulumi.IntPtrInput `pulumi:"maxUnavailable"`
}

func (NodePoolRolloutPolicyArgs) ElementType

func (NodePoolRolloutPolicyArgs) ElementType() reflect.Type

func (NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyOutput

func (i NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyOutput() NodePoolRolloutPolicyOutput

func (NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyOutputWithContext

func (i NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyOutputWithContext(ctx context.Context) NodePoolRolloutPolicyOutput

func (NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyPtrOutput

func (i NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyPtrOutput() NodePoolRolloutPolicyPtrOutput

func (NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyPtrOutputWithContext

func (i NodePoolRolloutPolicyArgs) ToNodePoolRolloutPolicyPtrOutputWithContext(ctx context.Context) NodePoolRolloutPolicyPtrOutput

type NodePoolRolloutPolicyInput

type NodePoolRolloutPolicyInput interface {
	pulumi.Input

	ToNodePoolRolloutPolicyOutput() NodePoolRolloutPolicyOutput
	ToNodePoolRolloutPolicyOutputWithContext(context.Context) NodePoolRolloutPolicyOutput
}

NodePoolRolloutPolicyInput is an input type that accepts NodePoolRolloutPolicyArgs and NodePoolRolloutPolicyOutput values. You can construct a concrete instance of `NodePoolRolloutPolicyInput` via:

NodePoolRolloutPolicyArgs{...}

type NodePoolRolloutPolicyOutput

type NodePoolRolloutPolicyOutput struct{ *pulumi.OutputState }

func (NodePoolRolloutPolicyOutput) ElementType

func (NodePoolRolloutPolicyOutput) MaxUnavailable

func (o NodePoolRolloutPolicyOutput) MaxUnavailable() pulumi.IntPtrOutput

Max number of unavailable nodes. Default to `1`.

func (NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyOutput

func (o NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyOutput() NodePoolRolloutPolicyOutput

func (NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyOutputWithContext

func (o NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyOutputWithContext(ctx context.Context) NodePoolRolloutPolicyOutput

func (NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyPtrOutput

func (o NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyPtrOutput() NodePoolRolloutPolicyPtrOutput

func (NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyPtrOutputWithContext

func (o NodePoolRolloutPolicyOutput) ToNodePoolRolloutPolicyPtrOutputWithContext(ctx context.Context) NodePoolRolloutPolicyPtrOutput

type NodePoolRolloutPolicyPtrInput

type NodePoolRolloutPolicyPtrInput interface {
	pulumi.Input

	ToNodePoolRolloutPolicyPtrOutput() NodePoolRolloutPolicyPtrOutput
	ToNodePoolRolloutPolicyPtrOutputWithContext(context.Context) NodePoolRolloutPolicyPtrOutput
}

NodePoolRolloutPolicyPtrInput is an input type that accepts NodePoolRolloutPolicyArgs, NodePoolRolloutPolicyPtr and NodePoolRolloutPolicyPtrOutput values. You can construct a concrete instance of `NodePoolRolloutPolicyPtrInput` via:

        NodePoolRolloutPolicyArgs{...}

or:

        nil

type NodePoolRolloutPolicyPtrOutput

type NodePoolRolloutPolicyPtrOutput struct{ *pulumi.OutputState }

func (NodePoolRolloutPolicyPtrOutput) Elem

func (NodePoolRolloutPolicyPtrOutput) ElementType

func (NodePoolRolloutPolicyPtrOutput) MaxUnavailable

Max number of unavailable nodes. Default to `1`.

func (NodePoolRolloutPolicyPtrOutput) ToNodePoolRolloutPolicyPtrOutput

func (o NodePoolRolloutPolicyPtrOutput) ToNodePoolRolloutPolicyPtrOutput() NodePoolRolloutPolicyPtrOutput

func (NodePoolRolloutPolicyPtrOutput) ToNodePoolRolloutPolicyPtrOutputWithContext

func (o NodePoolRolloutPolicyPtrOutput) ToNodePoolRolloutPolicyPtrOutputWithContext(ctx context.Context) NodePoolRolloutPolicyPtrOutput

type NodePoolScalingConfig

type NodePoolScalingConfig struct {
	// Peak EIP bandwidth. Its valid value range [1~500] in Mbps. Default to `5`.
	EipBandwidth *int `pulumi:"eipBandwidth"`
	// EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. Conflict with `internetChargeType`, EIP and public network IP can only choose one.
	EipInternetChargeType *string `pulumi:"eipInternetChargeType"`
	// 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. Default to `5`.
	EipBandwidth pulumi.IntPtrInput `pulumi:"eipBandwidth"`
	// EIP billing type. `PayByBandwidth`: Charged at fixed bandwidth. `PayByTraffic`: Billed as used traffic. Default: `PayByBandwidth`. Conflict with `internetChargeType`, EIP and public network IP can only choose one.
	EipInternetChargeType pulumi.StringPtrInput `pulumi:"eipInternetChargeType"`
	// 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.IntInput `pulumi:"maxSize"`
	// Min number of instances in a auto scaling group, its valid value range [0~1000].
	MinSize pulumi.IntInput `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. 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`. Conflict with `internetChargeType`, EIP and public network IP can only choose one.

func (NodePoolScalingConfigOutput) ElementType

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. 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`. Conflict with `internetChargeType`, EIP and public network IP can only choose one.

func (NodePoolScalingConfigPtrOutput) Elem

func (NodePoolScalingConfigPtrOutput) ElementType

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

type NodePoolSpotPriceLimit struct {
	// Spot instance type.
	InstanceType *string `pulumi:"instanceType"`
	// The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
	PriceLimit *string `pulumi:"priceLimit"`
}

type NodePoolSpotPriceLimitArgs

type NodePoolSpotPriceLimitArgs struct {
	// Spot instance type.
	InstanceType pulumi.StringPtrInput `pulumi:"instanceType"`
	// The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.
	PriceLimit pulumi.StringPtrInput `pulumi:"priceLimit"`
}

func (NodePoolSpotPriceLimitArgs) ElementType

func (NodePoolSpotPriceLimitArgs) ElementType() reflect.Type

func (NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutput

func (i NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutput() NodePoolSpotPriceLimitOutput

func (NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutputWithContext

func (i NodePoolSpotPriceLimitArgs) ToNodePoolSpotPriceLimitOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitOutput

type NodePoolSpotPriceLimitArray

type NodePoolSpotPriceLimitArray []NodePoolSpotPriceLimitInput

func (NodePoolSpotPriceLimitArray) ElementType

func (NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutput

func (i NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutput() NodePoolSpotPriceLimitArrayOutput

func (NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutputWithContext

func (i NodePoolSpotPriceLimitArray) ToNodePoolSpotPriceLimitArrayOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitArrayOutput

type NodePoolSpotPriceLimitArrayInput

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

type NodePoolSpotPriceLimitArrayOutput struct{ *pulumi.OutputState }

func (NodePoolSpotPriceLimitArrayOutput) ElementType

func (NodePoolSpotPriceLimitArrayOutput) Index

func (NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutput

func (o NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutput() NodePoolSpotPriceLimitArrayOutput

func (NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutputWithContext

func (o NodePoolSpotPriceLimitArrayOutput) ToNodePoolSpotPriceLimitArrayOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitArrayOutput

type NodePoolSpotPriceLimitInput

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

type NodePoolSpotPriceLimitOutput struct{ *pulumi.OutputState }

func (NodePoolSpotPriceLimitOutput) ElementType

func (NodePoolSpotPriceLimitOutput) InstanceType

Spot instance type.

func (NodePoolSpotPriceLimitOutput) PriceLimit

The maximum hourly price of the spot instance. A maximum of three decimal places are allowed.

func (NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutput

func (o NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutput() NodePoolSpotPriceLimitOutput

func (NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutputWithContext

func (o NodePoolSpotPriceLimitOutput) ToNodePoolSpotPriceLimitOutputWithContext(ctx context.Context) NodePoolSpotPriceLimitOutput

type NodePoolState

type NodePoolState struct {
	// Enable Node payment auto-renew, default is `false`.
	AutoRenew pulumi.BoolPtrInput
	// Node payment auto-renew period, one of `1`, `2`, `3`,`6`, `12`.
	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. See [CIS Reinforcement](https://help.aliyun.com/document_detail/223744.html).
	CisEnabled pulumi.BoolPtrInput
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none` and modification is not supported.
	CpuPolicy pulumi.StringPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	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
	// The desired size of nodes of the node pool. From version 1.158.0, `desiredSize` is not required.
	DesiredSize pulumi.IntPtrInput
	// 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
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// The image type, instead of `platform`. This field cannot be modified. One of `AliyunLinux`, `AliyunLinux3`, `AliyunLinux3Arm64`, `AliyunLinuxUEFI`, `CentOS`, `Windows`,`WindowsCore`,`AliyunLinux Qboot`,`ContainerOS`. If you select `Windows` or `WindowsCore`, the `passord` is required.
	ImageType pulumi.StringPtrInput
	// Install the cloud monitoring plug-in on the node, and you can view the monitoring information of the instance through the cloud monitoring console. Default is `true`.
	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
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayInput
	// The instance list. Add existing nodes under the same cluster VPC to the node pool.
	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 outbound bandwidth for the public network. Unit: Mbit/s. Valid values: 0 to 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 keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Only `keyName` is supported in the management node pool.
	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. Detailed below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/).
	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/).
	Labels NodePoolLabelArrayInput
	// Managed node pool configuration. When using a managed node pool, the node key must use `keyName`. Detailed below.
	Management NodePoolManagementPtrInput
	// The name of node pool.
	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, 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 password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// Node payment period. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	Period pulumi.IntPtrInput
	// Node payment period unit, valid value: `Month`. Default is `Month`.
	PeriodUnit pulumi.StringPtrInput
	// The platform. One of `AliyunLinux`, `Windows`, `CentOS`, `WindowsCore`. If you select `Windows` or `WindowsCore`, the `passord` is required. Field `platform` has been deprecated from provider version 1.145.0. New field `imageType` instead.
	//
	// Deprecated: Field 'platform' has been deprecated from provider version 1.145.0. New field 'image_type' instead
	Platform pulumi.StringPtrInput
	// PolarDB id list, You can choose which PolarDB whitelist to add instances to.
	PolardbIds pulumi.StringArrayInput
	// 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
	// Rolling policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating.
	RollingPolicy NodePoolRollingPolicyPtrInput
	// Rollout policy is used to specify the strategy when the node pool is rolling update. This field works when nodepool updating. Please use `rollingPolicy` to instead it from provider version 1.185.0.
	//
	// Deprecated: Field 'rollout_policy' has been deprecated from provider version 1.184.0. Please use new field 'rolling_policy' instead it to ensure the config takes effect
	RolloutPolicy NodePoolRolloutPolicyPtrInput
	// 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
	// Auto scaling node pool configuration. For more details, see `scalingConfig`. With auto-scaling is enabled, the nodes in the node pool will be labeled with `k8s.aliyun.com=true` to prevent system pods such as coredns, metrics-servers from being scheduled to elastic nodes, and to prevent node shrinkage from causing business abnormalities.
	ScalingConfig NodePoolScalingConfigPtrInput
	// (Available in 1.105.0+) Id of the Scaling Group.
	ScalingGroupId pulumi.StringPtrInput
	// The scaling mode. Valid values: `release`, `recycle`, default is `release`. Standard mode(release): Create and release ECS instances based on requests.Swift mode(recycle): Create, stop, and restart ECS instances based on needs. New ECS instances are only created when no stopped ECS instance is avalible. This mode further accelerates the scaling process. Apart from ECS instances that use local storage, when an ECS instance is stopped, you are only chatged for storage space.
	ScalingPolicy pulumi.StringPtrInput
	// The security group id for worker node. Field `securityGroupId` has been deprecated from provider version 1.145.0. New field `securityGroupIds` instead.
	//
	// Deprecated: Field 'security_group_id' has been deprecated from provider version 1.145.0. New field 'security_group_ids' 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
	// 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 `cisEnabled` and `socEnabled` to `true`at the same time.
	SocEnabled pulumi.BoolPtrInput
	// The maximum hourly price of the instance. This parameter takes effect only when `spotStrategy` is set to `SpotWithPriceLimit`. You could enable multiple spot instances by setting this field repeatedly.
	SpotPriceLimits NodePoolSpotPriceLimitArrayInput
	// The preemption policy for the pay-as-you-go instance. This parameter takes effect only when `instanceChargeType` is set to `PostPaid`. Valid value `SpotWithPriceLimit`,`SpotAsPriceGo` and `NoSpot`, default is `NoSpot`.
	SpotStrategy pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd`, `cloudEfficiency` and `cloudEssd`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The encryption Algorithm for Encrypting System Disk. It takes effect when systemDiskEncrypted is true. Valid values `aes-256` and `sm4-128`.
	SystemDiskEncryptAlgorithm pulumi.StringPtrInput
	// Whether to enable system disk encryption.
	SystemDiskEncrypted pulumi.BoolPtrInput
	// The kms key id used to encrypt the system disk. It takes effect when systemDiskEncrypted is true.
	SystemDiskKmsKey pulumi.StringPtrInput
	// The performance of system disk, only valid for ESSD disk. You have to specify one of `PL0` `PL1` `PL2` `PL3` fields.
	SystemDiskPerformanceLevel pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value range [40~500] in GB. Default to `120`.
	SystemDiskSize pulumi.IntPtrInput
	// The system disk snapshot policy id.
	SystemDiskSnapshotPolicyId pulumi.StringPtrInput
	// A Map of tags to assign to the resource. It will be applied for ECS instances finally. Detailed below.
	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/).
	Taints NodePoolTaintArrayInput
	// Set the newly added node as unschedulable. If you want to open the scheduling option, you can open it in the node list of the console. If you are using an auto-scaling node pool, the setting will not take effect. Default is `false`.
	Unschedulable pulumi.BoolPtrInput
	// 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
	// The VPC of the nodes in the node pool.
	VpcId 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 {
	Effect *string `pulumi:"effect"`
	// The label key.
	Key string `pulumi:"key"`
	// The label value.
	Value *string `pulumi:"value"`
}

type NodePoolTaintArgs

type NodePoolTaintArgs struct {
	Effect pulumi.StringPtrInput `pulumi:"effect"`
	// The label key.
	Key pulumi.StringInput `pulumi:"key"`
	// The label value.
	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

func (NodePoolTaintOutput) ElementType

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key

The label key.

func (NodePoolTaintOutput) ToNodePoolTaintOutput

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext

func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

func (NodePoolTaintOutput) Value

The label value.

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/doc-detail/145483.htm)

> **NOTE:** Available in 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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewRegistryEnterpriseNamespace(ctx, "my-namespace", &cs.RegistryEnterpriseNamespaceArgs{
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
			InstanceId:        pulumi.String("cri-xxx"),
		})
		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

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

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

func (RegistryEnterpriseNamespaceOutput) ElementType

func (RegistryEnterpriseNamespaceOutput) InstanceId

ID of Container Registry Enterprise Edition instance.

func (RegistryEnterpriseNamespaceOutput) Name

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/doc-detail/145291.htm)

> **NOTE:** Available in 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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/cs"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewRegistryEnterpriseNamespace(ctx, "my-namespace", &cs.RegistryEnterpriseNamespaceArgs{
			InstanceId:        pulumi.String("cri-xxx"),
			AutoCreate:        pulumi.Bool(false),
			DefaultVisibility: pulumi.String("PUBLIC"),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewRegistryEnterpriseRepo(ctx, "my-repo", &cs.RegistryEnterpriseRepoArgs{
			InstanceId: my_namespace.InstanceId,
			Namespace:  my_namespace.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

The repository specific information. MarkDown format is supported, and the length limit is 2000.

func (RegistryEnterpriseRepoOutput) ElementType

func (RegistryEnterpriseRepoOutput) InstanceId

ID of Container Registry Enterprise Edition instance.

func (RegistryEnterpriseRepoOutput) Name

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

func (RegistryEnterpriseRepoOutput) Namespace

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

func (RegistryEnterpriseRepoOutput) RepoId

The uuid of Container Registry Enterprise Edition repository.

func (RegistryEnterpriseRepoOutput) RepoType

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

func (RegistryEnterpriseRepoOutput) Summary

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/doc-detail/145280.htm)

> **NOTE:** Available in 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 (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewRegistryEnterpriseSyncRule(ctx, "default", &cs.RegistryEnterpriseSyncRuleArgs{
			InstanceId:          pulumi.String("my-source-instance-id"),
			NamespaceName:       pulumi.String("my-source-namespace"),
			RepoName:            pulumi.String("my-source-repo"),
			TagFilter:           pulumi.String(".*"),
			TargetInstanceId:    pulumi.String("my-target-instance-id"),
			TargetNamespaceName: pulumi.String("my-target-namespace"),
			TargetRegionId:      pulumi.String("cn-hangzhou"),
			TargetRepoName:      pulumi.String("my-target-repo"),
		})
		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

ID of Container Registry Enterprise Edition source instance.

func (RegistryEnterpriseSyncRuleOutput) Name

Name of Container Registry Enterprise Edition sync rule.

func (RegistryEnterpriseSyncRuleOutput) NamespaceName

Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters.

func (RegistryEnterpriseSyncRuleOutput) RepoName

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

The uuid of Container Registry Enterprise Edition sync rule.

func (RegistryEnterpriseSyncRuleOutput) SyncDirection

`FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance.

func (RegistryEnterpriseSyncRuleOutput) SyncScope

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

func (RegistryEnterpriseSyncRuleOutput) TagFilter

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

func (RegistryEnterpriseSyncRuleOutput) TargetInstanceId

ID of Container Registry Enterprise Edition target instance to be synchronized.

func (RegistryEnterpriseSyncRuleOutput) TargetNamespaceName

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

The target region to be synchronized.

func (RegistryEnterpriseSyncRuleOutput) TargetRepoName

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.Detailed 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"`
	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"`
	// 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.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"`
	// (Optional, ForceNew) 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"`
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	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"`
	// (Required, ForceNew) 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"`
}

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "ask-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultZones, err := alicloud.GetZones(ctx, &GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			VpcName:   pulumi.String(name),
			CidrBlock: pulumi.String("10.1.0.0/21"),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VswitchName: pulumi.String(name),
			VpcId:       defaultNetwork.ID(),
			CidrBlock:   pulumi.String("10.1.1.0/24"),
			ZoneId:      pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = cs.NewServerlessKubernetes(ctx, "serverless", &cs.ServerlessKubernetesArgs{
			NamePrefix: pulumi.String(name),
			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.AnyMap{
				"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 `terraform plan`.

```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.
	Config *string `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	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.
	Config pulumi.StringPtrInput `pulumi:"config"`
	// Disables the automatic installation of a component. Default is `false`.
	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.

func (ServerlessKubernetesAddonOutput) Disabled

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

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.Detailed 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
	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
	// 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
	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
	// (Optional, ForceNew) 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
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	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
	// (Required, ForceNew) 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

) You can specific network plugin,log component,ingress component and so on.Detailed below.

func (ServerlessKubernetesOutput) ClientCert

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

func (ServerlessKubernetesOutput) ClientKey

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

func (ServerlessKubernetesOutput) ClusterCaCert

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

func (ServerlessKubernetesOutput) ClusterSpec

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

func (o ServerlessKubernetesOutput) CreateV2Cluster() pulumi.BoolOutput

func (ServerlessKubernetesOutput) DeletionProtection

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

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

func (o ServerlessKubernetesOutput) EndpointPublicAccessEnabled() pulumi.BoolPtrOutput

Whether to create internet eip for API Server. Default to false.

func (ServerlessKubernetesOutput) ForceUpdate

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

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

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

Enable log service, Valid value `SLS`.

func (ServerlessKubernetesOutput) 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 (ServerlessKubernetesOutput) NamePrefix

func (ServerlessKubernetesOutput) NewNatGateway

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

(Optional, ForceNew) 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

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

func (ServerlessKubernetesOutput) RrsaMetadata

(Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.

func (ServerlessKubernetesOutput) SecurityGroupId

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

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

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

func (o ServerlessKubernetesOutput) SlsProjectName() pulumi.StringOutput

If you use an existing SLS project, you must specify `slsProjectName`.

func (ServerlessKubernetesOutput) Tags

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

func (ServerlessKubernetesOutput) TimeZone

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

Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used.

func (ServerlessKubernetesOutput) VpcId

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

(Required, ForceNew) 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

The vswitches where new kubernetes cluster will be located.

func (ServerlessKubernetesOutput) ZoneId

When creating a cluster using automatic VPC creation, you need to specify the zone where the VPC is located.

type ServerlessKubernetesRrsaMetadata

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

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

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutput

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutput() ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutputWithContext

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutput

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext

func (i ServerlessKubernetesRrsaMetadataArgs) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataPtrOutput

type ServerlessKubernetesRrsaMetadataInput

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

type ServerlessKubernetesRrsaMetadataOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesRrsaMetadataOutput) ElementType

func (ServerlessKubernetesRrsaMetadataOutput) Enabled

Whether the RRSA feature has been enabled.

func (ServerlessKubernetesRrsaMetadataOutput) RamOidcProviderArn

The arn of OIDC provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataOutput) RamOidcProviderName

The name of OIDC Provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataOutput) RrsaOidcIssuerUrl

The issuer URL of RRSA OIDC Token.

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutput

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutput() ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutputWithContext

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutput

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext

func (o ServerlessKubernetesRrsaMetadataOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext(ctx context.Context) ServerlessKubernetesRrsaMetadataPtrOutput

type ServerlessKubernetesRrsaMetadataPtrInput

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

type ServerlessKubernetesRrsaMetadataPtrOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesRrsaMetadataPtrOutput) Elem

func (ServerlessKubernetesRrsaMetadataPtrOutput) ElementType

func (ServerlessKubernetesRrsaMetadataPtrOutput) Enabled

Whether the RRSA feature has been enabled.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RamOidcProviderArn

The arn of OIDC provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RamOidcProviderName

The name of OIDC Provider that was registered in RAM.

func (ServerlessKubernetesRrsaMetadataPtrOutput) RrsaOidcIssuerUrl

The issuer URL of RRSA OIDC Token.

func (ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutput

func (o ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutput() ServerlessKubernetesRrsaMetadataPtrOutput

func (ServerlessKubernetesRrsaMetadataPtrOutput) ToServerlessKubernetesRrsaMetadataPtrOutputWithContext

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.Detailed 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
	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
	// 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
	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
	// (Optional, ForceNew) 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
	// (Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
	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
	// (Required, ForceNew) 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

func (o SwarmOutput) AgentVersion() pulumi.StringOutput

func (SwarmOutput) CidrBlock

func (o SwarmOutput) CidrBlock() pulumi.StringOutput

func (SwarmOutput) DiskCategory

func (o SwarmOutput) DiskCategory() pulumi.StringPtrOutput

func (SwarmOutput) DiskSize

func (o SwarmOutput) DiskSize() pulumi.IntPtrOutput

func (SwarmOutput) ElementType

func (SwarmOutput) ElementType() reflect.Type

func (SwarmOutput) ImageId

func (o SwarmOutput) ImageId() pulumi.StringPtrOutput

func (SwarmOutput) InstanceType

func (o SwarmOutput) InstanceType() pulumi.StringOutput

func (SwarmOutput) IsOutdated

func (o SwarmOutput) IsOutdated() pulumi.BoolPtrOutput

func (SwarmOutput) Name

func (o SwarmOutput) Name() pulumi.StringOutput

func (SwarmOutput) NamePrefix

func (o SwarmOutput) NamePrefix() pulumi.StringPtrOutput

func (SwarmOutput) NeedSlb

func (o SwarmOutput) NeedSlb() pulumi.BoolPtrOutput

func (SwarmOutput) NodeNumber

func (o SwarmOutput) NodeNumber() pulumi.IntPtrOutput

func (SwarmOutput) Nodes

func (SwarmOutput) Password

func (o SwarmOutput) Password() pulumi.StringOutput

func (SwarmOutput) ReleaseEip

func (o SwarmOutput) ReleaseEip() pulumi.BoolPtrOutput

func (SwarmOutput) SecurityGroupId

func (o SwarmOutput) SecurityGroupId() pulumi.StringOutput

func (SwarmOutput) Size deprecated

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

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

func (o SwarmOutput) VpcId() pulumi.StringOutput

func (SwarmOutput) VswitchId

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