setSubnetNetworkAcl
- Print
- PDF
setSubnetNetworkAcl
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Can be used in a VPC environment.
Overview
Configure the Network ACL of subnet.
Request
Request parameter
Parameter Name | Required Status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region Code You can decide the region of the subnet that will configure the Network ACL. The regionCode can be obtained through the getRegionList action. Default: Select the first region of the getRegionList query results. | |
subnetNo | Yes | String | Subnet number This determines the subnet that will configure the Network ACL. The subnetNo can be obtained through the getSubnetList action. | |
networkAclNo | Yes | String | Network ACL number The networkAclNo can be obtained through the getNetworkAclList action. | |
responseFormatType | No | String | Format type for the response result Options : xml | json Default : xml |
Response
Response data type
- NetworkAclList type
NetworkAclList extends CommonResponse |
---|
private Integer totalRows; |
private List |
NetworkAcl |
---|
private String networkAclNo; |
private String networkAclName; |
private String vpcNo; |
private CommonCode networkAclStatus; |
private String networkAclDescription; |
private Date createDate; |
private Boolean isDefault; |
Example
Request example
ncloud vpc 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?