Get-VBRAzureVirtualNetworkSubnet
Short Description
Returns Microsoft Azure virtual network subnets available for a subscription.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBRAzureVirtualNetworkSubnet -Network <VBRAzureVirtualNetwork> [-Name <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns virtual network subnets available for a Microsoft Azure subscription.
Important |
This cmdlet does not support Microsoft Azure accounts with the Azure Service Manager type of a subscription (ASM, also known as a "classic" type subscription). |
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Network | Specifies the virtual network. The cmdlet will return subnets of this virtual network. | Accept the VBRAzureVirtualNetwork object. To get this object, run the Get-VBRAzureVirtualNetwork cmdlet. | True | Named | True (ByValue, |
Name | Specifies the array of names. The cmdlet will return virtual networks that match the specified names. | String[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting All Virtual Network Subnets Available for Subscription
This example shows how to get all virtual network subnets associated with a subscription.
Perform the following steps:
|
Example 2. Getting Virtual Network Subnet by Name
This example shows how to get a virtual network subnet by the subnet name.
Perform the following steps:
|
Related Commands