1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. mongodb
  6. getEndpoint
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.43
published on Monday, Jun 15, 2026 by Volcengine

    Data Source schema for Volcengine::MongoDB::Endpoint

    Using getEndpoint

    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 getEndpoint(args: GetEndpointArgs, opts?: InvokeOptions): Promise<GetEndpointResult>
    function getEndpointOutput(args: GetEndpointOutputArgs, opts?: InvokeOptions): Output<GetEndpointResult>
    def get_endpoint(id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetEndpointResult
    def get_endpoint_output(id: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetEndpointResult]
    func LookupEndpoint(ctx *Context, args *LookupEndpointArgs, opts ...InvokeOption) (*LookupEndpointResult, error)
    func LookupEndpointOutput(ctx *Context, args *LookupEndpointOutputArgs, opts ...InvokeOption) LookupEndpointResultOutput

    > Note: This function is named LookupEndpoint in the Go SDK.

    public static class GetEndpoint 
    {
        public static Task<GetEndpointResult> InvokeAsync(GetEndpointArgs args, InvokeOptions? opts = null)
        public static Output<GetEndpointResult> Invoke(GetEndpointInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
    public static Output<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:mongodb/getEndpoint:getEndpoint
      arguments:
        # arguments dictionary
    data "volcenginecc_mongodb_getendpoint" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Id string
    id string
    id String
    id string
    id str
    id String

    getEndpoint Result

    The following output properties are available:

    db_addresses list(object)
    eip_ids list(string)
    endpoint_id string
    endpoint_str string
    endpoint_type string
    id string
    instance_id string
    mongos_node_ids list(string)
    network_type string
    object_id string
    subnet_id string
    vpc_id string
    dbAddresses List<GetEndpointDbAddress>
    eipIds List<String>
    endpointId String
    endpointStr String
    endpointType String
    id String
    instanceId String
    mongosNodeIds List<String>
    networkType String
    objectId String
    subnetId String
    vpcId String
    dbAddresses List<Property Map>
    eipIds List<String>
    endpointId String
    endpointStr String
    endpointType String
    id String
    instanceId String
    mongosNodeIds List<String>
    networkType String
    objectId String
    subnetId String
    vpcId String

    Supporting Types

    GetEndpointDbAddress

    AddressDomain string
    Domain name of the connection address
    AddressIp string

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    AddressPort string
    Port number of the connection address
    AddressType string

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    EipId string

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    NodeId string
    Node ID associated with the connection address
    ZoneId string
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    AddressDomain string
    Domain name of the connection address
    AddressIp string

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    AddressPort string
    Port number of the connection address
    AddressType string

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    EipId string

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    NodeId string
    Node ID associated with the connection address
    ZoneId string
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    address_domain string
    Domain name of the connection address
    address_ip string

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    address_port string
    Port number of the connection address
    address_type string

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    eip_id string

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    node_id string
    Node ID associated with the connection address
    zone_id string
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    addressDomain String
    Domain name of the connection address
    addressIp String

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    addressPort String
    Port number of the connection address
    addressType String

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    eipId String

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    nodeId String
    Node ID associated with the connection address
    zoneId String
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    addressDomain string
    Domain name of the connection address
    addressIp string

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    addressPort string
    Port number of the connection address
    addressType string

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    eipId string

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    nodeId string
    Node ID associated with the connection address
    zoneId string
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    address_domain str
    Domain name of the connection address
    address_ip str

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    address_port str
    Port number of the connection address
    address_type str

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    eip_id str

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    node_id str
    Node ID associated with the connection address
    zone_id str
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances
    addressDomain String
    Domain name of the connection address
    addressIp String

    IP corresponding to the connection address

    Note: It is not recommended to connect to the instance using the IP:port format, as the IP address may change after switching subnets. If the client code is not updated in time, instance connection failures may occur. We recommend accessing the MongoDB instance using the domain:port format to avoid connection issues caused by IP address changes. For detailed steps to connect to a MongoDB instance, see Connect to an Instance Using the Mongo Shell Tool.

    addressPort String
    Port number of the connection address
    addressType String

    Connection address type of the node. Possible values:

    Primary: Primary node connection address Secondary: Secondary node connection address Hidden: Hidden node connection address ReadOnly: Read-only node connection address

    Note: Hidden node connection address information is returned only when the connection address type is a private connection address (that is, when NetworkType is set to Private).

    eipId String

    EIP ID bound to the instance's public address

    Note: This parameter is returned only when the connection address type is a public connection address (that is, when NetworkType is set to Public).

    nodeId String
    Node ID associated with the connection address
    zoneId String
    AZ of the node; all nodes are consistent for single-AZ instances, while nodes differ for multi-AZ instances

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.43
    published on Monday, Jun 15, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial