setSubnetNetworkAcl
    • PDF

    setSubnetNetworkAcl

    • PDF

    기사 요약

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

    개요

    Subnet의 Network ACL을 설정합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    Network ACL을 설정할 Subnet의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    subnetNoYesString- Subnet 번호
    Network ACL을 설정할 Subnet을 결정함
    subnetNo는 getSubnetList 액션을 통해 획득 가능
    networkAclNoYesString- Network ACL 번호
    networkAclNo는 getNetworkAclList 액션을 통해 획득 가능
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options : xml | json
    Default : xml

    응답

    응답 데이터 타입

    • NetworkAclList 타입
    NetworkAclList extends CommonResponse
    private Integer totalRows;
    private List networkAclList = new ArrayList<>();
    NetworkAcl
    private String networkAclNo;
    private String networkAclName;
    private String vpcNo;
    private CommonCode networkAclStatus;
    private String networkAclDescription;
    private Date createDate;
    private Boolean isDefault;

    예시

    요청 예시

    ncloud vpc setSubnetNetworkAcl --regionCode FKR --subnetNo ***43 --networkAclNo ***31
    

    응답 예시

    <setSubnetNetworkAclResponse>
      <requestId>b2610abd-bbec-49dd-9757-2f8fc8ee9f3a</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkAclList>
        <networkAcl>
          <networkAclNo>***39</networkAclNo>
          <networkAclName>test-***</networkAclName>
          <vpcNo>***04</vpcNo>
          <networkAclStatus>
            <code>SET</code>
            <codeName>set</codeName>
          </networkAclStatus>
          <networkAclDescription></networkAclDescription>
          <createDate>2020-07-31T16:38:52+0900</createDate>
          <isDefault>false</isDefault>
        </networkAcl>
      </networkAclList>
    </setSubnetNetworkAclResponse>
    

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

    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.