Module cs

This page documents the language specification for the alicloud package. If you're looking for help working with the inputs, outputs, or functions of alicloud resources in a Pulumi program, please see the resource documentation for examples and API reference.

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-alicloud repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-alicloud repo.

Resources

Functions

Others

Resources

Resource Application

class Application extends CustomResource

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.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as fs from "fs";

const app = new alicloud.cs.Application("app", {
    clusterName: "my-first-swarm",
    environment: {
        EXTERNAL_URL: "123.123.123.123:8080",
    },
    latestImage: true,
    template: fs.readFileSync("wordpress.yml", "utf-8"),
    version: "1.2",
});

constructor

new Application(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions)

Create a Application resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application

Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Application

Returns true if the given object is an instance of Application. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property blueGreen

public blueGreen: pulumi.Output<boolean | undefined>;

Wherther to use “Blue Green” method when release a new version. Default to false.

property blueGreenConfirm

public blueGreenConfirm: pulumi.Output<boolean | undefined>;

Whether to confirm a “Blue Green” application. Default to false. It will be ignored when blueGreen is false.

property clusterName

public clusterName: pulumi.Output<string>;

The swarm cluster’s name.

property defaultDomain

public defaultDomain: pulumi.Output<string>;

The application default domain and it can be used to configure routing service.

property description

public description: pulumi.Output<string | undefined>;

The description of application.

property environment

public environment: pulumi.Output<{[key: string]: any} | undefined>;

A key/value map used to replace the variable parameter in the Compose template.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property latestImage

public latestImage: pulumi.Output<boolean | undefined>;

Whether to use latest docker image while each updating application. Default to false.

property name

public name: pulumi.Output<string>;

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

property services

public services: pulumi.Output<ApplicationService[]>;

List of services in the application. It contains several attributes to Block Nodes.

property template

public template: pulumi.Output<string>;

The application deployment template and it must be Docker Compose format.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property version

public version: pulumi.Output<string | undefined>;

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

Resource Cluster

class Cluster extends CustomResource

constructor

new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)

Create a Cluster resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster

Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Cluster

Returns true if the given object is an instance of Cluster. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property agentVersion

public agentVersion: pulumi.Output<string>;

property cidrBlock

public cidrBlock: pulumi.Output<string>;

property diskCategory

public diskCategory: pulumi.Output<string | undefined>;

property diskSize

public diskSize: pulumi.Output<number | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property imageId

public imageId: pulumi.Output<string | undefined>;

property instanceType

public instanceType: pulumi.Output<string>;

property isOutdated

public isOutdated: pulumi.Output<boolean | undefined>;

property name

public name: pulumi.Output<string>;

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

property needSlb

public needSlb: pulumi.Output<boolean | undefined>;

property nodeNumber

public nodeNumber: pulumi.Output<number | undefined>;

property nodes

public nodes: pulumi.Output<ClusterNode[]>;

property password

public password: pulumi.Output<string>;

property releaseEip

public releaseEip: pulumi.Output<boolean | undefined>;

property securityGroupId

public securityGroupId: pulumi.Output<string>;

property size

public size: pulumi.Output<number | undefined>;

property slbId

public slbId: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string>;

property vswitchId

public vswitchId: pulumi.Output<string>;

Resource Kubernetes

class Kubernetes extends CustomResource

constructor

new Kubernetes(name: string, args: KubernetesArgs, opts?: pulumi.CustomResourceOptions)

Create a Kubernetes resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubernetesState, opts?: pulumi.CustomResourceOptions): Kubernetes

Get an existing Kubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Kubernetes

Returns true if the given object is an instance of Kubernetes. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property addons

public addons: pulumi.Output<KubernetesAddon[] | undefined>;

property availabilityZone

public availabilityZone: pulumi.Output<string>;

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.

property clientCert

public clientCert: pulumi.Output<string | undefined>;

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

property clientKey

public clientKey: pulumi.Output<string | undefined>;

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

property clusterCaCert

public clusterCaCert: pulumi.Output<string | undefined>;

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

property connections

public connections: pulumi.Output<KubernetesConnections>;

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

property cpuPolicy

public cpuPolicy: pulumi.Output<string | undefined>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

public enableSsh: pulumi.Output<boolean | undefined>;

Enable login to the node through SSH. default: false

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property imageId

public imageId: pulumi.Output<string | undefined>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

public installCloudMonitor: pulumi.Output<boolean | undefined>;

Install cloud monitor agent on ECS. default: true

property keyName

public keyName: pulumi.Output<string | undefined>;

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

property kmsEncryptedPassword

public kmsEncryptedPassword: pulumi.Output<string | undefined>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

public kmsEncryptionContext: pulumi.Output<{[key: string]: any} | undefined>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

public kubeConfig: pulumi.Output<string | undefined>;

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

property masterAutoRenew

public masterAutoRenew: pulumi.Output<boolean | undefined>;

Enable master payment auto-renew, defaults to false.

property masterAutoRenewPeriod

public masterAutoRenewPeriod: pulumi.Output<number | undefined>;

Master payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property masterDiskCategory

public masterDiskCategory: pulumi.Output<string | undefined>;

The system disk category of master node. Its valid value are cloudSsd and cloudEfficiency. Default to cloudEfficiency.

property masterDiskSize

public masterDiskSize: pulumi.Output<number | undefined>;

The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.

property masterInstanceChargeType

public masterInstanceChargeType: pulumi.Output<string | undefined>;

Master payment type. PrePaid or PostPaid, defaults to PostPaid.

property masterInstanceTypes

public masterInstanceTypes: pulumi.Output<string[]>;

The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

property masterNodes

public masterNodes: pulumi.Output<KubernetesMasterNode[]>;

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

property masterPeriod

public masterPeriod: pulumi.Output<number | undefined>;

Master payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property masterPeriodUnit

public masterPeriodUnit: pulumi.Output<string | undefined>;

Master payment period unit. Month or Week, defaults to Month.

property masterVswitchIds

public masterVswitchIds: pulumi.Output<string[]>;

property name

public name: pulumi.Output<string>;

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

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

property natGatewayId

public natGatewayId: pulumi.Output<string>;

The ID of nat gateway used to launch kubernetes cluster.

property newNatGateway

public newNatGateway: pulumi.Output<boolean | undefined>;

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.

property nodeCidrMask

public nodeCidrMask: pulumi.Output<number | undefined>;

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

property password

public password: pulumi.Output<string | undefined>;

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

property podCidr

public podCidr: pulumi.Output<string | undefined>;

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

property podVswitchIds

public podVswitchIds: pulumi.Output<string[] | undefined>;

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

property proxyMode

public proxyMode: pulumi.Output<string | undefined>;

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

property securityGroupId

public securityGroupId: pulumi.Output<string>;

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

property serviceCidr

public serviceCidr: pulumi.Output<string | undefined>;

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.

property slbId

public slbId: pulumi.Output<string>;

property slbInternet

public slbInternet: pulumi.Output<string>;

