New-OrgVdcNetwork
This cmdlet creates a new organization VDC network on a vCloud Director server. Note: This cmdlet is only available to Provider Administrators.
Syntax
-Internal
-Name <String>
-Netmask <IPAddress>
-OrgVdc <OrgVdc>
[-Description <String>]
[-DnsSuffix <String>]
[-PrimaryDns <IPAddress>]
[-RunAsync]
[-SecondaryDns <IPAddress>]
[-Server <CIServer[]>]
[-StaticIPPool <IPRangeList>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
IPAddress | named |
|
Specifies the gateway of the organization VDC network that you want to create. | required |
|
SwitchParameter | named |
|
Indicates that you want to create an internal organization VDC network. | required |
|
String | named |
|
Specifies a name for the organization VDC network that you want to create. | required |
|
IPAddress | named |
|
Specifies the network mask of the organization VDC network that you want to create. | required |
|
OrgVdc | named |
|
Specifies the organization VDC for which you want to create the organization VDC network. | optional |
|
String | named |
|
Specifies a description for the organization VDC network that you want to create. | optional |
|
String | named |
|
Specifies the Domain Name System (DNS) suffix of the organization VDC network that you want to create. | optional |
|
IPAddress | named |
|
Specifies the primary Domain Name System (DNS) of the organization VDC network that you want to create. | optional |
|
SwitchParameter | named |
|
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console. | optional |
|
IPAddress | named |
|
Specifies the secondary Domain Name System (DNS) of the organization VDC network that you want to create. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-CIServer cmdlet. | optional |
|
IPRangeList | named |
|
Specifies a range of static IP addresses that the organization VDC network will allocate to virtual machines. |
-ExternalNetwork <ExternalNetwork>
-Name <String>
-OrgVdc <OrgVdc>
[-Description <String>]
[-RunAsync]
[-Server <CIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
SwitchParameter | named |
|
Indicates that you want to create an organization VDC network that is connected directly to an external network. | required |
|
ExternalNetwork | named |
|
Specifies the external network to which the organization VDC network connects. This parameter is mandatory when the Direct or Routed parameter is specified. | required |
|
String | named |
|
Specifies a name for the organization VDC network that you want to create. | required |
|
OrgVdc | named |
|
Specifies the organization VDC for which you want to create the organization VDC network. | optional |
|
String | named |
|
Specifies a description for the organization VDC network that you want to create. | optional |
|
SwitchParameter | named |
|
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-CIServer cmdlet. |
-Gateway <IPAddress>
-Name <String>
-Netmask <IPAddress>
-OrgVdc <OrgVdc>
-Routed
[-Description <String>]
[-DnsSuffix <String>]
[-PrimaryDns <IPAddress>]
[-RunAsync]
[-SecondaryDns <IPAddress>]
[-Server <CIServer[]>]
[-StaticIPPool <IPRangeList>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
EdgeGateway | named |
|
Edge gateway to which the routed org vdc network connects to. | required |
|
IPAddress | named |
|
Specifies the gateway of the organization VDC network that you want to create. | required |
|
String | named |
|
Specifies a name for the organization VDC network that you want to create. | required |
|
IPAddress | named |
|
Specifies the network mask of the organization VDC network that you want to create. | required |
|
OrgVdc | named |
|
Specifies the organization VDC for which you want to create the organization VDC network. | required |
|
SwitchParameter | named |
|
Indicates that you want to create a routed organization VDC network. | optional |
|
String | named |
|
Specifies a description for the organization VDC network that you want to create. | optional |
|
String | named |
|
Specifies the Domain Name System (DNS) suffix of the organization VDC network that you want to create. | optional |
|
IPAddress | named |
|
Specifies the primary Domain Name System (DNS) of the organization VDC network that you want to create. | optional |
|
SwitchParameter | named |
|
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console. | optional |
|
IPAddress | named |
|
Specifies the secondary Domain Name System (DNS) of the organization VDC network that you want to create. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-CIServer cmdlet. | optional |
|
IPRangeList | named |
|
Specifies a range of static IP addresses that the organization VDC network will allocate to virtual machines. |
Output
VMware.VimAutomation.Cloud.Types.V1.OrgVdcNetwork
Examples
Example 1
Creates a new organization VDC network that is directly connected to the specified external network.
Example 2
Creates a new internal organization VDC network with a specified gateway, primary Domain Name System (DNS), and network mask.
Example 3
Creates a new routed organization VDC network with a specified gateway, primary Domain Name System (DNS), network mask, and a range of static IP addresses that will be allocated to the virtual machines in the network.
Related Commands
Org
OrgNetwork
OrgVdc