Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse
scaleway.getDocumentdbLoadBalancerEndpoint
Explore with Pulumi AI
Gets information about an DocumentDB load balancer endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
const myEndpoint = scaleway.getDocumentdbLoadBalancerEndpoint({
    instanceId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
my_endpoint = scaleway.get_documentdb_load_balancer_endpoint(instance_id="11111111-1111-1111-1111-111111111111")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.GetDocumentdbLoadBalancerEndpoint(ctx, &scaleway.GetDocumentdbLoadBalancerEndpointArgs{
			InstanceId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() => 
{
    var myEndpoint = Scaleway.GetDocumentdbLoadBalancerEndpoint.Invoke(new()
    {
        InstanceId = "11111111-1111-1111-1111-111111111111",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetDocumentdbLoadBalancerEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var myEndpoint = ScalewayFunctions.getDocumentdbLoadBalancerEndpoint(GetDocumentdbLoadBalancerEndpointArgs.builder()
            .instanceId("11111111-1111-1111-1111-111111111111")
            .build());
    }
}
variables:
  myEndpoint:
    fn::invoke:
      Function: scaleway:getDocumentdbLoadBalancerEndpoint
      Arguments:
        instanceId: 11111111-1111-1111-1111-111111111111
Using getDocumentdbLoadBalancerEndpoint
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 getDocumentdbLoadBalancerEndpoint(args: GetDocumentdbLoadBalancerEndpointArgs, opts?: InvokeOptions): Promise<GetDocumentdbLoadBalancerEndpointResult>
function getDocumentdbLoadBalancerEndpointOutput(args: GetDocumentdbLoadBalancerEndpointOutputArgs, opts?: InvokeOptions): Output<GetDocumentdbLoadBalancerEndpointResult>def get_documentdb_load_balancer_endpoint(instance_id: Optional[str] = None,
                                          instance_name: Optional[str] = None,
                                          project_id: Optional[str] = None,
                                          region: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetDocumentdbLoadBalancerEndpointResult
def get_documentdb_load_balancer_endpoint_output(instance_id: Optional[pulumi.Input[str]] = None,
                                          instance_name: Optional[pulumi.Input[str]] = None,
                                          project_id: Optional[pulumi.Input[str]] = None,
                                          region: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetDocumentdbLoadBalancerEndpointResult]func GetDocumentdbLoadBalancerEndpoint(ctx *Context, args *GetDocumentdbLoadBalancerEndpointArgs, opts ...InvokeOption) (*GetDocumentdbLoadBalancerEndpointResult, error)
func GetDocumentdbLoadBalancerEndpointOutput(ctx *Context, args *GetDocumentdbLoadBalancerEndpointOutputArgs, opts ...InvokeOption) GetDocumentdbLoadBalancerEndpointResultOutput> Note: This function is named GetDocumentdbLoadBalancerEndpoint in the Go SDK.
public static class GetDocumentdbLoadBalancerEndpoint 
{
    public static Task<GetDocumentdbLoadBalancerEndpointResult> InvokeAsync(GetDocumentdbLoadBalancerEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetDocumentdbLoadBalancerEndpointResult> Invoke(GetDocumentdbLoadBalancerEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDocumentdbLoadBalancerEndpointResult> getDocumentdbLoadBalancerEndpoint(GetDocumentdbLoadBalancerEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: scaleway:index/getDocumentdbLoadBalancerEndpoint:getDocumentdbLoadBalancerEndpoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Instance
Id string - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - Instance
Name string - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - Project
Id string - The ID of the project the DocumentDB endpoint is associated with.
 - Region string
 region) The region in which the DocumentDB endpoint exists.
- Instance
Id string - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - Instance
Name string - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - Project
Id string - The ID of the project the DocumentDB endpoint is associated with.
 - Region string
 region) The region in which the DocumentDB endpoint exists.
- instance
Id String - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - instance
Name String - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - project
Id String - The ID of the project the DocumentDB endpoint is associated with.
 - region String
 region) The region in which the DocumentDB endpoint exists.
- instance
Id string - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - instance
Name string - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - project
Id string - The ID of the project the DocumentDB endpoint is associated with.
 - region string
 region) The region in which the DocumentDB endpoint exists.
- instance_
id str - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - instance_
name str - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - project_
id str - The ID of the project the DocumentDB endpoint is associated with.
 - region str
 region) The region in which the DocumentDB endpoint exists.
- instance
Id String - The DocumentDB Instance on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - instance
Name String - The DocumentDB Instance Name on which the endpoint is attached. Only one of 
instance_nameandinstance_idshould be specified. - project
Id String - The ID of the project the DocumentDB endpoint is associated with.
 - region String
 region) The region in which the DocumentDB endpoint exists.
getDocumentdbLoadBalancerEndpoint Result
The following output properties are available:
- Hostname string
 - The hostname of your endpoint.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - Instance
Name string - Ip string
 - The IP of your load balancer service.
 - Name string
 - The name of your load balancer service.
 - Port int
 - The port of your load balancer service.
 - Project
Id string - Region string
 
- Hostname string
 - The hostname of your endpoint.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - Instance
Name string - Ip string
 - The IP of your load balancer service.
 - Name string
 - The name of your load balancer service.
 - Port int
 - The port of your load balancer service.
 - Project
Id string - Region string
 
- hostname String
 - The hostname of your endpoint.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - instance
Name String - ip String
 - The IP of your load balancer service.
 - name String
 - The name of your load balancer service.
 - port Integer
 - The port of your load balancer service.
 - project
Id String - region String
 
- hostname string
 - The hostname of your endpoint.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - instance
Id string - instance
Name string - ip string
 - The IP of your load balancer service.
 - name string
 - The name of your load balancer service.
 - port number
 - The port of your load balancer service.
 - project
Id string - region string
 
- hostname str
 - The hostname of your endpoint.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - instance_
id str - instance_
name str - ip str
 - The IP of your load balancer service.
 - name str
 - The name of your load balancer service.
 - port int
 - The port of your load balancer service.
 - project_
id str - region str
 
- hostname String
 - The hostname of your endpoint.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - instance
Name String - ip String
 - The IP of your load balancer service.
 - name String
 - The name of your load balancer service.
 - port Number
 - The port of your load balancer service.
 - project
Id String - region String
 
Package Details
- Repository
 - scaleway pulumiverse/pulumi-scaleway
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scalewayTerraform Provider.