查詢隨用隨付版本防護狀態。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Lang |
string |
否 |
返回訊息的語言類型。 枚舉值:
|
zh |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
返回結果的請求 ID。 |
95CA5E2B-E5FB-5838-BC50-6A2C763C**** |
| IsEnabledProtection |
boolean |
該防護功能是否被啟用。 |
false |
| IsOpenButDisabled |
boolean |
是否開啟保護但是關閉。 |
false |
| DisabledDays |
integer |
未開啟防護的天數。 |
6 |
| DisabledType |
string |
未開啟防護的類型。 |
nat |
樣本
正常返回樣本
JSON格式
{
"RequestId": "95CA5E2B-E5FB-5838-BC50-6A2C763C****",
"IsEnabledProtection": false,
"IsOpenButDisabled": false,
"DisabledDays": 6,
"DisabledType": "nat"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | 該請求使用與上一個請求相同但不相同的用戶端令牌。不要在不同的請求中重複使用用戶端令牌,除非請求相同。 |
| 400 | ErrorInstanceNotPostpay | instance is not postpay | 此API僅允許隨用隨付版本調用 |
| 400 | ErrorInstanceNotInDB | no instance for process in db | 執行個體不存在 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。