ServerInstance

Prev Next

Available in VPC

This is the server instance.

Syntax

The syntax is as follows:

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;
private List<String> eventList;
private Long fabricClusterPoolNo;
private String fabricClusterPoolName;
private String fabricClusterMode;
private Long fabricClusterNo;
private String fabricClusterName;

Field

The following describes the fields:

Field Type Required Description
serverInstanceNo String Required Server instance number
  • NAVER Cloud Platform's identifier to identify server instances (VMs)
serverName String Required Server name
serverDescription String Optional Server description
cpuCount Integer Required Number of virtual CPUs
memorySize Long Required Memory size (bytes)
platformType CommonCode Required Platform type of the OS image installed on the server
  • LNX32 | LNX64 | WND32 | WND64 | UBD64 | UBS64
loginKeyName String Required Name of login key assigned to the server instance
publicIpInstanceNo String Optional Public IP instance number assigned to the server instance
publicIp String Optional Public IP address assigned to the server instance
serverInstanceStatus CommonCode Required Server instance status
  • INIT | CREAT | RUN | NSTOP | TERMT | FSTOP | SD_FL | RS_FL | ST_FL
    • INIT: initiated
    • CREAT: created
    • RUN: run
    • NSTOP: normal stopped
    • TERMT: terminated
    • FSTOP: failure stopped
    • SD_FL: start failure
    • RS_FL: restart failure
    • ST_FL: start failure
serverInstanceOperation CommonCode Required Server instance operation status
  • START | SHTDN | RESTA | TERMT | NULL | MIGRA | COPY | SETUP | HREST | HSHTD | CHNG | CREAT
    • START: start
    • SHTDN: shutdown
    • RESTA: restart
    • TERMT: terminate
    • NULL: no operation
    • MIGRA: migration
    • COPY: copy
    • SETUP: setup
    • HREST: force restart
    • HSHTD: force shutdown
    • CHNG: spec change
    • CREAT: create
serverInstanceStatusName String Required Server instance status name
  • Pass the current server instance status name by combining the server instance status and the server instance operation status.
  • init | creating | booting | setting up | running | rebooting | hard rebooting | shutting down | hard shutting down | terminating | changingSpec | copying | repairing
createDate Date Required Creation date and time (YYYY-MM-DDThh:mm:ssZ)
uptime Date Required Uptime (YYYY-MM-DDThh:mm:ssZ)
serverImageProductCode String Required Server Image product code
  • Product code corresponding to the Server Image product managed by NAVER Cloud Platform
serverProductCode String Required Server product code
  • Product code corresponding to the Server product managed by NAVER Cloud Platform
isProtectServerTermination Boolean Required Whether to protect server termination
  • true | false
  • If true, it won't be terminated upon termination.
zoneCode String Required Zone code where the server is located
regionCode String Required Region code where the server is located
vpcNo String Required Number of VPC where the server is located
subnetNo String Required Number of subnet where the server is located
networkInterfaceNoList NetworkInterfaceNoList Required List of the network interface numbers assigned to the server
initScriptNo String Optional Initialization script number
  • Number of the initialization script that runs on the server's first boot
serverInstanceType CommonCode Required Server instance type
  • MICRO | COMPT | STAND | GPU | LDISK | CHADP | BM | VDS
    • MICRO: Micro
    • COMPT: Compact
    • STAND: Standard
    • GPU: GPU
    • LDISK: Local Disk
    • CHADP: Cloud Hadoop
    • BM: Bare Metal
    • VDS: Virtual Dedicated Server
baseBlockStorageDiskType CommonCode Required Default block storage disk type
  • NET
    • NET: network disk
baseBlockStorageDiskDetailType CommonCode Required Default block storage disk detailed type
  • HDD | SSD
placementGroupNo String Optional Number of physical placement group where the server instance is placed
placementGroupName String Optional Name of physical placement group where the server instance is placed
memberServerImageInstanceNo String Optional Member server image instance number
blockDevicePartitionList List<BlockDevicePartition> Optional Block device partition list
  • Pass custom partition information if it is a bare metal server
hypervisorType CommonCode Required Hypervisor type
  • XEN | KVM
serverImageNo String Required Server image number
serverSpecCode String Required Server specification code
eventList List<String> Optional Event list
fabricClusterPoolNo List<String> Optional Fabric cluster pool number
fabricClusterPoolName List<String> Optional Fabric cluster pool name
fabricClusterMode List<String> Optional Fabric Cluster Mode
  • SINGLE | CLUSTER
fabricClusterNo List<String> Optional Fabric cluster number
fabricClusterName List<String> Optional Fabric cluster name