cs

package
v2.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	// Wherther to use "Blue Green" method when release a new version. Default to false.
	BlueGreen pulumi.BoolPtrOutput `pulumi:"blueGreen"`
	// Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false.
	BlueGreenConfirm pulumi.BoolPtrOutput `pulumi:"blueGreenConfirm"`
	// The swarm cluster's name.
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The application default domain and it can be used to configure routing service.
	DefaultDomain pulumi.StringOutput `pulumi:"defaultDomain"`
	// The description of application.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A key/value map used to replace the variable parameter in the Compose template.
	Environment pulumi.MapOutput `pulumi:"environment"`
	// Whether to use latest docker image while each updating application. Default to false.
	LatestImage pulumi.BoolPtrOutput `pulumi:"latestImage"`
	// The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of services in the application. It contains several attributes to `Block Nodes`.
	Services ApplicationServiceArrayOutput `pulumi:"services"`
	// The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/).
	Template pulumi.StringOutput `pulumi:"template"`
	// The application deploying version. Each updating, it must be different with current. Default to "1.0"
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

> **DEPRECATED:** This resource manages applications in swarm cluster only, which is being deprecated and will be replaced by Kubernetes cluster.

This resource use an orchestration template to define and deploy a multi-container application. An application is created by using an orchestration template. Each application can contain one or more services.

> **NOTE:** Application orchestration template must be a valid Docker Compose YAML template.

> **NOTE:** At present, this resource only support swarm cluster.

## Import

Swarm application can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cs/application:Application app my-first-swarm:wordpress

```

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 added in v2.25.1

func (Application) ElementType() reflect.Type

func (Application) ToApplicationOutput added in v2.25.1

func (i Application) ToApplicationOutput() ApplicationOutput

func (Application) ToApplicationOutputWithContext added in v2.25.1

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

type ApplicationArgs

type ApplicationArgs struct {
	// Wherther to use "Blue Green" method when release a new version. Default to false.
	BlueGreen pulumi.BoolPtrInput
	// Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false.
	BlueGreenConfirm pulumi.BoolPtrInput
	// The swarm cluster's name.
	ClusterName pulumi.StringInput
	// The description of application.
	Description pulumi.StringPtrInput
	// A key/value map used to replace the variable parameter in the Compose template.
	Environment pulumi.MapInput
	// Whether to use latest docker image while each updating application. Default to false.
	LatestImage pulumi.BoolPtrInput
	// The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
	Name pulumi.StringPtrInput
	// The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/).
	Template pulumi.StringInput
	// The application deploying version. Each updating, it must be different with current. Default to "1.0"
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationInput added in v2.25.1

type ApplicationInput interface {
	pulumi.Input

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

type ApplicationOutput added in v2.25.1

type ApplicationOutput struct {
	*pulumi.OutputState
}

func (ApplicationOutput) ElementType added in v2.25.1

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ToApplicationOutput added in v2.25.1

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext added in v2.25.1

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

type ApplicationService

type ApplicationService struct {
	// ID of the service.
	Id *string `pulumi:"id"`
	// The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
	Name *string `pulumi:"name"`
	// The current status of service.
	Status *string `pulumi:"status"`
	// The application deploying version. Each updating, it must be different with current. Default to "1.0"
	Version *string `pulumi:"version"`
}

type ApplicationServiceArgs

type ApplicationServiceArgs struct {
	// ID of the service.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The current status of service.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The application deploying version. Each updating, it must be different with current. Default to "1.0"
	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

ID of the service.

func (ApplicationServiceOutput) Name

The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.

func (ApplicationServiceOutput) Status

The current status of service.

func (ApplicationServiceOutput) ToApplicationServiceOutput

func (o ApplicationServiceOutput) ToApplicationServiceOutput() ApplicationServiceOutput

func (ApplicationServiceOutput) ToApplicationServiceOutputWithContext

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

func (ApplicationServiceOutput) Version

The application deploying version. Each updating, it must be different with current. Default to "1.0"

type ApplicationState

type ApplicationState struct {
	// Wherther to use "Blue Green" method when release a new version. Default to false.
	BlueGreen pulumi.BoolPtrInput
	// Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false.
	BlueGreenConfirm pulumi.BoolPtrInput
	// The swarm cluster's name.
	ClusterName pulumi.StringPtrInput
	// The application default domain and it can be used to configure routing service.
	DefaultDomain pulumi.StringPtrInput
	// The description of application.
	Description pulumi.StringPtrInput
	// A key/value map used to replace the variable parameter in the Compose template.
	Environment pulumi.MapInput
	// Whether to use latest docker image while each updating application. Default to false.
	LatestImage pulumi.BoolPtrInput
	// The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
	Name pulumi.StringPtrInput
	// List of services in the application. It contains several attributes to `Block Nodes`.
	Services ApplicationServiceArrayInput
	// The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/).
	Template pulumi.StringPtrInput
	// The application deploying version. Each updating, it must be different with current. Default to "1.0"
	Version pulumi.StringPtrInput
}

func (ApplicationState) ElementType

func (ApplicationState) 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 added in v2.25.1

func (Cluster) ElementType() reflect.Type

func (Cluster) ToClusterOutput added in v2.25.1

func (i Cluster) ToClusterOutput() ClusterOutput

func (Cluster) ToClusterOutputWithContext added in v2.25.1

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 ClusterInput added in v2.25.1

type ClusterInput interface {
	pulumi.Input

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

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 added in v2.25.1

type ClusterOutput struct {
	*pulumi.OutputState
}

func (ClusterOutput) ElementType added in v2.25.1

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput added in v2.25.1

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext added in v2.25.1

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

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 added in v2.25.0

type EdgeKubernetes struct {
	pulumi.CustomResourceState

	Addons EdgeKubernetesAddonArrayOutput `pulumi:"addons"`
	// The ID of availability zone.
	AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"`
	// 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"`
	Connections   EdgeKubernetesConnectionsOutput `pulumi:"connections"`
	// Whether to enable cluster deletion protection.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// 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`.
	KubeConfig pulumi.StringPtrOutput           `pulumi:"kubeConfig"`
	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"`
	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.StringPtrOutput `pulumi:"resourceGroupId"`
	// 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"`
	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"`
	// 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.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	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"`
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize           pulumi.IntPtrOutput    `pulumi:"workerDiskSize"`
	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. It contains several attributes to `Block 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"`
	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/edgeKubernetes:EdgeKubernetes alicloud_cs_edge_kubernetes.main cluster-id

```

func GetEdgeKubernetes added in v2.25.0

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 added in v2.25.0

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 added in v2.25.1

func (EdgeKubernetes) ElementType() reflect.Type

func (EdgeKubernetes) ToEdgeKubernetesOutput added in v2.25.1

func (i EdgeKubernetes) ToEdgeKubernetesOutput() EdgeKubernetesOutput

func (EdgeKubernetes) ToEdgeKubernetesOutputWithContext added in v2.25.1

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

type EdgeKubernetesAddon added in v2.25.0

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 added in v2.25.0

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 added in v2.25.0

func (EdgeKubernetesAddonArgs) ElementType() reflect.Type

func (EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutput added in v2.25.0

func (i EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonArgs) ToEdgeKubernetesAddonOutputWithContext added in v2.25.0

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

type EdgeKubernetesAddonArray added in v2.25.0

type EdgeKubernetesAddonArray []EdgeKubernetesAddonInput

func (EdgeKubernetesAddonArray) ElementType added in v2.25.0

func (EdgeKubernetesAddonArray) ElementType() reflect.Type

func (EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutput added in v2.25.0

func (i EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutput() EdgeKubernetesAddonArrayOutput

func (EdgeKubernetesAddonArray) ToEdgeKubernetesAddonArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesAddonArrayInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesAddonArrayOutput) ElementType added in v2.25.0

func (EdgeKubernetesAddonArrayOutput) Index added in v2.25.0

func (EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutput added in v2.25.0

func (o EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutput() EdgeKubernetesAddonArrayOutput

func (EdgeKubernetesAddonArrayOutput) ToEdgeKubernetesAddonArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesAddonInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesAddonOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesAddonOutput) Config added in v2.25.0

func (EdgeKubernetesAddonOutput) Disabled added in v2.25.0

func (EdgeKubernetesAddonOutput) ElementType added in v2.25.0

func (EdgeKubernetesAddonOutput) ElementType() reflect.Type

func (EdgeKubernetesAddonOutput) Name added in v2.25.0

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

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput added in v2.25.0

func (o EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutput() EdgeKubernetesAddonOutput

func (EdgeKubernetesAddonOutput) ToEdgeKubernetesAddonOutputWithContext added in v2.25.0

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

type EdgeKubernetesArgs added in v2.25.0

type EdgeKubernetesArgs struct {
	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
	// Whether to enable cluster deletion protection.
	DeletionProtection 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`.
	KubeConfig pulumi.StringPtrInput
	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
	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
	// 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
	// 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.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks EdgeKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize           pulumi.IntPtrInput
	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
	WorkerVswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a EdgeKubernetes resource.

func (EdgeKubernetesArgs) ElementType added in v2.25.0

func (EdgeKubernetesArgs) ElementType() reflect.Type

type EdgeKubernetesConnections added in v2.25.0

type EdgeKubernetesConnections struct {
	ApiServerInternet *string `pulumi:"apiServerInternet"`
	ApiServerIntranet *string `pulumi:"apiServerIntranet"`
	MasterPublicIp    *string `pulumi:"masterPublicIp"`
	ServiceDomain     *string `pulumi:"serviceDomain"`
}

type EdgeKubernetesConnectionsArgs added in v2.25.0

type EdgeKubernetesConnectionsArgs struct {
	ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"`
	ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"`
	MasterPublicIp    pulumi.StringPtrInput `pulumi:"masterPublicIp"`
	ServiceDomain     pulumi.StringPtrInput `pulumi:"serviceDomain"`
}

func (EdgeKubernetesConnectionsArgs) ElementType added in v2.25.0

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutput added in v2.25.0

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutput() EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsOutputWithContext added in v2.25.0

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

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutput added in v2.25.0

func (i EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsArgs) ToEdgeKubernetesConnectionsPtrOutputWithContext added in v2.25.0

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

type EdgeKubernetesConnectionsInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesConnectionsOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesConnectionsOutput) ApiServerInternet added in v2.25.0

func (EdgeKubernetesConnectionsOutput) ApiServerIntranet added in v2.25.0

func (EdgeKubernetesConnectionsOutput) ElementType added in v2.25.0

func (EdgeKubernetesConnectionsOutput) MasterPublicIp added in v2.25.0

func (EdgeKubernetesConnectionsOutput) ServiceDomain added in v2.25.0

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutput added in v2.25.0

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutput() EdgeKubernetesConnectionsOutput

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsOutputWithContext added in v2.25.0

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

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutput added in v2.25.0

func (o EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext added in v2.25.0

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

type EdgeKubernetesConnectionsPtrInput added in v2.25.0

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

func EdgeKubernetesConnectionsPtr added in v2.25.0

type EdgeKubernetesConnectionsPtrOutput added in v2.25.0

type EdgeKubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesConnectionsPtrOutput) ApiServerInternet added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) ApiServerIntranet added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) Elem added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) ElementType added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) MasterPublicIp added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) ServiceDomain added in v2.25.0