property slbInternetEnabled

public slbInternetEnabled: pulumi.Output<boolean | undefined>;

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

property slbIntranet

public slbIntranet: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property userCa

public userCa: pulumi.Output<string | undefined>;

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

property userData

public userData: pulumi.Output<string | undefined>;

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.

property version

public version: pulumi.Output<string | undefined>;

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.

property vpcId

public vpcId: pulumi.Output<string>;

The ID of VPC where the current cluster is located.

property workerAutoRenew

public workerAutoRenew: pulumi.Output<boolean | undefined>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

public workerAutoRenewPeriod: pulumi.Output<number | undefined>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

public workerDataDiskCategory: pulumi.Output<string | undefined>;

property workerDataDiskSize

public workerDataDiskSize: pulumi.Output<number | undefined>;

property workerDiskCategory

public workerDiskCategory: pulumi.Output<string | undefined>;

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

property workerDiskSize

public workerDiskSize: pulumi.Output<number | undefined>;

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

property workerInstanceChargeType

public workerInstanceChargeType: pulumi.Output<string | undefined>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

public workerInstanceTypes: pulumi.Output<string[]>;

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

property workerNodes

public workerNodes: pulumi.Output<KubernetesWorkerNode[]>;

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

property workerNumber

public workerNumber: pulumi.Output<number>;

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.

property workerPeriod

public workerPeriod: pulumi.Output<number | undefined>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

public workerPeriodUnit: pulumi.Output<string | undefined>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

public workerVswitchIds: pulumi.Output<string[]>;

Resource KubernetesAutoscaler

class KubernetesAutoscaler extends CustomResource

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

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultKubernetesAutoscaler = new alicloud.cs.KubernetesAutoscaler("default", {
    clusterId: var_cluster_id,
    coolDownDuration: var_cool_down_duration,
    deferScaleInDuration: var_defer_scale_in_duration,
    nodepools: [{
        id: "scalingGroupId",
        labels: "a=b",
        taints: "c=d:NoSchedule",
    }],
    utilization: var_utilization,
});

constructor

new KubernetesAutoscaler(name: string, args: KubernetesAutoscalerArgs, opts?: pulumi.CustomResourceOptions)

Create a KubernetesAutoscaler resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: KubernetesAutoscalerState, opts?: pulumi.CustomResourceOptions): KubernetesAutoscaler

Get an existing KubernetesAutoscaler resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is KubernetesAutoscaler

Returns true if the given object is an instance of KubernetesAutoscaler. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property clusterId

public clusterId: pulumi.Output<string>;

The id of kubernetes cluster.

property coolDownDuration

public coolDownDuration: pulumi.Output<string>;

The coolDownDuration option of cluster-autoscaler.

property deferScaleInDuration

public deferScaleInDuration: pulumi.Output<string>;

The deferScaleInDuration option of cluster-autoscaler.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property nodepools

public nodepools: pulumi.Output<KubernetesAutoscalerNodepool[] | undefined>;
  • 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.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property utilization

public utilization: pulumi.Output<string>;

The utilization option of cluster-autoscaler.

Resource ManagedKubernetes

class ManagedKubernetes extends CustomResource

constructor

new ManagedKubernetes(name: string, args: ManagedKubernetesArgs, opts?: pulumi.CustomResourceOptions)

Create a ManagedKubernetes resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ManagedKubernetesState, opts?: pulumi.CustomResourceOptions): ManagedKubernetes

Get an existing ManagedKubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is ManagedKubernetes

Returns true if the given object is an instance of ManagedKubernetes. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property addons

public addons: pulumi.Output<ManagedKubernetesAddon[] | undefined>;

property availabilityZone

public availabilityZone: pulumi.Output<string>;

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.

property clientCert

public clientCert: pulumi.Output<string | undefined>;

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

property clientKey

public clientKey: pulumi.Output<string | undefined>;

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

property clusterCaCert

public clusterCaCert: pulumi.Output<string | undefined>;

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

property connections

public connections: pulumi.Output<ManagedKubernetesConnections>;

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

property cpuPolicy

public cpuPolicy: pulumi.Output<string | undefined>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

public enableSsh: pulumi.Output<boolean | undefined>;

Enable login to the node through SSH. default: false

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property imageId

public imageId: pulumi.Output<string | undefined>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

public installCloudMonitor: pulumi.Output<boolean | undefined>;

Install cloud monitor agent on ECS. default: true

property keyName

public keyName: pulumi.Output<string | undefined>;

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

property kmsEncryptedPassword

public kmsEncryptedPassword: pulumi.Output<string | undefined>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

public kmsEncryptionContext: pulumi.Output<{[key: string]: any} | undefined>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

public kubeConfig: pulumi.Output<string | undefined>;

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

property name

public name: pulumi.Output<string>;

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

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

property natGatewayId

public natGatewayId: pulumi.Output<string>;

The ID of nat gateway used to launch kubernetes cluster.

property newNatGateway

public newNatGateway: pulumi.Output<boolean | undefined>;

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.

property nodeCidrMask

public nodeCidrMask: pulumi.Output<number | undefined>;

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

property password

public password: pulumi.Output<string | undefined>;

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

property podCidr

public podCidr: pulumi.Output<string | undefined>;

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

property podVswitchIds

public podVswitchIds: pulumi.Output<string[] | undefined>;

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

property proxyMode

public proxyMode: pulumi.Output<string | undefined>;

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

property securityGroupId

public securityGroupId: pulumi.Output<string>;

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

property serviceCidr

public serviceCidr: pulumi.Output<string | undefined>;

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.

property slbId

public slbId: pulumi.Output<string>;

property slbInternet

public slbInternet: pulumi.Output<string>;

property slbInternetEnabled

public slbInternetEnabled: pulumi.Output<boolean | undefined>;

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

property slbIntranet

public slbIntranet: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property userCa

public userCa: pulumi.Output<string | undefined>;

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

property userData

public userData: pulumi.Output<string | undefined>;

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.

property version

public version: pulumi.Output<string>;

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.

property vpcId

public vpcId: pulumi.Output<string>;

The ID of VPC where the current cluster is located.

property workerAutoRenew

public workerAutoRenew: pulumi.Output<boolean | undefined>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

public workerAutoRenewPeriod: pulumi.Output<number | undefined>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

public workerDataDiskCategory: pulumi.Output<string | undefined>;

property workerDataDiskSize

public workerDataDiskSize: pulumi.Output<number | undefined>;

property workerDiskCategory

public workerDiskCategory: pulumi.Output<string | undefined>;

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

property workerDiskSize

public workerDiskSize: pulumi.Output<number | undefined>;

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

property workerInstanceChargeType

public workerInstanceChargeType: pulumi.Output<string | undefined>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

public workerInstanceTypes: pulumi.Output<string[]>;

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

property workerNodes

public workerNodes: pulumi.Output<ManagedKubernetesWorkerNode[]>;

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

property workerNumber

