Class PrivateEndpoint
mongodbatlas..PrivateEndpoint provides a Private Endpoint resource. This represents a Private Endpoint Connection that can be created in an Atlas project.
**IMPORTANT:**You must have one of the following roles to successfully handle the resource:
- Organization Owner
- Project Owner
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Example Usage
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
class MyStack : Stack
{
public MyStack()
{
var test = new Mongodbatlas.PrivateEndpoint("test", new Mongodbatlas.PrivateEndpointArgs
{
ProjectId = "<PROJECT-ID>",
ProviderName = "AWS",
Region = "us-east-1",
});
}
}
Inherited Members
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public class PrivateEndpoint : CustomResource
Constructors
View SourcePrivateEndpoint(String, PrivateEndpointArgs, CustomResourceOptions)
Create a PrivateEndpoint resource with the given unique name, arguments, and options.
Declaration
public PrivateEndpoint(string name, PrivateEndpointArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| PrivateEndpointArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEndpointServiceName
Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
Declaration
public Output<string> EndpointServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ErrorMessage
Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
Declaration
public Output<string> ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InterfaceEndpoints
Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
Declaration
public Output<ImmutableArray<string>> InterfaceEndpoints { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
PrivateLinkId
Unique identifier of the AWS PrivateLink connection.
Declaration
public Output<string> PrivateLinkId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectId
Required Unique identifier for the project.
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProviderName
Declaration
public Output<string> ProviderName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
Cloud provider region in which you want to create the private endpoint connection. Accepted values are:
us-east-1us-east-2us-west-1us-west-2ca-central-1sa-east-1eu-north-1eu-west-1eu-west-2eu-west-3eu-central-1me-south-1ap-northeast-1ap-northeast-2ap-south-1ap-southeast-1ap-southeast-2ap-east-1
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
Status of the AWS PrivateLink connection. Returns one of the following values:
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, PrivateEndpointState, CustomResourceOptions)
Get an existing PrivateEndpoint resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static PrivateEndpoint Get(string name, Input<string> id, PrivateEndpointState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| PrivateEndpointState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| PrivateEndpoint |