New-OrgVdc

This cmdlet creates an organization virtual datacenter (vDC). You can configure resource allocation for the organization vDC by specifying an allocation model and by configuring CPU, memory and storage allocation. The organization vDC is created using a default configuration. * VMMaxCount is set to 100. * NetworkMaxCount is set to 1024. * The vDC is automatically enabled. * Thin provisioning is disabled. * Fast provisioning is disabled. * NicMaxCount is set to $null (unlimited). When you set the AllocationModelAllocationPool parameter, by default MemoryGuaranteedPercent is set to 100 and CpuGuaranteedPercent is set to 0. When you set the AllocationModelPayAsYouGo parameter, by default MemoryGuaranteedPercent is set to 100 and CpuGuaranteeedPercent is set to 0.

Syntax

-AllocationModelAllocationPool
-CpuAllocationGHz  <Double>
-MemoryAllocationGB  <Decimal>
-Name  <String>
-Org  <Org>
-ProviderVdc  <ProviderVdc>
-StorageAllocationGB  <Decimal>
[-Description  <String>]
[-NetworkPool  <NetworkPool>]
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AllocationModelAllocationPool
SwitchParameter named Specifies that you want to use the Allocation Pool resource allocation model. The allocation model determines how and when the provider vDC compute and memory resources that you allocate are committed to the organization vDC.
required
CpuAllocationGHz
Double named Specifies the CPU resources in gigahertz (GHz) that you want to allocate to the organization vDC.
required
MemoryAllocationGB
Decimal named Specifies the memory resources in gigabytes (GB) that you want to allocate to the organization vDC.
required
Name
String named Specifies a name for the organization vDC that you want to create.
required
Org
Org named
  • pipeline
  • Specifies the organization for which you want to create an organization vDC.
    required
    ProviderVdc
    ProviderVdc named
  • pipeline
  • Specifies the provider vDC that would provide the resources for your organization vDC.
    required
    StorageAllocationGB
    Decimal named Specifies the storage resources in gigabytes (GB) that you want to allocate to the organization vDC.
    optional
    Description
    String named Specifies a description for the organization vDC that you want to create.
    optional
    NetworkPool
    NetworkPool named Specifies a network pool that your organization vDC will have access to.
    optional
    Server
    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 Connect-CIServer.

    -AllocationModelPayAsYouGo
    -Name  <String>
    -Org  <Org>
    -ProviderVdc  <ProviderVdc>
    -VMCpuCoreMHz  <Int64>
    [-Description  <String>]
    [-NetworkPool  <NetworkPool>]
    [-Server  <CIServer[]>]
    [-StorageAllocationGB  <Decimal>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    AllocationModelPayAsYouGo
    SwitchParameter named Specifies that you want to use the Pay As You Go resource allocation model. The allocation model determines how and when the provider vDC compute and memory resources that you allocate are committed to the organization vDC.
    required
    Name
    String named Specifies a name for the organization vDC that you want to create.
    required
    Org
    Org named
  • pipeline
  • Specifies the organization for which you want to create an organization vDC.
    required
    ProviderVdc
    ProviderVdc named
  • pipeline
  • Specifies the provider vDC that would provide the resources for your organization vDC.
    required
    VMCpuCoreMHz
    Int64 named Specifies a vCPU speed in megahertz (MHz). This value defines what a virtual machine with one vCPU will consume at maximum when running within this organization vDC. A virtual machine with two vCPUs would consume a maximum of twice this value.
    optional
    Description
    String named Specifies a description for the organization vDC that you want to create.
    optional
    NetworkPool
    NetworkPool named Specifies a network pool that your organization vDC will have access to.
    optional
    Server
    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 Connect-CIServer.
    optional
    StorageAllocationGB
    Decimal named Specifies the storage resources in gigabytes (GB) that you want to allocate to the organization vDC.

    -AllocationModelReservationPool
    -CpuAllocationGHz  <Double>
    -MemoryAllocationGB  <Decimal>
    -Name  <String>
    -Org  <Org>
    -ProviderVdc  <ProviderVdc>
    -StorageAllocationGB  <Decimal>
    [-Description  <String>]
    [-NetworkPool  <NetworkPool>]
    [-Server  <CIServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    AllocationModelReservationPool
    SwitchParameter named Specifies that you want to use the Reservation Pool resource allocation model. The allocation model determines how and when the provider vDC compute and memory resources that you allocate are committed to the organization vDC.
    required
    CpuAllocationGHz
    Double named Specifies the CPU resources in gigahertz (GHz) that you want to allocate to the organization vDC.
    required
    MemoryAllocationGB
    Decimal named Specifies the memory resources in gigabytes (GB) that you want to allocate to the organization vDC.
    required
    Name
    String named Specifies a name for the organization vDC that you want to create.
    required
    Org
    Org named
  • pipeline
  • Specifies the organization for which you want to create an organization vDC.
    required
    ProviderVdc
    ProviderVdc named
  • pipeline
  • Specifies the provider vDC that would provide the resources for your organization vDC.
    required
    StorageAllocationGB
    Decimal named Specifies the storage resources in gigabytes (GB) that you want to allocate to the organization vDC.
    optional
    Description
    String named Specifies a description for the organization vDC that you want to create.
    optional
    NetworkPool
    NetworkPool named Specifies a network pool that your organization vDC will have access to.
    optional
    Server
    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 Connect-CIServer.

    Output

    VMware.VimAutomation.Cloud.Types.V1.OrgVdc

    Examples


    Example 1

    New-OrgVdc `
    -AllocationModelAllocationPool `
    -CpuAllocationGHz 2 `
    -Description "Org VDC for org1" `
    -MemoryAllocationGB 20 `
    -Name "myOrgVdc1" `
    -Org "organization1" `
    -ProviderVdc "myProviderVdc" `
    -StorageAllocationGB "100" `
    -NetworkPool 'largeNetworkPool

    Creates a new organization vDC using the Allocation Pool resource allocation model.

    Example 2

    New-OrgVdc `
    -AllocationModelPayAsYouGo `
    -Description "Org VDC for org1" `
    -VMCpuCoreMHz 2 `
    -Name "myPayAsYouGoOrgVdc" `
    -Org "organization1" `
    -ProviderVdc "myProviderVdc1" `
    -StorageAllocationGB 100 `
    -NetworkPool 'largeNetworkPool'

    Creates a new organization vDC using the Pay As You Go resource allocation model.

    Example 3

    New-OrgVdc `
    -AllocationModelReservationPool `
    -CpuAllocationGHz 2 `
    -Description "Org VDC for org1" `
    -MemoryAllocationGB 20
    -Name "myReservationPoolOrgVdc" `
    -Org "organization1" `
    -ProviderVdc "myProviderVdc1" `
    -StorageAllocationGB 100 `
    -NetworkPool 'largeNetworkPool'

    Creates a new organization vDC using the Reservation Pool resource allocation model.

    Related Commands

    Feedback

    Was this page helpful?