REST Resource: projects.locations.azureClients

資源:AzureClient

Anthos Multi-Cloud API 需要 AzureClient 資源中的用戶端驗證資訊,才能管理 Azure 訂閱項目中的 Azure 資源。

建立 AzureCluster 時,需要提供 AzureClient 資源,且與該叢集相關聯的 Azure 資源的所有作業,都會使用指定的用戶端向 Azure 服務進行驗證。

AzureClient 資源不可變動,建立後就無法修改。

每個 AzureClient 資源都會繫結至單一 Azure Active Directory 應用程式和租戶。

JSON 表示法
{
  "name": string,
  "tenantId": string,
  "applicationId": string,
  "reconciling": boolean,
  "annotations": {
    string: string,
    ...
  },
  "pemCertificate": string,
  "uid": string,
  "createTime": string,
  "updateTime": string
}
欄位
name

string

這個資源的名稱。

AzureClient 資源名稱的格式為 projects/<project-number>/locations/<region>/azureClients/<client-id>

如要進一步瞭解 Google Cloud 資源名稱,請參閱「資源名稱」。

tenantId

string

這是必要旗標,Azure Active Directory 租戶 ID。

applicationId

string

這是必要旗標,Azure Active Directory 應用程式 ID。

reconciling

boolean

僅供輸出。如果已設定,表示目前有待處理的用戶端變更。

annotations

map (key: string, value: string)

(選用步驟) 資源的註解。

這個欄位與 Kubernetes 註解具有相同的限制。所有鍵值組合的總大小不得超過 256k。索引鍵可包含 2 個部分:前置字串 (選填) 和名稱 (必填),兩者須以正斜線 (/) 分隔。前置字串必須是 DNS 子網域。名稱長度不得超過 63 個字元,開頭和結尾須為英數字元,中間須包含連字號 (-)、底線 (_)、點號 (.) 和英數字元。

包含 "key": value 組合清單的物件,例如 { "name": "wrench", "mass": "1.3kg", "count": "3" }

pemCertificate

string

僅供輸出。PEM 編碼的 x509 憑證。

uid

string

僅供輸出。用戶端的全域專屬 ID。

createTime

string (Timestamp format)

僅供輸出。建立這項資源的時間。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

updateTime

string (Timestamp format)

僅供輸出。上次更新這個用戶端的時間。

使用 RFC 3339,產生的輸出內容一律會經過 Z 正規化,並使用 0、3、6 或 9 個小數位數,也接受「Z」以外的偏移量。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z""2014-10-02T15:01:23+05:30"

方法

create
(deprecated)

在指定的 Google Cloud 專案和區域中建立新的 AzureClient 資源。

delete
(deprecated)

刪除特定 AzureClient 資源。

get
(deprecated)

說明特定 AzureClient 資源。

list
(deprecated)

列出指定 Google Cloud 專案和區域中的所有 AzureClient 資源。