Syntax
Get-ProviderVdc [[-Name] <String[]>] [-ExternalNetwork <ExternalNetwork[]>] [-OrgVdc <OrgVdc[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves cloud provider virtual datacenters (vDCs). Note: This cmdlet is only available to Provider Administrators.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specifies the names of the provider vDCs you want to retrieve. | false | false | |
ExternalNetwork | ExternalNetwork[] | Specifies that you want to retrieve only the vDCs accessible by the provided external networks. | false | true (ByValue) | |
Id | String[] | 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. | true | false | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
OrgVdc | OrgVdc[] | Retrieves the provider vDCs to which the specified organization vDCs belong. | false | true (ByValue) | |
PipelineVariable | String | false | false | ||
Server | CIServer[] | 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. | false | false |
Return Type
Zero or more ProviderVdc objectsNotes
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.