Private Link Services - List Auto Approved Private Link Services By Resource Group

傳回所有可連結至私人端點的私人連結服務標識碼,此區域在此訂用帳戶中自動核准。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices?api-version=2023-09-01

URI 參數

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

string

功能變數名稱的位置。

resourceGroupName
path True

string

資源群組的名稱。

subscriptionId
path True

string

可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。

api-version
query True

string

用戶端 API 版本。

回應

名稱 類型 Description
200 OK

AutoApprovedPrivateLinkServicesResult

要求成功。 傳回所有可連結至私人端點的私人連結服務標識碼,此區域在此訂用帳戶中自動核准。

Other Status Codes

CloudError

描述作業失敗原因的錯誤回應。

安全性

azure_auth

Azure Active Directory OAuth2 Flow。

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

Scopes

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

範例

Sample Request

GET https://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/locations/regionName/autoApprovedPrivateLinkServices?api-version=2023-09-01

Sample Response

{
  "value": [
    {
      "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
    },
    {
      "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
    },
    {
      "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
    }
  ]
}

定義

名稱 Description
AutoApprovedPrivateLinkService

AutoApprovedPrivateLinkService 的資訊。

AutoApprovedPrivateLinkServicesResult

私人鏈接服務標識碼的陣列,可連結至已自動核准的私人端點。

CloudError

來自服務的錯誤回應。

CloudErrorBody

來自服務的錯誤回應。

AutoApprovedPrivateLinkService

AutoApprovedPrivateLinkService 的資訊。

名稱 類型 Description
privateLinkService

string

私人鏈接服務資源的標識碼。

AutoApprovedPrivateLinkServicesResult

私人鏈接服務標識碼的陣列,可連結至已自動核准的私人端點。

名稱 類型 Description
nextLink

string

要取得下一組結果的URL。

value

AutoApprovedPrivateLinkService[]

自動核准的私人連結服務陣列。

CloudError

來自服務的錯誤回應。

名稱 類型 Description
error

CloudErrorBody

雲端錯誤本文。

CloudErrorBody

來自服務的錯誤回應。

名稱 類型 Description
code

string

錯誤的識別碼。 程式碼不變,且要以程式設計方式使用。

details

CloudErrorBody[]

錯誤的其他詳細數據清單。

message

string

描述錯誤的訊息,適用於在使用者介面中顯示。

target

string

特定錯誤的目標。 例如,錯誤中的屬性名稱。