GetPrivateEndpointInterfaceLink
mongodbatlas.PrivateEndpointInterfaceLink
describe a Private Endpoint Link. This represents a Private Endpoint Link Connection that wants to retrieve details in an Atlas project.
!> WARNING: This datasource is deprecated and will be removed in the next major version Please transition to privatelink_endpoint_service as soon as possible. PrivateLink Endpoint Service
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 aws from "@pulumi/aws";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const testPrivateEndpoint = new mongodbatlas.PrivateEndpoint("test", {
projectId: "<PROJECT_ID>",
providerName: "AWS",
region: "us-east-1",
});
const ptfeService = new aws.ec2.VpcEndpoint("ptfe_service", {
securityGroupIds: ["sg-3f238186"],
serviceName: testPrivateEndpoint.endpointServiceName,
subnetIds: ["subnet-de0406d2"],
vpcEndpointType: "Interface",
vpcId: "vpc-7fc0a543",
});
const testMongodbatlasPrivateEndpointInterfaceLink = new mongodbatlas.PrivateEndpointInterfaceLink("test", {
interfaceEndpointId: ptfeService.id,
privateLinkId: testPrivateEndpoint.privateLinkId,
projectId: testPrivateEndpoint.projectId,
});
const testPrivateEndpointInterfaceLink = pulumi.all([mongodbatlas_private_endpoint_link_test.interfaceEndpointId, mongodbatlas_private_endpoint_link_test.privateLinkId, mongodbatlas_private_endpoint_link_test.projectId]).apply(([interfaceEndpointId, privateLinkId, projectId]) => mongodbatlas.getPrivateEndpointInterfaceLink({
interfaceEndpointId: interfaceEndpointId,
privateLinkId: privateLinkId,
projectId: projectId,
}, { async: true }));
Using GetPrivateEndpointInterfaceLink
function getPrivateEndpointInterfaceLink(args: GetPrivateEndpointInterfaceLinkArgs, opts?: InvokeOptions): Promise<GetPrivateEndpointInterfaceLinkResult>
def get_private_endpoint_interface_link(interface_endpoint_id: Optional[str] = None, private_link_id: Optional[str] = None, project_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetPrivateEndpointInterfaceLinkResult
func LookupPrivateEndpointInterfaceLink(ctx *Context, args *LookupPrivateEndpointInterfaceLinkArgs, opts ...InvokeOption) (*LookupPrivateEndpointInterfaceLinkResult, error)
Note: This function is named
LookupPrivateEndpointInterfaceLink
in the Go SDK.
public static class GetPrivateEndpointInterfaceLink {
public static Task<GetPrivateEndpointInterfaceLinkResult> InvokeAsync(GetPrivateEndpointInterfaceLinkArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Interface
Endpoint stringId - Private
Link stringId Unique identifier of the AWS PrivateLink connection.
- Project
Id string Unique identifier for the project.
- Interface
Endpoint stringId - Private
Link stringId Unique identifier of the AWS PrivateLink connection.
- Project
Id string Unique identifier for the project.
- interface
Endpoint stringId - private
Link stringId Unique identifier of the AWS PrivateLink connection.
- project
Id string Unique identifier for the project.
- interface_
endpoint_ strid - private_
link_ strid Unique identifier of the AWS PrivateLink connection.
- project_
id str Unique identifier for the project.
GetPrivateEndpointInterfaceLink Result
The following output properties are available:
- Connection
Status string Status of the interface endpoint. Returns one of the following values:
- Delete
Requested bool Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
- Error
Message string Error message pertaining to the interface endpoint. Returns null if there are no errors.
- Id string
The provider-assigned unique ID for this managed resource.
- Interface
Endpoint stringId - Private
Link stringId - Project
Id string
- Connection
Status string Status of the interface endpoint. Returns one of the following values:
- Delete
Requested bool Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
- Error
Message string Error message pertaining to the interface endpoint. Returns null if there are no errors.
- Id string
The provider-assigned unique ID for this managed resource.
- Interface
Endpoint stringId - Private
Link stringId - Project
Id string
- connection
Status string Status of the interface endpoint. Returns one of the following values:
- delete
Requested boolean Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
- error
Message string Error message pertaining to the interface endpoint. Returns null if there are no errors.
- id string
The provider-assigned unique ID for this managed resource.
- interface
Endpoint stringId - private
Link stringId - project
Id string
- connection_
status str Status of the interface endpoint. Returns one of the following values:
- delete_
requested bool Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
- error_
message str Error message pertaining to the interface endpoint. Returns null if there are no errors.
- id str
The provider-assigned unique ID for this managed resource.
- interface_
endpoint_ strid - private_
link_ strid - project_
id str
Package Details
- Repository
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.