Get-AzVMwareProvisionedNetwork
Syntax
List (Default)
Get-AzVMwareProvisionedNetwork
-PrivateCloudName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityPrivateCloud
Get-AzVMwareProvisionedNetwork
-Name <String>
-PrivateCloudInputObject <IVMwareIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzVMwareProvisionedNetwork
-Name <String>
-PrivateCloudName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzVMwareProvisionedNetwork
-InputObject <IVMwareIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Examples
Example 1: List all provisioned networks in a private cloud
Get-AzVMwareProvisionedNetwork -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
Name Type AddressPrefix NetworkType ResourceGroupName
---- ---- ------------- ---------- -----------------
vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group
esxvmot Microsoft.AVS/privateClouds/provisionedNetworks 10.0.1.128/25 esxvmot azps_test_group
mgmtvnet Microsoft.AVS/privateClouds/provisionedNetworks 10.0.3.128/26 mgmtvnet azps_test_group
Lists all provisioned networks in the specified private cloud and resource group.
Example 2: Get a provisioned network by name
Get-AzVMwareProvisionedNetwork -Name vsan -PrivateCloudName azps_test_cloud -ResourceGroupName azps_test_group
Name Type AddressPrefix NetworkType ResourceGroupName
---- ---- ------------- ---------- -----------------
vsan Microsoft.AVS/privateClouds/provisionedNetworks 10.0.2.128/25 vsan azps_test_group
Gets a specific provisioned network by name in the specified private cloud and resource group
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IVMwareIdentity
Default value: None
Supports wildcards: False
DontShow: False
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the cloud link.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: ProvisionedNetworkName
Parameter sets
GetViaIdentityPrivateCloud
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: IVMwareIdentity
Default value: None
Supports wildcards: False
DontShow: False
GetViaIdentityPrivateCloud
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-PrivateCloudName
Name of the private cloud
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs