Get-VBRvCDCloudStoragePolicy

In this article

    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

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.