Add-VBRViCloudHardwarePlan
Short Description
Creates VMware hardware plans.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a VCP license.
Syntax
Add-VBRViCloudHardwarePlan -Name <string> -Server <Object> -Datastore <VBRViCloudHardwarePlanDatastore[]> [-Description <string>] [-CPU <int>] [-UnlimitedCPU] [-Memory <int>] [-UnlimitedMemory] [-NumberOfNetWithInternet <int>] [-NumberOfNetWithoutInternet <int>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new hardware plan for VMware environments.
The hardware plan allocates the following resources to a tenant:
- Cloud host. When creating replicas, the tenant will use this host as target host to register the replicated VMs.
- Quota of the cloud host CPU and memory.
- [Pre-configure] Networks to which the tenant will connect the cloud replicas. Run New-VBRCloudVLANConfiguration to pre-configure the pool of VLANs.
- [Pre-configure] Cloud storage: a quota of datastores allocated to tenants. Run New-VBRViCloudHWPlanDatastore to create the cloud storage.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the name you want to assign to the hardware plan. | True | Named | False | False |
Description | Specifies the description of the hardware plan. | False | Named | False | False |
Server | Specifies the ESXi host or cluster. The resources of this host or cluster (CPU and memory quotas) will be allocated to the tenant by the hardware plan. | True | Named | False | False |
CPU | Specifies the quota of CPU resources you want to allocate to the tenant under this hardware plan (MHz). | False | Named | False | False |
Memory | Specifies the quota of CPU memory you want to allocate to the tenant under this hardware plan (Gb). | False | Named | False | False |
UnlimitedCPU | Indicates that the quota of CPU resources is unlimited. With unlimited CPU quota, the tenant will be able to use all CPU resources of the host. | False | Named | False | False |
UnlimitedMemory | Indicates that the quota of CPU memory is unlimited. With unlimited memory quota, the tenant will be able to use all memory resources of the host. | False | Named | False | False |
Number | Specifies the number of networks with access to the Internet that you want to allocate to the tenant under this hardware plan. | False | Named | False | False |
Number | Specifies the number of networks without access to the Internet that you want to allocate to the tenant under this hardware plan. | False | Named | False | False |
Datastore | Specifies the array of cloud storage objects. The hardware plan will use these objects to allocate storage space to the tenant under this hardware plan. Accepts the VBRViCloudHardwarePlanDatastore type. | True | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to create a hardware plan with the following settings:
- CPU quota: 4000 MHz
- Memory quota: 2000 Gb
- Cloud storage: "Cloud Replicas"
- Networks without access to the Internet: 1
To create the hardware plan:
- Pre-configure networks without access to the Internet. For details, see New-VBRCloudVLANConfiguration.
- Pre-configure the cloud storage. For details, see New-VBRViCloudHWPlanDatastore. Save the storage to the $cloudreplicas variable.
- Run Get-VBRServer to get the host whose resources will be exposed to the user by the hardware plan. Save the server to the $server variable.
- Run Add-VBRViCloudHardwarePlan to create the hardware plan. Use the saved variables.
$server = Get-VBRServer –Type ESXi -Name "ESXiHost" Add-VBRViCloudHardwarePlan -Name "VMware Silver" -Description "VMware Hardware Plan" -Server $server -CPU 4000 -Memory 2000 -NumberOfNetWithoutInternet 1 -Datastore $cloudreplicas |
Related Commands