共用方式為


Private Link Resources - Get

取得需要為 Azure 監視器 PrivateLinkScope 建立的私人鏈接資源。

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

URI 參數

名稱 位於 必要 類型 Description
groupName
path True

string

私人鏈接資源的名稱。

resourceGroupName
path True

string

資源群組的名稱。 名稱不區分大小寫。

scopeName
path True

string

Azure 監視器 PrivateLinkScope 資源的名稱。

subscriptionId
path True

string

目標訂用帳戶的標識碼。

api-version
query True

string

用於此作業的 API 版本。

回應

名稱 類型 Description
200 OK

PrivateLinkResource

已成功擷取指定的私人鏈接資源。

安全性

azure_auth

Azure Active Directory OAuth2 Flow

類型: oauth2
Flow: implicit
授權 URL: https://login.microsoftonline.com/common/oauth2/authorize

範圍

名稱 Description
user_impersonation 模擬您的用戶帳戶

範例

Gets private endpoint connection.

範例要求

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

範例回覆

{
  "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"
    ]
  }
}

定義

PrivateLinkResource

私人鏈接資源

名稱 類型 Description
id

string

Azure 資源標識碼

name

string

Azure 資源名稱

properties.groupId

string

私人鏈接資源群組識別碼。

properties.requiredMembers

string[]

私人鏈接資源所需的成員名稱。

type

string

Azure 資源類型