create

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsBuilder

func AwsBuilder() *cobra.Command

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

func AzureBuilder() *cobra.Command

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 Builder

func Builder() *cobra.Command

func GCPBuilder

func GCPBuilder() *cobra.Command

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
}

func (*AWSOpts) Run

func (opts *AWSOpts) Run() error

type AzureOpts

type AzureOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	// contains filtered or unexported fields
}

func (*AzureOpts) Run

func (opts *AzureOpts) Run() error

type GCPOpts

type GCPOpts struct {
	cli.GlobalOpts
	cli.OutputOpts
	// contains filtered or unexported fields
}

func (*GCPOpts) Run

func (opts *GCPOpts) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL