Get-AwsVpcSubnet Command | Vmware PowerCLI Reference

Get-AwsVpcSubnet

Retrieves a private subnet's range for a concrete account and region.

Syntax

Get-AwsVpcSubnet
-AwsAccount < AwsAccount >
-Region < String >
[-Server < VmcServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
AwsAccount AwsAccount named
Specifies the VMware Cloud on AWS account.
required
Region String named
Specifies the region.
optional Server VmcServer[] named
Specifies the VMware Cloud on AWS 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 the Connect-Vmc cmdlet.

Output

VMware.VimAutomation.Vmc.Types.V1.CmdletObject.AwsVpcSubnet

Examples

Example 1

Get-AwsVpcSubnet -Region "US_EAST_1" -AwsAccount $awsAccount

Retrieves private subnets for the $awsAccount account in the US_EAST_1 region.

Related Commands

AwsAccount

This cmdlet retrieves VMware Cloud on AWS accounts.

AwsVpcSubnet

Retrieves a private subnet's range for a concrete account and region.