调用UnassociateNetworkAcl接口,解绑定网络ACL与网络。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:UnassociateNetworkAcl |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| NetworkAclId |
string |
是 |
要解绑关联资源的网络 ACL 的 ID。 |
nacl-a2do9e413e0sp**** |
| Resource |
array<object> |
是 |
要解绑的资源列表,N 的取值为 1~30。资源须先通过 AccosicateNetworkAcl 绑定到网络 ACL,且当前绑定状态为 BINDED。 |
|
|
object |
否 |
要解绑的资源列表, |
||
| ResourceType |
string |
是 |
要解绑的关联资源类型。 取值:
枚举值:
|
Network |
| ResourceId |
string |
是 |
要解绑的关联资源的 ID。 |
n-5*** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
示例
正常返回示例
JSON格式
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | ens.interface.error | An error occurred while call the API. | |
| 400 | InvalidNetworkAcl.NotFound | The special Network Acl is not found. | |
| 400 | RegionAccessDenied | Could not operate this region's resource | |
| 400 | InvalidResource.NotBond | The special Network Acl and the Resource are not bound. | |
| 400 | IncorrectResourceBondStatus | The resource's bond status is invalid. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。