addNetworkInterfaceAccessControlGroup
    • PDF

    addNetworkInterfaceAccessControlGroup

    • PDF

    기사 요약

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

    개요

    네트워크 인터페이스에 적용될 ACG 리스트를 추가합니다. 네트워크 인터페이스당 최대 3개의 ACG를 적용할 수 있습니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    ACG를 추가할 네트워크 인터페이스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    networkInterfaceNoYesString- ACG를 추가할 네트워크 인터페이스 번호
    networkInterfaceNo는 getNetworkInterfaceList 액션을 통해 획득 가능
    accessControlGroupNoList.NYesString- 추가할 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 addNetworkInterfaceAccessControlGroup --regionCode KR --networkInterfaceNo ***87 --accessControlGroupNoList ***64 ***65
    

    응답 예시

    <addNetworkInterfaceAccessControlGroupResponse>
      <requestId>6fb2dc37-4505-4dc0-aad3-481d3a6a6434</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>
            <accessControlGroupNo>***64</accessControlGroupNo>
          </accessControlGroupNoList>
          <networkInterfaceDescription></networkInterfaceDescription>
          <secondaryIpList></secondaryIpList>
        </networkInterface>
      </networkInterfaceList>
    </addNetworkInterfaceAccessControlGroupResponse>
    

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

    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.