Get-AzNetworkManagerActiveConnectivityConfiguration
列出網路管理員中的 NetworkManager 作用中聯機設定。
語法
Get-AzNetworkManagerActiveConnectivityConfiguration
-NetworkManagerName <String>
-ResourceGroupName <String>
[-Region <String[]>]
[-SkipToken <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetworkManagerActiveConnectivityConfiguration Cmdlet 會列出網路管理員中的 NetworkManager Active Connectivity Configurations 。
範例
範例 1
$regions = @("centraluseuap")
Get-AzNetworkManagerActiveConnectivityConfiguration -NetworkManagerName "TestNMName" -ResourceGroupName "TestRG" -Region $regions -SkipToken "FakeSkipToken"
Value : [
{
"Region": "centraluseuap",
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/connectivityConfigurations/TestConn",
"DisplayName": "Sample Config Name",
"Description": "",
"ConnectivityTopology": "HubAndSpoke",
"Hubs": [
{
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/provide
rs/Microsoft.Network/virtualNetworks/hub",
"ResourceType": "Microsoft.Network/virtualNetworks"
}
],
"IsGlobal": "False",
"AppliesToGroups": [
{
"NetworkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/pro
viders/Microsoft.Network/networkManagers/TestNMName/networkGroups/testNG",
"UseHubGateway": "False",
"IsGlobal": "True",
"GroupConnectivity": "None"
}
],
"ProvisioningState": "Succeeded",
"DeleteExistingPeering": "True",
"ConfigurationGroups": [
{
"Id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/networkManagers/TestNMName/networkGroups/testNG",
"DisplayName": "DISplayName",
"Description": "SampleDESCRIption",
"GroupMembers": [
{
"ResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestRG/providers/Microsoft.Network/virtualNetworks/testvnet"
}
],
"ConditionalMembership": "",
"ProvisioningState": "Succeeded"
}
]
}
]
SkipToken :
列出區域 centraluseuap 的網路管理員中的 NetworkManager Active Connectivity Configurations。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-NetworkManagerName
網路管理員名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-Region
區域清單。
類型: | String[] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
-ResourceGroupName
資源組名。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | True |
-SkipToken
SkipToken。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | True |
接受萬用字元: | False |
輸入
System.String[]
輸出
Microsoft.Azure.Commands.Network.Models.NetworkManager.PSNetworkManagerActiveConnectivityConfigurationListResult