public workerNumber: pulumi.Output<number>;

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.

property workerPeriod

public workerPeriod: pulumi.Output<number | undefined>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

public workerPeriodUnit: pulumi.Output<string | undefined>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

public workerVswitchIds: pulumi.Output<string[]>;

Resource RegistryEnterpriseNamespace

class RegistryEnterpriseNamespace extends CustomResource

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

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

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const myNamespace = new alicloud.cs.RegistryEnterpriseNamespace("my-namespace", {
    autoCreate: false,
    defaultVisibility: "PUBLIC",
    instanceId: "cri-xxx",
});

constructor

new RegistryEnterpriseNamespace(name: string, args: RegistryEnterpriseNamespaceArgs, opts?: pulumi.CustomResourceOptions)

Create a RegistryEnterpriseNamespace resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegistryEnterpriseNamespaceState, opts?: pulumi.CustomResourceOptions): RegistryEnterpriseNamespace

Get an existing RegistryEnterpriseNamespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is RegistryEnterpriseNamespace

Returns true if the given object is an instance of RegistryEnterpriseNamespace. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property autoCreate

public autoCreate: pulumi.Output<boolean>;

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.

property defaultVisibility

public defaultVisibility: pulumi.Output<string>;

PUBLIC or PRIVATE, default repository visibility in this namespace.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

ID of Container Registry Enterprise Edition instance.

property name

public name: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource RegistryEnterpriseRepo

class RegistryEnterpriseRepo extends CustomResource

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

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

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const myNamespace = new alicloud.cs.RegistryEnterpriseNamespace("my-namespace", {
    autoCreate: false,
    defaultVisibility: "PUBLIC",
    instanceId: "cri-xxx",
});
const myRepo = new alicloud.cs.RegistryEnterpriseRepo("my-repo", {
    detail: "this is a public repo",
    instanceId: my_namespace.instanceId,
    namespace: my_namespace.name,
    repoType: "PUBLIC",
    summary: "this is summary of my new repo",
});

constructor

new RegistryEnterpriseRepo(name: string, args: RegistryEnterpriseRepoArgs, opts?: pulumi.CustomResourceOptions)

Create a RegistryEnterpriseRepo resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegistryEnterpriseRepoState, opts?: pulumi.CustomResourceOptions): RegistryEnterpriseRepo

Get an existing RegistryEnterpriseRepo resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is RegistryEnterpriseRepo

Returns true if the given object is an instance of RegistryEnterpriseRepo. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property detail

public detail: pulumi.Output<string | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property instanceId

public instanceId: pulumi.Output<string>;

ID of Container Registry Enterprise Edition instance.

property name

public name: pulumi.Output<string>;

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

property namespace

public namespace: pulumi.Output<string>;

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

property repoId

public repoId: pulumi.Output<string>;

The uuid of Container Registry Enterprise Edition repository.

property repoType

public repoType: pulumi.Output<string>;

PUBLIC or PRIVATE, repo’s visibility.

property summary

public summary: pulumi.Output<string>;

The repository general information. It can contain 1 to 100 characters.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

Resource ServerlessKubernetes

class ServerlessKubernetes extends CustomResource

constructor

new ServerlessKubernetes(name: string, args: ServerlessKubernetesArgs, opts?: pulumi.CustomResourceOptions)

Create a ServerlessKubernetes resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessKubernetesState, opts?: pulumi.CustomResourceOptions): ServerlessKubernetes

Get an existing ServerlessKubernetes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is ServerlessKubernetes

Returns true if the given object is an instance of ServerlessKubernetes. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property clientCert

public clientCert: pulumi.Output<string | undefined>;

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

property clientKey

public clientKey: pulumi.Output<string | undefined>;

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

property clusterCaCert

public clusterCaCert: pulumi.Output<string | undefined>;

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

property deletionProtection

public deletionProtection: pulumi.Output<boolean | undefined>;

Whether enable the deletion protection or not. - true: Enable deletion protection. - false: Disable deletion protection.

property endpointPublicAccessEnabled

public endpointPublicAccessEnabled: pulumi.Output<boolean | undefined>;

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

property forceUpdate

public forceUpdate: pulumi.Output<boolean | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property kubeConfig

public kubeConfig: pulumi.Output<string | undefined>;

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

property name

public name: pulumi.Output<string>;

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

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

property newNatGateway

public newNatGateway: pulumi.Output<boolean | undefined>;

Whether to create a new nat gateway while creating kubernetes cluster. Default to true.

property privateZone

public privateZone: pulumi.Output<boolean | undefined>;

Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.

property securityGroupId

public securityGroupId: pulumi.Output<string>;

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

property tags

public tags: pulumi.Output<{[key: string]: any} | undefined>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string>;

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.

property vswitchId

public vswitchId: pulumi.Output<string>;

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.

Resource Swarm

class Swarm extends CustomResource

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

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const myCluster = new alicloud.cs.Swarm("myCluster", {
    cidrBlock: "172.18.0.0/24",
    diskCategory: "cloudEfficiency",
    diskSize: 20,
    imageId: var_image_id,
    instanceType: "ecs.n4.small",
    nodeNumber: 2,
    password: "Yourpassword1234",
    vswitchId: var_vswitch_id,
});

constructor

new Swarm(name: string, args: SwarmArgs, opts?: pulumi.CustomResourceOptions)

Create a Swarm resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SwarmState, opts?: pulumi.CustomResourceOptions): Swarm

Get an existing Swarm resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): obj is Swarm

Returns true if the given object is an instance of Swarm. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property agentVersion

public agentVersion: pulumi.Output<string>;

The nodes agent version.

property cidrBlock

public cidrBlock: pulumi.Output<string>;

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

property diskCategory

public diskCategory: pulumi.Output<string | undefined>;

The data disk category of ECS instance node. Its valid value are cloud, cloudSsd, cloudEssd, ephemeralEssd and cloudEfficiency. Default to cloudEfficiency.

property diskSize

public diskSize: pulumi.Output<number | undefined>;

The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property imageId

public imageId: pulumi.Output<string | undefined>;

The image ID of ECS instance node used. Default to System automate allocated.

property instanceType

public instanceType: pulumi.Output<string>;

The type of ECS instance node.

property isOutdated

public isOutdated: pulumi.Output<boolean | undefined>;

Whether to use outdated instance type. Default to false.

property name

public name: pulumi.Output<string>;

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

property namePrefix

public namePrefix: pulumi.Output<string | undefined>;

property needSlb

public needSlb: pulumi.Output<boolean | undefined>;

Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.

property nodeNumber

public nodeNumber: pulumi.Output<number | undefined>;

The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.

property nodes

public nodes: pulumi.Output<SwarmNode[]>;

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

property password

public password: pulumi.Output<string>;

The password of ECS instance node.

property releaseEip

public releaseEip: pulumi.Output<boolean | undefined>;

Whether to release EIP after creating swarm cluster successfully. Default to false.

property securityGroupId

public securityGroupId: pulumi.Output<string>;

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

