getPrivateLinkEndpoint
mongodbatlas.PrivateLinkEndpoint
describe a Private Endpoint. This represents a Private Endpoint Connection to retrieve details regarding a private endpoint by id in an Atlas project
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Example Usage
Coming soon!
Coming soon!
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const testMongodbatlasPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("test", {
projectId: "<PROJECT-ID>",
providerName: "AWS",
region: "us-east-1",
});
const testPrivateLinkEndpoint = pulumi.all([testMongodbatlasPrivateLinkEndpoint.privateLinkId, testMongodbatlasPrivateLinkEndpoint.projectId]).apply(([privateLinkId, projectId]) => mongodbatlas.getPrivateLinkEndpoint({
privateLinkId: privateLinkId,
projectId: projectId,
providerName: "AWS",
}, { async: true }));
Using getPrivateLinkEndpoint
function getPrivateLinkEndpoint(args: GetPrivateLinkEndpointArgs, opts?: InvokeOptions): Promise<GetPrivateLinkEndpointResult>
def get_private_link_endpoint(private_link_id: Optional[str] = None, project_id: Optional[str] = None, provider_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetPrivateLinkEndpointResult
func LookupPrivateLinkEndpoint(ctx *Context, args *LookupPrivateLinkEndpointArgs, opts ...InvokeOption) (*LookupPrivateLinkEndpointResult, error)
Note: This function is named
LookupPrivateLinkEndpoint
in the Go SDK.
public static class GetPrivateLinkEndpoint {
public static Task<GetPrivateLinkEndpointResult> InvokeAsync(GetPrivateLinkEndpointArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Private
Link stringId Unique identifier of the private endpoint service that you want to retrieve.
- Project
Id string Unique identifier for the project.
- Provider
Name string Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts
AWS
orAZURE
.
- Private
Link stringId Unique identifier of the private endpoint service that you want to retrieve.
- Project
Id string Unique identifier for the project.
- Provider
Name string Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts
AWS
orAZURE
.
- private
Link stringId Unique identifier of the private endpoint service that you want to retrieve.
- project
Id string Unique identifier for the project.
- provider
Name string Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts
AWS
orAZURE
.
- private_
link_ strid Unique identifier of the private endpoint service that you want to retrieve.
- project_
id str Unique identifier for the project.
- provider_
name str Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts
AWS
orAZURE
.
getPrivateLinkEndpoint Result
The following output properties are available:
- Endpoint
Service stringName Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
- Error
Message string Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
- Id string
The provider-assigned unique ID for this managed resource.
- Interface
Endpoints List<string> Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
- Private
Endpoints List<string> All private endpoints that you have added to this Azure Private Link Service.
- Private
Link stringId - Private
Link stringService Name Name of the Azure Private Link Service that Atlas manages.
- Private
Link stringService Resource Id Resource ID of the Azure Private Link Service that Atlas manages. Returns one of the following values:
- Project
Id string - Provider
Name string - Status string
Status of the AWS PrivateLink connection.
- Endpoint
Service stringName Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
- Error
Message string Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
- Id string
The provider-assigned unique ID for this managed resource.
- Interface
Endpoints []string Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
- Private
Endpoints []string All private endpoints that you have added to this Azure Private Link Service.
- Private
Link stringId - Private
Link stringService Name Name of the Azure Private Link Service that Atlas manages.
- Private
Link stringService Resource Id Resource ID of the Azure Private Link Service that Atlas manages. Returns one of the following values:
- Project
Id string - Provider
Name string - Status string
Status of the AWS PrivateLink connection.
- endpoint
Service stringName Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
- error
Message string Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
- id string
The provider-assigned unique ID for this managed resource.
- interface
Endpoints string[] Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
- private
Endpoints string[] All private endpoints that you have added to this Azure Private Link Service.
- private
Link stringId - private
Link stringService Name Name of the Azure Private Link Service that Atlas manages.
- private
Link stringService Resource Id Resource ID of the Azure Private Link Service that Atlas manages. Returns one of the following values:
- project
Id string - provider
Name string - status string
Status of the AWS PrivateLink connection.
- endpoint_
service_ strname Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
- error_
message str Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
- id str
The provider-assigned unique ID for this managed resource.
- interface_
endpoints Sequence[str] Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
- private_
endpoints Sequence[str] All private endpoints that you have added to this Azure Private Link Service.
- private_
link_ strid - private_
link_ strservice_ name Name of the Azure Private Link Service that Atlas manages.
- private_
link_ strservice_ resource_ id Resource ID of the Azure Private Link Service that Atlas manages. Returns one of the following values:
- project_
id str - provider_
name str - status str
Status of the AWS PrivateLink connection.
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.