你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzNetworkManagerActiveConnectivityConfiguration

列出网络管理器中的 NetworkManager Active Connectivity Configurations。

语法

Get-AzNetworkManagerActiveConnectivityConfiguration
   -NetworkManagerName <String>
   -ResourceGroupName <String>
   [-Region <String[]>]
   [-SkipToken <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

说明

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

输入

String

System.String[]

输出

Microsoft.Azure.Commands.Network.Models.NetworkManager.PSNetworkManagerActiveConnectivityConfigurationListResult