func (EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutput added in v2.25.0

func (o EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutput() EdgeKubernetesConnectionsPtrOutput

func (EdgeKubernetesConnectionsPtrOutput) ToEdgeKubernetesConnectionsPtrOutputWithContext added in v2.25.0

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

type EdgeKubernetesInput added in v2.25.1

type EdgeKubernetesInput interface {
	pulumi.Input

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

type EdgeKubernetesLogConfig added in v2.25.0

type EdgeKubernetesLogConfig struct {
	Project *string `pulumi:"project"`
	Type    string  `pulumi:"type"`
}

type EdgeKubernetesLogConfigArgs added in v2.25.0

type EdgeKubernetesLogConfigArgs struct {
	Project pulumi.StringPtrInput `pulumi:"project"`
	Type    pulumi.StringInput    `pulumi:"type"`
}

func (EdgeKubernetesLogConfigArgs) ElementType added in v2.25.0

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutput added in v2.25.0

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutput() EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigOutputWithContext added in v2.25.0

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

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutput added in v2.25.0

func (i EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigArgs) ToEdgeKubernetesLogConfigPtrOutputWithContext added in v2.25.0

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

type EdgeKubernetesLogConfigInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesLogConfigOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesLogConfigOutput) ElementType added in v2.25.0

func (EdgeKubernetesLogConfigOutput) Project added in v2.25.0

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutput added in v2.25.0

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutput() EdgeKubernetesLogConfigOutput

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigOutputWithContext added in v2.25.0

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

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutput added in v2.25.0

func (o EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext added in v2.25.0

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

func (EdgeKubernetesLogConfigOutput) Type added in v2.25.0

type EdgeKubernetesLogConfigPtrInput added in v2.25.0

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

func EdgeKubernetesLogConfigPtr added in v2.25.0

func EdgeKubernetesLogConfigPtr(v *EdgeKubernetesLogConfigArgs) EdgeKubernetesLogConfigPtrInput

type EdgeKubernetesLogConfigPtrOutput added in v2.25.0

type EdgeKubernetesLogConfigPtrOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesLogConfigPtrOutput) Elem added in v2.25.0

func (EdgeKubernetesLogConfigPtrOutput) ElementType added in v2.25.0

func (EdgeKubernetesLogConfigPtrOutput) Project added in v2.25.0

func (EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutput added in v2.25.0

func (o EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutput() EdgeKubernetesLogConfigPtrOutput

func (EdgeKubernetesLogConfigPtrOutput) ToEdgeKubernetesLogConfigPtrOutputWithContext added in v2.25.0

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

func (EdgeKubernetesLogConfigPtrOutput) Type added in v2.25.0

type EdgeKubernetesOutput added in v2.25.1

type EdgeKubernetesOutput struct {
	*pulumi.OutputState
}

func (EdgeKubernetesOutput) ElementType added in v2.25.1

func (EdgeKubernetesOutput) ElementType() reflect.Type

func (EdgeKubernetesOutput) ToEdgeKubernetesOutput added in v2.25.1

func (o EdgeKubernetesOutput) ToEdgeKubernetesOutput() EdgeKubernetesOutput

func (EdgeKubernetesOutput) ToEdgeKubernetesOutputWithContext added in v2.25.1

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

type EdgeKubernetesState added in v2.25.0

type EdgeKubernetesState struct {
	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
	Connections   EdgeKubernetesConnectionsPtrInput
	// Whether to enable cluster deletion protection.
	DeletionProtection 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`.
	KubeConfig pulumi.StringPtrInput
	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
	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
	// 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
	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
	// 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.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks EdgeKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloudEfficiency`, `cloudSsd` and `cloudEssd` and . Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize           pulumi.IntPtrInput
	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. It contains several attributes to `Block 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
	WorkerVswitchIds pulumi.StringArrayInput
}

func (EdgeKubernetesState) ElementType added in v2.25.0

func (EdgeKubernetesState) ElementType() reflect.Type

type EdgeKubernetesWorkerDataDisk added in v2.25.0

type EdgeKubernetesWorkerDataDisk struct {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	Category             *string `pulumi:"category"`
	Device               *string `pulumi:"device"`
	Encrypted            *string `pulumi:"encrypted"`
	KmsKeyId             *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       *string `pulumi:"name"`
	Size       *string `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type EdgeKubernetesWorkerDataDiskArgs added in v2.25.0

type EdgeKubernetesWorkerDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	Category             pulumi.StringPtrInput `pulumi:"category"`
	Device               pulumi.StringPtrInput `pulumi:"device"`
	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"`
	Size       pulumi.StringPtrInput `pulumi:"size"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (EdgeKubernetesWorkerDataDiskArgs) ElementType added in v2.25.0

func (EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutput added in v2.25.0

func (i EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutput() EdgeKubernetesWorkerDataDiskOutput

func (EdgeKubernetesWorkerDataDiskArgs) ToEdgeKubernetesWorkerDataDiskOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerDataDiskArray added in v2.25.0

type EdgeKubernetesWorkerDataDiskArray []EdgeKubernetesWorkerDataDiskInput

func (EdgeKubernetesWorkerDataDiskArray) ElementType added in v2.25.0

func (EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutput added in v2.25.0

func (i EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutput() EdgeKubernetesWorkerDataDiskArrayOutput

func (EdgeKubernetesWorkerDataDiskArray) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerDataDiskArrayInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerDataDiskArrayOutput) ElementType added in v2.25.0

func (EdgeKubernetesWorkerDataDiskArrayOutput) Index added in v2.25.0

func (EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutput added in v2.25.0

func (o EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutput() EdgeKubernetesWorkerDataDiskArrayOutput

func (EdgeKubernetesWorkerDataDiskArrayOutput) ToEdgeKubernetesWorkerDataDiskArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerDataDiskInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) Category added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) Device added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) ElementType added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) Encrypted added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) KmsKeyId added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) Name added in v2.25.0

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

func (EdgeKubernetesWorkerDataDiskOutput) Size added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) SnapshotId added in v2.25.0

func (EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutput added in v2.25.0

func (o EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutput() EdgeKubernetesWorkerDataDiskOutput

func (EdgeKubernetesWorkerDataDiskOutput) ToEdgeKubernetesWorkerDataDiskOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerNode added in v2.25.0

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 added in v2.25.0

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 added in v2.25.0

func (EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutput added in v2.25.0

func (i EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutput() EdgeKubernetesWorkerNodeOutput

func (EdgeKubernetesWorkerNodeArgs) ToEdgeKubernetesWorkerNodeOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerNodeArray added in v2.25.0

type EdgeKubernetesWorkerNodeArray []EdgeKubernetesWorkerNodeInput

func (EdgeKubernetesWorkerNodeArray) ElementType added in v2.25.0

func (EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutput added in v2.25.0

func (i EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutput() EdgeKubernetesWorkerNodeArrayOutput

func (EdgeKubernetesWorkerNodeArray) ToEdgeKubernetesWorkerNodeArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerNodeArrayInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerNodeArrayOutput) ElementType added in v2.25.0

func (EdgeKubernetesWorkerNodeArrayOutput) Index added in v2.25.0

func (EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutput added in v2.25.0

func (o EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutput() EdgeKubernetesWorkerNodeArrayOutput

func (EdgeKubernetesWorkerNodeArrayOutput) ToEdgeKubernetesWorkerNodeArrayOutputWithContext added in v2.25.0

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

type EdgeKubernetesWorkerNodeInput added in v2.25.0

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 added in v2.25.0

type EdgeKubernetesWorkerNodeOutput struct{ *pulumi.OutputState }

func (EdgeKubernetesWorkerNodeOutput) ElementType added in v2.25.0

func (EdgeKubernetesWorkerNodeOutput) Id added in v2.25.0

ID of the node.

func (EdgeKubernetesWorkerNodeOutput) Name added in v2.25.0

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

func (EdgeKubernetesWorkerNodeOutput) PrivateIp added in v2.25.0

The private IP address of node.

func (EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutput added in v2.25.0

func (o EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutput() EdgeKubernetesWorkerNodeOutput

func (EdgeKubernetesWorkerNodeOutput) ToEdgeKubernetesWorkerNodeOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersArgs added in v2.25.0

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 added in v2.25.0

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 added in v2.25.0

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 added in v2.25.0

func (GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutput added in v2.25.0

func (i GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutput() GetEdgeKubernetesClustersClusterOutput

func (GetEdgeKubernetesClustersClusterArgs) ToGetEdgeKubernetesClustersClusterOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterArray added in v2.25.0

type GetEdgeKubernetesClustersClusterArray []GetEdgeKubernetesClustersClusterInput

func (GetEdgeKubernetesClustersClusterArray) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutput added in v2.25.0

func (i GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutput() GetEdgeKubernetesClustersClusterArrayOutput

func (GetEdgeKubernetesClustersClusterArray) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterArrayInput added in v2.25.0

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 added in v2.25.0

type GetEdgeKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterArrayOutput) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterArrayOutput) Index added in v2.25.0

func (GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutput added in v2.25.0

func (o GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutput() GetEdgeKubernetesClustersClusterArrayOutput

func (GetEdgeKubernetesClustersClusterArrayOutput) ToGetEdgeKubernetesClustersClusterArrayOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterConnections added in v2.25.0

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

type GetEdgeKubernetesClustersClusterConnectionsArgs added in v2.25.0

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

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutput added in v2.25.0

func (i GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutput() GetEdgeKubernetesClustersClusterConnectionsOutput

func (GetEdgeKubernetesClustersClusterConnectionsArgs) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterConnectionsInput added in v2.25.0

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 added in v2.25.0

type GetEdgeKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ApiServerInternet added in v2.25.0

API Server Internet endpoint.

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ApiServerIntranet added in v2.25.0

API Server Intranet endpoint.

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutput added in v2.25.0

func (o GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutput() GetEdgeKubernetesClustersClusterConnectionsOutput

func (GetEdgeKubernetesClustersClusterConnectionsOutput) ToGetEdgeKubernetesClustersClusterConnectionsOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterInput added in v2.25.0

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 added in v2.25.0

type GetEdgeKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterOutput) AvailabilityZone added in v2.25.0

The ID of availability zone.

func (GetEdgeKubernetesClustersClusterOutput) Connections added in v2.25.0

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

func (GetEdgeKubernetesClustersClusterOutput) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterOutput) Id added in v2.25.0

ID of the node.

func (GetEdgeKubernetesClustersClusterOutput) Name added in v2.25.0

Node name.

func (GetEdgeKubernetesClustersClusterOutput) NatGatewayId added in v2.25.0

The ID of nat gateway used to launch kubernetes cluster.

func (GetEdgeKubernetesClustersClusterOutput) SecurityGroupId added in v2.25.0

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

func (GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutput added in v2.25.0

func (o GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutput() GetEdgeKubernetesClustersClusterOutput

func (GetEdgeKubernetesClustersClusterOutput) ToGetEdgeKubernetesClustersClusterOutputWithContext added in v2.25.0

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

func (GetEdgeKubernetesClustersClusterOutput) VpcId added in v2.25.0

The ID of VPC where the current cluster is located.

func (GetEdgeKubernetesClustersClusterOutput) WorkerNodes added in v2.25.0

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

type GetEdgeKubernetesClustersClusterWorkerNode added in v2.25.0

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 added in v2.25.0

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 added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput added in v2.25.0

func (i GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput() GetEdgeKubernetesClustersClusterWorkerNodeOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeArgs) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterWorkerNodeArray added in v2.25.0

type GetEdgeKubernetesClustersClusterWorkerNodeArray []GetEdgeKubernetesClustersClusterWorkerNodeInput

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput added in v2.25.0

func (i GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput() GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeArray) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterWorkerNodeArrayInput added in v2.25.0

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 added in v2.25.0

type GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) Index added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutput added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeArrayOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeArrayOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersClusterWorkerNodeInput added in v2.25.0

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 added in v2.25.0

type GetEdgeKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ElementType added in v2.25.0

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) Id added in v2.25.0

ID of the node.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) Name added in v2.25.0

Node name.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) PrivateIp added in v2.25.0

The private IP address of node.

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput added in v2.25.0

func (o GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutput() GetEdgeKubernetesClustersClusterWorkerNodeOutput

func (GetEdgeKubernetesClustersClusterWorkerNodeOutput) ToGetEdgeKubernetesClustersClusterWorkerNodeOutputWithContext added in v2.25.0

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

type GetEdgeKubernetesClustersResult added in v2.25.0

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 added in v2.25.0

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

)

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

```

type GetKubernetesClustersArgs

type GetKubernetesClustersArgs 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 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 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"`
	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+.

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "my-first-k8s"
		opt1 := "my-first-k8s-json"
		k8sClusters, err := cs.GetKubernetesClusters(ctx, &cs.GetKubernetesClustersArgs{
			NameRegex:  &opt0,
			OutputFile: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetManagedKubernetesClustersArgs

type GetManagedKubernetesClustersArgs 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 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 added in v2.22.0

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

type GetManagedKubernetesClustersClusterLogConfigArgs added in v2.22.0

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

func (GetManagedKubernetesClustersClusterLogConfigArgs) ElementType added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutput added in v2.22.0

func (i GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutput() GetManagedKubernetesClustersClusterLogConfigOutput

func (GetManagedKubernetesClustersClusterLogConfigArgs) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext added in v2.22.0

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

type GetManagedKubernetesClustersClusterLogConfigArray added in v2.22.0

type GetManagedKubernetesClustersClusterLogConfigArray []GetManagedKubernetesClustersClusterLogConfigInput

func (GetManagedKubernetesClustersClusterLogConfigArray) ElementType added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput added in v2.22.0

func (i GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput() GetManagedKubernetesClustersClusterLogConfigArrayOutput

func (GetManagedKubernetesClustersClusterLogConfigArray) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext added in v2.22.0

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

type GetManagedKubernetesClustersClusterLogConfigArrayInput added in v2.22.0

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 added in v2.22.0

type GetManagedKubernetesClustersClusterLogConfigArrayOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ElementType added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) Index added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ToGetManagedKubernetesClustersClusterLogConfigArrayOutput added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigArrayOutput) ToGetManagedKubernetesClustersClusterLogConfigArrayOutputWithContext added in v2.22.0

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

type GetManagedKubernetesClustersClusterLogConfigInput added in v2.22.0

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 added in v2.22.0

type GetManagedKubernetesClustersClusterLogConfigOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterLogConfigOutput) ElementType added in v2.22.0

func (GetManagedKubernetesClustersClusterLogConfigOutput) Project added in v2.22.0

Log Service project name.

func (GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutput added in v2.22.0

func (o GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutput() GetManagedKubernetesClustersClusterLogConfigOutput

func (GetManagedKubernetesClustersClusterLogConfigOutput) ToGetManagedKubernetesClustersClusterLogConfigOutputWithContext added in v2.22.0

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

func (GetManagedKubernetesClustersClusterLogConfigOutput) Type added in v2.22.0

Type of collecting logs.

type GetManagedKubernetesClustersClusterOutput

type GetManagedKubernetesClustersClusterOutput struct{ *pulumi.OutputState }

func (GetManagedKubernetesClustersClusterOutput) AvailabilityZone

The ID of availability zone.

func (GetManagedKubernetesClustersClusterOutput) ClusterNetworkType added in v2.22.0

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 added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) KeyName added in v2.22.0

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

func (GetManagedKubernetesClustersClusterOutput) LogConfigs added in v2.22.0

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 added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) SecurityGroupId

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

func (GetManagedKubernetesClustersClusterOutput) ServiceCidr added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) SlbInternetEnabled added in v2.22.0

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 added in v2.22.0

The ID of VSwitches where the current cluster is located.

func (GetManagedKubernetesClustersClusterOutput) WorkerAutoRenew added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerAutoRenewPeriod added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerDataDiskCategory added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerDataDiskSize added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerDiskCategory added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerDiskSize added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerInstanceChargeType added in v2.22.0

func (o GetManagedKubernetesClustersClusterOutput) WorkerInstanceChargeType() pulumi.StringOutput

func (GetManagedKubernetesClustersClusterOutput) WorkerInstanceTypes added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerNodes

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

func (GetManagedKubernetesClustersClusterOutput) WorkerNumbers added in v2.22.0

The ECS instance node number in the current container cluster.

func (GetManagedKubernetesClustersClusterOutput) WorkerPeriod added in v2.22.0

func (GetManagedKubernetesClustersClusterOutput) WorkerPeriodUnit added in v2.22.0

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "my-first-k8s"
		opt1 := "my-first-k8s-json"
		k8sClusters, err := cs.GetManagedKubernetesClusters(ctx, &cs.GetManagedKubernetesClustersArgs{
			NameRegex:  &opt0,
			OutputFile: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type GetRegistryEnterpriseInstancesArgs added in v2.8.0

type GetRegistryEnterpriseInstancesArgs struct {
	// 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 added in v2.8.0

type GetRegistryEnterpriseInstancesInstance struct {
	// 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"`
	// A list of domains for access on vpc network.
	VpcEndpoints []string `pulumi:"vpcEndpoints"`
}

type GetRegistryEnterpriseInstancesInstanceArgs added in v2.8.0

type GetRegistryEnterpriseInstancesInstanceArgs struct {
	// 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"`
	// A list of domains for access on vpc network.
	VpcEndpoints pulumi.StringArrayInput `pulumi:"vpcEndpoints"`
}

func (GetRegistryEnterpriseInstancesInstanceArgs) ElementType added in v2.8.0

func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput added in v2.8.0

func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput

func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseInstancesInstanceArray added in v2.8.0

type GetRegistryEnterpriseInstancesInstanceArray []GetRegistryEnterpriseInstancesInstanceInput

func (GetRegistryEnterpriseInstancesInstanceArray) ElementType added in v2.8.0

func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput added in v2.8.0

func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput

func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseInstancesInstanceArrayInput added in v2.8.0

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 added in v2.8.0

type GetRegistryEnterpriseInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ElementType added in v2.8.0

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) Index added in v2.8.0

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput added in v2.8.0

func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput

func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseInstancesInstanceInput added in v2.8.0

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 added in v2.8.0

type GetRegistryEnterpriseInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseInstancesInstanceOutput) ElementType added in v2.8.0

func (GetRegistryEnterpriseInstancesInstanceOutput) Id added in v2.8.0

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) Name added in v2.8.0

Name of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceQuota added in v2.8.0

The max number of namespaces that an instance can create.

func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceUsage added in v2.8.0

The number of namespaces already created.

func (GetRegistryEnterpriseInstancesInstanceOutput) PublicEndpoints added in v2.8.0

A list of domains for access on internet network.

func (GetRegistryEnterpriseInstancesInstanceOutput) Region added in v2.8.0

Region of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) RepoQuota added in v2.8.0

The max number of repos that an instance can create.

func (GetRegistryEnterpriseInstancesInstanceOutput) RepoUsage added in v2.8.0

The number of repos already created.

func (GetRegistryEnterpriseInstancesInstanceOutput) Specification added in v2.8.0

Specification of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput added in v2.8.0

func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput

func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext added in v2.8.0

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

func (GetRegistryEnterpriseInstancesInstanceOutput) VpcEndpoints added in v2.8.0

A list of domains for access on vpc network.

type GetRegistryEnterpriseInstancesResult added in v2.8.0

type GetRegistryEnterpriseInstancesResult struct {
	// 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 added in v2.8.0

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

)

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

```

type GetRegistryEnterpriseNamespacesArgs added in v2.8.0

type GetRegistryEnterpriseNamespacesArgs struct {
	// A list of ids to filter results by namespace id.
	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 added in v2.8.0

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

type GetRegistryEnterpriseNamespacesNamespaceArgs added in v2.8.0

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

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ElementType added in v2.8.0

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput added in v2.8.0

func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput

func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseNamespacesNamespaceArray added in v2.8.0

type GetRegistryEnterpriseNamespacesNamespaceArray []GetRegistryEnterpriseNamespacesNamespaceInput

func (GetRegistryEnterpriseNamespacesNamespaceArray) ElementType added in v2.8.0

func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput added in v2.8.0

func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseNamespacesNamespaceArrayInput added in v2.8.0

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 added in v2.8.0

type GetRegistryEnterpriseNamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ElementType added in v2.8.0

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) Index added in v2.8.0

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput added in v2.8.0

func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput

func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseNamespacesNamespaceInput added in v2.8.0

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 added in v2.8.0

type GetRegistryEnterpriseNamespacesNamespaceOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseNamespacesNamespaceOutput) AutoCreate added in v2.8.0

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

func (GetRegistryEnterpriseNamespacesNamespaceOutput) DefaultVisibility added in v2.8.0

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

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ElementType added in v2.8.0

func (GetRegistryEnterpriseNamespacesNamespaceOutput) Id added in v2.8.0

ID of Container Registry Enterprise Edition namespace.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) InstanceId added in v2.8.0

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) Name added in v2.8.0

Name of Container Registry Enterprise Edition namespace.

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput added in v2.8.0

func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput

func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext added in v2.8.0

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

type GetRegistryEnterpriseNamespacesResult added in v2.8.0

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. 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 added in v2.8.0

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

)

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

```

type GetRegistryEnterpriseReposArgs added in v2.9.0

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 GetRegistryEnterpriseReposRepo added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput added in v2.9.0

func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput

func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoArray added in v2.9.0

type GetRegistryEnterpriseReposRepoArray []GetRegistryEnterpriseReposRepoInput

func (GetRegistryEnterpriseReposRepoArray) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput added in v2.9.0

func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput

func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoArrayInput added in v2.9.0

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 added in v2.9.0

type GetRegistryEnterpriseReposRepoArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoArrayOutput) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoArrayOutput) Index added in v2.9.0

func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput added in v2.9.0

func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput

func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoInput added in v2.9.0

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 added in v2.9.0

type GetRegistryEnterpriseReposRepoOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoOutput) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoOutput) Id added in v2.9.0

