GetPrivateEndpoint
mongodbatlas..PrivateEndpoint 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 testMongodbatlasPrivateEndpoint = new mongodbatlas.PrivateEndpoint("test", {
projectId: "<PROJECT-ID>",
providerName: "AWS",
region: "us-east-1",
});
const testPrivateEndpoint = pulumi.all([testMongodbatlasPrivateEndpoint.privateLinkId, testMongodbatlasPrivateEndpoint.projectId]).apply(([privateLinkId, projectId]) => mongodbatlas.getPrivateEndpoint({
privateLinkId: privateLinkId,
projectId: projectId,
}, { async: true }));Using GetPrivateEndpoint
function getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointResult>function get_private_endpoint(private_link_id=None, project_id=None, opts=None)func LookupPrivateEndpoint(ctx *Context, args *LookupPrivateEndpointArgs, opts ...InvokeOption) (*LookupPrivateEndpointResult, error)Note: This function is named
LookupPrivateEndpointin the Go SDK.
public static class GetPrivateEndpoint {
public static Task<GetPrivateEndpointResult> InvokeAsync(GetPrivateEndpointArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Private
Link stringId Unique identifier of the AWS PrivateLink connection.
- Project
Id string Unique identifier for the project.
- Private
Link stringId Unique identifier of the AWS PrivateLink connection.
- Project
Id string Unique identifier for the project.
- private
Link stringId Unique identifier of the AWS PrivateLink connection.
- project
Id string Unique identifier for the project.
- private_
link_ strid Unique identifier of the AWS PrivateLink connection.
- project_
id str Unique identifier for the project.
GetPrivateEndpoint 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
Link stringId - Project
Id string - Status string
Status of the AWS PrivateLink connection. Returns one of the following values:
- 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
Link stringId - Project
Id string - Status string
Status of the AWS PrivateLink connection. Returns one of the following values:
- 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
Link stringId - project
Id string - status string
Status of the AWS PrivateLink connection. Returns one of the following values:
- 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 List[str] Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
- private_
link_ strid - project_
id str - status str
Status of the AWS PrivateLink connection. Returns one of the following values:
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.