KubernetesClustersProps
Properties for defining a KubernetesClusters
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-kubernetesclusters
Initializer
import { datasource } from '@alicloud/ros-cdk-cs'
const kubernetesClustersProps: datasource.KubernetesClustersProps = { ... }
Properties
Name | Type | Description |
---|---|---|
clusterSpec |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterSpec: The specification of the cluster. |
clusterType |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterType: The type of the cluster. |
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of the cluster.The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-). |
profile |
string | @alicloud/ros-cdk-core.IResolvable |
Property profile: The identifier of the cluster. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
clusterSpec
Optional
public readonly clusterSpec: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterSpec: The specification of the cluster.
If you set the cluster type to ManagedKubernetes, you can use cluster specifications to distinguish clusters. Valid values: ack.pro.small: professional managed Kubernetes cluster ack.standard: standard managed Kubernetes cluster By default, this parameter is empty. This indicates that the parameter is not used to filter clusters.
clusterType
Optional
public readonly clusterType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterType: The type of the cluster.
Valid values: Kubernetes: dedicated Kubernetes cluster ManagedKubernetes: managed Kubernetes cluster, serverless Kubernetes (ASK) cluster, or edge Kubernetes cluster Ask: ASK cluster ExternalKubernetes: registered external cluster When you query an ASK cluster, the value specified when the cluster was created is returned.
name
Optional
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the cluster.The name must be 1 to 63 characters in length, and can contain digits, letters, and hyphens (-). It cannot start with a hyphen (-).
profile
Optional
public readonly profile: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property profile: The identifier of the cluster.
If you set the cluster type to ManagedKubernetes, you can use cluster identifiers to distinguish clusters. Valid values: Default: managed Kubernetes cluster Serverless: ASK cluster Edge: edge Kubernetes cluster By default, this parameter is empty. This indicates that the parameter is not used to filter clusters.
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values: - Never: Never refresh the datasource resource when the stack is updated. - Always: Always refresh the datasource resource when the stack is updated. Default is Never.