Get-ProviderVdc

This cmdlet retrieves cloud provider virtual datacenters (vDCs). Note: This cmdlet is only available to Provider Administrators.

Syntax

[-ExternalNetwork  <ExternalNetwork[]>]
[-Name  <String[]>]
[-OrgVdc  <OrgVdc[]>]
[-Server  <CIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
ExternalNetwork
ExternalNetwork[] named
  • wildcards
  • pipeline
  • Specifies that you want to retrieve only the vDCs accessible by the provided external networks.
    optional
    Name
    String[] named
  • wildcards
  • Specifies the names of the provider vDCs you want to retrieve.
    optional
    OrgVdc
    OrgVdc[] named
  • wildcards
  • pipeline
  • Retrieves the provider vDCs to which the specified organization vDCs belong.
    optional
    Server
    CIServer[] named
  • wildcards
  • Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    -Id  <String[]>
    [-Server  <CIServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    Id
    String[] named Specifies the IDs of the provider vDCs you want to retrieve. Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list.
    optional
    Server
    CIServer[] named
  • wildcards
  • Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.

    Output

    VMware.VimAutomation.Cloud.Types.V1.ProviderVdc

    Examples


    Example 1

    Get-OrgVdc OrgVdc | Get-ProviderVdc

    Gets the provider VDC for the specified organization VDC.

    Example 2

    Get-ProviderVdc -Name ProviderVDC -Server CIServer

    Gets the provider VDC named ProviderVDC from the specified server.

    Example 3

    Get-ProviderVdc -ID "urn:vcloud:providervdc:e87ed46d-9044-4d31-b4f6-1bc9695fd01c", "urn:vcloud:providervdc:6143818e-9a44-49c5-87ed-ab0dac8d9746"

    Gets provider VDCs by their IDs.

    Related Commands

    Feedback

    Was this page helpful?