getAccessControlGroupRuleList
    • PDF

    getAccessControlGroupRuleList

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    개요

    ACG 번호를 이용하여 ACG의 Rule 리스트를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    ACG의 Rule 리스트가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    accessControlGroupNoYesString- ACG 번호
    accessControlGroupNo는 getAccessControlGroupList 액션을 통해 획득 가능
    accessControlGroupRuleTypeCodeNoString- ACG Rule 유형 코드
    ACG Rule 유형 코드로 필터링하여 검색 가능
    Options : INBND (Inbound 규칙) | OTBND (Outbound 규칙)
    Default : ACG의 모든 Rule 조회
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • AccessControlGroupRuleList 타입
    AccessControlGroupRuleList extends CommonResponse
    private Integer totalRows;
    private List accessControlGroupRuleList = new ArrayList<>();
    AccessControlGroupRule
    private String accessControlGroupNo;
    private ProtocolType protocolType;
    private String ipBlock;
    private String accessControlGroupSequence;
    private String portRange;
    private CommonCode accessControlGroupRuleType;
    private String accessControlGroupRuleDescription;

    예시

    요청 예시

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

    응답 예시

    <getAccessControlGroupRuleListResponse>
      <requestId>a6fe4c12-b592-41c6-acf9-dff0369f09b0</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <accessControlGroupRuleList>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>INBND</code>
            <codeName>Inbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>OTBND</code>
            <codeName>Outbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
      </accessControlGroupRuleList>
    </getAccessControlGroupRuleListResponse>
    

    이 문서가 도움이 되었습니까?

    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.