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.
|
This cmdlet is available for tenants only. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Name | Specifies a name of a vCD storage policy that you want to get. | False | Named | True (ByValue, | False |
Id | Specifies an IDs of Organizations vDCs that you want to get. | False | Named | True (ByValue, | 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, | 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.
Example 2
This example shows how to get the vCD cloud storage policy that is assigned to the specific organization VDC.
- Run Get-VBRvCDCloudOrganizationvDC to get the organization VDC. Save the result to the $vdc variable.
- Run Get-VBRvCDCloudStoragePolicy with the $vdc variable.
$vdc = Get-VBRvCDCloudOrganizationvDC -Name "Organization VDC" Get-VBRvCDCloudStoragePolicy -Name "Silver Policy" -OrganizationvDC $vdc |
Related Commands