getServerInstanceDetail
    • PDF

    getServerInstanceDetail

    • PDF

    Article summary

    Available in VPC

    Overview

    Use the server instance number to view detailed server instance information.

    Requests

    Request parameters

    Parameter nameEssential parameter (True/False)TypeLimitationsDescription
    regionCodeNoString- Region code
    Can determine the Region for which detailed instance information is to be viewed
    regionCode can be acquired through getRegionList action
    Default: select the first region shown through getRegionList
    serverInstanceNoYesString- Number of server instance to be viewed
    serverInstanceNo can be acquired through getServerInstanceList action
    responseFormatTypeNoString- Format type of responses
    Options : xml | json
    Default : xml

    Responses

    Response data type

    • ServerInstanceList type
    ServerInstanceList extends CommonResponse
    private Integer totalRows;
    private List<ServerInstance> serverInstanceList = new ArrayList<>();
    ServerInstance
    private String serverInstanceNo;
    private String serverName;
    private String serverDescription;
    private Integer cpuCount;
    private Long memorySize;
    private CommonCode platformType;
    private String loginKeyName;
    private String publicIpInstanceNo;
    private String publicIp;
    private CommonCode serverInstanceStatus;
    private CommonCode serverInstanceOperation;
    private String serverInstanceStatusName;
    private Date createDate;
    private Date uptime;
    private String serverImageProductCode;
    private String serverProductCode;
    private Boolean isProtectServerTermination;
    private String zoneCode;
    private String regionCode;
    private String vpcNo;
    private String subnetNo;
    private NetworkInterfaceNoList networkInterfaceNoList;
    private String initScriptNo;
    private CommonCode serverInstanceType;
    private CommonCode baseBlockStorageDiskType;
    private CommonCode baseBlockStorageDiskDetailType;
    private String placementGroupNo;
    private String placementGroupName;
    private String memberServerImageInstanceNo;
    private List< BlockDevicePartition> blockDevicePartitionList;
    private CommonCode hypervisorType;
    private String serverImageNo;
    private String serverSpecCode;

    Examples

    Request examples

    ncloud vserver getServerInstanceDetail --regionCode KR --serverInstanceNo ***4299
    

    Response examples

    <getServerInstanceDetailResponse>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverInstanceList>
        <serverInstance>
          <serverInstanceNo>***4299</serverInstanceNo>
          <serverName>test-***</serverName>
          <serverDescription></serverDescription>
          <cpuCount>2</cpuCount>
          <memorySize>4294967296</memorySize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <loginKeyName>test-***</loginKeyName>
          <publicIpInstanceNo>***7551</publicIpInstanceNo>
          <publicIp>***.***.111.215</publicIp>
          <serverInstanceStatus>
            <code>RUN</code>
            <codeName>Server run state</codeName>
          </serverInstanceStatus>
          <serverInstanceOperation>
            <code>NULL</code>
            <codeName>Server NULL OP</codeName>
          </serverInstanceOperation>
          <serverInstanceStatusName>running</serverInstanceStatusName>
          <createDate>2020-08-19T15:05:07+0900</createDate>
          <uptime>2020-08-19T15:08:09+0900</uptime>
          <serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
          <serverProductCode>SVR.VSVR.STAND.C002.M004.NET.SSD.B050.G001</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <zoneCode>KR-1</zoneCode>
          <regionCode>KR</regionCode>
          <vpcNo>***04</vpcNo>
          <subnetNo>***43</subnetNo>
          <networkInterfaceNoList>
            <networkInterfaceNo>***87</networkInterfaceNo>
          </networkInterfaceNoList>
          <initScriptNo></initScriptNo>
          <serverInstanceType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </serverInstanceType>
          <baseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </baseBlockStorageDiskType>
          <baseBlockStorageDiskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </baseBlockStorageDiskDetailType>
          <placementGroupNo>***61</placementGroupNo>
          <placementGroupName>test-***</placementGroupName>
          <hypervisorType>
            <code>KVM</code>
            <codeName>KVM</codeName>
          </hypervisorType>
          <serverImageNo>61</serverImageNo>
          <serverSpecCode>mi2-g3i</serverSpecCode>
        </serverInstance>
      </serverInstanceList>
    </getServerInstanceDetailResponse>
    

    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.