Get-AzVirtualWan
リソース グループまたはサブスクリプション内の Virtual WAN またはすべての仮想 WAN を取得します。
構文
ListBySubscriptionId (既定)
Get-AzVirtualWan
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
ListByResourceGroupName
Get-AzVirtualWan
[-ResourceGroupName <String>]
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
リソース グループまたはサブスクリプション内の Virtual WAN またはすべての仮想 WAN を取得します。
例
例 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
このコマンドは、リソース グループ testRG 内の myVirtualWAN という名前の Virtual WAN を取得します。
例 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
このコマンドは、"test" で始まるすべての仮想 WAN を取得します。
パラメーター
-DefaultProfile
Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。
パラメーターのプロパティ
| 型: | IAzureContextContainer |
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Name
リソースの名前。
パラメーターのプロパティ
| 型: | String |
| 規定値: | None |
| ワイルドカードのサポート: | True |
| DontShow: | False |
| Aliases: | ResourceName |
パラメーター セット
ListByResourceGroupName
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ResourceGroupName
リソース グループ名。
パラメーターのプロパティ
| 型: | String |
| 規定値: | None |
| ワイルドカードのサポート: | True |
| DontShow: | False |
パラメーター セット
ListByResourceGroupName
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。