Dela via


Get-AzNetworkManager

Hämtar en nätverkshanterare i en resursgrupp.

Syntax

Get-AzNetworkManager
   [-Name <String>]
   [-ResourceGroupName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzNetworkManager
   -Name <String>
   -ResourceGroupName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Cmdleten Get-AzNetworkManager hämtar en eller flera nätverkshanterare i en resursgrupp.

Exempel

Exempel 1: Hämta en nätverkshanterare

Get-AzNetworkManager -ResourceGroupName "TestResourceGroup" -Name "TestNM"

DisplayName                     :
Description                     :
Location                        : eastus2euap
Id                              : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestResourceGroup/provider
                                  s/Microsoft.Network/networkManagers/TestNM
Type                            : Microsoft.Network/networkManagers
Tag                             : {}
ProvisioningState               : Succeeded
NetworkManagerScopeAccesses     : [
                                    "SecurityAdmin",
                                    "SecurityUser"
                                  ]
NetworkManagerScopes            : {
                                    "ManagementGroups": [],
                                    "Subscriptions": [
                                      "/subscriptions/00000000-0000-0000-0000-000000000000"
                                    ]
                                  }
SystemData                      : {
                                    "CreatedBy": "user@microsoft.com",
                                    "CreatedByType": "User",
                                    "CreatedAt": "2021-10-05T04:15:42",
                                    "LastModifiedBy": "user@microsoft.com",
                                    "LastModifiedByType": "User",
                                    "LastModifiedAt": "2021-10-05T04:15:42"
                                  }
Name                            : TestNM
Etag                            : W/"00000000-0000-0000-0000-000000000000"

Hämta en nätverkshanterare.

Exempel 2: Lista alla nätverkshanterare i en resursgrupp

Get-AzNetworkManager -ResourceGroupName "TestResourceGroup"

DisplayName                     :
Description                     :
Location                        : eastus2euap
Id                              : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/TestResourceGroup/provider
                                  s/Microsoft.Network/networkManagers/TestNM
Type                            : Microsoft.Network/networkManagers
Tag                             : {}
ProvisioningState               : Succeeded
NetworkManagerScopeAccesses     : [
                                    "SecurityAdmin",
                                    "SEcurityUser"
                                  ]
NetworkManagerScopes            : {
                                    "ManagementGroups": [],
                                    "Subscriptions": [
                                      "/subscriptions/00000000-0000-0000-0000-000000000000"
                                    ]
                                  }
SystemData                      : {
                                    "CreatedBy": "user@microsoft.com",
                                    "CreatedByType": "User",
                                    "CreatedAt": "2021-10-05T04:15:42",
                                    "LastModifiedBy": "user@microsoft.com",
                                    "LastModifiedByType": "User",
                                    "LastModifiedAt": "2021-10-05T04:15:42"
                                  }
Name                            : TestNM
Etag                            : W/"00000000-0000-0000-0000-000000000000"

Visa en lista över alla nätverkshanterare i en resursgrupp.

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

-Name

Resursnamnet.

Typ:String
Alias:ResourceName
Position:Named
Standardvärde:None
Obligatorisk:True
Godkänn pipeline-indata:True
Godkänn jokertecken:True

-ResourceGroupName

Resursgruppens namn.

Typ:String
Position:Named
Standardvärde:None
Obligatorisk:True
Godkänn pipeline-indata:True
Godkänn jokertecken:True

Indata

String

Utdata

PSNetworkManager