KubernetesClustersProps
Properties for defining a KubernetesClusters
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-cs-kubernetesclusters
Initializer
from ros_cdk_cs import datasource
datasource.KubernetesClustersProps(
cluster_spec: typing.Union[str, IResolvable] = None,
cluster_type: typing.Union[str, IResolvable] = None,
name: typing.Union[str, IResolvable] = None,
profile: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cluster_spec |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clusterSpec: The specification of the cluster. |
cluster_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clusterType: The type of the cluster. |
name |
typing.Union[str, 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 |
typing.Union[str, ros_cdk_core.IResolvable] |
Property profile: The identifier of the cluster. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
cluster_spec
Optional
cluster_spec: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
cluster_type
Optional
cluster_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
profile: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
refresh_options
Optional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.