IK8sCluster
-
Extends: AlibabaCloud.SDK.ROS.CDK.Core.IResource
-
Implemented By: K8sCluster, IK8sCluster
Represents a K8sCluster.
Properties
| Name | Type | Description |
|---|---|---|
Node | AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode | The construct tree node for this construct. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
Stack | AlibabaCloud.SDK.ROS.CDK.Core.Stack | The stack in which this resource is defined. |
AttrClusterId | object | Attribute ClusterId: The ID of the cluster. |
AttrClusterName | object | Attribute ClusterName: The name of the cluster. |
AttrClusterType | object | Attribute ClusterType: The type of the cluster: 2: ECS cluster 5: Container Service K8s cluster or Serverless K8s cluster. |
AttrCsClusterId | object | Attribute CsClusterId: The ID of the K8s cluster. |
AttrNetworkMode | object | Attribute NetworkMode: Network node: 1: Classic network 2: VPC. |
AttrNodeNum | object | Attribute NodeNum: Number of nodes. |
AttrSubNetCidr | object | Attribute SubNetCidr: Sub net CIDR. |
AttrVpcId | object | Attribute VpcId: The ID of the cluster. |
AttrVswitchId | object | Attribute VswitchId: The ID of the cluster. |
Props | K8sClusterProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node for this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
AttrClusterIdRequired
public object AttrClusterId { get; }
- Type: object
Attribute ClusterId: The ID of the cluster.
AttrClusterNameRequired
public object AttrClusterName { get; }
- Type: object
Attribute ClusterName: The name of the cluster.
AttrClusterTypeRequired
public object AttrClusterType { get; }
- Type: object
Attribute ClusterType: The type of the cluster: 2: ECS cluster 5: Container Service K8s cluster or Serverless K8s cluster.
AttrCsClusterIdRequired
public object AttrCsClusterId { get; }
- Type: object
Attribute CsClusterId: The ID of the K8s cluster.
AttrNetworkModeRequired
public object AttrNetworkMode { get; }
- Type: object
Attribute NetworkMode: Network node: 1: Classic network 2: VPC.
AttrNodeNumRequired
public object AttrNodeNum { get; }
- Type: object
Attribute NodeNum: Number of nodes.
AttrSubNetCidrRequired
public object AttrSubNetCidr { get; }
- Type: object
Attribute SubNetCidr: Sub net CIDR.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: The ID of the cluster.
AttrVswitchIdRequired
public object AttrVswitchId { get; }
- Type: object
Attribute VswitchId: The ID of the cluster.
PropsRequired
public K8sClusterProps Props { get; }
- Type: K8sClusterProps