Astra DB v1.0.42 published on Tuesday, Jun 6, 2023 by pulumiverse
astra.getPrivateLinkEndpoints
Explore with Pulumi AI
astra.getPrivateLinkEndpoints
provides a datasource that lists the private link endpoints for an Astra database.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Astra = Pulumi.Astra;
return await Deployment.RunAsync(() =>
{
var dev = Astra.GetPrivateLinkEndpoints.Invoke(new()
{
DatabaseId = "8d356587-73b3-430a-9c0e-d780332e2afb",
DatacenterId = "8d356587-73b3-430a-9c0e-d780332e2afb-1",
EndpointId = "com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df",
});
});
package main
import (
"github.com/pulumi/pulumi-astra/sdk/go/astra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-astra/sdk/go/astra"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := astra.LookupPrivateLinkEndpoints(ctx, &GetPrivateLinkEndpointsArgs{
DatabaseId: "8d356587-73b3-430a-9c0e-d780332e2afb",
DatacenterId: "8d356587-73b3-430a-9c0e-d780332e2afb-1",
EndpointId: "com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.astra.AstraFunctions;
import com.pulumi.astra.inputs.GetPrivateLinkEndpointsArgs;
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 dev = AstraFunctions.getPrivateLinkEndpoints(GetPrivateLinkEndpointsArgs.builder()
.databaseId("8d356587-73b3-430a-9c0e-d780332e2afb")
.datacenterId("8d356587-73b3-430a-9c0e-d780332e2afb-1")
.endpointId("com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df")
.build());
}
}
import pulumi
import pulumi_astra as astra
dev = astra.get_private_link_endpoints(database_id="8d356587-73b3-430a-9c0e-d780332e2afb",
datacenter_id="8d356587-73b3-430a-9c0e-d780332e2afb-1",
endpoint_id="com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df")
import * as pulumi from "@pulumi/pulumi";
import * as astra from "@pulumi/astra";
const dev = pulumi.output(astra.getPrivateLinkEndpoints({
databaseId: "8d356587-73b3-430a-9c0e-d780332e2afb",
datacenterId: "8d356587-73b3-430a-9c0e-d780332e2afb-1",
endpointId: "com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df",
}));
variables:
dev:
Fn::Invoke:
Function: astra:getPrivateLinkEndpoints
Arguments:
databaseId: 8d356587-73b3-430a-9c0e-d780332e2afb
datacenterId: 8d356587-73b3-430a-9c0e-d780332e2afb-1
endpointId: com.amazonaws.vpce.us-east-1.vpce-svc-03ac5a4b18ee480df
Using getPrivateLinkEndpoints
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 getPrivateLinkEndpoints(args: GetPrivateLinkEndpointsArgs, opts?: InvokeOptions): Promise<GetPrivateLinkEndpointsResult>
function getPrivateLinkEndpointsOutput(args: GetPrivateLinkEndpointsOutputArgs, opts?: InvokeOptions): Output<GetPrivateLinkEndpointsResult>
def get_private_link_endpoints(database_id: Optional[str] = None,
datacenter_id: Optional[str] = None,
endpoint_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivateLinkEndpointsResult
def get_private_link_endpoints_output(database_id: Optional[pulumi.Input[str]] = None,
datacenter_id: Optional[pulumi.Input[str]] = None,
endpoint_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivateLinkEndpointsResult]
func LookupPrivateLinkEndpoints(ctx *Context, args *LookupPrivateLinkEndpointsArgs, opts ...InvokeOption) (*LookupPrivateLinkEndpointsResult, error)
func LookupPrivateLinkEndpointsOutput(ctx *Context, args *LookupPrivateLinkEndpointsOutputArgs, opts ...InvokeOption) LookupPrivateLinkEndpointsResultOutput
> Note: This function is named LookupPrivateLinkEndpoints
in the Go SDK.
public static class GetPrivateLinkEndpoints
{
public static Task<GetPrivateLinkEndpointsResult> InvokeAsync(GetPrivateLinkEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetPrivateLinkEndpointsResult> Invoke(GetPrivateLinkEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivateLinkEndpointsResult> getPrivateLinkEndpoints(GetPrivateLinkEndpointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: astra:index/getPrivateLinkEndpoints:getPrivateLinkEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Id string - The ID of the Astra database.
- Datacenter
Id string - The Datacenter ID of the Astra database.
- Endpoint
Id string - Endpoint ID.
- Database
Id string - The ID of the Astra database.
- Datacenter
Id string - The Datacenter ID of the Astra database.
- Endpoint
Id string - Endpoint ID.
- database
Id String - The ID of the Astra database.
- datacenter
Id String - The Datacenter ID of the Astra database.
- endpoint
Id String - Endpoint ID.
- database
Id string - The ID of the Astra database.
- datacenter
Id string - The Datacenter ID of the Astra database.
- endpoint
Id string - Endpoint ID.
- database_
id str - The ID of the Astra database.
- datacenter_
id str - The Datacenter ID of the Astra database.
- endpoint_
id str - Endpoint ID.
- database
Id String - The ID of the Astra database.
- datacenter
Id String - The Datacenter ID of the Astra database.
- endpoint
Id String - Endpoint ID.
getPrivateLinkEndpoints Result
The following output properties are available:
- Database
Id string - The ID of the Astra database.
- Datacenter
Id string - The Datacenter ID of the Astra database.
- Endpoint
Id string - Endpoint ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Pulumiverse.
Astra. Outputs. Get Private Link Endpoints Result> - The list of private links endpoint details that match the search criteria.
- Database
Id string - The ID of the Astra database.
- Datacenter
Id string - The Datacenter ID of the Astra database.
- Endpoint
Id string - Endpoint ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Private Link Endpoints Result - The list of private links endpoint details that match the search criteria.
- database
Id String - The ID of the Astra database.
- datacenter
Id String - The Datacenter ID of the Astra database.
- endpoint
Id String - Endpoint ID.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Private Link Endpoints Result> - The list of private links endpoint details that match the search criteria.
- database
Id string - The ID of the Astra database.
- datacenter
Id string - The Datacenter ID of the Astra database.
- endpoint
Id string - Endpoint ID.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Private Link Endpoints Result[] - The list of private links endpoint details that match the search criteria.
- database_
id str - The ID of the Astra database.
- datacenter_
id str - The Datacenter ID of the Astra database.
- endpoint_
id str - Endpoint ID.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Private Link Endpoints Result] - The list of private links endpoint details that match the search criteria.
- database
Id String - The ID of the Astra database.
- datacenter
Id String - The Datacenter ID of the Astra database.
- endpoint
Id String - Endpoint ID.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The list of private links endpoint details that match the search criteria.
Supporting Types
GetPrivateLinkEndpointsResult
- Create
Time string - Description string
- Endpoint
Id string - Endpoint ID.
- Status string
- Create
Time string - Description string
- Endpoint
Id string - Endpoint ID.
- Status string
- create
Time String - description String
- endpoint
Id String - Endpoint ID.
- status String
- create
Time string - description string
- endpoint
Id string - Endpoint ID.
- status string
- create_
time str - description str
- endpoint_
id str - Endpoint ID.
- status str
- create
Time String - description String
- endpoint
Id String - Endpoint ID.
- status String
Package Details
- Repository
- astra pulumiverse/pulumi-astra
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
astra
Terraform Provider.