Syntax
Get-EdgeGateway -Id <String[]> [-Server <CIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves organization virtual datacenter's (vDCs) edge gateways. You can filter the returned objects by using the cmdlet parameters.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specifies the names of the edge gateway you want to retrieve. | false | False | |
Id | String[] | Specifies the IDs of the edge gateway 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 | |
OrgVdc | OrgVdc[] | Specifies the organizations virtual datacenter (VDC) for which you want to retrieve edge gateways. | false | True (ByValue) | |
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
VMware.VimAutomation.Cloud.Types.V1.EdgeGatewayNotes
Examples
-------------------------- Example 1 --------------------------
Get-EdgeGateway
Gets the cloud edge gateways available to you.
-------------------------- Example 2 --------------------------
Get-EdgeGateway -Name Edge*
Gets the edge gateways with names starting with the specified string.
-------------------------- Example 3 --------------------------
Get-EdgeGateway -ID EdgeGatewayId
Gets the edge gateway with the provided Id.
-------------------------- Example 4 --------------------------
Get-EdgeGateway -OrgVdc OrgVdc1
Retrieves all edge gateways for the specified organization virtual datacenter (VDC).
-------------------------- Example 5 --------------------------
Get-OrgVdc OrgVdc1 | Get-EdgeGateway
Retrieves the edge gateways for an organization virtual datacenter (VDC).