deleteNetworkInterface
    • PDF

    deleteNetworkInterface

    • PDF

    Article summary

    Can be used in a VPC environment.

    Overview

    Delete a network interface.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the network interface to be deleted.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    networkInterfaceNoYesStringThe number of the network interface to be deleted
    The networkInterfaceNo can be obtained through the getNetworkInterfaceList action.

    Response

    Response data type

    • NetworkInterfaceList type
    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<>();

    Example

    Request example

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

    Response example

    <deleteNetworkInterfaceResponse>
      <requestId>500f0f2b-5ce9-4926-b8bb-ad637f465a70</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/>
          <networkInterfaceDescription></networkInterfaceDescription>
          <secondaryIpList></secondaryIpList>
        </networkInterface>
      </networkInterfaceList>
    </deleteNetworkInterfaceResponse>
    

    Was this article helpful?

    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.