Skip to content

ShardingNetworkPublicAddressProps

Properties for defining a ShardingNetworkPublicAddress.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mongodb;
new ShardingNetworkPublicAddressProps {
    object DbInstanceId,
    object NodeId = null
};

Properties

Name Type Description
DbInstanceId object Property dbInstanceId: The ID of the instance.
NodeId object Property nodeId: The Mongos node ID, Shard node ID, or ConfigServer node ID in the sharded cluster instance.

DbInstanceIdRequired

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

Property dbInstanceId: The ID of the instance.

you must also configure the NodeId parameter when configuring a shard cluster instance ID.


NodeIdOptional

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

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

You can call the DescribeDBInstanceAttribute operation to query the node ID of the Mongos node, Shard node, or ConfigServer node.

This parameter is required when DBInstanceId is configured as a sharded cluster instance ID.