ID of Container Registry Enterprise Edition repository.

func (GetRegistryEnterpriseReposRepoOutput) InstanceId added in v2.9.0

ID of Container Registry Enterprise Edition instance.

func (GetRegistryEnterpriseReposRepoOutput) Name added in v2.9.0

Name of Container Registry Enterprise Edition repository.

func (GetRegistryEnterpriseReposRepoOutput) Namespace added in v2.9.0

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

func (GetRegistryEnterpriseReposRepoOutput) RepoType added in v2.9.0

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

func (GetRegistryEnterpriseReposRepoOutput) Summary added in v2.9.0

The repository general information.

func (GetRegistryEnterpriseReposRepoOutput) Tags added in v2.9.0

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

func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput added in v2.9.0

func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput

func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoTag added in v2.9.0

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 added in v2.9.0

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 added in v2.9.0

func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput added in v2.9.0

func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput

func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoTagArray added in v2.9.0

type GetRegistryEnterpriseReposRepoTagArray []GetRegistryEnterpriseReposRepoTagInput

func (GetRegistryEnterpriseReposRepoTagArray) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput added in v2.9.0

func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput

func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoTagArrayInput added in v2.9.0

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 added in v2.9.0

type GetRegistryEnterpriseReposRepoTagArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoTagArrayOutput) Index added in v2.9.0

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput added in v2.9.0

func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput

func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposRepoTagInput added in v2.9.0

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 added in v2.9.0

type GetRegistryEnterpriseReposRepoTagOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseReposRepoTagOutput) Digest added in v2.9.0

Digest of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ElementType added in v2.9.0

func (GetRegistryEnterpriseReposRepoTagOutput) ImageCreate added in v2.9.0

Create time of this image, unix time in nanoseconds.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageId added in v2.9.0

Id of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageSize added in v2.9.0

Status of this image, in bytes.

func (GetRegistryEnterpriseReposRepoTagOutput) ImageUpdate added in v2.9.0

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

func (GetRegistryEnterpriseReposRepoTagOutput) Status added in v2.9.0

Status of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) Tag added in v2.9.0

Tag of this image.

func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput added in v2.9.0

func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput

func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext added in v2.9.0

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

type GetRegistryEnterpriseReposResult added in v2.9.0

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 added in v2.9.0

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

)

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

```

type GetRegistryEnterpriseSyncRulesArgs added in v2.12.0

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 GetRegistryEnterpriseSyncRulesResult added in v2.12.0

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 added in v2.12.0

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

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

## Example Usage

```go package main

import (

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

)

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

