Private Link Resources - List By Vault
取得金鑰保存庫支援的私人鏈接資源。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}/privateLinkResources?api-version=2022-07-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
resource
|
path | True |
string |
包含金鑰保存庫的資源群組名稱。 |
subscription
|
path | True |
string |
可唯一識別 Microsoft Azure 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。 |
vault
|
path | True |
string |
金鑰保存庫的名稱。 Regex pattern: |
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
已成功擷取私人鏈接資源。 |
|
Other Status Codes |
描述作業失敗原因的錯誤回應。 |
範例
KeyVaultListPrivateLinkResources
Sample Request
Sample Response
{
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-resource-group/providers/Microsoft.KeyVault/vaults/sample-vault/privateLinkResources/vault",
"name": "vault",
"type": "Microsoft.KeyVault/vaults/privateLinkResources",
"properties": {
"groupId": "vault",
"requiredMembers": [
"default"
],
"requiredZoneNames": [
"privatelink.vaultcore.azure.net"
]
}
}
]
}
定義
名稱 | Description |
---|---|
Cloud |
金鑰保存庫 資源提供者的錯誤回應 |
Cloud |
金鑰保存庫 資源提供者的錯誤回應 |
Private |
私人鏈接資源 |
Private |
私人鏈接資源清單 |
CloudError
金鑰保存庫 資源提供者的錯誤回應
名稱 | 類型 | Description |
---|---|---|
error |
金鑰保存庫 資源提供者的錯誤回應 |
CloudErrorBody
金鑰保存庫 資源提供者的錯誤回應
名稱 | 類型 | Description |
---|---|---|
code |
string |
錯誤碼。 這是可透過程序設計方式取用的助記鍵。 |
message |
string |
使用者易記的錯誤訊息。 訊息通常是本地化的,而且可能會隨著服務版本而有所不同。 |
PrivateLinkResource
私人鏈接資源
名稱 | 類型 | Description |
---|---|---|
id |
string |
金鑰保存庫資源的完整識別碼。 |
location |
string |
金鑰保存庫資源的 Azure 位置。 |
name |
string |
金鑰保存庫資源的名稱。 |
properties.groupId |
string |
私人鏈接資源的群組標識碼。 |
properties.requiredMembers |
string[] |
私人鏈接資源的必要成員名稱。 |
properties.requiredZoneNames |
string[] |
私人鏈接資源的必要 DNS 區域名稱。 |
tags |
object |
指派給金鑰保存庫資源的標記。 |
type |
string |
金鑰保存庫資源的資源類型。 |
PrivateLinkResourceListResult
私人鏈接資源清單
名稱 | 類型 | Description |
---|---|---|
value |
私人鏈接資源的陣列 |