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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: ClusterProps
EnableResourcePropertyConstraintOptional
- 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. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
RefRequired
public string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAclEntryListRequired
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.
AttrAclIdRequired
public IResolvable AttrAclId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclId: acl id.
AttrAppVersionRequired
public IResolvable AttrAppVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AppVersion: app version.
AttrClusterAliasNameRequired
public IResolvable AttrClusterAliasName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterAliasName: cluster alias name.
AttrClusterIdRequired
public IResolvable AttrClusterId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterId: cluster id.
AttrClusterNameRequired
public IResolvable AttrClusterName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterName: cluster name.
AttrClusterSpecificationRequired
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"
AttrClusterTypeRequired
public IResolvable AttrClusterType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ClusterType: cluster type.
AttrClusterVersionRequired
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.
AttrConfigAuthEnabledRequired
public IResolvable AttrConfigAuthEnabled { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConfigAuthEnabled: Whether the configuration supports it.
Valid values: true: false: not supported
AttrConfigSecretEnabledRequired
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
AttrConnectionTypeRequired
public IResolvable AttrConnectionType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionType: network connect type.
AttrCpuRequired
public IResolvable AttrCpu { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Cpu: cpu core size.
AttrDiskCapacityRequired
public IResolvable AttrDiskCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskCapacity: disk capacity, unit: G.
AttrDiskTypeRequired
public IResolvable AttrDiskType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DiskType: disk type.
AttrHealthStatusRequired
public IResolvable AttrHealthStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthStatus: health status.
AttrInstanceCountRequired
public IResolvable AttrInstanceCount { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceCount: instance count.
AttrInstanceIdRequired
public IResolvable AttrInstanceId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceId: instance id.
AttrInternetAddressRequired
public IResolvable AttrInternetAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetAddress: internet address.
AttrInternetDomainRequired
public IResolvable AttrInternetDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetDomain: internet domain.
AttrInternetPortRequired
public IResolvable AttrInternetPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetPort: internet port.
AttrIntranetAddressRequired
public IResolvable AttrIntranetAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetAddress: intranet address.
AttrIntranetDomainRequired
public IResolvable AttrIntranetDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetDomain: intranet domain.
AttrIntranetPortRequired
public IResolvable AttrIntranetPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IntranetPort: intranet port.
AttrMcpEnabledRequired
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.
AttrMemoryCapacityRequired
public IResolvable AttrMemoryCapacity { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MemoryCapacity: memory capacity.
AttrMseVersionRequired
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.
AttrNetTypeRequired
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.
AttrPayInfoRequired
public IResolvable AttrPayInfo { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PayInfo: pay info.
AttrPubNetworkFlowRequired
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.
AttrVpcIdRequired
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: vpc id.
AttrVSwitchIdRequired
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: switcher Id.