Get-AzNetworkManagerManagementGroupConnection
Hämtar en nätverkshanteringsgruppanslutning.
Syntax
Get-AzNetworkManagerManagementGroupConnection
-ManagementGroupId <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetworkManagerManagementGroupConnection
-ManagementGroupId <String>
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzNetworkManagerManagementGroupConnection hämtar en nätverkshanterareanslutning i en hanteringsgrupp.
Exempel
Exempel 1
Get-AzNetworkManagerManagementGroupConnection -ManagementGroupId "newMG" -Name "psConnection"
NetworkManagerId : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/psResourceGroup/providers/Microsoft.Network/networkManagers/psNetworkManager
ConnectionState : Pending
DisplayName :
Description : sample description
Type : Microsoft.Network/networkManagerConnections
ProvisioningState :
SystemData :
SystemDataText : null
Name : psConnection
Etag :
Id : /providers/Microsoft.Management/managementGroups/newMG/providers/Microsoft.Network/networkManagerConnections/psConnection
Hämtar en nätverkshanterareanslutning på hanteringsgruppen "newMG".
Exempel 2
Get-AzNetworkManagerManagementGroupConnection -ManagementGroupId "newMG"
NetworkManagerId : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/jaredgorthy-testResources/providers/Microsoft.Network/networkManagers/jaredgorthy
ConnectionState : Pending
DisplayName :
Description :
Type : Microsoft.Network/networkManagerConnections
ProvisioningState :
SystemData :
SystemDataText : null
Name : mgConnection
Etag :
Id : /providers/Microsoft.Management/managementGroups/newMG/providers/Microsoft.Network/networkManagerConnections/mgConnection
NetworkManagerId : /subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b/resourceGroups/psResourceGroup/providers/Microsoft.Network/networkManagers/psNetworkManager
ConnectionState : Pending
DisplayName :
Description : sample description
Type : Microsoft.Network/networkManagerConnections
ProvisioningState :
SystemData :
SystemDataText : null
Name : psConnection
Etag :
Id : /providers/Microsoft.Management/managementGroups/newMG/providers/Microsoft.Network/networkManagerConnections/psConnection
Hämtar alla nätverkshanteringsanslutningar på hanteringsgruppen "newMG".
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 |
-ManagementGroupId
Hanteringsgruppens ID.
Typ: | String |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | False |
-Name
Resursnamnet.
Typ: | String |
Alias: | ResourceName |
Position: | Named |
Standardvärde: | None |
Obligatorisk: | True |
Godkänn pipeline-indata: | True |
Godkänn jokertecken: | True |
Indata
Utdata
Relaterade länkar
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell