给子网绑定networkAcl接口
POST
https://vpc.jdcloud-api.com/v1/regions/{regionId}/networkAcls/{networkAclId}:associateNetworkAcl
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
regionId | String | True | Region ID | |
networkAclId | String | True | networkAclId ID |
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
subnetIds | String[ ] | True | networkAcl要绑定的子网ID列表, subnet已被其他networkAcl绑定时,自动解绑 |
名称 | 类型 | 描述 |
---|---|---|
requestId | String | 请求ID |
返回码 | 描述 |
---|---|
200 | Successful operation |
400 | Invalid parameter |
404 | Not found |
500 | Internal error |
调用方法、签名算法及公共请求参数请参考京东云OpenAPI公共说明。
POST
/v1/regions/cn-north-1/networkAcls/acl-axne0jaf0z:associateNetworkAcl { "subnetIds":["subnet-axbe0jaf0a"] }
{ "requestId": "c45prpfm8evoi69tqtc9nf6o1p2knsmw" }