進行網段宣告配置。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ddosdiversion:ConfigNetStatus |
none |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SaleId |
string |
是 |
代播執行個體的 ID。 |
ddos_diversion_public_cn-xxxxxxxxxxxxx |
| Net |
string |
是 |
代播執行個體的網段。 |
192.168.XX.XX/22 |
| Status |
string |
是 |
狀態。取值:
|
enable |
| Regions |
array |
否 |
網段需要宣告/撤銷的地區列表,當列表為空白時,表示操作所有網段配置的地區。 說明
您可以調用 QueryNetList 擷取網段配置的地區資訊。 |
|
|
string |
否 |
網段需要宣告或者撤銷的地區。 |
oe26 |
|
| SubNets |
array |
否 |
代播執行個體網段的子網段列表。 |
|
|
string |
否 |
代播執行個體網段的子網段。 |
192.168.XX.XX/24 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
integer |
介面返回碼:
|
200 |
| RequestId |
string |
本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。 |
B0949F09-B9C1-1D5E-8F27-0A5BF3CD5D95 |
| Message |
string |
返回資訊。 |
successful |
樣本
正常返回樣本
JSON格式
{
"Code": 200,
"RequestId": "B0949F09-B9C1-1D5E-8F27-0A5BF3CD5D95",
"Message": "successful"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | AuthenticationFailed | User authentication failed. | 使用者認證失敗。 |
| 400 | AutoScheduleRuleExist | The auto schedule rule already exists. | 調度規則已存在。 |
| 400 | AutoScheduleRuleNotExist | The auto schedule rule dose not exist. | 調度規則不存在。 |
| 400 | BlackHoleConfigurationError | A black hole configuration error occurred. | 黑洞配置錯誤。 |
| 400 | CleanConfigurationError | A clean configuration error occurred. | 清洗配置錯誤。 |
| 400 | CoveredNet | The CIDR block is overwritten. | 網段被其他網段覆蓋。 |
| 400 | DatabaseError | A database error. | 資料庫錯誤。 |
| 400 | DeclaredNet | The CIDR block has been advertised. | 網段處於宣告狀態。 |
| 400 | DefenseConfigurationError | A defense configuration error occurred. | 防護配置錯誤。 |
| 400 | ForwardConfigurationNotExist | The CIDR block forwarding configuration is not found. | 網段轉寄配置不存在。 |
| 400 | ForwardNotExist | The CIDR block zone forwarding configuration is not found. | 網段可用性區域轉寄配置不存在。 |
| 400 | ForwardRuleNotExist | The CIDR block forwarding rule is not found. | 網段轉寄規則不存在。 |
| 400 | HttpFailed | HTTP request failed. | HTTP 要求失敗。 |
| 400 | IDNSubnetsCountLimit | The maximum number of IDCs of the instance is exceeded. | 執行個體的IDC數量達到上限 |
| 400 | InstanceExist | The instance already exists. | 執行個體已經存在。 |
| 400 | InstanceNetConfigurationExist | The instance CIDR block configuration already exists. | 執行個體網段配置已存在。 |
| 400 | InstanceNotExist | The instance is not found. | 執行個體不存在。 |
| 400 | InstanceUpstreamLimit | The maximum number of reinjection configurations for the instance is exceeded. | 執行個體的回注配置數量受限。 |
| 400 | InternalError | An internal error occurred. | 內部錯誤。 |
| 400 | InvalidNet | Invalid CIDR block. | 網段不合法。 |
| 400 | InvalidParam | Invalid parameter value. | 參數非法。 |
| 400 | IPSubnetsCountLimit | The maximum number of CIDR blocks of the instance is exceeded. | 執行個體的網段數量達到上限。 |
| 400 | NetCannotExtend | The CIDR block cannot be extended. | 網段不能被擴容。 |
| 400 | NetConfigurationExist | The CIDR block configuration already exists. | 網段配置已存在。 |
| 400 | NetConfigurationNotExist | The CIDR block configuration is not found. | 網段配置不存在。 |
| 400 | NetForwardDelete | The CIDR block forwarding is being deleted. | 網段轉寄刪除中。 |
| 400 | NetMaskOutOfRange | The subnet mask of the CIDR block is invalid. | 網段掩碼超出範圍。 |
| 400 | NetNeedExtend | The CIDR block needs to be extended. | 網段需要擴容。 |
| 400 | NetStatusNotReady | The CIDR block reinjection configuration has not been completed. | 網段回注配置未完成 |
| 400 | NetworkDeclearedFailed | Failed to advertise the CIDR block. | 網段宣告失敗。 |
| 400 | NetWorkNotExist | The CIDR block is not found. | 網段不存在。 |
| 400 | NetworkUndeclearedFailed | Failed to cancel the advertisement of the CIDR block. | 網段解除宣告失敗。 |
| 400 | ParameterNotEnough | Required parameters are not specified. | 必填參數缺失。 |
| 400 | ParameterOutOfRange | Invalid parameter value. | 參數超出指定取值範圍 |
| 400 | RegionNotExist | The region does not exist. | 可用性區域不存在。 |
| 400 | RequestMethodError | An incorrect request method. | 請求方式錯誤。 |
| 400 | SubnetCountLimit | The maximum number of subnets is exceeded. | 子網數量達到上限。 |
| 400 | UnKnownError | An unknown error occurred. | 未知錯誤。 |
| 400 | UpsteamNotComplete | The reinjection configuration has not been completed. | 網段回注配置未完成。 |
| 400 | UpstreamConfigurationNotExist | The reinjection configuration is not found. | 回注配置不存在。 |
| 400 | JsonDecodeError | JSON string decoding failed. | JSON字串轉JSON對象失敗。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。