Available in VPC
Overview
Delete ACG.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code Determine the Region of the ACG to delete regionCode can be obtained through the getRegionList action Default: Select the first Region of the getRegionList search results |
|
vpcNo | Yes | String | - VPC number Determine the VPC of the ACG to delete vpcNo can be obtained through the getVpcList action |
|
accessControlGroupNo | Yes | String | - ACG number to delete accessControlGroupNo can be obtained through the getAccessControlGroupList action |
|
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response data type
- AccessControlGroupList type
AccessControlGroupList extends CommonResponse |
---|
private Integer totalRows; |
private List<AccessControlGroup> accessControlGroupList = new ArrayList<>(); |
AccessControlGroup |
---|
private String accessControlGroupNo; |
private String accessControlGroupName; |
private Boolean isDefault; |
private String vpcNo; |
private CommonCode accessControlGroupStatus; |
private String accessControlGroupDescription; |
Examples
Request example
ncloud vserver deleteAccessControlGroup --regionCode KR --vpcNo ***04 --accessControlGroupNo ***63
Response example
<deleteAccessControlGroupResponse>
<requestId>e7b41cdc-0168-4d2b-8efd-0f94f1680cd5</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<accessControlGroupList>
<accessControlGroup>
<accessControlGroupNo>***63</accessControlGroupNo>
<accessControlGroupName>test-***</accessControlGroupName>
<isDefault>false</isDefault>
<vpcNo>***04</vpcNo>
<accessControlGroupStatus>
<code>TERMT</code>
<codeName>terminate</codeName>
</accessControlGroupStatus>
<accessControlGroupDescription></accessControlGroupDescription>
</accessControlGroup>
</accessControlGroupList>
</deleteAccessControlGroupResponse>