property size

public size: pulumi.Output<number | undefined>;

Field ‘size’ has been deprecated from provider version 1.9.1. New field ‘node_number’ replaces it.

property slbId

public slbId: pulumi.Output<string>;

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

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property vpcId

public vpcId: pulumi.Output<string>;

The ID of VPC where the current cluster is located.

property vswitchId

public vswitchId: pulumi.Output<string>;

The password of ECS instance node. If it is not specified, the container cluster’s network mode will be Classic.

Functions

Function getKubernetesClusters

getKubernetesClusters(args?: GetKubernetesClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetKubernetesClustersResult>

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

NOTE: Available in v1.34.0+.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const k8sClusters = pulumi.output(alicloud.cs.getKubernetesClusters({
    nameRegex: "my-first-k8s",
    outputFile: "my-first-k8s-json",
}, { async: true }));

export const output = k8sClusters.clusters;

Function getManagedKubernetesClusters

getManagedKubernetesClusters(args?: GetManagedKubernetesClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedKubernetesClustersResult>

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

NOTE: Available in v1.35.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const k8sClusters = pulumi.output(alicloud.cs.getManagedKubernetesClusters({
    nameRegex: "my-first-k8s",
    outputFile: "my-first-k8s-json",
}, { async: true }));

export const output = k8sClusters.clusters;

Function getRegistryEnterpriseInstances

getRegistryEnterpriseInstances(args?: GetRegistryEnterpriseInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryEnterpriseInstancesResult>

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

NOTE: Available in v1.86.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const myInstances = pulumi.output(alicloud.cs.getRegistryEnterpriseInstances({
    nameRegex: "my-instances",
    outputFile: "my-instances-json",
}, { async: true }));

export const output = myInstances.instances;

Function getRegistryEnterpriseNamespaces

getRegistryEnterpriseNamespaces(args: GetRegistryEnterpriseNamespacesArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryEnterpriseNamespacesResult>

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

NOTE: Available in v1.86.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const myNamespaces = pulumi.output(alicloud.cs.getRegistryEnterpriseNamespaces({
    instanceId: "cri-xxx",
    nameRegex: "my-namespace",
    outputFile: "my-namespace-json",
}, { async: true }));

export const output = myNamespaces.namespaces;

Function getServerlessKubernetesClusters

getServerlessKubernetesClusters(args?: GetServerlessKubernetesClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetServerlessKubernetesClustersResult>

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

NOTE: Available in 1.58.0+

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const k8sClusters = pulumi.output(alicloud.cs.getServerlessKubernetesClusters({
    nameRegex: "my-first-k8s",
    outputFile: "my-first-k8s-json",
}, { async: true }));

export const output = k8sClusters.clusters;

Others

interface ApplicationArgs

interface ApplicationArgs

The set of arguments for constructing a Application resource.

property blueGreen

blueGreen?: pulumi.Input<boolean>;

Wherther to use “Blue Green” method when release a new version. Default to false.

property blueGreenConfirm

blueGreenConfirm?: pulumi.Input<boolean>;

Whether to confirm a “Blue Green” application. Default to false. It will be ignored when blueGreen is false.

property clusterName

clusterName: pulumi.Input<string>;

The swarm cluster’s name.

property description

description?: pulumi.Input<string>;

The description of application.

property environment

environment?: pulumi.Input<{[key: string]: any}>;

A key/value map used to replace the variable parameter in the Compose template.

property latestImage

latestImage?: pulumi.Input<boolean>;

Whether to use latest docker image while each updating application. Default to false.

property name

name?: pulumi.Input<string>;

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

property template

template: pulumi.Input<string>;

The application deployment template and it must be Docker Compose format.

property version

version?: pulumi.Input<string>;

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

interface ApplicationState

interface ApplicationState

Input properties used for looking up and filtering Application resources.

property blueGreen

blueGreen?: pulumi.Input<boolean>;

Wherther to use “Blue Green” method when release a new version. Default to false.

property blueGreenConfirm

blueGreenConfirm?: pulumi.Input<boolean>;

Whether to confirm a “Blue Green” application. Default to false. It will be ignored when blueGreen is false.

property clusterName

clusterName?: pulumi.Input<string>;

The swarm cluster’s name.

property defaultDomain

defaultDomain?: pulumi.Input<string>;

The application default domain and it can be used to configure routing service.

property description

description?: pulumi.Input<string>;

The description of application.

property environment

environment?: pulumi.Input<{[key: string]: any}>;

A key/value map used to replace the variable parameter in the Compose template.

property latestImage

latestImage?: pulumi.Input<boolean>;

Whether to use latest docker image while each updating application. Default to false.

property name

name?: pulumi.Input<string>;

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

property services

services?: pulumi.Input<pulumi.Input<ApplicationService>[]>;

List of services in the application. It contains several attributes to Block Nodes.

property template

template?: pulumi.Input<string>;

The application deployment template and it must be Docker Compose format.

property version

version?: pulumi.Input<string>;

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

interface ClusterArgs

interface ClusterArgs

The set of arguments for constructing a Cluster resource.

property cidrBlock

cidrBlock: pulumi.Input<string>;

property diskCategory

diskCategory?: pulumi.Input<string>;

property diskSize

diskSize?: pulumi.Input<number>;

property imageId

imageId?: pulumi.Input<string>;

property instanceType

instanceType: pulumi.Input<string>;

property isOutdated

isOutdated?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property namePrefix

namePrefix?: pulumi.Input<string>;

property needSlb

needSlb?: pulumi.Input<boolean>;

property nodeNumber

nodeNumber?: pulumi.Input<number>;

property password

password: pulumi.Input<string>;

property releaseEip

releaseEip?: pulumi.Input<boolean>;

property size

size?: pulumi.Input<number>;

property vswitchId

vswitchId: pulumi.Input<string>;

interface ClusterState

interface ClusterState

Input properties used for looking up and filtering Cluster resources.

property agentVersion

agentVersion?: pulumi.Input<string>;

property cidrBlock

cidrBlock?: pulumi.Input<string>;

property diskCategory

diskCategory?: pulumi.Input<string>;

property diskSize

diskSize?: pulumi.Input<number>;

property imageId

imageId?: pulumi.Input<string>;

property instanceType

instanceType?: pulumi.Input<string>;

property isOutdated

isOutdated?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property namePrefix

namePrefix?: pulumi.Input<string>;

property needSlb

needSlb?: pulumi.Input<boolean>;

property nodeNumber

nodeNumber?: pulumi.Input<number>;

property nodes

nodes?: pulumi.Input<pulumi.Input<ClusterNode>[]>;

property password

password?: pulumi.Input<string>;

property releaseEip

releaseEip?: pulumi.Input<boolean>;

property securityGroupId

securityGroupId?: pulumi.Input<string>;

property size

size?: pulumi.Input<number>;

property slbId

slbId?: pulumi.Input<string>;

property vpcId

vpcId?: pulumi.Input<string>;

property vswitchId

vswitchId?: pulumi.Input<string>;

interface GetKubernetesClustersArgs

interface GetKubernetesClustersArgs

A collection of arguments for invoking getKubernetesClusters.

property enableDetails

enableDetails?: undefined | false | true;

property ids

ids?: string[];

Cluster IDs to filter.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by cluster name.

property outputFile

outputFile?: undefined | string;

interface GetKubernetesClustersResult

interface GetKubernetesClustersResult

A collection of values returned by getKubernetesClusters.

property clusters

clusters: GetKubernetesClustersCluster[];

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

property enableDetails

enableDetails?: undefined | false | true;

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of matched Kubernetes clusters’ ids.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of matched Kubernetes clusters’ names.

property outputFile

outputFile?: undefined | string;

interface GetManagedKubernetesClustersArgs

interface GetManagedKubernetesClustersArgs

A collection of arguments for invoking getManagedKubernetesClusters.

property enableDetails

enableDetails?: undefined | false | true;

property ids

ids?: string[];

Cluster IDs to filter.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by cluster name.

property outputFile

outputFile?: undefined | string;

interface GetManagedKubernetesClustersResult

interface GetManagedKubernetesClustersResult

A collection of values returned by getManagedKubernetesClusters.

property clusters

clusters: GetManagedKubernetesClustersCluster[];

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

property enableDetails

enableDetails?: undefined | false | true;

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of matched Kubernetes clusters’ ids.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of matched Kubernetes clusters’ names.

property outputFile

outputFile?: undefined | string;

interface GetRegistryEnterpriseInstancesArgs

interface GetRegistryEnterpriseInstancesArgs

A collection of arguments for invoking getRegistryEnterpriseInstances.

property ids

ids?: string[];

A list of ids to filter results by instance id.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by instance name.

property outputFile

outputFile?: undefined | string;

interface GetRegistryEnterpriseInstancesResult

interface GetRegistryEnterpriseInstancesResult

A collection of values returned by getRegistryEnterpriseInstances.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

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

property instances

instances: GetRegistryEnterpriseInstancesInstance[];

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

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of instance names.

property outputFile

outputFile?: undefined | string;

interface GetRegistryEnterpriseNamespacesArgs

interface GetRegistryEnterpriseNamespacesArgs

A collection of arguments for invoking getRegistryEnterpriseNamespaces.

property ids

ids?: string[];

A list of ids to filter results by namespace id.

property instanceId

instanceId: string;

ID of Container Registry Enterprise Edition instance.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by namespace name.

property outputFile

outputFile?: undefined | string;

interface GetRegistryEnterpriseNamespacesResult

interface GetRegistryEnterpriseNamespacesResult

A collection of values returned by getRegistryEnterpriseNamespaces.

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of matched Container Registry Enterprise Edition namespaces. Its element is a namespace uuid.

property instanceId

instanceId: string;

ID of Container Registry Enterprise Edition instance.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of namespace names.

property namespaces

namespaces: GetRegistryEnterpriseNamespacesNamespace[];

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

property outputFile

outputFile?: undefined | string;

interface GetServerlessKubernetesClustersArgs

interface GetServerlessKubernetesClustersArgs

A collection of arguments for invoking getServerlessKubernetesClusters.

property enableDetails

enableDetails?: undefined | false | true;

property ids

ids?: string[];

Cluster IDs to filter.

property nameRegex

nameRegex?: undefined | string;

A regex string to filter results by cluster name.

property outputFile

outputFile?: undefined | string;

interface GetServerlessKubernetesClustersResult

interface GetServerlessKubernetesClustersResult

A collection of values returned by getServerlessKubernetesClusters.

property clusters

clusters: GetServerlessKubernetesClustersCluster[];

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

property enableDetails

enableDetails?: undefined | false | true;

property id

id: string;

The provider-assigned unique ID for this managed resource.

property ids

ids: string[];

A list of matched Kubernetes clusters’ ids.

property nameRegex

nameRegex?: undefined | string;

property names

names: string[];

A list of matched Kubernetes clusters’ names.

property outputFile

outputFile?: undefined | string;

interface KubernetesArgs

interface KubernetesArgs

The set of arguments for constructing a Kubernetes resource.

property addons

addons?: pulumi.Input<pulumi.Input<KubernetesAddon>[]>;

property availabilityZone

availabilityZone?: pulumi.Input<string>;

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.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property cpuPolicy

cpuPolicy?: pulumi.Input<string>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

enableSsh?: pulumi.Input<boolean>;

Enable login to the node through SSH. default: false

property imageId

imageId?: pulumi.Input<string>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

installCloudMonitor?: pulumi.Input<boolean>;

Install cloud monitor agent on ECS. default: true

property keyName

keyName?: pulumi.Input<string>;

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

property kmsEncryptedPassword

kmsEncryptedPassword?: pulumi.Input<string>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property masterAutoRenew

masterAutoRenew?: pulumi.Input<boolean>;

Enable master payment auto-renew, defaults to false.

property masterAutoRenewPeriod

masterAutoRenewPeriod?: pulumi.Input<number>;

Master payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property masterDiskCategory

masterDiskCategory?: pulumi.Input<string>;

The system disk category of master node. Its valid value are cloudSsd and cloudEfficiency. Default to cloudEfficiency.

property masterDiskSize

masterDiskSize?: pulumi.Input<number>;

The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.

property masterInstanceChargeType

masterInstanceChargeType?: pulumi.Input<string>;

Master payment type. PrePaid or PostPaid, defaults to PostPaid.

property masterInstanceTypes

masterInstanceTypes: pulumi.Input<pulumi.Input<string>[]>;

The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

property masterPeriod

masterPeriod?: pulumi.Input<number>;

Master payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property masterPeriodUnit

masterPeriodUnit?: pulumi.Input<string>;

Master payment period unit. Month or Week, defaults to Month.

property masterVswitchIds

masterVswitchIds: pulumi.Input<pulumi.Input<string>[]>;

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

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.

property nodeCidrMask

nodeCidrMask?: pulumi.Input<number>;

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

property password

password?: pulumi.Input<string>;

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

property podCidr

podCidr?: pulumi.Input<string>;

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

property podVswitchIds

podVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

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

property proxyMode

proxyMode?: pulumi.Input<string>;

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

property serviceCidr

serviceCidr?: pulumi.Input<string>;

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.

property slbInternetEnabled

slbInternetEnabled?: pulumi.Input<boolean>;

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

property userCa

userCa?: pulumi.Input<string>;

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

property userData

userData?: pulumi.Input<string>;

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.

property version

version?: pulumi.Input<string>;

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.

property workerAutoRenew

workerAutoRenew?: pulumi.Input<boolean>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

workerAutoRenewPeriod?: pulumi.Input<number>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

workerDataDiskCategory?: pulumi.Input<string>;

property workerDataDiskSize

workerDataDiskSize?: pulumi.Input<number>;

property workerDiskCategory

workerDiskCategory?: pulumi.Input<string>;

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

property workerDiskSize

workerDiskSize?: pulumi.Input<number>;

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

property workerInstanceChargeType

workerInstanceChargeType?: pulumi.Input<string>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

workerInstanceTypes: pulumi.Input<pulumi.Input<string>[]>;

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

property workerNumber

workerNumber: pulumi.Input<number>;

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.

property workerPeriod

workerPeriod?: pulumi.Input<number>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

workerPeriodUnit?: pulumi.Input<string>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

workerVswitchIds: pulumi.Input<pulumi.Input<string>[]>;

interface KubernetesAutoscalerArgs

interface KubernetesAutoscalerArgs

The set of arguments for constructing a KubernetesAutoscaler resource.

property clusterId

clusterId: pulumi.Input<string>;

The id of kubernetes cluster.

property coolDownDuration

coolDownDuration: pulumi.Input<string>;

The coolDownDuration option of cluster-autoscaler.

property deferScaleInDuration

deferScaleInDuration: pulumi.Input<string>;

The deferScaleInDuration option of cluster-autoscaler.

property nodepools

nodepools?: pulumi.Input<pulumi.Input<KubernetesAutoscalerNodepool>[]>;
  • 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.

property utilization

utilization: pulumi.Input<string>;

The utilization option of cluster-autoscaler.

interface KubernetesAutoscalerState

interface KubernetesAutoscalerState

Input properties used for looking up and filtering KubernetesAutoscaler resources.

property clusterId

clusterId?: pulumi.Input<string>;

The id of kubernetes cluster.

property coolDownDuration

coolDownDuration?: pulumi.Input<string>;

The coolDownDuration option of cluster-autoscaler.

property deferScaleInDuration

deferScaleInDuration?: pulumi.Input<string>;

The deferScaleInDuration option of cluster-autoscaler.

property nodepools

nodepools?: pulumi.Input<pulumi.Input<KubernetesAutoscalerNodepool>[]>;
  • 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.

property utilization

utilization?: pulumi.Input<string>;

The utilization option of cluster-autoscaler.

interface KubernetesState

interface KubernetesState

Input properties used for looking up and filtering Kubernetes resources.

property addons

addons?: pulumi.Input<pulumi.Input<KubernetesAddon>[]>;

property availabilityZone

availabilityZone?: pulumi.Input<string>;

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.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property connections

connections?: pulumi.Input<KubernetesConnections>;

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

property cpuPolicy

cpuPolicy?: pulumi.Input<string>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

enableSsh?: pulumi.Input<boolean>;

Enable login to the node through SSH. default: false

property imageId

imageId?: pulumi.Input<string>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

installCloudMonitor?: pulumi.Input<boolean>;

Install cloud monitor agent on ECS. default: true

property keyName

keyName?: pulumi.Input<string>;

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

property kmsEncryptedPassword

kmsEncryptedPassword?: pulumi.Input<string>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property masterAutoRenew

masterAutoRenew?: pulumi.Input<boolean>;

Enable master payment auto-renew, defaults to false.

property masterAutoRenewPeriod

masterAutoRenewPeriod?: pulumi.Input<number>;

Master payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property masterDiskCategory

masterDiskCategory?: pulumi.Input<string>;

The system disk category of master node. Its valid value are cloudSsd and cloudEfficiency. Default to cloudEfficiency.

property masterDiskSize

masterDiskSize?: pulumi.Input<number>;

The system disk size of master node. Its valid value range [20~500] in GB. Default to 20.

property masterInstanceChargeType

masterInstanceChargeType?: pulumi.Input<string>;

Master payment type. PrePaid or PostPaid, defaults to PostPaid.

property masterInstanceTypes

masterInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;

The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster.

property masterNodes

masterNodes?: pulumi.Input<pulumi.Input<KubernetesMasterNode>[]>;

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

property masterPeriod

masterPeriod?: pulumi.Input<number>;

Master payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property masterPeriodUnit

masterPeriodUnit?: pulumi.Input<string>;

Master payment period unit. Month or Week, defaults to Month.

property masterVswitchIds

masterVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property natGatewayId

natGatewayId?: pulumi.Input<string>;

The ID of nat gateway used to launch kubernetes cluster.

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

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.

property nodeCidrMask

nodeCidrMask?: pulumi.Input<number>;

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

property password

password?: pulumi.Input<string>;

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

property podCidr

podCidr?: pulumi.Input<string>;

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

property podVswitchIds

podVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

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

property proxyMode

proxyMode?: pulumi.Input<string>;

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

property securityGroupId

securityGroupId?: pulumi.Input<string>;

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

property serviceCidr

serviceCidr?: pulumi.Input<string>;

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.

property slbId

slbId?: pulumi.Input<string>;

property slbInternet

slbInternet?: pulumi.Input<string>;

property slbInternetEnabled

slbInternetEnabled?: pulumi.Input<boolean>;

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

property slbIntranet

slbIntranet?: pulumi.Input<string>;

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

property userCa

userCa?: pulumi.Input<string>;

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

property userData

userData?: pulumi.Input<string>;

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.

property version

version?: pulumi.Input<string>;

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.

property vpcId

vpcId?: pulumi.Input<string>;

The ID of VPC where the current cluster is located.

property workerAutoRenew

workerAutoRenew?: pulumi.Input<boolean>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

workerAutoRenewPeriod?: pulumi.Input<number>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

workerDataDiskCategory?: pulumi.Input<string>;

property workerDataDiskSize

workerDataDiskSize?: pulumi.Input<number>;

property workerDiskCategory

workerDiskCategory?: pulumi.Input<string>;

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

property workerDiskSize

workerDiskSize?: pulumi.Input<number>;

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

property workerInstanceChargeType

workerInstanceChargeType?: pulumi.Input<string>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

workerInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;

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

property workerNodes

workerNodes?: pulumi.Input<pulumi.Input<KubernetesWorkerNode>[]>;

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

property workerNumber

workerNumber?: pulumi.Input<number>;

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.

property workerPeriod

workerPeriod?: pulumi.Input<number>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

workerPeriodUnit?: pulumi.Input<string>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

workerVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

interface ManagedKubernetesArgs

interface ManagedKubernetesArgs

The set of arguments for constructing a ManagedKubernetes resource.

property addons

addons?: pulumi.Input<pulumi.Input<ManagedKubernetesAddon>[]>;

property availabilityZone

availabilityZone?: pulumi.Input<string>;

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.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property cpuPolicy

cpuPolicy?: pulumi.Input<string>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

enableSsh?: pulumi.Input<boolean>;

Enable login to the node through SSH. default: false

property imageId

imageId?: pulumi.Input<string>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

installCloudMonitor?: pulumi.Input<boolean>;

Install cloud monitor agent on ECS. default: true

property keyName

keyName?: pulumi.Input<string>;

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

property kmsEncryptedPassword

kmsEncryptedPassword?: pulumi.Input<string>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

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.

property nodeCidrMask

nodeCidrMask?: pulumi.Input<number>;

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

property password

password?: pulumi.Input<string>;

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

property podCidr

podCidr?: pulumi.Input<string>;

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

property podVswitchIds

podVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

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

property proxyMode

proxyMode?: pulumi.Input<string>;

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

property serviceCidr

serviceCidr?: pulumi.Input<string>;

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.

property slbInternetEnabled

slbInternetEnabled?: pulumi.Input<boolean>;

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

property userCa

userCa?: pulumi.Input<string>;

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

property userData

userData?: pulumi.Input<string>;

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.

property version

version?: pulumi.Input<string>;

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.

property workerAutoRenew

workerAutoRenew?: pulumi.Input<boolean>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

workerAutoRenewPeriod?: pulumi.Input<number>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

workerDataDiskCategory?: pulumi.Input<string>;

property workerDataDiskSize

workerDataDiskSize?: pulumi.Input<number>;

property workerDiskCategory

workerDiskCategory?: pulumi.Input<string>;

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

property workerDiskSize

workerDiskSize?: pulumi.Input<number>;

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

property workerInstanceChargeType

workerInstanceChargeType?: pulumi.Input<string>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

workerInstanceTypes: pulumi.Input<pulumi.Input<string>[]>;

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

property workerNumber

workerNumber: pulumi.Input<number>;

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.

property workerPeriod

workerPeriod?: pulumi.Input<number>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

workerPeriodUnit?: pulumi.Input<string>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

workerVswitchIds: pulumi.Input<pulumi.Input<string>[]>;

interface ManagedKubernetesState

interface ManagedKubernetesState

Input properties used for looking up and filtering ManagedKubernetes resources.

property addons

addons?: pulumi.Input<pulumi.Input<ManagedKubernetesAddon>[]>;

property availabilityZone

availabilityZone?: pulumi.Input<string>;

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.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property connections

connections?: pulumi.Input<ManagedKubernetesConnections>;

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

property cpuPolicy

cpuPolicy?: pulumi.Input<string>;

kubelet cpu policy. options: static|none. default: none.

property enableSsh

enableSsh?: pulumi.Input<boolean>;

Enable login to the node through SSH. default: false

property imageId

imageId?: pulumi.Input<string>;

Custom Image support. Must based on CentOS7 or AliyunLinux2.

property installCloudMonitor

installCloudMonitor?: pulumi.Input<boolean>;

Install cloud monitor agent on ECS. default: true

property keyName

keyName?: pulumi.Input<string>;

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

property kmsEncryptedPassword

kmsEncryptedPassword?: pulumi.Input<string>;

An KMS encrypts password used to a cs kubernetes. You have to specify one of password keyName kmsEncryptedPassword fields.

property kmsEncryptionContext

kmsEncryptionContext?: pulumi.Input<{[key: string]: any}>;

An KMS encryption context used to decrypt kmsEncryptedPassword before creating or updating a cs kubernetes with kmsEncryptedPassword. See Encryption Context. It is valid when kmsEncryptedPassword is set.

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property natGatewayId

natGatewayId?: pulumi.Input<string>;

The ID of nat gateway used to launch kubernetes cluster.

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

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.

property nodeCidrMask

nodeCidrMask?: pulumi.Input<number>;

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

property password

password?: pulumi.Input<string>;

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

property podCidr

podCidr?: pulumi.Input<string>;

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

property podVswitchIds

podVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

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

property proxyMode

proxyMode?: pulumi.Input<string>;

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

property securityGroupId

securityGroupId?: pulumi.Input<string>;

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

property serviceCidr

serviceCidr?: pulumi.Input<string>;

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.

property slbId

slbId?: pulumi.Input<string>;

property slbInternet

slbInternet?: pulumi.Input<string>;

property slbInternetEnabled

slbInternetEnabled?: pulumi.Input<boolean>;

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

property slbIntranet

slbIntranet?: pulumi.Input<string>;

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

property userCa

userCa?: pulumi.Input<string>;

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

property userData

userData?: pulumi.Input<string>;

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.

property version

version?: pulumi.Input<string>;

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.

property vpcId

vpcId?: pulumi.Input<string>;

The ID of VPC where the current cluster is located.

property workerAutoRenew

workerAutoRenew?: pulumi.Input<boolean>;

Enable worker payment auto-renew, defaults to false.

property workerAutoRenewPeriod

workerAutoRenewPeriod?: pulumi.Input<number>;

Worker payment auto-renew period. When period unit is Month, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is Week, it can be one of {“1”, “2”, “3”}.

property workerDataDiskCategory

workerDataDiskCategory?: pulumi.Input<string>;

property workerDataDiskSize

workerDataDiskSize?: pulumi.Input<number>;

property workerDiskCategory

workerDiskCategory?: pulumi.Input<string>;

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

property workerDiskSize

workerDiskSize?: pulumi.Input<number>;

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

property workerInstanceChargeType

workerInstanceChargeType?: pulumi.Input<string>;

Worker payment type. PrePaid or PostPaid, defaults to PostPaid.

property workerInstanceTypes

workerInstanceTypes?: pulumi.Input<pulumi.Input<string>[]>;

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

property workerNodes

workerNodes?: pulumi.Input<pulumi.Input<ManagedKubernetesWorkerNode>[]>;

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

property workerNumber

workerNumber?: pulumi.Input<number>;

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.

property workerPeriod

workerPeriod?: pulumi.Input<number>;

Worker payment period. When period unit is Month, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is Week, it can be one of {“1”, “2”, “3”, “4”}.

property workerPeriodUnit

workerPeriodUnit?: pulumi.Input<string>;

Worker payment period unit. Month or Week, defaults to Month.

property workerVswitchIds

workerVswitchIds?: pulumi.Input<pulumi.Input<string>[]>;

interface RegistryEnterpriseNamespaceArgs

interface RegistryEnterpriseNamespaceArgs

The set of arguments for constructing a RegistryEnterpriseNamespace resource.

property autoCreate

autoCreate: pulumi.Input<boolean>;

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.

property defaultVisibility

defaultVisibility: pulumi.Input<string>;

PUBLIC or PRIVATE, default repository visibility in this namespace.

property instanceId

instanceId: pulumi.Input<string>;

ID of Container Registry Enterprise Edition instance.

property name

name?: pulumi.Input<string>;

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

interface RegistryEnterpriseNamespaceState

interface RegistryEnterpriseNamespaceState

Input properties used for looking up and filtering RegistryEnterpriseNamespace resources.

property autoCreate

autoCreate?: pulumi.Input<boolean>;

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.

property defaultVisibility

defaultVisibility?: pulumi.Input<string>;

PUBLIC or PRIVATE, default repository visibility in this namespace.

property instanceId

instanceId?: pulumi.Input<string>;

ID of Container Registry Enterprise Edition instance.

property name

name?: pulumi.Input<string>;

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

interface RegistryEnterpriseRepoArgs

interface RegistryEnterpriseRepoArgs

The set of arguments for constructing a RegistryEnterpriseRepo resource.

property detail

detail?: pulumi.Input<string>;

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

property instanceId

instanceId: pulumi.Input<string>;

ID of Container Registry Enterprise Edition instance.

property name

name?: pulumi.Input<string>;

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

property namespace

namespace: pulumi.Input<string>;

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

property repoType

repoType: pulumi.Input<string>;

PUBLIC or PRIVATE, repo’s visibility.

property summary

summary: pulumi.Input<string>;

The repository general information. It can contain 1 to 100 characters.

interface RegistryEnterpriseRepoState

interface RegistryEnterpriseRepoState

Input properties used for looking up and filtering RegistryEnterpriseRepo resources.

property detail

detail?: pulumi.Input<string>;

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

property instanceId

instanceId?: pulumi.Input<string>;

ID of Container Registry Enterprise Edition instance.

property name

name?: pulumi.Input<string>;

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

property namespace

namespace?: pulumi.Input<string>;

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

property repoId

repoId?: pulumi.Input<string>;

The uuid of Container Registry Enterprise Edition repository.

property repoType

repoType?: pulumi.Input<string>;

PUBLIC or PRIVATE, repo’s visibility.

property summary

summary?: pulumi.Input<string>;

The repository general information. It can contain 1 to 100 characters.

interface ServerlessKubernetesArgs

interface ServerlessKubernetesArgs

The set of arguments for constructing a ServerlessKubernetes resource.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property deletionProtection

deletionProtection?: pulumi.Input<boolean>;

Whether enable the deletion protection or not. - true: Enable deletion protection. - false: Disable deletion protection.

property endpointPublicAccessEnabled

endpointPublicAccessEnabled?: pulumi.Input<boolean>;

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

property forceUpdate

forceUpdate?: pulumi.Input<boolean>;

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

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

Whether to create a new nat gateway while creating kubernetes cluster. Default to true.

property privateZone

privateZone?: pulumi.Input<boolean>;

Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

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

property vpcId

vpcId: pulumi.Input<string>;

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.

property vswitchId

vswitchId: pulumi.Input<string>;

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.

interface ServerlessKubernetesState

interface ServerlessKubernetesState

Input properties used for looking up and filtering ServerlessKubernetes resources.

property clientCert

clientCert?: pulumi.Input<string>;

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

property clientKey

clientKey?: pulumi.Input<string>;

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

property clusterCaCert

clusterCaCert?: pulumi.Input<string>;

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

property deletionProtection

deletionProtection?: pulumi.Input<boolean>;

Whether enable the deletion protection or not. - true: Enable deletion protection. - false: Disable deletion protection.

property endpointPublicAccessEnabled

endpointPublicAccessEnabled?: pulumi.Input<boolean>;

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

property forceUpdate

forceUpdate?: pulumi.Input<boolean>;

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

property kubeConfig

kubeConfig?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property newNatGateway

newNatGateway?: pulumi.Input<boolean>;

Whether to create a new nat gateway while creating kubernetes cluster. Default to true.

property privateZone

privateZone?: pulumi.Input<boolean>;

Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.

property securityGroupId

securityGroupId?: pulumi.Input<string>;

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

property tags

tags?: pulumi.Input<{[key: string]: any}>;

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

property vpcId

vpcId?: pulumi.Input<string>;

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.

property vswitchId

vswitchId?: pulumi.Input<string>;

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.

interface SwarmArgs

interface SwarmArgs

The set of arguments for constructing a Swarm resource.

property cidrBlock

cidrBlock: pulumi.Input<string>;

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

property diskCategory

diskCategory?: pulumi.Input<string>;

The data disk category of ECS instance node. Its valid value are cloud, cloudSsd, cloudEssd, ephemeralEssd and cloudEfficiency. Default to cloudEfficiency.

property diskSize

diskSize?: pulumi.Input<number>;

The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.

property imageId

imageId?: pulumi.Input<string>;

The image ID of ECS instance node used. Default to System automate allocated.

property instanceType

instanceType: pulumi.Input<string>;

The type of ECS instance node.

property isOutdated

isOutdated?: pulumi.Input<boolean>;

Whether to use outdated instance type. Default to false.

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property needSlb

needSlb?: pulumi.Input<boolean>;

Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.

property nodeNumber

nodeNumber?: pulumi.Input<number>;

The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.

property password

password: pulumi.Input<string>;

The password of ECS instance node.

property releaseEip

releaseEip?: pulumi.Input<boolean>;

Whether to release EIP after creating swarm cluster successfully. Default to false.

property size

DEPRECATED Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
size?: pulumi.Input<number>;

Field ‘size’ has been deprecated from provider version 1.9.1. New field ‘node_number’ replaces it.

property vswitchId

vswitchId: pulumi.Input<string>;

The password of ECS instance node. If it is not specified, the container cluster’s network mode will be Classic.

interface SwarmState

interface SwarmState

Input properties used for looking up and filtering Swarm resources.

property agentVersion

agentVersion?: pulumi.Input<string>;

The nodes agent version.

property cidrBlock

cidrBlock?: pulumi.Input<string>;

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

property diskCategory

diskCategory?: pulumi.Input<string>;

The data disk category of ECS instance node. Its valid value are cloud, cloudSsd, cloudEssd, ephemeralEssd and cloudEfficiency. Default to cloudEfficiency.

property diskSize

diskSize?: pulumi.Input<number>;

The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20.

property imageId

imageId?: pulumi.Input<string>;

The image ID of ECS instance node used. Default to System automate allocated.

property instanceType

instanceType?: pulumi.Input<string>;

The type of ECS instance node.

property isOutdated

isOutdated?: pulumi.Input<boolean>;

Whether to use outdated instance type. Default to false.

property name

name?: pulumi.Input<string>;

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

property namePrefix

namePrefix?: pulumi.Input<string>;

property needSlb

needSlb?: pulumi.Input<boolean>;

Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true.

property nodeNumber

nodeNumber?: pulumi.Input<number>;

The ECS node number of the container cluster. Its value choices are 1~50, and default to 1.

property nodes

nodes?: pulumi.Input<pulumi.Input<SwarmNode>[]>;

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

property password

password?: pulumi.Input<string>;

The password of ECS instance node.

property releaseEip

releaseEip?: pulumi.Input<boolean>;

Whether to release EIP after creating swarm cluster successfully. Default to false.

property securityGroupId

securityGroupId?: pulumi.Input<string>;

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

property size

DEPRECATED Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it.
size?: pulumi.Input<number>;

Field ‘size’ has been deprecated from provider version 1.9.1. New field ‘node_number’ replaces it.

property slbId

slbId?: pulumi.Input<string>;

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

property vpcId

vpcId?: pulumi.Input<string>;

The ID of VPC where the current cluster is located.

property vswitchId

vswitchId?: pulumi.Input<string>;

The password of ECS instance node. If it is not specified, the container cluster’s network mode will be Classic.