setNetworkAclDenyAllowGroupIpList
    • PDF

    setNetworkAclDenyAllowGroupIpList

    • PDF

    기사 요약

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

    개요

    Network ACL Deny-Allow 그룹의 IP 리스트를 설정합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    IP 리스트를 설정할 Network ACL Deny-Allow 그룹의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    networkAclDenyAllowGroupNoYesString- Network ACL Deny-Allow 그룹 번호
    networkAclDenyAllowGroupNo는 getNetworkAclDenyAllowGroupList 액션을 통해 획득 가능
    ipList.NNoList<String>- IP 리스트
    Deny-Allow 그룹에 등록할 IP 주소를 입력
    최대 100개의 IP를 등록할 수 있으며 중복된 IP 주소는 허용하지 않음
    같은 VPC 내에서는 중복된 IP 주소를 8개까지 등록 가능
    ex) ipList.1=10.0.0.1&ipList.2=10.0.0.2
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • NetworkAclDenyAllowGroupList 타입
    NetworkAclDenyAllowGroupList extends CommonResponse
    private Integer totalRows;
    private List networkAclDenyAllowGroupList = new ArrayList<>();
    NetworkAclDenyAllowGroup
    private String networkAclDenyAllowGroupNo;
    private String networkAclDenyAllowGroupName;
    private CommonCode networkAclDenyAllowGroupStatus;
    private String vpcNo;
    private IpList ipList;
    private String networkAclDenyAllowGroupDescription;
    private Date createDate;
    private Boolean isApplied;
    IpList
    private List ipList = new ArrayList<>();

    예시

    요청 예시

    ncloud vpc setNetworkAclDenyAllowGroupIpList --regionCode KR --networkAclDenyAllowGroupNo ***40 --ipList 10.0.0.1
    

    응답 예시

    <setNetworkAclDenyAllowGroupIpListResponse>
      <requestId>84a4afa8-78aa-43b6-9a15-2bc25c3a7e7c</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkAclDenyAllowGroupList>
        <networkAclDenyAllowGroup>
          <networkAclDenyAllowGroupNo>***40</networkAclDenyAllowGroupNo>
          <networkAclDenyAllowGroupName>test-***</networkAclDenyAllowGroupName>
          <networkAclDenyAllowGroupStatus>
            <code>RUN</code>
            <codeName>run</codeName>
          </networkAclDenyAllowGroupStatus>
          <vpcNo>***04</vpcNo>
          <ipList>
            <ip>10.0.0.1</ip>
          </ipList>
          <networkAclDenyAllowGroupDescription></networkAclDenyAllowGroupDescription>
          <createDate>2021-01-25T19:40:48+0900</createDate>
          <isApplied>false</isApplied>
        </networkAclDenyAllowGroup>
      </networkAclDenyAllowGroupList>
    </setNetworkAclDenyAllowGroupIpListResponse>
    

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

    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.