調用DeleteEndpointGroup介面刪除終端節點群組。
介面說明
- DeleteEndpointGroup 介面屬於非同步介面,即系統會先返回一個請求 ID,但終端節點群組並未刪除完成,系統背景刪除任務仍在進行。您可以調用 DescribeEndpointGroup 查詢終端節點群組的狀態:
當終端節點群組處於 deleting 狀態時,表示終端節點群組正在刪除中,在該狀態下,您只能執行查詢操作,不能執行其他動作。
當查詢不到該終端節點群組時,表示終端節點群組刪除完成。
DeleteEndpointGroup 介面不支援在同一個Global Acceleration執行個體內並發刪除終端節點群組。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ga:DeleteEndpointGroup |
delete |
*EndpointGroup
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
| AcceleratorId |
string |
否 |
Global Acceleration執行個體 ID。 |
ga-bp1odcab8tmno0hdq**** |
| EndpointGroupId |
string |
是 |
要刪除的終端節點群組 ID。 |
epg-bp1dmlohjjz4kqaun**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回資訊列表。 |
||
| RequestId |
string |
請求 ID。 |
6FEA0CF3-D3B9-43E5-A304-D217037876A8 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "6FEA0CF3-D3B9-43E5-A304-D217037876A8\t"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Resource.QuotaFull | The resource quota is exceeded. | 該資源數量已達配額上限 |
| 400 | NotExist.EndPointGroup | The endpoint group does not exist. | 終端節點群組不存在 |
| 400 | StateError.EndPointGroup | The specified state of endpoint group is invalid. | 終端節點群組狀態非法 |
| 400 | NotExist.Listener | The listener does not exist. | 監聽器不存在 |
| 400 | NotActive.Listener | The state of the listener is not active. | 監聽器狀態非穩態 |
| 400 | NotExist.Accelerator | The accelerated instance does not exist. | 加速執行個體不存在。 |
| 400 | StateError.Accelerator | The state of the accelerated instance is invalid. | 加速執行個體狀態非法。 |
| 500 | UnknownError | An error occurred while processing your request. Please try again. If the error persists, please submit a ticket. | 處理請求時出現錯誤,請稍後重試。 |
| 403 | Forbbiden.SubUser | You are not authorized to operate on the specified resource because your account was created by another user. | 該帳號為其他帳號的子帳號,沒有操作特定資源的許可權。 |
| 403 | Forbidden | The user is not authorized to operate on the specified resource. | 該帳號沒有操作特定資源的許可權。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。