ConfigNetStatus - 网段宣告配置
进行网段宣告配置。
调试
您可以在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对象失败。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。