Set-VBRViCloudHWPlanDatastore

In this article

    Short Description

    Modifies VMware cloud storage for tenants replication resources.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Requires a VCP license.

    Syntax

    Set-VBRViCloudHWPlanDatastore -CloudDatastore <VBRViCloudHardwarePlanDatastore> [-Datastore <VBRViDatastoreBase>] [-StoragePolicy <VBRViStoragePolicy>] [-FriendlyName <string>] [-Quota <int>]  [<CommonParameters>]

    Detailed Description

    This cmdlet modifies the settings of a selected cloud storage in an existing hardware plan.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    CloudDatastore

    Specifies the cloud storage you want to modify.

    Accepts VBRViCloudHardwarePlanDatastore type.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    Datastore

    Specifies the cloud provider datastore or datastore cluster. This datastore will be used to provide the storage space to a tenant under a hardware plan.

    Accepts VBRViDatastore and VBRViDatastoreCluster type.

    False

    Named

    False

    False

    StoragePolicy

    Specifies the VMware storage policy profile. A datastore with matching profiles will be used.

    Accepts VBRViStoragePolicy type.

    False

    Named

    False

    False

    FriendlyName

    Specifies the name of the storage that will be displayed to the tenant.

    False

    Named

    False

    False

    Quota

    Specifies the amount of disk space you want to provide to a tenant under a hardware plan (Gb).

    Permitted value: 1 to 2097151 (GB).

    False

    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.

    Example

    This example shows how to modify cloud storage settings of an existing hardware plan.

    You will need to perform the following steps:

    1. Run Get-VBRCloudHardwarePlan to get the existing hardware plan. Save the result to the $plan variable.
    2. Get the cloud storage objects of an existing hardware plan. Use the Datastore property of the VBRViCloudHardwarePlan object saved to the $plan variable. Save each cloud storage to a separate variable: $d1, $d2, etc.
    3. Run Set-VBRViCloudHWPlanDatastore with the $d1 variable to modify the cloud storage settings. Save the result to the $d1new variable.
    4. Run Set-VBRViCloudHardwarePlan with the $d1new, $d2, etc. variables to assign cloud storage objects to an existing hardware plan.

    $plan = Get-VBRCloudHardwarePlan

    $d1 = $plan.datastore | Where-Object {$_.FriendlyName -eq "Cloud Replicas ABC"}

    $d2 = $plan.datastore | Where-Object {$_.FriendlyName -eq "Cloud Replicas North"}

    $d1new = Set-VBRViCloudHWPlanDatastore -CloudDatastore $d1 -FriendlyName "Cloud Replicas ABC Exte

    nded" -Quota 950

    Set-VBRViCloudHardwarePlan -HardwarePlan $plan -Datastore $d1new, $d2

    Related Commands

    Get-VBRCloudDatastore

    Get-VBRCloudHardwarePlan

    Set-VBRViCloudHardwarePlan