Get-AzVirtualWan
Hiermee haalt u een Virtual WAN of alle virtuele WAN's op in een resourcegroep of abonnement.
Syntax
Get-AzVirtualWan
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzVirtualWan
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Hiermee haalt u een Virtual WAN of alle virtuele WAN's op in een resourcegroep of abonnement.
Voorbeelden
Voorbeeld 1
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
Met deze opdracht wordt het Virtuele WAN met de naam myVirtualWAN in de testRG van de resourcegroep ophaalt.
Voorbeeld 2
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
Met deze opdracht worden alle virtuele WAN's opgehaald die beginnen met 'test'.
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
De resourcenaam.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
-ResourceGroupName
De naam van de resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
Invoerwaarden
None
Uitvoerwaarden
Verwante koppelingen
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor