Show / Hide Table of Contents

Class NetworkPeering

Inheritance
System.Object
Resource
CustomResource
NetworkPeering
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Mongodbatlas
Assembly: Pulumi.Mongodbatlas.dll
Syntax
public class NetworkPeering : CustomResource

Constructors

View Source

NetworkPeering(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 Source

AccepterRegionName

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>
View Source

AtlasCidrBlock

Unique identifier for an Azure AD directory.

Declaration
public Output<string> AtlasCidrBlock { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

AtlasId

Declaration
public Output<string> AtlasId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

AwsAccountId

Account ID of the owner of the peer VPC.

Declaration
public Output<string> AwsAccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

AzureDirectoryId

Unique identifier for an Azure AD directory.

Declaration
public Output<string> AzureDirectoryId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

ConnectionId

Unique identifier for the peering connection.

Declaration
public Output<string> ConnectionId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

ErrorMessage

When &quot;status&quot; : &quot;FAILED&quot;, Atlas provides a description of the error.

Declaration
public Output<string> ErrorMessage { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

GcpProjectId

GCP project ID of the owner of the network peer.

Declaration
public Output<string> GcpProjectId { get; }
Property Value
Type Description
Output<System.String>
View Source

NetworkName

Name of the network peer to which Atlas connects.

Declaration
public Output<string> NetworkName { get; }
Property Value
Type Description
Output<System.String>
View Source

PeerId

The Network Peering Container ID.

Declaration
public Output<string> PeerId { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

ResourceGroupName

Name of your Azure resource group.

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

RouteTableCidrBlock

Peer VPC CIDR block or subnet.

Declaration
public Output<string> RouteTableCidrBlock { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

VnetName

Name of your Azure VNet.

Declaration
public Output<string> VnetName { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcId

Unique identifier of the peer VPC.

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.