setSubnetNetworkAcl
- Print
- PDF
setSubnetNetworkAcl
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
This sets a subnet's network ACL.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region of the subnet that sets the network ACL. regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList search results | |
subnetNo | Yes | String | Subnet number This determines the subnet that will set the network ACL. subnetNo can be obtained through the getSubnetList action. | |
networkAclNo | Yes | String | Network ACL number networkAclNo can be obtained through the getNetworkAclList action. | |
responseFormatType | No | String | Format type of the response results Options : xml | json Default : xml |
Response
Response body
Example
Request Example
GET {API_URL}/vpc/v2/setSubnetNetworkAcl
?regionCode=KR
&subnetNo=***43
&networkAclNo=***31
Response Example
<setSubnetNetworkAclResponse>
<requestId>b2610abd-bbec-49dd-9757-2f8fc8ee9f3a</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<networkAclList>
<networkAcl>
<networkAclNo>***39</networkAclNo>
<networkAclName>test-***</networkAclName>
<vpcNo>***04</vpcNo>
<networkAclStatus>
<code>SET</code>
<codeName>set</codeName>
</networkAclStatus>
<networkAclDescription></networkAclDescription>
<createDate>2020-07-31T16:38:52+0900</createDate>
<isDefault>false</isDefault>
</networkAcl>
</networkAclList>
</setSubnetNetworkAclResponse>
Was this article helpful?