Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

New-VBRViCloudHWPlanDatastore

Short Description

Creates VMware cloud storages 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
Pipeline
Input

Accept
Wildcard
Characters

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
Policy

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

Accepts VBRViStoragePolicy type.

False

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.

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 the cloud storage:

  1. Run Find-VBRViDatastore to get the Veeam Cloud Datastore. Save it to the $datastore variable.
  2. Run New-VBRViCloudHWPlanDatastore using the $datastore variable. Specify the friendly name and the disk space quota. Save the storage to the $cloudreplicas variable.

PS C:\PS> $datastore = Get-VBRServer -Name "ESXiHost" | Find-VBRViDatastore -Name "Veeam Cloud Datastore"

PS C:\PS> $cloudreplicas = New-VBRViCloudHWPlanDatastore -Datastore $datastore -FriendlyName "Cloud Replicas" -Quota 500

Related Commands

Find-VBRViDatastore

Find-VBRViStoragePolicy

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation