1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. mongodb
  5. getShardingNetworkPrivateAddresses
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.mongodb.getShardingNetworkPrivateAddresses

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

    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 dictionary

    The following arguments are supported:

    DbInstanceId string
    The db instance id.
    NodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Role string
    The role of the node.
    DbInstanceId string
    The db instance id.
    NodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Role string
    The role of the node.
    dbInstanceId String
    The db instance id.
    nodeId String
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    role String
    The role of the node.
    dbInstanceId string
    The db instance id.
    nodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    role string
    The role of the node.
    db_instance_id str
    The db instance id.
    node_id str
    The ID of the mongos, shard, or Configserver node 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.
    dbInstanceId String
    The db instance id.
    nodeId String
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    role String
    The role of the node.

    getShardingNetworkPrivateAddresses Result

    The following output properties are available:

    Addresses List<Pulumi.AliCloud.MongoDB.Outputs.GetShardingNetworkPrivateAddressesAddress>
    DbInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NodeId string
    OutputFile string
    Role string
    Addresses []GetShardingNetworkPrivateAddressesAddress
    DbInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NodeId string
    OutputFile string
    Role string
    addresses List<GetShardingNetworkPrivateAddressesAddress>
    dbInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    nodeId String
    outputFile String
    role String
    addresses GetShardingNetworkPrivateAddressesAddress[]
    dbInstanceId string
    id string
    The provider-assigned unique ID for this managed resource.
    nodeId string
    outputFile string
    role string
    addresses Sequence[GetShardingNetworkPrivateAddressesAddress]
    db_instance_id str
    id str
    The provider-assigned unique ID for this managed resource.
    node_id str
    output_file str
    role str
    addresses List<Property Map>
    dbInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    nodeId String
    outputFile String
    role String

    Supporting Types

    GetShardingNetworkPrivateAddressesAddress

    DbInstanceId string
    The db instance id.
    ExpiredTime string
    The remaining duration of the classic network address. Unit: seconds.
    IpAddress string
    The IP address of the instance.
    NetworkAddress string
    The endpoint of the instance.
    NetworkType string
    The type of the network.
    NodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    NodeType string
    The type of the node.
    Port string
    The port number.
    Role string
    The role of the node.
    VpcId string
    The ID of the VPC.
    VswitchId string
    The vSwitch ID of the VPC.
    DbInstanceId string
    The db instance id.
    ExpiredTime string
    The remaining duration of the classic network address. Unit: seconds.
    IpAddress string
    The IP address of the instance.
    NetworkAddress string
    The endpoint of the instance.
    NetworkType string
    The type of the network.
    NodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    NodeType string
    The type of the node.
    Port string
    The port number.
    Role string
    The role of the node.
    VpcId string
    The ID of the VPC.
    VswitchId string
    The vSwitch ID of the VPC.
    dbInstanceId String
    The db instance id.
    expiredTime String
    The remaining duration of the classic network address. Unit: seconds.
    ipAddress String
    The IP address of the instance.
    networkAddress String
    The endpoint of the instance.
    networkType String
    The type of the network.
    nodeId String
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    nodeType String
    The type of the node.
    port String
    The port number.
    role String
    The role of the node.
    vpcId String
    The ID of the VPC.
    vswitchId String
    The vSwitch ID of the VPC.
    dbInstanceId string
    The db instance id.
    expiredTime string
    The remaining duration of the classic network address. Unit: seconds.
    ipAddress string
    The IP address of the instance.
    networkAddress string
    The endpoint of the instance.
    networkType string
    The type of the network.
    nodeId string
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    nodeType string
    The type of the node.
    port string
    The port number.
    role string
    The role of the node.
    vpcId string
    The ID of the VPC.
    vswitchId string
    The vSwitch ID of the VPC.
    db_instance_id str
    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, or Configserver node 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.
    dbInstanceId String
    The db instance id.
    expiredTime String
    The remaining duration of the classic network address. Unit: seconds.
    ipAddress String
    The IP address of the instance.
    networkAddress String
    The endpoint of the instance.
    networkType String
    The type of the network.
    nodeId String
    The ID of the mongos, shard, or Configserver node in the sharded cluster instance.
    nodeType String
    The type of the node.
    port String
    The port number.
    role String
    The role of the node.
    vpcId String
    The ID of the VPC.
    vswitchId 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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi