Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi
alicloud.mongodb.getShardingNetworkPrivateAddresses
Explore with Pulumi AI
This data source provides the Mongodb Sharding Network Private Addresses of the current Alibaba Cloud user.
NOTE: Available in v1.157.0+.
Using getShardingNetworkPrivateAddresses
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getShardingNetworkPrivateAddresses(args: GetShardingNetworkPrivateAddressesArgs, opts?: InvokeOptions): Promise<GetShardingNetworkPrivateAddressesResult>
function getShardingNetworkPrivateAddressesOutput(args: GetShardingNetworkPrivateAddressesOutputArgs, opts?: InvokeOptions): Output<GetShardingNetworkPrivateAddressesResult>def get_sharding_network_private_addresses(db_instance_id: Optional[str] = None,
                                           node_id: Optional[str] = None,
                                           output_file: Optional[str] = None,
                                           role: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetShardingNetworkPrivateAddressesResult
def get_sharding_network_private_addresses_output(db_instance_id: Optional[pulumi.Input[str]] = None,
                                           node_id: Optional[pulumi.Input[str]] = None,
                                           output_file: Optional[pulumi.Input[str]] = None,
                                           role: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetShardingNetworkPrivateAddressesResult]func GetShardingNetworkPrivateAddresses(ctx *Context, args *GetShardingNetworkPrivateAddressesArgs, opts ...InvokeOption) (*GetShardingNetworkPrivateAddressesResult, error)
func GetShardingNetworkPrivateAddressesOutput(ctx *Context, args *GetShardingNetworkPrivateAddressesOutputArgs, opts ...InvokeOption) GetShardingNetworkPrivateAddressesResultOutput> Note: This function is named GetShardingNetworkPrivateAddresses in the Go SDK.
public static class GetShardingNetworkPrivateAddresses 
{
    public static Task<GetShardingNetworkPrivateAddressesResult> InvokeAsync(GetShardingNetworkPrivateAddressesArgs args, InvokeOptions? opts = null)
    public static Output<GetShardingNetworkPrivateAddressesResult> Invoke(GetShardingNetworkPrivateAddressesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetShardingNetworkPrivateAddressesResult> getShardingNetworkPrivateAddresses(GetShardingNetworkPrivateAddressesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:mongodb/getShardingNetworkPrivateAddresses:getShardingNetworkPrivateAddresses
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Db
Instance stringId  - The db instance id.
 - Node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - Output
File string - File name where to save data source results (after running 
pulumi preview). - Role string
 - The role of the node. Valid values: 
PrimaryorSecondary. 
- Db
Instance stringId  - The db instance id.
 - Node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - Output
File string - File name where to save data source results (after running 
pulumi preview). - Role string
 - The role of the node. Valid values: 
PrimaryorSecondary. 
- db
Instance StringId  - The db instance id.
 - node
Id String - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - output
File String - File name where to save data source results (after running 
pulumi preview). - role String
 - The role of the node. Valid values: 
PrimaryorSecondary. 
- db
Instance stringId  - The db instance id.
 - node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - output
File string - File name where to save data source results (after running 
pulumi preview). - role string
 - The role of the node. Valid values: 
PrimaryorSecondary. 
- db_
instance_ strid  - The db instance id.
 - node_
id str - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - output_
file str - File name where to save data source results (after running 
pulumi preview). - role str
 - The role of the node. Valid values: 
PrimaryorSecondary. 
- db
Instance StringId  - The db instance id.
 - node
Id String - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - output
File String - File name where to save data source results (after running 
pulumi preview). - role String
 - The role of the node. Valid values: 
PrimaryorSecondary. 
getShardingNetworkPrivateAddresses Result
The following output properties are available:
- Addresses
List<Pulumi.
Ali Cloud. Mongo DB. Outputs. Get Sharding Network Private Addresses Address>  - Db
Instance stringId  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Node
Id string - Output
File string - Role string
 
- Addresses
[]Get
Sharding Network Private Addresses Address  - Db
Instance stringId  - Id string
 - The provider-assigned unique ID for this managed resource.
 - Node
Id string - Output
File string - Role string
 
- addresses
List<Get
Sharding Network Private Addresses Address>  - db
Instance StringId  - id String
 - The provider-assigned unique ID for this managed resource.
 - node
Id String - output
File String - role String
 
- addresses
Get
Sharding Network Private Addresses Address[]  - db
Instance stringId  - id string
 - The provider-assigned unique ID for this managed resource.
 - node
Id string - output
File string - role string
 
- addresses
Sequence[Get
Sharding Network Private Addresses Address]  - db_
instance_ strid  - id str
 - The provider-assigned unique ID for this managed resource.
 - node_
id str - output_
file str - role str
 
- addresses List<Property Map>
 - db
Instance StringId  - id String
 - The provider-assigned unique ID for this managed resource.
 - node
Id String - output
File String - role String
 
Supporting Types
GetShardingNetworkPrivateAddressesAddress     
- Db
Instance stringId  - The db instance id.
 - Expired
Time string - The remaining duration of the classic network address. Unit: 
seconds. - Ip
Address string - The IP address of the instance.
 - Network
Address string - The endpoint of the instance.
 - Network
Type string - The type of the network.
 - Node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - Node
Type string - The type of the node.
 - Port string
 - The port number.
 - Role string
 - The role of the node.
 - Vpc
Id string - The ID of the VPC.
 - Vswitch
Id string - The vSwitch ID of the VPC.
 
- Db
Instance stringId  - The db instance id.
 - Expired
Time string - The remaining duration of the classic network address. Unit: 
seconds. - Ip
Address string - The IP address of the instance.
 - Network
Address string - The endpoint of the instance.
 - Network
Type string - The type of the network.
 - Node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - Node
Type string - The type of the node.
 - Port string
 - The port number.
 - Role string
 - The role of the node.
 - Vpc
Id string - The ID of the VPC.
 - Vswitch
Id string - The vSwitch ID of the VPC.
 
- db
Instance StringId  - The db instance id.
 - expired
Time String - The remaining duration of the classic network address. Unit: 
seconds. - ip
Address String - The IP address of the instance.
 - network
Address String - The endpoint of the instance.
 - network
Type String - The type of the network.
 - node
Id String - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - node
Type String - The type of the node.
 - port String
 - The port number.
 - role String
 - The role of the node.
 - vpc
Id String - The ID of the VPC.
 - vswitch
Id String - The vSwitch ID of the VPC.
 
- db
Instance stringId  - The db instance id.
 - expired
Time string - The remaining duration of the classic network address. Unit: 
seconds. - ip
Address string - The IP address of the instance.
 - network
Address string - The endpoint of the instance.
 - network
Type string - The type of the network.
 - node
Id string - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - node
Type string - The type of the node.
 - port string
 - The port number.
 - role string
 - The role of the node.
 - vpc
Id string - The ID of the VPC.
 - vswitch
Id string - The vSwitch ID of the VPC.
 
- db_
instance_ strid  - The db instance id.
 - expired_
time str - The remaining duration of the classic network address. Unit: 
seconds. - ip_
address str - The IP address of the instance.
 - network_
address str - The endpoint of the instance.
 - network_
type str - The type of the network.
 - node_
id str - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - node_
type str - The type of the node.
 - port str
 - The port number.
 - role str
 - The role of the node.
 - vpc_
id str - The ID of the VPC.
 - vswitch_
id str - The vSwitch ID of the VPC.
 
- db
Instance StringId  - The db instance id.
 - expired
Time String - The remaining duration of the classic network address. Unit: 
seconds. - ip
Address String - The IP address of the instance.
 - network
Address String - The endpoint of the instance.
 - network
Type String - The type of the network.
 - node
Id String - The ID of the 
mongos,shard, orConfigservernode in the sharded cluster instance. - node
Type String - The type of the node.
 - port String
 - The port number.
 - role String
 - The role of the node.
 - vpc
Id String - The ID of the VPC.
 - vswitch
Id String - The vSwitch ID of the VPC.
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.