getNetworkInterfaceDetail
    • PDF

    getNetworkInterfaceDetail

    • PDF

    기사 요약

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

    개요

    네트워크 인터페이스 번호를 이용하여 네트워크 인터페이스 상세 정보를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    네트워크 인터페이스 상세 정보가 조회될 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    networkInterfaceNoYesString- 조회할 네트워크 인터페이스 번호
    networkInterfaceNo는 getNetworkInterfaceList 액션을 통해 획득 가능

    응답

    응답 데이터 타입

    • NetworkInterfaceList 타입
    NetworkInterfaceList extends CommonResponse
    private Integer totalRows;
    private List 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 secondaryIpList = new ArrayList<>();

    예시

    요청 예시

    ncloud vserver getNetworkInterfaceDetail --regionCode KR --networkInterfaceNo ***87
    

    응답 예시

    <getNetworkInterfaceDetailResponse>
      <requestId>b401a7ca-bcf9-48c2-bb31-c3b7ef5317ca</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <networkInterfaceList>
        <networkInterface>
          <networkInterfaceNo>***87</networkInterfaceNo>
          <networkInterfaceName>test-***</networkInterfaceName>
          <subnetNo>***43</subnetNo>
          <deleteOnTermination>true</deleteOnTermination>
          <isDefault>true</isDefault>
          <deviceName>eth0</deviceName>
          <networkInterfaceStatus>
            <code>USED</code>
            <codeName>used </codeName>
          </networkInterfaceStatus>
          <instanceType>
            <code>VSVR</code>
            <codeName>Server (VPC)</codeName>
          </instanceType>
          <instanceNo>***4299</instanceNo>
          <ip>***.***.1.6</ip>
          <macAddress>F2:20:***:***:8A:F5</macAddress>
          <accessControlGroupNoList>
            <accessControlGroupNo>***63</accessControlGroupNo>
          </accessControlGroupNoList>
          <networkInterfaceDescription></networkInterfaceDescription>
          <secondaryIpList>
            <secondaryIp>***.***.1.7</secondaryIp>
          </secondaryIpList>
        </networkInterface>
      </networkInterfaceList>
    </getNetworkInterfaceDetailResponse>
    

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

    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.