getAccessControlGroupDetail

Prev Next

Can be used in a VPC environment.

Overview

Query the ACG details using the ACG number.

Request

Request parameter

Parameter Name Required Status Type Restrictions Description
regionCode No String Region Code
You can decide the region where the ACG details will be queried.
The regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList query results.
accessControlGroupNo Yes String The number of the ACG to be queried
The accessControlGroupNo can be obtained through the getAccessControlGroupList action.
responseFormatType No String Format type for 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;

Example

Request example

ncloud vserver getAccessControlGroupDetail --regionCode KR --accessControlGroupNo ***63

Response example

<getAccessControlGroupDetailResponse>
  <requestId>245b3116-7c66-407a-8969-3b8376167fb3</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>RUN</code>
        <codeName>run</codeName>
      </accessControlGroupStatus>
      <accessControlGroupDescription></accessControlGroupDescription>
    </accessControlGroup>
  </accessControlGroupList>
</getAccessControlGroupDetailResponse>