Class NetworkPeering
Inherited Members
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public class NetworkPeering : CustomResource
Constructors
View SourceNetworkPeering(String, NetworkPeeringArgs, CustomResourceOptions)
Create a NetworkPeering resource with the given unique name, arguments, and options.
Declaration
public NetworkPeering(string name, NetworkPeeringArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NetworkPeeringArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccepterRegionName
Specifies the region where the peer VPC resides. For complete lists of supported regions, see Amazon Web Services.
Declaration
public Output<string> AccepterRegionName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AtlasCidrBlock
Unique identifier for an Azure AD directory.
Declaration
public Output<string> AtlasCidrBlock { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AtlasGcpProjectId
The Atlas GCP Project ID for the GCP VPC used by your atlas cluster that it is need to set up the reciprocal connection.
Declaration
public Output<string> AtlasGcpProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AtlasId
Declaration
public Output<string> AtlasId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AtlasVpcName
The Atlas VPC Name is used by your atlas clister that it is need to set up the reciprocal connection.
Declaration
public Output<string> AtlasVpcName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AwsAccountId
Account ID of the owner of the peer VPC.
Declaration
public Output<string> AwsAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AzureDirectoryId
Unique identifier for an Azure AD directory.
Declaration
public Output<string> AzureDirectoryId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AzureSubscriptionId
Unique identifer of the Azure subscription in which the VNet resides.
Declaration
public Output<string> AzureSubscriptionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ConnectionId
Unique identifier for the peering connection.
Declaration
public Output<string> ConnectionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ContainerId
Unique identifier of the Atlas VPC container for the region. You can create an Atlas VPC container using the Create Container endpoint. You cannot create more than one container per region. To retrieve a list of container IDs, use the Get list of VPC containers endpoint.
Declaration
public Output<string> ContainerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ErrorMessage
When "status" : "FAILED", Atlas provides a description of the error.
Declaration
public Output<string> ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ErrorState
Description of the Atlas error when status is Failed, Otherwise, Atlas returns null.
Declaration
public Output<string> ErrorState { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ErrorStateName
Error state, if any. The VPC peering connection error state value can be one of the following: REJECTED, EXPIRED, INVALID_ARGUMENT.
Declaration
public Output<string> ErrorStateName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GcpProjectId
GCP project ID of the owner of the network peer.
Declaration
public Output<string> GcpProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NetworkName
Name of the network peer to which Atlas connects.
Declaration
public Output<string> NetworkName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PeerId
The Network Peering Container ID.
Declaration
public Output<string> PeerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProjectId
The unique ID for the project to create the database user.
Declaration
public Output<string> ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProviderName
Cloud provider for this VPC peering connection. (Possible Values AWS, AZURE, GCP).
Declaration
public Output<string> ProviderName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupName
Name of your Azure resource group.
Declaration
public Output<string> ResourceGroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RouteTableCidrBlock
Peer VPC CIDR block or subnet.
Declaration
public Output<string> RouteTableCidrBlock { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
(Azure/GCP Only) Status of the Atlas network peering connection. Azure/GCP: ADDING_PEER, AVAILABLE, FAILED, DELETING GCP Only: WAITING_FOR_USER.
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
StatusName
(AWS Only) The VPC peering connection status value can be one of the following: INITIATING, PENDING_ACCEPTANCE, FAILED, FINALIZING, AVAILABLE, TERMINATING.
Declaration
public Output<string> StatusName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VnetName
Name of your Azure VNet.
Declaration
public Output<string> VnetName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpcId
Unique identifier of the peer VPC.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NetworkPeeringState, CustomResourceOptions)
Get an existing NetworkPeering resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static NetworkPeering Get(string name, Input<string> id, NetworkPeeringState 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. |
| NetworkPeeringState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| NetworkPeering |