Set-OrgVdc
This cmdlet modifies the configuration of the specified organization virtual datacenter (vDC).
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
OrgVdc | OrgVdc[] | named |
|
Specifies the organization vDC that you want to configure. |
optional | CpuAllocationGHz | Double | named |
|
Specifies the CPU resources in gigahertz (GHz) that you want to allocate to the organization vDC. This parameter is only applicable to the Allocation Pool and Resource Pool resource allocation models. |
optional | CpuGuaranteedPercent | Int32 | named |
|
Specifies the percentage of CPU resources that are reserved for the organization vDC. This parameter accepts values in the range of 0 to 100. This parameter is only applicable to the Pay As You Go and Allocation Pool resource allocation models. |
optional | Description | String | named |
|
Specifies a new description for the specified organization vDC. |
optional | Enabled | Boolean | named |
|
Specifies whether the organization vDC is enabled. |
optional | MemoryAllocationGB | Decimal | named |
|
Specifies the memory resources in gigabytes (GB) that you want to allocate to the organization vDC. This parameter is only applicable to the Allocation Pool and Resource Pool resource allocation models. |
optional | MemoryGuaranteedPercent | Int32 | named |
|
Specifies the percentage of memory resources that are reserved for the organization vDC. This parameter accepts values in the range of 0 to 100. This parameter is only applicable to the Pay As You Go and Allocation Pool resource allocation models. |
optional | Name | String | named |
|
Specifies a new name for the organization vDC. |
optional | NetworkMaxCount | Int32 | named |
|
Specifies the maximum number of provisioned networks for the organization vDC. To specify that there is no limit, pass $null. |
optional | NetworkPool | NetworkPool | named |
|
Specifies a provision network pool for your organization vDC. The organization vDC will use this network pool to create vApp networks. To specify that there is no network pool, pass $null. |
optional | NicMaxCount | Int32 | named |
|
Specifies the maximum number of NICs in the organization vDC. To specify that there is no limit, pass $null. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed 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. To specify that there is no limit, pass $null. Note: This parameter is supported only on vCloud Director 1.5.x environments. |
optional | ThinProvisioned | Boolean | named |
|
Indicates whether you want to enable thin provisioning. |
optional | UseFastProvisioning | Boolean | named |
|
Indicates whether you want to enable fast provisioning. |
optional | 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. This parameter is only applicable to the Pay As You Go resource allocation model. |
optional | VMMaxCount | Int32 | named |
|
Specifies the maximum number of virtual machines in the organization vDC. To specify that there is no limit, pass $null. This parameter is only applicable to the Pay As You Go resource allocation model. |
Output
VMware.VimAutomation.Cloud.Types.V1.OrgVdcExamples
Example 1
Get-OrgVdc -Name 'MyPayAsYouGoOrgVdc' | Set-OrgVdc -Name "NewOrgVdcName" -Description "The settings for this organization vDC have been modified." -VMMaxCount 2 -VMCpuCoreMhz 512 -Enabled $false
Modifies the name and description of the organization vDC, and changes the maximum number of virtual machines and the vCPU speed in the organization vDC. Deactivates the organization vDC.
Example 2
$myNetworkPool = Get-NetworkPool -Name 'MyNetworkPool' Get-OrgVdc -Name 'MyReservationPoolOrgVdc' | Set-OrgVdc -NetworkPool $myNetworkPool -NetworkMaxCount 3 -NicMaxCount $null
Changes the network pool, the maximum number of networks and the maximum amount of NICs in the organization vDC.
Example 3
Get-OrgVdc -Name 'MyAllocationPoolOrgVdc' | Set-OrgVdc -MemoryAllocationGB 0.1 -MemoryGuaranteedPercent 75 -StorageAllocationGB 0.1 -CpuAllocationGHz 0.3 -CpuGuaranteedPercent 50 -ThinProvisioned $true -UseFastProvisioning $true
Modifies the memory, storage, and CPU allocation settings for the organization vDC, and enables thin and fast provisioning.
Related Commands
Org
This cmdlet retrieves cloud organizations.
This cmdlet creates a new organization.
This cmdlet removes the specified organization.
This cmdlet modifies the configuration of the specified organization.
OrgVdc
This cmdlet retrieves organization vDCs.
This cmdlet creates an organization virtual datacenter (vDC).
This cmdlet removes organization virtual datacenters (vDCs).
This cmdlet modifies the configuration of the specified organization virtual datacenter (vDC).
OrgVdcNetwork
This cmdlet retrieves organization vDC networks.
This cmdlet creates a new organization VDC network on a vCloud Director server.
This cmdlet deletes the specified organization VDC network.
This cmdlet modifies the configuration of the specified organization network.