Skip to content

ShardingNetworkPublicAddressProps

Properties for defining a ShardingNetworkPublicAddress.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmongodb"
&alicloudroscdkmongodb.ShardingNetworkPublicAddressProps {
    DbInstanceId: interface{},
    NodeId: interface{},
}

Properties

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

DbInstanceIdRequired

DbInstanceId interface{}
  • Type: interface{}

Property dbInstanceId: The ID of the instance.

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


NodeIdOptional

NodeId interface{}
  • Type: interface{}

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.