removeNetworkInterfaceAccessControlGroup
    • PDF

    removeNetworkInterfaceAccessControlGroup

    • PDF

    기사 요약

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

    개요

    네트워크 인터페이스에 적용된 ACG 리스트를 제거합니다. 네트워크 인터페이스당 최소 1개의 ACG가 적용되어야 합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    ACG를 제거할 네트워크 인터페이스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    networkInterfaceNoYesString- ACG를 제거할 네트워크 인터페이스 번호
    networkInterfaceNo는 getNetworkInterfaceList 액션을 통해 획득 가능
    accessControlGroupNoList.NYesList<String>- 제거할 ACG 번호 리스트
    accessControlGroupNo는 getAccessControlGroupList 액션을 통해 획득 가능
    ex) --accessControlGroupNoList 1234 2345

    응답

    응답 데이터 타입

    • NetworkInterfaceList 타입
    NetworkInterfaceList extends CommonResponse
    private Integer totalRows;
    private List<NetworkInterface> networkInterfaceList = new ArrayList<>();
    NetworkInterface
    private String networkInterfaceNo;
    private String networkInterfaceName;
    private String subnetNo;
    private Boolean deleteOnTermination;
    private Boolean isDefault;
    private String deviceName;
    private CommonCode networkInterfaceStatus;
    private CommonCode instanceType;
    private String instanceNo;
    private String ip;
    private String macAddress;
    private AccessControlGroupNoList accessControlGroupNoList;
    private String networkInterfaceDescription;
    private SecondaryIpList secondaryIpList;
    SecondaryIpList
    private List<String> secondaryIpList = new ArrayList<>();

    예시

    요청 예시

    ncloud vserver removeNetworkInterfaceAccessControlGroup --regionCode KR --networkInterfaceNo ***87 --accessControlGroupNoList ***64 ***65
    

    응답 예시

    <removeNetworkInterfaceAccessControlGroupResponse>
      <requestId>ee0c81c5-5d66-49df-857e-696619f1cf35</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkInterfaceList>
          <networkInterface>
            <networkInterfaceNo>***87</networkInterfaceNo>
            <networkInterfaceName>test-***</networkInterfaceName>
            <subnetNo>***43</subnetNo>
            <deleteOnTermination>false</deleteOnTermination>
            <isDefault>false</isDefault>
            <deviceName>eth1</deviceName>
            <networkInterfaceStatus>
              <code>USED</code>
              <codeName>used </codeName>
            </networkInterfaceStatus>
            <instanceType>
              <code>VSVR</code>
              <codeName>Server (VPC)</codeName>
            </instanceType>
            <instanceNo>***4299</instanceNo>
            <ip>***.***.1.7</ip>
            <macAddress>F2:20:***:***:8A:F5</macAddress>
            <accessControlGroupNoList>
              <accessControlGroupNo>***63</accessControlGroupNo>
            </accessControlGroupNoList>
            <networkInterfaceDescription></networkInterfaceDescription>
            <secondaryIpList></secondaryIpList>
          </networkInterface>
        </networkInterfaceList>
    </removeNetworkInterfaceAccessControlGroupResponse>
    

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

    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.