Want to learn about running containers in Lambda? Join our free hands-on workshop. Register Now

GetNetworkContainer

mongodbatlas.NetworkContainer describes a Network Peering Container. The resource requires your Project ID and container ID.

IMPORTANT: This resource creates one Network Peering container into which Atlas can deploy Network Peering connections. An Atlas project can have a maximum of one container for each cloud provider. You must have either the Project Owner or Organization Owner role to successfully call this endpoint.

NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.

Using GetNetworkContainer

function getNetworkContainer(args: GetNetworkContainerArgs, opts?: InvokeOptions): Promise<GetNetworkContainerResult>
def get_network_container(container_id: Optional[str] = None, project_id: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetNetworkContainerResult
func LookupNetworkContainer(ctx *Context, args *LookupNetworkContainerArgs, opts ...InvokeOption) (*LookupNetworkContainerResult, error)

Note: This function is named LookupNetworkContainer in the Go SDK.

public static class GetNetworkContainer {
    public static Task<GetNetworkContainerResult> InvokeAsync(GetNetworkContainerArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

ContainerId string

The Network Peering Container ID.

ProjectId string

The unique ID for the project to create the database user.

ContainerId string

The Network Peering Container ID.

ProjectId string

The unique ID for the project to create the database user.

containerId string

The Network Peering Container ID.

projectId string

The unique ID for the project to create the database user.

container_id str

The Network Peering Container ID.

project_id str

The unique ID for the project to create the database user.

GetNetworkContainer Result

The following output properties are available:

AtlasCidrBlock string

CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following private networks.

AzureSubscriptionId string

Unique identifer of the Azure subscription in which the VNet resides.

ContainerId string
GcpProjectId string

Unique identifier of the GCP project in which the Network Peering connection resides.

Id string

The provider-assigned unique ID for this managed resource.

NetworkName string

Name of the Network Peering connection in the Atlas project.

ProjectId string
ProviderName string

Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.

Provisioned bool

Indicates whether the project has Network Peering connections deployed in the container.

Region string

The Atlas Azure region name for where this container will exist.

RegionName string

The Atlas AWS region name for where this container will exist.

VnetName string

The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.

VpcId string

Unique identifier of the project’s VPC.

AtlasCidrBlock string

CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following private networks.

AzureSubscriptionId string

Unique identifer of the Azure subscription in which the VNet resides.

ContainerId string
GcpProjectId string

Unique identifier of the GCP project in which the Network Peering connection resides.

Id string

The provider-assigned unique ID for this managed resource.

NetworkName string

Name of the Network Peering connection in the Atlas project.

ProjectId string
ProviderName string

Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.

Provisioned bool

Indicates whether the project has Network Peering connections deployed in the container.

Region string

The Atlas Azure region name for where this container will exist.

RegionName string

The Atlas AWS region name for where this container will exist.

VnetName string

The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.

VpcId string

Unique identifier of the project’s VPC.

atlasCidrBlock string

CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following private networks.

azureSubscriptionId string

Unique identifer of the Azure subscription in which the VNet resides.

containerId string
gcpProjectId string

Unique identifier of the GCP project in which the Network Peering connection resides.

id string

The provider-assigned unique ID for this managed resource.

networkName string

Name of the Network Peering connection in the Atlas project.

projectId string
providerName string

Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.

provisioned boolean

Indicates whether the project has Network Peering connections deployed in the container.

region string

The Atlas Azure region name for where this container will exist.

regionName string

The Atlas AWS region name for where this container will exist.

vnetName string

The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.

vpcId string

Unique identifier of the project’s VPC.

atlas_cidr_block str

CIDR block that Atlas uses for your clusters. Atlas uses the specified CIDR block for all other Network Peering connections created in the project. The Atlas CIDR block must be at least a /24 and at most a /21 in one of the following private networks.

azure_subscription_id str

Unique identifer of the Azure subscription in which the VNet resides.

container_id str
gcp_project_id str

Unique identifier of the GCP project in which the Network Peering connection resides.

id str

The provider-assigned unique ID for this managed resource.

network_name str

Name of the Network Peering connection in the Atlas project.

project_id str
provider_name str

Cloud provider for this Network Peering connection. If omitted, Atlas sets this parameter to AWS.

provisioned bool

Indicates whether the project has Network Peering connections deployed in the container.

region str

The Atlas Azure region name for where this container will exist.

region_name str

The Atlas AWS region name for where this container will exist.

vnet_name str

The name of the Azure VNet. This value is null until you provision an Azure VNet in the container.

vpc_id str

Unique identifier of the project’s VPC.

Package Details

Repository
https://github.com/pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes
This Pulumi package is based on the mongodbatlas Terraform Provider.