New-VBRViCloudHWPlanDatastore
Short Description
Creates VMware cloud storage for tenants replication resources.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Requires a VCP license.
Syntax
New-VBRViCloudHWPlanDatastore -Datastore <VBRViDatastore> [-StoragePolicy <VBRViStoragePolicy>] -FriendlyName <String> -Quota <Int32> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-PipelineVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a VBRViCloudHardwarePlanDatastore object. This object contains a quota of storage resources on the cloud provider datastores and is used further in hardware plans. In the hardware plan, this quota will be presented as a cloud storage to a tenant. This object is used then in the Add-VBRViCloudHardwarePlan cmdlet.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Datastore | Specifies the cloud provider datastore. This datastore will be used to provide the storage space to a tenant under a hardware plan. | True | Named | False | False |
Storage | Specifies the VMware storage policy profile. A datastore with matching profiles will be used. Accepts VBRViStoragePolicy type. | False | Named | False | False |
Friendly | Specifies the name of the storage that will be displayed to the tenant. | True | Named | False | False |
Quota | Specifies the amount of disk space you want to provide to a tenant under a hardware plan (Gb). | 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
VBRHvCloudHardwarePlanDatastore
Example
This example shows how to create a cloud storage on the "Veeam Cloud Datastore" with the following parameters:
- Friendly name: "Cloud Replicas"
- Quota: 500 Gb
To create a cloud storage:
- Run Find-VBRViDatastore to get the Veeam Cloud Datastore. Save it to the $datastore variable.
- Run New-VBRViCloudHWPlanDatastore using the $datastore variable. Specify the friendly name and the disk space quota. Save the storage to the $cloudreplicas variable.
$datastore = Get-VBRServer -Name "ESXiHost" | Find-VBRViDatastore -Name "Veeam Cloud Datastore" $cloudreplicas = New-VBRViCloudHWPlanDatastore -Datastore $datastore -FriendlyName "Cloud Replicas" -Quota 500 |
Related Commands