PowerCLI Reference

Get-ProviderVdc

Synopsis

This cmdlet retrieves the specified cloud provider vDCs.

Syntax

Get-ProviderVdc [[-Name] <String[]>] [-ExternalNetwork <ExternalNetwork[]>] [-OrgVdc <OrgVdc[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Get-ProviderVdc -Id <String[]> [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]

Related Commands

Online version
Get-OrgVdc

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the provider vDCs you want to retrieve.falsefalse
ExternalNetworkExternalNetwork[]Specifies that you want to retrieve only the vDCs accessible by the provided external networks.falsetrue (ByValue)
IdString[]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.
truefalse
InformationActionActionPreferencefalsefalse
InformationVariableStringfalsefalse
OrgVdcOrgVdc[]Retrieves the provider vDCs to which the specified organization vDCs belong.falsetrue (ByValue)
PipelineVariableStringfalsefalse
ServerCIServer[]Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer.falsefalse

Return Type

Zero or more ProviderVdc objects

Notes

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.


Copyright © VMware, Inc. All rights reserved.