PowerCLI Reference

Get-AwsVpcSubnet

Synopsis

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

Syntax

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

Related Commands

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
AwsAccountAwsAccountSpecifies the VMware Cloud on AWS account.trueFalse
RegionStringSpecifies the region.trueFalse
ServerCisServer[]Specifies the VMware Cloud on AWS 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 the Connect-Vmc cmdlet.falseFalse

Return Type

VMware.VimAutomation.Vmc.Types.V1.CmdletObject.AwsAccount

Notes

## RELATED LINKS

Examples

-------------------------- Example 1 --------------------------

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

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


Copyright © VMware, Inc. All rights reserved.