다음을 통해 공유


Private Link Scoped Resources - List By Private Link Scope

프라이빗 링크 scope 모든 프라이빗 엔드포인트 연결을 가져옵니다.

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
resourceGroupName
path True

string

리소스 그룹의 이름. 이름은 대소문자를 구분하지 않습니다.

scopeName
path True

string

Azure Monitor PrivateLinkScope 리소스의 이름입니다.

subscriptionId
path True

string

대상 구독의 ID입니다.

api-version
query True

string

이 작업에 사용할 API 버전입니다.

응답

Name 형식 Description
200 OK

ScopedResourceListResult

프라이빗 링크 scope 범위가 지정된 리소스를 성공적으로 검색했습니다.

보안

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 사용자 계정 가장

예제

Sample Request

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

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/scoped-resource-name",
      "name": "scoped-resource-name",
      "type": "Microsoft.Insights/privateLinkScopes/scopedResources",
      "properties": {
        "linkedResourceId": "/subscriptions/00000000-0000-2222-3333-444444444444/resourceGroups/MyComponentResourceGroup/providers/Microsoft.Insights/components/my-component",
        "provisioningState": "Succeeded"
      }
    },
    {
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.Insights/privateLinkScopes/MyPrivateLinkScope/scopedResources/other-scoped-resource-name",
      "name": "other-scoped-resource-name",
      "type": "Microsoft.Insights/privateLinkScopes/scopedResources",
      "properties": {
        "linkedResourceId": "/subscriptions/00000000-3333-2222-5555-444444444444/resourceGroups/MyWorkspaceResourceGroup/providers/Microsoft.OperationalInsights/workspaces/my-workspace",
        "provisioningState": "Provisioning"
      }
    }
  ]
}

정의

Name Description
ScopedResource

프라이빗 링크 범위 리소스

ScopedResourceListResult

프라이빗 링크 scope 범위가 지정된 리소스 목록입니다.

ScopedResource

프라이빗 링크 범위 리소스

Name 형식 Description
id

string

Azure 리소스 ID

name

string

Azure 리소스 이름

properties.linkedResourceId

string

범위가 지정된 Azure Monitor 리소스의 리소스 ID입니다.

properties.provisioningState

string

프라이빗 엔드포인트 연결의 상태입니다.

type

string

Azure 리소스 종류

ScopedResourceListResult

프라이빗 링크 scope 범위가 지정된 리소스 목록입니다.

Name 형식 Description
nextLink

string

연결하여 결과의 다음 페이지를 검색합니다.

value

ScopedResource[]

결과 배열입니다.