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

Get-VBRvCDCloudStoragePolicy

Short Description

Returns vCD storage policies.

Applies to

Platform: VMware

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

Syntax

Get-VBRvCDCloudOrganizationvDC [-Name <string>][-Id <guid>] [-OrganizationvDC <VBRvCDCloudOrganizationvDC>][<CommonParameters>]

Detailed Description

This cmdlet returns vCD storage policies. The service provider must configure a storage policy in VMware vCloud Director beforehand.

Get-VBRvCDCloudStoragePolicy Important!

This cmdlet is available for tenants only.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies a name of a vCD storage policy that you want to get.

False

Named

True (ByValue,
ByPropertyName)

False

Id

Specifies an IDs of Organizations vDCs that you want to get.

False

Named

True (ByValue,
ByPropertyName)

False

OrganizationvDC

Specifies an organization VDC. The cmdlet will return storage policies for the specified organization VDC.

Accepts the VBRvCDCloudOrganizationvDC type.

False

Named

True (ByValue,
ByPropertyName)

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 1

This command gets a vCD cloud storage policy.

Get-VBRvCDCloudStoragePolicy -Name "Silver policy"

Example 2

This example shows how to get the vCD cloud storage policy that is assigned to the specific organization VDC.

  1. Run Get-VBRvCDCloudOrganizationvDC to get the organization VDC. Save the result to the $vdc variable.
  2. Run Get-VBRvCDCloudStoragePolicy with the $vdc variable.

$vdc = Get-VBRvCDCloudOrganizationvDC -Name "Organization VDC"

Get-VBRvCDCloudStoragePolicy -Name "Silver Policy" -OrganizationvDC $vdc

Related Commands

Get-VBRvCDCloudOrganizationvDC