Management Group Network Manager Connections - List

List all network manager connections created by this management group.

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections?api-version=2023-11-01
GET https://management.azure.com/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections?api-version=2023-11-01&$top={$top}&$skipToken={$skipToken}

URI Parameters

Name In Required Type Description
managementGroupId
path True

string

The management group Id which uniquely identify the Microsoft Azure management group.

api-version
query True

string

Client API version.

$skipToken
query

string

SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

$top
query

integer

int32

An optional query parameter which specifies the maximum number of records to be returned by the server.

Responses

Name Type Description
200 OK

NetworkManagerConnectionListResult

OK - Returns information about the network manager connection(s).

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List Management Group Network Manager Connection

Sample request

GET https://management.azure.com/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections?api-version=2023-11-01

Sample response

ETag: be3cfaa2-3d02-4624-92d7-a26766306c8b
{
  "value": [
    {
      "id": "/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection",
      "type": "Microsoft.Network/networkManagerConnections",
      "name": "TestNMConnection",
      "systemData": {
        "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
        "createdByType": "User",
        "createdAt": "2021-01-11T18:52:27Z",
        "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-01-11T18:52:27Z"
      },
      "properties": {
        "networkManagerId": "/subscriptions/subscriptionC/resourceGroup/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager",
        "connectionState": "Pending",
        "description": "This is a network manager connection to testNetworkManager."
      }
    }
  ],
  "nextLink": "{baseurl}/managementGroups/subscriptionA/providers/Microsoft.Network/networkManagerConnections?api-version=2023-11-01&$skipToken=10"
}

Definitions

Name Description
CloudError

An error response from the service.

CloudErrorBody

An error response from the service.

createdByType

The type of identity that created the resource.

NetworkManagerConnection

The Network Manager Connection resource

NetworkManagerConnectionListResult

List of network manager connections.

SystemData

Metadata pertaining to creation and last modification of the resource.

CloudError

An error response from the service.

Name Type Description
error

CloudErrorBody

Cloud error body.

CloudErrorBody

An error response from the service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

NetworkManagerConnection

The Network Manager Connection resource

Name Type Description
etag

string

A unique read-only string that changes whenever the resource is updated.

id

string

Resource ID.

name

string

Resource name.

properties.description

string

A description of the network manager connection.

properties.networkManagerId

string

Network Manager Id.

systemData

SystemData

The system metadata related to this resource.

type

string

Resource type.

NetworkManagerConnectionListResult

List of network manager connections.

Name Type Description
nextLink

string

Gets the URL to get the next page of results.

value

NetworkManagerConnection[]

List of network manager connections.

SystemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The type of identity that last modified the resource.

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.