Get-AzNetworkManagerActiveConnectivityConfiguration
Visar en lista över Konfigurationer för aktiv anslutning i NetworkManager i nätverkshanteraren.
Syntax
Get-AzNetworkManagerActiveConnectivityConfiguration
-NetworkManagerName <String>
-ResourceGroupName <String>
[-Region <String[]>]
[-SkipToken <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzNetworkManagerActiveConnectivityConfiguration listar NetworkManager Active Connectivity Configurations i network manager .
Exempel
Exempel 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 :
Visar en lista över Konfigurationer för aktiv anslutning i NetworkManager i nätverkshanteraren för region centraluseuap.
Parametrar
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Typ: | IAzureContextContainer |
Alias: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | False |
Godkänn jokertecken: | False |
-NetworkManagerName
Namnet på nätverkshanteraren.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-Region
Lista över regioner.
Typ: | String[] |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-ResourceGroupName
Resursgruppens namn.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
-SkipToken
SkipToken.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | False |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
Indata
System.String[]
Utdata
Microsoft.Azure.Commands.Network.Models.NetworkManager.PSNetworkManagerActiveConnectivityConfigurationListResult
Relaterade länkar
Azure PowerShell