This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRHvCloudHWPlanDatastore

In this article

    Short Description

    Creates Hyper-V cloud storages for tenants replication resources.

    Applies to

    Platform: Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Requires a VCP license.

    Syntax

    New-VBRHvCloudHWPlanDatastore -DatastorePath <String> -FriendlyName <String> -Quota <Int32> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet creates a VBRHvCloudHardwarePlanDatastore object. This object contains a quota of storage resources on the cloud provider disks 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-VBRHvCloudHardwarePlan cmdlet.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Datastore
    Path

    Specifies the path to the folder on the cloud provider host that is used in the hardware plan. This folder will be used to provide the storage space to a tenant under a hardware plan.

    True

    Named

    False

    False

    Friendly
    Name

    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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

    Related Commands

    None

    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

    Run New-VBRViCloudHWPlanDatastore. Specify the path, the friendly name and the disk space quota. Save the storage to the $cloudreplicas variable.

    PS C:\PS> $cloudreplicas = New-VBRHvCloudHWPlanDatastore -DatastorePath "D:\Replicas" -FriendlyName "Cloud Replicas" -Quota 500