Cluster
This class encapsulates and extends the ROS resource type ALIYUN::MSE::Cluster
, which is used to create a cluster.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Mse;
new Cluster(Construct Scope, string Id, ClusterProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
ClusterProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: ClusterProps
EnableResourcePropertyConstraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Mse;
Cluster.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrAclEntryList |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclEntryList: The public network whitelist list is used only when the public network is enabled. |
AttrAclId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclId: acl id. |
AttrAppVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AppVersion: app version. |
AttrClusterAliasName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterAliasName: cluster alias name. |
AttrClusterId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterId: cluster id. |
AttrClusterName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterName: cluster name. |
AttrClusterSpecification |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterSpecification: Cluster specifications. |
AttrClusterType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterType: cluster type. |
AttrClusterVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ClusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0. |
AttrConfigAuthEnabled |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConfigAuthEnabled: Whether the configuration supports it. |
AttrConfigSecretEnabled |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConfigSecretEnabled: Whether the configuration password takes effect. |
AttrConnectionType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionType: network connect type. |
AttrCpu |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Cpu: cpu core size. |
AttrDiskCapacity |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DiskCapacity: disk capacity, unit: G. |
AttrDiskType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DiskType: disk type. |
AttrHealthStatus |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthStatus: health status. |
AttrInstanceCount |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceCount: instance count. |
AttrInstanceId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceId: instance id. |
AttrInternetAddress |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InternetAddress: internet address. |
AttrInternetDomain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InternetDomain: internet domain. |
AttrInternetPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InternetPort: internet port. |
AttrIntranetAddress |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IntranetAddress: intranet address. |
AttrIntranetDomain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IntranetDomain: intranet domain. |
AttrIntranetPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IntranetPort: intranet port. |
AttrMcpEnabled |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MCPEnabled: Whether MCP takes effect, the value is as follows: true: valid false: not valid. |
AttrMemoryCapacity |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MemoryCapacity: memory capacity. |
AttrMseVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MseVersion: Required, the value is as follows:. |
AttrNetType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NetType: Network type (whether private network is enabled or not). |
AttrPayInfo |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PayInfo: pay info. |
AttrPubNetworkFlow |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PubNetworkFlow: Public network bandwidth. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: vpc id. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: switcher Id. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAclEntryList
Required
public IResolvable AttrAclEntryList { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclEntryList: The public network whitelist list is used only when the public network is enabled.
AttrAclId
Required
public IResolvable AttrAclId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclId: acl id.
AttrAppVersion
Required
public IResolvable AttrAppVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AppVersion: app version.
AttrClusterAliasName
Required
public IResolvable AttrClusterAliasName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterAliasName: cluster alias name.
AttrClusterId
Required
public IResolvable AttrClusterId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterId: cluster id.
AttrClusterName
Required
public IResolvable AttrClusterName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterName: cluster name.
AttrClusterSpecification
Required
public IResolvable AttrClusterSpecification { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterSpecification: Cluster specifications.
Note the msversion requirements of the version parameter, Optional parameters: "MSE_ SC 1_2_60_c", "MSE SC 2_4_60_c", "MSE SC 4_8_60_c", "MSE SC 8_16_60_c", "MSE SC _16_32_60_c"
AttrClusterType
Required
public IResolvable AttrClusterType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterType: cluster type.
AttrClusterVersion
Required
public IResolvable AttrClusterVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterVersion: Cluster version, such as ZooKeeper_3_8_0,NACOS_2_0_0.
AttrConfigAuthEnabled
Required
public IResolvable AttrConfigAuthEnabled { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConfigAuthEnabled: Whether the configuration supports it.
Valid values: true: false: not supported
AttrConfigSecretEnabled
Required
public IResolvable AttrConfigSecretEnabled { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConfigSecretEnabled: Whether the configuration password takes effect.
The value is as follows: true: valid false: not valid
AttrConnectionType
Required
public IResolvable AttrConnectionType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionType: network connect type.
AttrCpu
Required
public IResolvable AttrCpu { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Cpu: cpu core size.
AttrDiskCapacity
Required
public IResolvable AttrDiskCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskCapacity: disk capacity, unit: G.
AttrDiskType
Required
public IResolvable AttrDiskType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskType: disk type.
AttrHealthStatus
Required
public IResolvable AttrHealthStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthStatus: health status.
AttrInstanceCount
Required
public IResolvable AttrInstanceCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceCount: instance count.
AttrInstanceId
Required
public IResolvable AttrInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceId: instance id.
AttrInternetAddress
Required
public IResolvable AttrInternetAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetAddress: internet address.
AttrInternetDomain
Required
public IResolvable AttrInternetDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetDomain: internet domain.
AttrInternetPort
Required
public IResolvable AttrInternetPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetPort: internet port.
AttrIntranetAddress
Required
public IResolvable AttrIntranetAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetAddress: intranet address.
AttrIntranetDomain
Required
public IResolvable AttrIntranetDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetDomain: intranet domain.
AttrIntranetPort
Required
public IResolvable AttrIntranetPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetPort: intranet port.
AttrMcpEnabled
Required
public IResolvable AttrMcpEnabled { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MCPEnabled: Whether MCP takes effect, the value is as follows: true: valid false: not valid.
AttrMemoryCapacity
Required
public IResolvable AttrMemoryCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MemoryCapacity: memory capacity.
AttrMseVersion
Required
public IResolvable AttrMseVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MseVersion: Required, the value is as follows:.
'mse_dev': indicates the development version. -'Mse_pro': means professional version. When this version is selected, the specification is 2c4g or above, and the specification is 3 nodes or above.
AttrNetType
Required
public IResolvable AttrNetType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetType: Network type (whether private network is enabled or not).
privatenet indicates that private network is enabled.
AttrPayInfo
Required
public IResolvable AttrPayInfo { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PayInfo: pay info.
AttrPubNetworkFlow
Required
public IResolvable AttrPubNetworkFlow { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PubNetworkFlow: Public network bandwidth.
If the bandwidth is greater than 0, the public network is enabled.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: vpc id.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: switcher Id.