external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml |
Az.Network |
2.0.0 |
Gets a Virtual WAN or all Virtual WANs in a resource group or subscription.
Get-AzVirtualWan [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzVirtualWan [-ResourceGroupName <String>] [-Name <String>] [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Gets a Virtual WAN or all Virtual WANs in a resource group or subscription.
New-AzResourceGroup -Location "West US" -Name "testRG"
New-AzVirtualWan -ResourceGroupName "testRG" -Name "myVirtualWAN" -Location "West US" -AllowBranchToBranchTraffic
Get-AzVirtualWan -Name "myVirtualWAN" -ResourceGroupName "testRG"
Name : myVirtualWAN
Id : /subscriptions/{SubscriptionId}/resourceGroups/testRG/providers/Microsoft.Network/virtualWans/myVirtualWAN
AllowVnetToVnetTraffic : False
AllowBranchToBranchTraffic : True
Location : West US
Type : Microsoft.Network/virtualWans
ProvisioningState : Succeeded
This command gets the Virtual WAN named myVirtualWAN in the resource group testRG.
Get-AzVirtualWan -Name test*
Name : test1
Id : /subscriptions/{SubscriptionId}/resourceGroups/testRG/providers/Microsoft.Network/virtualWans/test1
AllowVnetToVnetTraffic : False
AllowBranchToBranchTraffic : True
Location : West US
Type : Microsoft.Network/virtualWans
ProvisioningState : Succeeded
Name : test2
Id : /subscriptions/{SubscriptionId}/resourceGroups/testRG/providers/Microsoft.Network/virtualWans/test2
AllowVnetToVnetTraffic : False
AllowBranchToBranchTraffic : True
Location : West US
Type : Microsoft.Network/virtualWans
ProvisioningState : Succeeded
This command gets all Virtual WANs starting with "test".
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The resource name.
Type: System.String
Parameter Sets: ListByResourceGroupName
Aliases: ResourceName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
The resource group name.
Type: System.String
Parameter Sets: ListByResourceGroupName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.