```

type GetRegistryEnterpriseSyncRulesRule added in v2.12.0

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 added in v2.12.0

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 added in v2.12.0

func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput added in v2.12.0

func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput

func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext added in v2.12.0

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

type GetRegistryEnterpriseSyncRulesRuleArray added in v2.12.0

type GetRegistryEnterpriseSyncRulesRuleArray []GetRegistryEnterpriseSyncRulesRuleInput

func (GetRegistryEnterpriseSyncRulesRuleArray) ElementType added in v2.12.0

func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput added in v2.12.0

func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput

func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext added in v2.12.0

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

type GetRegistryEnterpriseSyncRulesRuleArrayInput added in v2.12.0

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 added in v2.12.0

type GetRegistryEnterpriseSyncRulesRuleArrayOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ElementType added in v2.12.0

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) Index added in v2.12.0

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput added in v2.12.0

func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput

func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext added in v2.12.0

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

type GetRegistryEnterpriseSyncRulesRuleInput added in v2.12.0

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 added in v2.12.0

type GetRegistryEnterpriseSyncRulesRuleOutput struct{ *pulumi.OutputState }

func (GetRegistryEnterpriseSyncRulesRuleOutput) ElementType added in v2.12.0

func (GetRegistryEnterpriseSyncRulesRuleOutput) Id added in v2.12.0

ID of Container Registry Enterprise Edition sync rule.

func (GetRegistryEnterpriseSyncRulesRuleOutput) InstanceId added in v2.12.0

ID of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) Name added in v2.12.0

Name of Container Registry Enterprise Edition sync rule.

func (GetRegistryEnterpriseSyncRulesRuleOutput) NamespaceName added in v2.12.0

Name of Container Registry Enterprise Edition local namespace.

func (GetRegistryEnterpriseSyncRulesRuleOutput) RegionId added in v2.12.0

Region of Container Registry Enterprise Edition local instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) RepoName added in v2.12.0

Name of Container Registry Enterprise Edition local repo.

func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncDirection added in v2.12.0

`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 added in v2.12.0

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

func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncTrigger added in v2.12.0

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

func (GetRegistryEnterpriseSyncRulesRuleOutput) TagFilter added in v2.12.0

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

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetInstanceId added in v2.12.0

ID of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetNamespaceName added in v2.12.0

Name of Container Registry Enterprise Edition target namespace.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRegionId added in v2.12.0

Region of Container Registry Enterprise Edition target instance.

func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRepoName added in v2.12.0

Name of Container Registry Enterprise Edition target repo.

func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput added in v2.12.0

func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput

func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext added in v2.12.0

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

## Example Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "my-first-k8s"
		opt1 := "my-first-k8s-json"
		k8sClusters, err := cs.GetServerlessKubernetesClusters(ctx, &cs.GetServerlessKubernetesClustersArgs{
			NameRegex:  &opt0,
			OutputFile: &opt1,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}

```

type Kubernetes

type Kubernetes struct {
	pulumi.CustomResourceState

	Addons KubernetesAddonArrayOutput `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 `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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"`
	// 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. It contains several attributes to `Block Connections`.
	Connections KubernetesConnectionsOutput `pulumi:"connections"`
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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"`
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"`
	// 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"`
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrOutput `pulumi:"masterDiskSize"`
	// 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. It contains several attributes to `Block 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"`
	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.
	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. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrOutput `pulumi:"nodeNameMode"`
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	NodePortRange pulumi.StringPtrOutput `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.StringPtrOutput `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 `workerVswtichIds` or `masterVswtichIds` 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"`
	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"`
	// The runtime of containers. Default to `docker`. 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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"`
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId       pulumi.StringOutput `pulumi:"slbId"`
	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 . Detailed below.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// 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.
	Taints KubernetesTaintArrayOutput `pulumi:"taints"`
	// When you create a cluster, set the time zones for the Master and Woker 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"`
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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"`
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"`
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrOutput    `pulumi:"workerAutoRenewPeriod"`
	WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"`
	WorkerDataDiskSize     pulumi.IntPtrOutput    `pulumi:"workerDataDiskSize"`
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks KubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"`
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"`
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrOutput `pulumi:"workerDiskSize"`
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrOutput `pulumi:"workerInstanceChargeType"`
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes KubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"`
	// 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.
	WorkerNumber pulumi.IntOutput `pulumi:"workerNumber"`
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrOutput `pulumi:"workerPeriod"`
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrOutput `pulumi:"workerPeriodUnit"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput      `pulumi:"workerRamRoleName"`
	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 alicloud_cs_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 added in v2.25.1

func (Kubernetes) ElementType() reflect.Type

func (Kubernetes) ToKubernetesOutput added in v2.25.1

func (i Kubernetes) ToKubernetesOutput() KubernetesOutput

func (Kubernetes) ToKubernetesOutputWithContext added in v2.25.1

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

type KubernetesAddon

type KubernetesAddon 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 KubernetesAddonArgs

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

func (KubernetesAddonArgs) ElementType() reflect.Type

func (KubernetesAddonArgs) ToKubernetesAddonOutput

func (i KubernetesAddonArgs) ToKubernetesAddonOutput() KubernetesAddonOutput

func (KubernetesAddonArgs) ToKubernetesAddonOutputWithContext

func (i KubernetesAddonArgs) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput

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(context.Context) KubernetesAddonOutput
}

KubernetesAddonInput is an input type that accepts KubernetesAddonArgs and KubernetesAddonOutput values. You can construct a concrete instance of `KubernetesAddonInput` via:

KubernetesAddonArgs{...}

type KubernetesAddonOutput

type KubernetesAddonOutput struct{ *pulumi.OutputState }

func (KubernetesAddonOutput) Config

func (KubernetesAddonOutput) Disabled added in v2.12.0

func (KubernetesAddonOutput) ElementType

func (KubernetesAddonOutput) ElementType() reflect.Type

func (KubernetesAddonOutput) Name

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

func (KubernetesAddonOutput) ToKubernetesAddonOutput

func (o KubernetesAddonOutput) ToKubernetesAddonOutput() KubernetesAddonOutput

func (KubernetesAddonOutput) ToKubernetesAddonOutputWithContext

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

type KubernetesArgs

type KubernetesArgs struct {
	Addons KubernetesAddonArrayInput
	// A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig 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
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrInput
	// 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
	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.
	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. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrInput
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	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 `workerVswtichIds` or `masterVswtichIds` 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
	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
	// The runtime of containers. Default to `docker`. 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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 . Detailed below.
	Tags pulumi.MapInput
	// 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.
	Taints KubernetesTaintArrayInput
	// When you create a cluster, set the time zones for the Master and Woker 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
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrInput
	WorkerDataDiskCategory pulumi.StringPtrInput
	WorkerDataDiskSize     pulumi.IntPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks KubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayInput
	// 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.
	WorkerNumber pulumi.IntInput
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrInput
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrInput
	WorkerVswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a Kubernetes resource.

func (KubernetesArgs) ElementType

func (KubernetesArgs) ElementType() reflect.Type

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

This resource will help you to manager cluster-autoscaler in Kubernetes Cluster.

> **NOTE:** The scaling group must use CentOS7 or AliyunLinux2 as base image.

> **NOTE:** The cluster-autoscaler can only use the same size of instanceTypes in one scaling group.

> **NOTE:** Add Policy to RAM role of the node to deploy cluster-autoscaler if you need.

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

## Example Usage

cluster-autoscaler in Kubernetes Cluster.

```go package main

import (

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

)

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
		}
		opt0 := "system"
		opt1 := "^centos_7"
		opt2 := true
		defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{
			Owners:     &opt0,
			NameRegex:  &opt1,
			MostRecent: &opt2,
		}, nil)
		if err != nil {
			return err
		}
		defaultManagedKubernetesClusters, err := cs.GetManagedKubernetesClusters(ctx, nil, nil)
		if err != nil {
			return err
		}
		opt3 := 2
		opt4 := 4
		defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{
			CpuCoreCount: &opt3,
			MemorySize:   &opt4,
		}, 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 added in v2.25.1

func (KubernetesAutoscaler) ElementType() reflect.Type

func (KubernetesAutoscaler) ToKubernetesAutoscalerOutput added in v2.25.1

func (i KubernetesAutoscaler) ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput

func (KubernetesAutoscaler) ToKubernetesAutoscalerOutputWithContext added in v2.25.1

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 KubernetesAutoscalerInput added in v2.25.1

