getAccessControlGroupList
    • PDF

    getAccessControlGroupList

    • PDF

    Article summary

    Overview

    Searching access control group list

    Description

    When creating a server instance (VM), you can configure the firewall function by adding AccessControlGroup set by users.
    To this end, NAVER Cloud Platform offers a function to search AccessControlGroup required for the corresponding configuration.

    Request Parameters

    Parameter NameRequirednessTypeLimitationDescription
    accessControlGroupConfigurationNoListNoListMin:0, Max:5Access control group configuration No. list to search
    isDefaultNoBooleanSearchability for default group only Y/N
    accessControlGroupNameNoStringMin:3, Max:30Access control group name to search
    pageNoNoIntegerMin:0, Max:2147483647Page No. for each page size when there are multiple cases
    pageSizeNoIntegerMin:0, Max:2147483647Page size for one search page

    Response Data Type

    • AccessControlGroupList type
    AccessControlGroupList extends CommonResponse
    private Integer totalRows;
    private List accessControlGroupList = new ArrayList();
    AccessControlGroup
    private String accessControlGroupConfigurationNo;
    private String accessControlGroupName;
    private String accessControlGroupDescription;
    private Boolean isDefaultGroup;
    private Date createDate;

    Examples

    Request

    ncloud server getAccessControlGroupList --isDefault true
    

    Response

    {
      "getAccessControlGroupListResponse": {
        "requestId": "0c117c28-2146-45ce-9c77-bb22b72fdd84",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "accessControlGroupList": [
          {
            "accessControlGroupConfigurationNo": "1038",
            "accessControlGroupName": "ncloud-default-acg",
            "accessControlGroupDescription": "Default AccessControlGroup",
            "isDefault": true,
            "createDate": "2013-12-03T10:37:39+0900"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8"?>
    <getAccessControlGroupListResponse>
      <requestId>9e49410b-da4f-4f68-b10d-7ddedb37c3f9</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <accessControlGroupList>
        <accessControlGroup>
          <accessControlGroupConfigurationNo>4371</accessControlGroupConfigurationNo>
          <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
          <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
          <isDefault>true</isDefault>
          <createDate>2017-02-16T14:25:15+0900</createDate>
        </accessControlGroup>
      </accessControlGroupList>
    </getAccessControlGroupListResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.