Method: projects.locations.datastores.delete

刪除 Datastore 資源。只有在刪除參照 Datastore 的所有資源後,才能刪除 Datastore。舉例來說,相同私有雲或不同私有雲的多個叢集可以參照相同的資料存放區。

HTTP 要求

DELETE https://vmwareengine.googleapis.com/v1/{name=projects/*/locations/*/datastores/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

這是必要旗標,要刪除的資料儲存庫資源名稱。資源名稱是無配置的 URI,遵循 https://cloud.google.com/apis/design/resource_names 中的慣例。例如:projects/my-project/locations/us-central1/datastore/my-datastore

授權需要指定資源 name 的下列 IAM 權限:

  • vmwareengine.datastores.delete

查詢參數

參數
requestId

string

選用。要求 ID 必須是有效的 UUID,但系統不支援零 UUID (00000000-0000-0000-0000-000000000000)。

etag

string

選用。這個檢查碼用於確保伺服器處理要求前,使用者提供的值為最新版本。伺服器會比較提供的檢查碼與資源目前的檢查碼。如果使用者提供的值已過時,這項要求會傳回 ABORTED 錯誤。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 Operation 的執行個體。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview