Private Link Resources - List By Private Link Scope

Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateLinkResources?api-version=2019-10-17-preview

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

scopeName
path True

string

The name of the Azure Monitor PrivateLinkScope resource.

subscriptionId
path True

string

The ID of the target subscription.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

PrivateLinkResourceListResult

Successfully retrieved private link resources.

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

Gets private endpoint connection.

Sample Request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources?api-version=2019-10-17-preview

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/privateLinkResources/azuremonitor",
      "name": "azuremonitor",
      "type": "Microsoft.Insights/privateLinkScopes/privateLinkResources",
      "properties": {
        "groupId": "azuremonitor",
        "requiredMembers": [
          "draft",
          "breeze",
          "livemetrics",
          "snapshotdebugger",
          "profiler",
          "oms-12300000-1111-2222-3333-444444444444",
          "ods-12300000-1111-2222-3333-444444444444",
          "agent-12300000-1111-2222-3333-444444444444"
        ]
      }
    }
  ],
  "nextLink": null
}

Definitions

Name Description
PrivateLinkResource

A private link resource

PrivateLinkResourceListResult

A list of private link resources

PrivateLinkResource

A private link resource

Name Type Description
id

string

Azure resource Id

name

string

Azure resource name

properties.groupId

string

The private link resource group id.

properties.requiredMembers

string[]

The private link resource required member names.

type

string

Azure resource type

PrivateLinkResourceListResult

A list of private link resources

Name Type Description
nextLink

string

Link to retrieve next page of results.

value

PrivateLinkResource[]

Array of results.