Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsBuilder ¶
AwsBuilder mongocli atlas networking peering create aws --accepterRegionName accepterRegionName: Specifies the region where the peer VPC resides. --awsAccountId awsAccountId: Account ID of the owner of the peer VPC. --containerId containerId: Unique identifier of the Atlas VPC container for the region. --routeTableCidrBlock routeTableCidrBlock: Peer VPC CIDR block or subnet. --vpcID vpcID: Unique identifier of the peer VPC. --projectId projectId: ID of the project Create a network peering with AWS, this command will internally check if a container already exists for the provider and region and if it does then we’ll use that, if it does not exists we’ll try to create one and use it, there can only be one container per provider and region.
func AzureBuilder ¶
mongocli atlas networking peering create azure --atlasCidrBlock atlasCidrBlock: CIDR block that Atlas uses for the Network Peering containers in your project. --directoryId azureDirectoryId: Unique identifier for an Azure AD directory. --subscriptionId azureSubscriptionId: Unique identifier of the Azure subscription in which the VNet resides. --resourceGroup resourceGroupName: Name of your Azure resource group. --region regionName: Atlas region where the container resides. --vnet vnetName: Name of your Azure VNet. --projectId projectId: ID of the project Create a network peering with Azure, this command will internally check if a container already exists for the provider and region and if it does then we’ll use that, if it does not exists we’ll try to create one and use it, there can only be one container per provider and region.
func GCPBuilder ¶
mongocli atlas networking peering create gcp [--atlasCidrBlock atlasCidrBlock][--gcpProjectId gcpProjectId][--network networkName] [--regions region][--projectId projectId] --atlasCidrBlock atlasCidrBlock: CIDR block that Atlas uses for the Network Peering containers in your project. --gcpProjectId gcpProjectId: GCP project ID of the owner of the network peer. --network networkName: Name of the network peer to which Atlas connects. --regions region: "List of Atlas regions where the container resides." --projectId projectId: ID of the project Create a network peering with GCP, this command will internally check if a container already exists for the provider and if it does then we’ll use that, if it does not exists we’ll try to create one and use it, there can only be one container per GCP provider.
Types ¶
type AWSOpts ¶
type AWSOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
type AzureOpts ¶
type AzureOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }
type GCPOpts ¶
type GCPOpts struct { cli.GlobalOpts cli.OutputOpts // contains filtered or unexported fields }