type KubernetesAutoscalerInput interface {
	pulumi.Input

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

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 added in v2.25.1

type KubernetesAutoscalerOutput struct {
	*pulumi.OutputState
}

func (KubernetesAutoscalerOutput) ElementType added in v2.25.1

func (KubernetesAutoscalerOutput) ElementType() reflect.Type

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput added in v2.25.1

func (o KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutput() KubernetesAutoscalerOutput

func (KubernetesAutoscalerOutput) ToKubernetesAutoscalerOutputWithContext added in v2.25.1

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

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 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 added in v2.25.1

type KubernetesInput interface {
	pulumi.Input

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

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 added in v2.25.1

type KubernetesOutput struct {
	*pulumi.OutputState
}

func (KubernetesOutput) ElementType added in v2.25.1

func (KubernetesOutput) ElementType() reflect.Type

func (KubernetesOutput) ToKubernetesOutput added in v2.25.1

func (o KubernetesOutput) ToKubernetesOutput() KubernetesOutput

func (KubernetesOutput) ToKubernetesOutputWithContext added in v2.25.1

func (o KubernetesOutput) ToKubernetesOutputWithContext(ctx context.Context) KubernetesOutput

type KubernetesRuntime added in v2.25.1

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 added in v2.25.1

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 added in v2.25.1

func (KubernetesRuntimeArgs) ElementType() reflect.Type

func (KubernetesRuntimeArgs) ToKubernetesRuntimeOutput added in v2.25.1

func (i KubernetesRuntimeArgs) ToKubernetesRuntimeOutput() KubernetesRuntimeOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimeOutputWithContext added in v2.25.1

func (i KubernetesRuntimeArgs) ToKubernetesRuntimeOutputWithContext(ctx context.Context) KubernetesRuntimeOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutput added in v2.25.1

func (i KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutputWithContext added in v2.25.1

func (i KubernetesRuntimeArgs) ToKubernetesRuntimePtrOutputWithContext(ctx context.Context) KubernetesRuntimePtrOutput

type KubernetesRuntimeInput added in v2.25.1

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 added in v2.25.1

type KubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (KubernetesRuntimeOutput) ElementType added in v2.25.1

func (KubernetesRuntimeOutput) ElementType() reflect.Type

func (KubernetesRuntimeOutput) Name added in v2.25.1

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

func (KubernetesRuntimeOutput) ToKubernetesRuntimeOutput added in v2.25.1

func (o KubernetesRuntimeOutput) ToKubernetesRuntimeOutput() KubernetesRuntimeOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimeOutputWithContext added in v2.25.1

func (o KubernetesRuntimeOutput) ToKubernetesRuntimeOutputWithContext(ctx context.Context) KubernetesRuntimeOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutput added in v2.25.1

func (o KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimeOutput) ToKubernetesRuntimePtrOutputWithContext added in v2.25.1

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

func (KubernetesRuntimeOutput) Version added in v2.25.1

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 added in v2.25.1

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

func KubernetesRuntimePtr added in v2.25.1

func KubernetesRuntimePtr(v *KubernetesRuntimeArgs) KubernetesRuntimePtrInput

type KubernetesRuntimePtrOutput added in v2.25.1

type KubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (KubernetesRuntimePtrOutput) Elem added in v2.25.1

func (KubernetesRuntimePtrOutput) ElementType added in v2.25.1

func (KubernetesRuntimePtrOutput) ElementType() reflect.Type

func (KubernetesRuntimePtrOutput) Name added in v2.25.1

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

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput added in v2.25.1

func (o KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutput() KubernetesRuntimePtrOutput

func (KubernetesRuntimePtrOutput) ToKubernetesRuntimePtrOutputWithContext added in v2.25.1

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

func (KubernetesRuntimePtrOutput) Version added in v2.25.1

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 {
	Addons KubernetesAddonArrayInput
	// A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections KubernetesConnectionsPtrInput
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig 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
	// The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.
	MasterDiskSize pulumi.IntPtrInput
	// 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. It contains several attributes to `Block 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
	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.
	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. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrInput
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	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 `workerVswtichIds` or `masterVswtichIds` 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
	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
	// The runtime of containers. Default to `docker`. 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId       pulumi.StringPtrInput
	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 . Detailed below.
	Tags pulumi.MapInput
	// 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.
	Taints KubernetesTaintArrayInput
	// When you create a cluster, set the time zones for the Master and Woker 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
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrInput
	WorkerDataDiskCategory pulumi.StringPtrInput
	WorkerDataDiskSize     pulumi.IntPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks KubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayInput
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes KubernetesWorkerNodeArrayInput
	// 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.
	WorkerNumber pulumi.IntPtrInput
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrInput
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	WorkerVswitchIds  pulumi.StringArrayInput
}

func (KubernetesState) ElementType

func (KubernetesState) ElementType() reflect.Type

type KubernetesTaint added in v2.25.1

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

type KubernetesTaintArgs added in v2.25.1

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

func (KubernetesTaintArgs) ElementType added in v2.25.1

func (KubernetesTaintArgs) ElementType() reflect.Type

func (KubernetesTaintArgs) ToKubernetesTaintOutput added in v2.25.1

func (i KubernetesTaintArgs) ToKubernetesTaintOutput() KubernetesTaintOutput

func (KubernetesTaintArgs) ToKubernetesTaintOutputWithContext added in v2.25.1

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

type KubernetesTaintArray added in v2.25.1

type KubernetesTaintArray []KubernetesTaintInput

func (KubernetesTaintArray) ElementType added in v2.25.1

func (KubernetesTaintArray) ElementType() reflect.Type

func (KubernetesTaintArray) ToKubernetesTaintArrayOutput added in v2.25.1

func (i KubernetesTaintArray) ToKubernetesTaintArrayOutput() KubernetesTaintArrayOutput

func (KubernetesTaintArray) ToKubernetesTaintArrayOutputWithContext added in v2.25.1

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

type KubernetesTaintArrayInput added in v2.25.1

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 added in v2.25.1

type KubernetesTaintArrayOutput struct{ *pulumi.OutputState }

func (KubernetesTaintArrayOutput) ElementType added in v2.25.1

func (KubernetesTaintArrayOutput) ElementType() reflect.Type

func (KubernetesTaintArrayOutput) Index added in v2.25.1

func (KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutput added in v2.25.1

func (o KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutput() KubernetesTaintArrayOutput

func (KubernetesTaintArrayOutput) ToKubernetesTaintArrayOutputWithContext added in v2.25.1

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

type KubernetesTaintInput added in v2.25.1

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 added in v2.25.1

type KubernetesTaintOutput struct{ *pulumi.OutputState }

func (KubernetesTaintOutput) Effect added in v2.25.1

func (KubernetesTaintOutput) ElementType added in v2.25.1

func (KubernetesTaintOutput) ElementType() reflect.Type

func (KubernetesTaintOutput) Key added in v2.25.1

func (KubernetesTaintOutput) ToKubernetesTaintOutput added in v2.25.1

func (o KubernetesTaintOutput) ToKubernetesTaintOutput() KubernetesTaintOutput

func (KubernetesTaintOutput) ToKubernetesTaintOutputWithContext added in v2.25.1

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

func (KubernetesTaintOutput) Value added in v2.25.1

type KubernetesWorkerDataDisk added in v2.13.0

type KubernetesWorkerDataDisk struct {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	Category             *string `pulumi:"category"`
	Device               *string `pulumi:"device"`
	Encrypted            *string `pulumi:"encrypted"`
	KmsKeyId             *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       *string `pulumi:"name"`
	Size       *string `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type KubernetesWorkerDataDiskArgs added in v2.13.0

type KubernetesWorkerDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	Category             pulumi.StringPtrInput `pulumi:"category"`
	Device               pulumi.StringPtrInput `pulumi:"device"`
	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"`
	Size       pulumi.StringPtrInput `pulumi:"size"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (KubernetesWorkerDataDiskArgs) ElementType added in v2.13.0

func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput added in v2.13.0

func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput

func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext added in v2.13.0

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

type KubernetesWorkerDataDiskArray added in v2.13.0

type KubernetesWorkerDataDiskArray []KubernetesWorkerDataDiskInput

func (KubernetesWorkerDataDiskArray) ElementType added in v2.13.0

func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput added in v2.13.0

func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput

func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext added in v2.13.0

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

type KubernetesWorkerDataDiskArrayInput added in v2.13.0

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 added in v2.13.0

type KubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerDataDiskArrayOutput) ElementType added in v2.13.0

func (KubernetesWorkerDataDiskArrayOutput) Index added in v2.13.0

func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput added in v2.13.0

func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput

func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext added in v2.13.0

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

type KubernetesWorkerDataDiskInput added in v2.13.0

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 added in v2.13.0

type KubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId added in v2.13.0

func (o KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput

func (KubernetesWorkerDataDiskOutput) Category added in v2.13.0

func (KubernetesWorkerDataDiskOutput) Device added in v2.13.0

func (KubernetesWorkerDataDiskOutput) ElementType added in v2.13.0

func (KubernetesWorkerDataDiskOutput) Encrypted added in v2.13.0

func (KubernetesWorkerDataDiskOutput) KmsKeyId added in v2.13.0

func (KubernetesWorkerDataDiskOutput) Name added in v2.13.0

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

func (KubernetesWorkerDataDiskOutput) Size added in v2.13.0

func (KubernetesWorkerDataDiskOutput) SnapshotId added in v2.13.0

func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput added in v2.13.0

func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput

func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext added in v2.13.0

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 ManagedKubernetes

type ManagedKubernetes struct {
	pulumi.CustomResourceState

	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 `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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"`
	// 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"`
	ClusterSpec   pulumi.StringOutput    `pulumi:"clusterSpec"`
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections ManagedKubernetesConnectionsOutput `pulumi:"connections"`
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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"`
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrOutput `pulumi:"encryptionProviderKey"`
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"`
	// 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"`
	// Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrOutput `pulumi:"nodeNameMode"`
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	NodePortRange pulumi.StringPtrOutput `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.StringPtrOutput `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 `workerVswtichIds` or `masterVswtichIds` 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"`
	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"`
	// The runtime of containers. Default to `docker`. 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 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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"`
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId       pulumi.StringOutput `pulumi:"slbId"`
	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 . Detailed below.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// 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.
	Taints ManagedKubernetesTaintArrayOutput `pulumi:"taints"`
	// When you create a cluster, set the time zones for the Master and Woker 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"`
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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"`
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"`
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrOutput    `pulumi:"workerAutoRenewPeriod"`
	WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"`
	WorkerDataDiskSize     pulumi.IntPtrOutput    `pulumi:"workerDataDiskSize"`
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"`
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"`
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrOutput `pulumi:"workerDiskSize"`
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrOutput `pulumi:"workerInstanceChargeType"`
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"`
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes ManagedKubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"`
	// 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.
	WorkerNumber pulumi.IntOutput `pulumi:"workerNumber"`
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrOutput `pulumi:"workerPeriod"`
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrOutput `pulumi:"workerPeriodUnit"`
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringOutput      `pulumi:"workerRamRoleName"`
	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/managedKubernetes:ManagedKubernetes alicloud_cs_managed_kubernetes.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 added in v2.25.1

func (ManagedKubernetes) ElementType() reflect.Type

func (ManagedKubernetes) ToManagedKubernetesOutput added in v2.25.1

func (i ManagedKubernetes) ToManagedKubernetesOutput() ManagedKubernetesOutput

func (ManagedKubernetes) ToManagedKubernetesOutputWithContext added in v2.25.1

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 {
	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 `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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
	ClusterSpec   pulumi.StringPtrInput
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrInput
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig pulumi.StringPtrInput
	// 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
	// Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrInput
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	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 `workerVswtichIds` or `masterVswtichIds` 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
	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
	// The runtime of containers. Default to `docker`. 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 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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 . Detailed below.
	Tags pulumi.MapInput
	// 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.
	Taints ManagedKubernetesTaintArrayInput
	// When you create a cluster, set the time zones for the Master and Woker 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
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrInput
	WorkerDataDiskCategory pulumi.StringPtrInput
	WorkerDataDiskSize     pulumi.IntPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayInput
	// 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.
	WorkerNumber pulumi.IntInput
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrInput
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrInput
	WorkerVswitchIds pulumi.StringArrayInput
}

The set of arguments for constructing a ManagedKubernetes resource.

func (ManagedKubernetesArgs) ElementType

func (ManagedKubernetesArgs) ElementType() reflect.Type

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 added in v2.25.1

type ManagedKubernetesInput interface {
	pulumi.Input

	ToManagedKubernetesOutput() ManagedKubernetesOutput
	ToManagedKubernetesOutputWithContext(ctx context.Context) ManagedKubernetesOutput
}

type ManagedKubernetesOutput added in v2.25.1

type ManagedKubernetesOutput struct {
	*pulumi.OutputState
}

func (ManagedKubernetesOutput) ElementType added in v2.25.1

func (ManagedKubernetesOutput) ElementType() reflect.Type

func (ManagedKubernetesOutput) ToManagedKubernetesOutput added in v2.25.1

func (o ManagedKubernetesOutput) ToManagedKubernetesOutput() ManagedKubernetesOutput

func (ManagedKubernetesOutput) ToManagedKubernetesOutputWithContext added in v2.25.1

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

type ManagedKubernetesRuntime added in v2.25.1

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 added in v2.25.1

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 added in v2.25.1

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutput added in v2.25.1

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutput() ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimeOutputWithContext added in v2.25.1

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

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutput added in v2.25.1

func (i ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimeArgs) ToManagedKubernetesRuntimePtrOutputWithContext added in v2.25.1

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

type ManagedKubernetesRuntimeInput added in v2.25.1

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 added in v2.25.1

type ManagedKubernetesRuntimeOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRuntimeOutput) ElementType added in v2.25.1

func (ManagedKubernetesRuntimeOutput) Name added in v2.25.1

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

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutput added in v2.25.1

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutput() ManagedKubernetesRuntimeOutput

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimeOutputWithContext added in v2.25.1

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

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutput added in v2.25.1

func (o ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimeOutput) ToManagedKubernetesRuntimePtrOutputWithContext added in v2.25.1

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

func (ManagedKubernetesRuntimeOutput) Version added in v2.25.1

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 added in v2.25.1

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

func ManagedKubernetesRuntimePtr added in v2.25.1

func ManagedKubernetesRuntimePtr(v *ManagedKubernetesRuntimeArgs) ManagedKubernetesRuntimePtrInput

type ManagedKubernetesRuntimePtrOutput added in v2.25.1

type ManagedKubernetesRuntimePtrOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesRuntimePtrOutput) Elem added in v2.25.1

func (ManagedKubernetesRuntimePtrOutput) ElementType added in v2.25.1

func (ManagedKubernetesRuntimePtrOutput) Name added in v2.25.1

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

func (ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutput added in v2.25.1

func (o ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutput() ManagedKubernetesRuntimePtrOutput

func (ManagedKubernetesRuntimePtrOutput) ToManagedKubernetesRuntimePtrOutputWithContext added in v2.25.1

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

func (ManagedKubernetesRuntimePtrOutput) Version added in v2.25.1

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 {
	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 `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well.
	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
	ClusterSpec   pulumi.StringPtrInput
	// Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
	Connections ManagedKubernetesConnectionsPtrInput
	// Kubelet cpu policy. For Kubernetes 1.12.6 and later, its valid value is either `static` or `none`. Default to `none`.
	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
	// The disk encryption key.
	EncryptionProviderKey pulumi.StringPtrInput
	// Exclude autoscaler nodes from `workerNodes`. Default to `false`.
	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`.
	KubeConfig pulumi.StringPtrInput
	// 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
	// Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be `aliyun.com00055test`.
	NodeNameMode pulumi.StringPtrInput
	// The service port range of nodes, valid values: `30000` to `65535`. Default to `30000-32767`.
	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 `workerVswtichIds` or `masterVswtichIds` 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
	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
	// The runtime of containers. Default to `docker`. 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 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 `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well).
	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
	// Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it.
	SlbId       pulumi.StringPtrInput
	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 . Detailed below.
	Tags pulumi.MapInput
	// 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.
	Taints ManagedKubernetesTaintArrayInput
	// When you create a cluster, set the time zones for the Master and Woker 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
	// Custom data that can execute on nodes. For more information, see [Prepare user data](https://www.alibabacloud.com/help/doc-detail/49121.htm).
	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
	// Enable worker payment auto-renew, defaults to false.
	WorkerAutoRenew pulumi.BoolPtrInput
	// Worker payment auto-renew period,, it can be one of {1, 2, 3, 6, 12}.
	WorkerAutoRenewPeriod  pulumi.IntPtrInput
	WorkerDataDiskCategory pulumi.StringPtrInput
	WorkerDataDiskSize     pulumi.IntPtrInput
	// The data disk configurations of worker nodes, such as the disk type and disk size.
	// * `category`: the type of the data disks. Valid values:
	// * cloud: basic disks.
	// * cloud_efficiency: ultra disks.
	// * cloud_ssd: SSDs.
	// * cloud_essd: essd.
	// * `size`: the size of a data disk. Unit: GiB.
	// * `encrypted`: specifies whether to encrypt data disks. Valid values: true and false.
	WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput
	// The system disk category of worker node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	WorkerDiskCategory pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	WorkerDiskSize pulumi.IntPtrInput
	// 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.
	WorkerInstanceChargeType pulumi.StringPtrInput
	// The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.
	WorkerInstanceTypes pulumi.StringArrayInput
	// List of cluster worker nodes. It contains several attributes to `Block Nodes`.
	WorkerNodes ManagedKubernetesWorkerNodeArrayInput
	// 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.
	WorkerNumber pulumi.IntPtrInput
	// Worker payment period. The unit is `Month`. Its valid value is one of {1, 2, 3, 6, 12, 24, 36, 48, 60}.
	WorkerPeriod pulumi.IntPtrInput
	// Worker payment period unit, the valid value is `Month`.
	WorkerPeriodUnit pulumi.StringPtrInput
	// The RamRole Name attached to worker node.
	WorkerRamRoleName pulumi.StringPtrInput
	WorkerVswitchIds  pulumi.StringArrayInput
}

func (ManagedKubernetesState) ElementType

func (ManagedKubernetesState) ElementType() reflect.Type

type ManagedKubernetesTaint added in v2.25.1

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

type ManagedKubernetesTaintArgs added in v2.25.1

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

func (ManagedKubernetesTaintArgs) ElementType added in v2.25.1

func (ManagedKubernetesTaintArgs) ElementType() reflect.Type

func (ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutput added in v2.25.1

func (i ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutput() ManagedKubernetesTaintOutput

func (ManagedKubernetesTaintArgs) ToManagedKubernetesTaintOutputWithContext added in v2.25.1

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

type ManagedKubernetesTaintArray added in v2.25.1

type ManagedKubernetesTaintArray []ManagedKubernetesTaintInput

func (ManagedKubernetesTaintArray) ElementType added in v2.25.1

func (ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutput added in v2.25.1

func (i ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutput() ManagedKubernetesTaintArrayOutput

func (ManagedKubernetesTaintArray) ToManagedKubernetesTaintArrayOutputWithContext added in v2.25.1

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

type ManagedKubernetesTaintArrayInput added in v2.25.1

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 added in v2.25.1

type ManagedKubernetesTaintArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesTaintArrayOutput) ElementType added in v2.25.1

func (ManagedKubernetesTaintArrayOutput) Index added in v2.25.1

func (ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutput added in v2.25.1

func (o ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutput() ManagedKubernetesTaintArrayOutput

func (ManagedKubernetesTaintArrayOutput) ToManagedKubernetesTaintArrayOutputWithContext added in v2.25.1

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

type ManagedKubernetesTaintInput added in v2.25.1

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 added in v2.25.1

type ManagedKubernetesTaintOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesTaintOutput) Effect added in v2.25.1

func (ManagedKubernetesTaintOutput) ElementType added in v2.25.1

func (ManagedKubernetesTaintOutput) Key added in v2.25.1

func (ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutput added in v2.25.1

func (o ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutput() ManagedKubernetesTaintOutput

func (ManagedKubernetesTaintOutput) ToManagedKubernetesTaintOutputWithContext added in v2.25.1

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

func (ManagedKubernetesTaintOutput) Value added in v2.25.1

type ManagedKubernetesWorkerDataDisk added in v2.13.0

type ManagedKubernetesWorkerDataDisk struct {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	Category             *string `pulumi:"category"`
	Device               *string `pulumi:"device"`
	Encrypted            *string `pulumi:"encrypted"`
	KmsKeyId             *string `pulumi:"kmsKeyId"`
	// The kubernetes cluster's name. It is unique in one Alicloud account.
	Name       *string `pulumi:"name"`
	Size       *string `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type ManagedKubernetesWorkerDataDiskArgs added in v2.13.0

type ManagedKubernetesWorkerDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	Category             pulumi.StringPtrInput `pulumi:"category"`
	Device               pulumi.StringPtrInput `pulumi:"device"`
	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"`
	Size       pulumi.StringPtrInput `pulumi:"size"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (ManagedKubernetesWorkerDataDiskArgs) ElementType added in v2.13.0

func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput added in v2.13.0

func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput

func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext added in v2.13.0

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

type ManagedKubernetesWorkerDataDiskArray added in v2.13.0

type ManagedKubernetesWorkerDataDiskArray []ManagedKubernetesWorkerDataDiskInput

func (ManagedKubernetesWorkerDataDiskArray) ElementType added in v2.13.0

func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput added in v2.13.0

func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput

func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext added in v2.13.0

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

type ManagedKubernetesWorkerDataDiskArrayInput added in v2.13.0

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 added in v2.13.0

type ManagedKubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerDataDiskArrayOutput) ElementType added in v2.13.0

func (ManagedKubernetesWorkerDataDiskArrayOutput) Index added in v2.13.0

func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput added in v2.13.0

func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput

func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext added in v2.13.0

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

type ManagedKubernetesWorkerDataDiskInput added in v2.13.0

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 added in v2.13.0

type ManagedKubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }

func (ManagedKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) Category added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) Device added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) ElementType added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) Encrypted added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) KmsKeyId added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) Name added in v2.13.0

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

func (ManagedKubernetesWorkerDataDiskOutput) Size added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) SnapshotId added in v2.13.0

func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput added in v2.13.0

func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput

func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext added in v2.13.0

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

type ManagedKubernetesWorkerNode

type ManagedKubernetesWorkerNode 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 ManagedKubernetesWorkerNodeArgs

type ManagedKubernetesWorkerNodeArgs 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 (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

ID of the node.

func (ManagedKubernetesWorkerNodeOutput) Name

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

func (ManagedKubernetesWorkerNodeOutput) PrivateIp

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 added in v2.18.0

type NodePool struct {
	pulumi.CustomResourceState

	// The id of kubernetes cluster.
	ClusterId pulumi.StringOutput         `pulumi:"clusterId"`
	DataDisks NodePoolDataDiskArrayOutput `pulumi:"dataDisks"`
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringOutput `pulumi:"imageId"`
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"`
	// 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"`
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument.
	Labels NodePoolLabelArrayOutput `pulumi:"labels"`
	// The name of node pool.
	Name pulumi.StringOutput `pulumi:"name"`
	// The worker node number of the node pool.
	NodeCount pulumi.IntOutput `pulumi:"nodeCount"`
	// Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	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"`
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrOutput `pulumi:"systemDiskCategory"`
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"`
	// A List of tags to assign to the resource. It will be applied for ECS instances finally.
	// - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// A List of Kubernetes taints to assign to the nodes.
	Taints NodePoolTaintArrayOutput `pulumi:"taints"`
	// 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 ID of VPC where the current cluster is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

This resource will help you to manager node pool in Kubernetes Cluster.

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

func GetNodePool added in v2.18.0

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 added in v2.18.0

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 added in v2.25.1

func (NodePool) ElementType() reflect.Type

func (NodePool) ToNodePoolOutput added in v2.25.1

func (i NodePool) ToNodePoolOutput() NodePoolOutput

func (NodePool) ToNodePoolOutputWithContext added in v2.25.1

func (i NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput

type NodePoolArgs added in v2.18.0

type NodePoolArgs struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringInput
	DataDisks NodePoolDataDiskArrayInput
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayInput
	// 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
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument.
	Labels NodePoolLabelArrayInput
	// The name of node pool.
	Name pulumi.StringPtrInput
	// The worker node number of the node pool.
	NodeCount pulumi.IntInput
	// Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	NodeNameMode pulumi.StringPtrInput
	// The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	SecurityGroupId pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskSize pulumi.IntPtrInput
	// A List of tags to assign to the resource. It will be applied for ECS instances finally.
	// - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapInput
	// A List of Kubernetes taints to assign to the nodes.
	Taints NodePoolTaintArrayInput
	// 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 added in v2.18.0

func (NodePoolArgs) ElementType() reflect.Type

type NodePoolDataDisk added in v2.18.0

type NodePoolDataDisk struct {
	AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"`
	Category             *string `pulumi:"category"`
	Device               *string `pulumi:"device"`
	Encrypted            *string `pulumi:"encrypted"`
	KmsKeyId             *string `pulumi:"kmsKeyId"`
	// The name of node pool.
	Name       *string `pulumi:"name"`
	Size       *int    `pulumi:"size"`
	SnapshotId *string `pulumi:"snapshotId"`
}

type NodePoolDataDiskArgs added in v2.18.0

type NodePoolDataDiskArgs struct {
	AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"`
	Category             pulumi.StringPtrInput `pulumi:"category"`
	Device               pulumi.StringPtrInput `pulumi:"device"`
	Encrypted            pulumi.StringPtrInput `pulumi:"encrypted"`
	KmsKeyId             pulumi.StringPtrInput `pulumi:"kmsKeyId"`
	// The name of node pool.
	Name       pulumi.StringPtrInput `pulumi:"name"`
	Size       pulumi.IntPtrInput    `pulumi:"size"`
	SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"`
}

func (NodePoolDataDiskArgs) ElementType added in v2.18.0

func (NodePoolDataDiskArgs) ElementType() reflect.Type

func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutput added in v2.18.0

func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput

func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext added in v2.18.0

func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput

type NodePoolDataDiskArray added in v2.18.0

type NodePoolDataDiskArray []NodePoolDataDiskInput

func (NodePoolDataDiskArray) ElementType added in v2.18.0

func (NodePoolDataDiskArray) ElementType() reflect.Type

func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput added in v2.18.0

func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput

func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext added in v2.18.0

func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput

type NodePoolDataDiskArrayInput added in v2.18.0

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 added in v2.18.0

type NodePoolDataDiskArrayOutput struct{ *pulumi.OutputState }

func (NodePoolDataDiskArrayOutput) ElementType added in v2.18.0

func (NodePoolDataDiskArrayOutput) Index added in v2.18.0

func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput added in v2.18.0

func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput

func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext added in v2.18.0

func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput

type NodePoolDataDiskInput added in v2.18.0

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 added in v2.18.0

type NodePoolDataDiskOutput struct{ *pulumi.OutputState }

func (NodePoolDataDiskOutput) AutoSnapshotPolicyId added in v2.18.0

func (o NodePoolDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput

func (NodePoolDataDiskOutput) Category added in v2.18.0

func (NodePoolDataDiskOutput) Device added in v2.18.0

func (NodePoolDataDiskOutput) ElementType added in v2.18.0

func (NodePoolDataDiskOutput) ElementType() reflect.Type

func (NodePoolDataDiskOutput) Encrypted added in v2.18.0

func (NodePoolDataDiskOutput) KmsKeyId added in v2.18.0

func (NodePoolDataDiskOutput) Name added in v2.18.0

The name of node pool.

func (NodePoolDataDiskOutput) Size added in v2.18.0

func (NodePoolDataDiskOutput) SnapshotId added in v2.18.0

func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutput added in v2.18.0

func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput

func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext added in v2.18.0

func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput

type NodePoolInput added in v2.25.1

type NodePoolInput interface {
	pulumi.Input

	ToNodePoolOutput() NodePoolOutput
	ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
}

type NodePoolLabel added in v2.18.0

type NodePoolLabel struct {
	Key   string  `pulumi:"key"`
	Value *string `pulumi:"value"`
}

type NodePoolLabelArgs added in v2.18.0

type NodePoolLabelArgs struct {
	Key   pulumi.StringInput    `pulumi:"key"`
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (NodePoolLabelArgs) ElementType added in v2.18.0

func (NodePoolLabelArgs) ElementType() reflect.Type

func (NodePoolLabelArgs) ToNodePoolLabelOutput added in v2.18.0

func (i NodePoolLabelArgs) ToNodePoolLabelOutput() NodePoolLabelOutput

func (NodePoolLabelArgs) ToNodePoolLabelOutputWithContext added in v2.18.0

func (i NodePoolLabelArgs) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput

type NodePoolLabelArray added in v2.18.0

type NodePoolLabelArray []NodePoolLabelInput

func (NodePoolLabelArray) ElementType added in v2.18.0

func (NodePoolLabelArray) ElementType() reflect.Type

func (NodePoolLabelArray) ToNodePoolLabelArrayOutput added in v2.18.0

func (i NodePoolLabelArray) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput

func (NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext added in v2.18.0

func (i NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput

type NodePoolLabelArrayInput added in v2.18.0

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 added in v2.18.0

type NodePoolLabelArrayOutput struct{ *pulumi.OutputState }

func (NodePoolLabelArrayOutput) ElementType added in v2.18.0

func (NodePoolLabelArrayOutput) ElementType() reflect.Type

func (NodePoolLabelArrayOutput) Index added in v2.18.0

func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput added in v2.18.0

func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput

func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext added in v2.18.0

func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput

type NodePoolLabelInput added in v2.18.0

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 added in v2.18.0

type NodePoolLabelOutput struct{ *pulumi.OutputState }

func (NodePoolLabelOutput) ElementType added in v2.18.0

func (NodePoolLabelOutput) ElementType() reflect.Type

func (NodePoolLabelOutput) Key added in v2.18.0

func (NodePoolLabelOutput) ToNodePoolLabelOutput added in v2.18.0

func (o NodePoolLabelOutput) ToNodePoolLabelOutput() NodePoolLabelOutput

func (NodePoolLabelOutput) ToNodePoolLabelOutputWithContext added in v2.18.0

func (o NodePoolLabelOutput) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput

func (NodePoolLabelOutput) Value added in v2.18.0

type NodePoolOutput added in v2.25.1

type NodePoolOutput struct {
	*pulumi.OutputState
}

func (NodePoolOutput) ElementType added in v2.25.1

func (NodePoolOutput) ElementType() reflect.Type

func (NodePoolOutput) ToNodePoolOutput added in v2.25.1

func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput

func (NodePoolOutput) ToNodePoolOutputWithContext added in v2.25.1

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

type NodePoolState added in v2.18.0

type NodePoolState struct {
	// The id of kubernetes cluster.
	ClusterId pulumi.StringPtrInput
	DataDisks NodePoolDataDiskArrayInput
	// Custom Image support. Must based on CentOS7 or AliyunLinux2.
	ImageId pulumi.StringPtrInput
	// The instance type of worker node.
	InstanceTypes pulumi.StringArrayInput
	// 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
	// A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument.
	Labels NodePoolLabelArrayInput
	// The name of node pool.
	Name pulumi.StringPtrInput
	// The worker node number of the node pool.
	NodeCount pulumi.IntPtrInput
	// Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test.
	NodeNameMode pulumi.StringPtrInput
	// The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields.
	Password pulumi.StringPtrInput
	// The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40.
	SecurityGroupId pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskCategory pulumi.StringPtrInput
	// The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	SystemDiskSize pulumi.IntPtrInput
	// A List of tags to assign to the resource. It will be applied for ECS instances finally.
	// - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string.
	// - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string.
	Tags pulumi.MapInput
	// A List of Kubernetes taints to assign to the nodes.
	Taints NodePoolTaintArrayInput
	// 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 ID of VPC where the current cluster is located.
	VpcId pulumi.StringPtrInput
	// The vswitches used by node pool workers.
	VswitchIds pulumi.StringArrayInput
}

func (NodePoolState) ElementType added in v2.18.0

func (NodePoolState) ElementType() reflect.Type

type NodePoolTaint added in v2.18.0

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

type NodePoolTaintArgs added in v2.18.0

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

func (NodePoolTaintArgs) ElementType added in v2.18.0

func (NodePoolTaintArgs) ElementType() reflect.Type

func (NodePoolTaintArgs) ToNodePoolTaintOutput added in v2.18.0

func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext added in v2.18.0

func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput

type NodePoolTaintArray added in v2.18.0

type NodePoolTaintArray []NodePoolTaintInput

func (NodePoolTaintArray) ElementType added in v2.18.0

func (NodePoolTaintArray) ElementType() reflect.Type

func (NodePoolTaintArray) ToNodePoolTaintArrayOutput added in v2.18.0

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext added in v2.18.0

func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintArrayInput added in v2.18.0

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 added in v2.18.0

type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }

func (NodePoolTaintArrayOutput) ElementType added in v2.18.0

func (NodePoolTaintArrayOutput) ElementType() reflect.Type

func (NodePoolTaintArrayOutput) Index added in v2.18.0

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput added in v2.18.0

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput

func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext added in v2.18.0

func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput

type NodePoolTaintInput added in v2.18.0

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 added in v2.18.0

type NodePoolTaintOutput struct{ *pulumi.OutputState }

func (NodePoolTaintOutput) Effect added in v2.18.0

func (NodePoolTaintOutput) ElementType added in v2.18.0

func (NodePoolTaintOutput) ElementType() reflect.Type

func (NodePoolTaintOutput) Key added in v2.18.0

func (NodePoolTaintOutput) ToNodePoolTaintOutput added in v2.18.0

func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput

func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext added in v2.18.0

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

func (NodePoolTaintOutput) Value added in v2.18.0

type RegistryEnterpriseNamespace added in v2.8.0

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

)

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 added in v2.8.0

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 added in v2.8.0

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 added in v2.25.1

func (RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutput added in v2.25.1

func (i RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput

func (RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutputWithContext added in v2.25.1

func (i RegistryEnterpriseNamespace) ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput

type RegistryEnterpriseNamespaceArgs added in v2.8.0

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 added in v2.8.0

type RegistryEnterpriseNamespaceInput added in v2.25.1

type RegistryEnterpriseNamespaceInput interface {
	pulumi.Input

	ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput
	ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput
}

type RegistryEnterpriseNamespaceOutput added in v2.25.1

type RegistryEnterpriseNamespaceOutput struct {
	*pulumi.OutputState
}

func (RegistryEnterpriseNamespaceOutput) ElementType added in v2.25.1

func (RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutput added in v2.25.1

func (o RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutput() RegistryEnterpriseNamespaceOutput

func (RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutputWithContext added in v2.25.1

func (o RegistryEnterpriseNamespaceOutput) ToRegistryEnterpriseNamespaceOutputWithContext(ctx context.Context) RegistryEnterpriseNamespaceOutput

type RegistryEnterpriseNamespaceState added in v2.8.0

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 added in v2.8.0

type RegistryEnterpriseRepo added in v2.8.0

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

)

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 added in v2.8.0

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 added in v2.8.0

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 added in v2.25.1

func (RegistryEnterpriseRepo) ElementType() reflect.Type

func (RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutput added in v2.25.1

func (i RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput

func (RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutputWithContext added in v2.25.1

func (i RegistryEnterpriseRepo) ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput

type RegistryEnterpriseRepoArgs added in v2.8.0

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 added in v2.8.0

func (RegistryEnterpriseRepoArgs) ElementType() reflect.Type

type RegistryEnterpriseRepoInput added in v2.25.1

type RegistryEnterpriseRepoInput interface {
	pulumi.Input

	ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput
	ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput
}

type RegistryEnterpriseRepoOutput added in v2.25.1

type RegistryEnterpriseRepoOutput struct {
	*pulumi.OutputState
}

func (RegistryEnterpriseRepoOutput) ElementType added in v2.25.1

func (RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutput added in v2.25.1

func (o RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutput() RegistryEnterpriseRepoOutput

func (RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutputWithContext added in v2.25.1

func (o RegistryEnterpriseRepoOutput) ToRegistryEnterpriseRepoOutputWithContext(ctx context.Context) RegistryEnterpriseRepoOutput

type RegistryEnterpriseRepoState added in v2.8.0

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 added in v2.8.0

type RegistryEnterpriseSyncRule added in v2.12.0

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

)

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 added in v2.12.0

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 added in v2.12.0

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 added in v2.25.1

func (RegistryEnterpriseSyncRule) ElementType() reflect.Type

func (RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutput added in v2.25.1

func (i RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput

func (RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutputWithContext added in v2.25.1

func (i RegistryEnterpriseSyncRule) ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput

type RegistryEnterpriseSyncRuleArgs added in v2.12.0

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 added in v2.12.0

type RegistryEnterpriseSyncRuleInput added in v2.25.1

type RegistryEnterpriseSyncRuleInput interface {
	pulumi.Input

	ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput
	ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput
}

type RegistryEnterpriseSyncRuleOutput added in v2.25.1

type RegistryEnterpriseSyncRuleOutput struct {
	*pulumi.OutputState
}

func (RegistryEnterpriseSyncRuleOutput) ElementType added in v2.25.1

func (RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutput added in v2.25.1

func (o RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutput() RegistryEnterpriseSyncRuleOutput

func (RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutputWithContext added in v2.25.1

func (o RegistryEnterpriseSyncRuleOutput) ToRegistryEnterpriseSyncRuleOutputWithContext(ctx context.Context) RegistryEnterpriseSyncRuleOutput

type RegistryEnterpriseSyncRuleState added in v2.12.0

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 added in v2.12.0

type ServerlessKubernetes

type ServerlessKubernetes struct {
	pulumi.CustomResourceState

	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"`
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// 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`.
	KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"`
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringOutput    `pulumi:"name"`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true.
	NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"`
	// Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.
	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"`
	// 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"`
	// Default nil, A map of tags assigned to the kubernetes cluster .
	Tags pulumi.MapOutput `pulumi:"tags"`
	// 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.StringPtrOutput `pulumi:"vswitchId"`
	// The vswitches where new kubernetes cluster will be located.
	VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"`
}

## Import

Serverless Kubernetes cluster can be imported using the id, e.g.

```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 added in v2.25.1

func (ServerlessKubernetes) ElementType() reflect.Type

func (ServerlessKubernetes) ToServerlessKubernetesOutput added in v2.25.1

func (i ServerlessKubernetes) ToServerlessKubernetesOutput() ServerlessKubernetesOutput

func (ServerlessKubernetes) ToServerlessKubernetesOutputWithContext added in v2.25.1

func (i ServerlessKubernetes) ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput

type ServerlessKubernetesAddon added in v2.13.0

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

type ServerlessKubernetesAddonArgs added in v2.13.0

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

func (ServerlessKubernetesAddonArgs) ElementType added in v2.13.0

func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput added in v2.13.0

func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput

func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext added in v2.13.0

func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput

type ServerlessKubernetesAddonArray added in v2.13.0

type ServerlessKubernetesAddonArray []ServerlessKubernetesAddonInput

func (ServerlessKubernetesAddonArray) ElementType added in v2.13.0

func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput added in v2.13.0

func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput

func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext added in v2.13.0

func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput

type ServerlessKubernetesAddonArrayInput added in v2.13.0

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 added in v2.13.0

type ServerlessKubernetesAddonArrayOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesAddonArrayOutput) ElementType added in v2.13.0

func (ServerlessKubernetesAddonArrayOutput) Index added in v2.13.0

func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput added in v2.13.0

func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput

func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext added in v2.13.0

func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput

type ServerlessKubernetesAddonInput added in v2.13.0

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 added in v2.13.0

type ServerlessKubernetesAddonOutput struct{ *pulumi.OutputState }

func (ServerlessKubernetesAddonOutput) Config added in v2.13.0

func (ServerlessKubernetesAddonOutput) Disabled added in v2.13.0

func (ServerlessKubernetesAddonOutput) ElementType added in v2.13.0

func (ServerlessKubernetesAddonOutput) Name added in v2.13.0

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

func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput added in v2.13.0

func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput

func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext added in v2.13.0

func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput

type ServerlessKubernetesArgs

type ServerlessKubernetesArgs struct {
	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
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection 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`.
	KubeConfig pulumi.StringPtrInput
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true.
	NewNatGateway pulumi.BoolPtrInput
	// Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.
	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
	// 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
	// Default nil, A map of tags assigned to the kubernetes cluster .
	Tags pulumi.MapInput
	// 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
}

The set of arguments for constructing a ServerlessKubernetes resource.

func (ServerlessKubernetesArgs) ElementType

func (ServerlessKubernetesArgs) ElementType() reflect.Type

type ServerlessKubernetesInput added in v2.25.1

type ServerlessKubernetesInput interface {
	pulumi.Input

	ToServerlessKubernetesOutput() ServerlessKubernetesOutput
	ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput
}

type ServerlessKubernetesOutput added in v2.25.1

type ServerlessKubernetesOutput struct {
	*pulumi.OutputState
}

func (ServerlessKubernetesOutput) ElementType added in v2.25.1

func (ServerlessKubernetesOutput) ElementType() reflect.Type

func (ServerlessKubernetesOutput) ToServerlessKubernetesOutput added in v2.25.1

func (o ServerlessKubernetesOutput) ToServerlessKubernetesOutput() ServerlessKubernetesOutput

func (ServerlessKubernetesOutput) ToServerlessKubernetesOutputWithContext added in v2.25.1

func (o ServerlessKubernetesOutput) ToServerlessKubernetesOutputWithContext(ctx context.Context) ServerlessKubernetesOutput

type ServerlessKubernetesState

type ServerlessKubernetesState struct {
	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
	// Whether enable the deletion protection or not.
	// - true: Enable deletion protection.
	// - false: Disable deletion protection.
	DeletionProtection 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`.
	KubeConfig pulumi.StringPtrInput
	// The kubernetes cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create a new nat gateway while creating kubernetes cluster. Default to true.
	NewNatGateway pulumi.BoolPtrInput
	// Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.
	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
	// 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
	// Default nil, A map of tags assigned to the kubernetes cluster .
	Tags pulumi.MapInput
	// 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
}

func (ServerlessKubernetesState) ElementType

func (ServerlessKubernetesState) ElementType() reflect.Type

type Swarm

type Swarm struct {
	pulumi.CustomResourceState

	// The nodes agent version.
	AgentVersion pulumi.StringOutput `pulumi:"agentVersion"`
	// The CIDR block for the Container. It can not be same as the CIDR used by the VPC.
	// Valid value:
	// - 192.168.0.0/16
	// - 172.19-30.0.0/16
	// - 10.0.0.0/16
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	DiskCategory pulumi.StringPtrOutput `pulumi:"diskCategory"`
	// The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.
	DiskSize pulumi.IntPtrOutput `pulumi:"diskSize"`
	// The image ID of ECS instance node used. Default to System automate allocated.
	ImageId pulumi.StringPtrOutput `pulumi:"imageId"`
	// The type of ECS instance node.
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrOutput `pulumi:"isOutdated"`
	// The container cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringOutput    `pulumi:"name"`
	NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"`
	// Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.
	NeedSlb pulumi.BoolPtrOutput `pulumi:"needSlb"`
	// The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.
	NodeNumber pulumi.IntPtrOutput `pulumi:"nodeNumber"`
	// List of cluster nodes. It contains several attributes to `Block Nodes`.
	Nodes SwarmNodeArrayOutput `pulumi:"nodes"`
	// The password of ECS instance node.
	Password pulumi.StringOutput `pulumi:"password"`
	// Whether to release EIP after creating swarm cluster successfully. Default to false.
	ReleaseEip pulumi.BoolPtrOutput `pulumi:"releaseEip"`
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"`
	// Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	//
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size pulumi.IntPtrOutput `pulumi:"size"`
	// The ID of load balancer where the current cluster worker node is located.
	SlbId pulumi.StringOutput `pulumi:"slbId"`
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringOutput `pulumi:"vpcId"`
	// The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`.
	VswitchId pulumi.StringOutput `pulumi:"vswitchId"`
}

> **DEPRECATED:** This resource manages swarm cluster, which is being deprecated and will be replaced by Kubernetes cluster.

This resource will help you to manager a Swarm Cluster.

> **NOTE:** Swarm cluster only supports VPC network and you can specify a VPC network by filed `vswitchId`.

## Example Usage

Basic Usage

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cs.NewSwarm(ctx, "myCluster", &cs.SwarmArgs{
			Password:     pulumi.String("Yourpassword1234"),
			InstanceType: pulumi.String("ecs.n4.small"),
			NodeNumber:   pulumi.Int(2),
			DiskCategory: pulumi.String("cloud_efficiency"),
			DiskSize:     pulumi.Int(20),
			CidrBlock:    pulumi.String("172.18.0.0/24"),
			ImageId:      pulumi.Any(_var.Image_id),
			VswitchId:    pulumi.Any(_var.Vswitch_id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Swarm cluster can be imported using the id, e.g.

```sh

$ pulumi import alicloud:cs/swarm:Swarm foo cf123456789

```

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 added in v2.25.1

func (Swarm) ElementType() reflect.Type

func (Swarm) ToSwarmOutput added in v2.25.1

func (i Swarm) ToSwarmOutput() SwarmOutput

func (Swarm) ToSwarmOutputWithContext added in v2.25.1

func (i Swarm) ToSwarmOutputWithContext(ctx context.Context) SwarmOutput

type SwarmArgs

type SwarmArgs struct {
	// The CIDR block for the Container. It can not be same as the CIDR used by the VPC.
	// Valid value:
	// - 192.168.0.0/16
	// - 172.19-30.0.0/16
	// - 10.0.0.0/16
	CidrBlock pulumi.StringInput
	// The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	DiskCategory pulumi.StringPtrInput
	// The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.
	DiskSize pulumi.IntPtrInput
	// The image ID of ECS instance node used. Default to System automate allocated.
	ImageId pulumi.StringPtrInput
	// The type of ECS instance node.
	InstanceType pulumi.StringInput
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrInput
	// The container cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.
	NeedSlb pulumi.BoolPtrInput
	// The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.
	NodeNumber pulumi.IntPtrInput
	// The password of ECS instance node.
	Password pulumi.StringInput
	// Whether to release EIP after creating swarm cluster successfully. Default to false.
	ReleaseEip pulumi.BoolPtrInput
	// Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	//
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size pulumi.IntPtrInput
	// The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`.
	VswitchId pulumi.StringInput
}

The set of arguments for constructing a Swarm resource.

func (SwarmArgs) ElementType

func (SwarmArgs) ElementType() reflect.Type

type SwarmInput added in v2.25.1

type SwarmInput interface {
	pulumi.Input

	ToSwarmOutput() SwarmOutput
	ToSwarmOutputWithContext(ctx context.Context) SwarmOutput
}

type SwarmNode

type SwarmNode struct {
	// The Elastic IP address of node.
	Eip *string `pulumi:"eip"`
	// ID of the node.
	Id *string `pulumi:"id"`
	// The container cluster's name. It is the only in one Alicloud account.
	Name *string `pulumi:"name"`
	// The private IP address of node.
	PrivateIp *string `pulumi:"privateIp"`
	// The node current status. It is different with instance status.
	Status *string `pulumi:"status"`
}

type SwarmNodeArgs

type SwarmNodeArgs struct {
	// The Elastic IP address of node.
	Eip pulumi.StringPtrInput `pulumi:"eip"`
	// ID of the node.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The container cluster's name. It is the only in one Alicloud account.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The private IP address of node.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// The node current status. It is different with instance status.
	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

The Elastic IP address of node.

func (SwarmNodeOutput) ElementType

func (SwarmNodeOutput) ElementType() reflect.Type

func (SwarmNodeOutput) Id

ID of the node.

func (SwarmNodeOutput) Name

The container cluster's name. It is the only in one Alicloud account.

func (SwarmNodeOutput) PrivateIp

func (o SwarmNodeOutput) PrivateIp() pulumi.StringPtrOutput

The private IP address of node.

func (SwarmNodeOutput) Status

The node current status. It is different with instance status.

func (SwarmNodeOutput) ToSwarmNodeOutput

func (o SwarmNodeOutput) ToSwarmNodeOutput() SwarmNodeOutput

func (SwarmNodeOutput) ToSwarmNodeOutputWithContext

func (o SwarmNodeOutput) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput

type SwarmOutput added in v2.25.1

type SwarmOutput struct {
	*pulumi.OutputState
}

func (SwarmOutput) ElementType added in v2.25.1

func (SwarmOutput) ElementType() reflect.Type

func (SwarmOutput) ToSwarmOutput added in v2.25.1

func (o SwarmOutput) ToSwarmOutput() SwarmOutput

func (SwarmOutput) ToSwarmOutputWithContext added in v2.25.1

func (o SwarmOutput) ToSwarmOutputWithContext(ctx context.Context) SwarmOutput

type SwarmState

type SwarmState struct {
	// The nodes agent version.
	AgentVersion pulumi.StringPtrInput
	// The CIDR block for the Container. It can not be same as the CIDR used by the VPC.
	// Valid value:
	// - 192.168.0.0/16
	// - 172.19-30.0.0/16
	// - 10.0.0.0/16
	CidrBlock pulumi.StringPtrInput
	// The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`.
	DiskCategory pulumi.StringPtrInput
	// The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.
	DiskSize pulumi.IntPtrInput
	// The image ID of ECS instance node used. Default to System automate allocated.
	ImageId pulumi.StringPtrInput
	// The type of ECS instance node.
	InstanceType pulumi.StringPtrInput
	// Whether to use outdated instance type. Default to false.
	IsOutdated pulumi.BoolPtrInput
	// The container cluster's name. It is the only in one Alicloud account.
	Name       pulumi.StringPtrInput
	NamePrefix pulumi.StringPtrInput
	// Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.
	NeedSlb pulumi.BoolPtrInput
	// The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.
	NodeNumber pulumi.IntPtrInput
	// List of cluster nodes. It contains several attributes to `Block Nodes`.
	Nodes SwarmNodeArrayInput
	// The password of ECS instance node.
	Password pulumi.StringPtrInput
	// Whether to release EIP after creating swarm cluster successfully. Default to false.
	ReleaseEip pulumi.BoolPtrInput
	// The ID of security group where the current cluster worker node is located.
	SecurityGroupId pulumi.StringPtrInput
	// Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	//
	// Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
	Size pulumi.IntPtrInput
	// The ID of load balancer where the current cluster worker node is located.
	SlbId pulumi.StringPtrInput
	// The ID of VPC where the current cluster is located.
	VpcId pulumi.StringPtrInput
	// The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`.
	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