Skip to content

ShardingNetworkPrivateAddressProps

Properties for defining a ShardingNetworkPrivateAddress.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mongodb-shardingnetworkprivateaddress

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mongodb;
new ShardingNetworkPrivateAddressProps {
    object DbInstanceId,
    object NodeId,
    object AccountName = null,
    object AccountPassword = null,
    object ZoneId = null
};

Properties

Name Type Description
DbInstanceId object Property dbInstanceId: The ID of the Shard cluster instance.
NodeId object Property nodeId: The ID of the Mongos node, Shard node, or ConfigServer node in the sharded cluster instance.
AccountName object Property accountName: Account name.
AccountPassword object Property accountPassword: Account password.
ZoneId object Property zoneId: The ID of the zone to which the instance belongs.

DbInstanceIdRequired

public object DbInstanceId { get; set; }
  • Type: object

Property dbInstanceId: The ID of the Shard cluster instance.


NodeIdRequired

public object NodeId { get; set; }
  • Type: object

Property nodeId: The ID of the Mongos node, Shard node, or ConfigServer node in the sharded cluster instance.

You can call the [DescribeDBInstanceAttribute] interface to query the Mongos, Shard, and ConfigServer node ID.


AccountNameOptional

public object AccountName { get; set; }
  • Type: object

Property accountName: Account name.

  • starts with a lowercase letter, has 4 to 16 digits in length, and consists of lowercase letters, numbers, or underscores.
  • Only when you apply for the Shard/ConfigServer address for the first time, you need to set the account name and password. That is, all Shard nodes and ConfigServer nodes will use the account and password set when applying for the address for the first time.
  • The permissions of this account are fixed to read-only.

AccountPasswordOptional

public object AccountPassword { get; set; }
  • Type: object

Property accountPassword: Account password.

  • The password consists of at least three of uppercase letters, lowercase letters, numbers, and special characters. The special character is '! #$%^& *()_+-='
  • The password length is 8-32 bits.

ZoneIdOptional

public object ZoneId { get; set; }
  • Type: object

Property zoneId: The ID of the zone to which the instance belongs.

You can call the [describeddinstanceattribute] operation to query the zone ID of an instance.