MENU
      ServerInstance

        ServerInstance


        Article summary

        Available in Classic

        This is the server instance information.

        Syntax

        The syntax is as follows.

        private String serverInstanceNo;
        private String serverName;
        private String serverDescription;
        private Integer cpuCount;
        private Long memorySize;
        private Long baseBlockStorageSize;
        private CommonCode platformType;
        private String loginKeyName;
        private Boolean isFeeChargingMonitoring;
        private String publicIp;
        private String privateIp;
        private String serverImageName;
        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 portForwardingPublicIp;
        private Integer portForwardingExternalPort;
        private Integer portForwardingInternalPort;
        private Zone zone;
        private Region region;
        private CommonCode baseBlockStorageDiskType;
        private CommonCode baseBlockStroageDiskDetailType;
        private CommonCode serverInstanceType;
        private String userData;
        private List<AccessControlGroup> accessControlGroupList;
        private List<BlockDevicePartition> blockDevicePartitionList;
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        serverInstanceNoStringRequiredServer instance number
        • NAVER Cloud Platform's identifier to identify server instances (VMs)
        serverNameStringRequiredServer name
        serverDescriptionStringRequiredServer description
        cpuCountIntegerRequiredNumber of virtual CPUs
        memorySizeLongRequiredMemory size (bytes)
        baseBlockStorageSizeLongRequiredDefault block storage size (byte)
        platformTypeCommonCodeRequiredPlatform type of the image installed on the server
        • LNX32 | WIN64
        loginKeyNameStringRequiredName of the login key encrypted with the public key that issued the server's password
        isFeeChargingMonitoringBooleanRequiredPaid monitoring status
        • true | false
        publicIpStringOptionalPublic IP assigned to the server
        privateIpStringRequiredPrivate IP assigned to the server
        serverImageNameStringRequiredServer image name
        serverInstanceStatusCommonCodeRequiredServer instance status
        • INIT | CREAT | RUN | NSTOP | TERMT | FSTOP | SD_FL | RS_FL | ST_FL
          • INIT: server INIT status
          • CREAT: server CREATED status
          • RUN: server RUN status
          • NSTOP: server NORMAL STOPPED status
          • TERMT: server TERMINATED status
          • FSTOP: server FAILURE STOPPED status
          • SD_FL: server shutdown failure status
          • RS_FL: server restart failure status
          • ST_FL: server start failure status
        serverInstanceOperationCommonCodeRequiredServer instance operation status
        • START | SHTDN | RESTA | TERMT | NULL | MIGRA | COPY | SETUP | HREST | HSHTD | CHNG | CREAT
          • START: start
          • SHTDN: shutdown
          • RESTA: restart
          • TERMT: terminate
          • NULL: null
          • MIGRA: migration
          • COPY: currently targeted for copy
          • SETUP: currently in setup
          • HREST: force restart
          • HSHTD: server force shutdown
          • CHNG: server spec change
          • CREAT: create
        serverInstanceStatusNameStringRequiredServer 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
        createDateDateRequiredCreation date and time (YYYY-MM-DDThh:mm:ssZ)
        uptimeDateRequiredUptime (YYYY-MM-DDThh:mm:ssZ)
        serverImageProductCodeStringRequiredServer Image product code
        • Product code corresponding to the Server Image product managed by NAVER Cloud Platform
        serverProductCodeStringRequiredServer product code
        • Product code corresponding to the Server product managed by NAVER Cloud Platform
        isProtectServerTerminationBooleanRequiredTermination protection status
        • true | false
        • If the server termination protection column has a value of true, the termination won't occur
        portForwardingPublicIpStringOptionalPort forwarding public IP
        • Pass only if port forwarding public IP is set
        portForwardingExternalPortIntegerOptionalPort forwarding public IP external port value
        • Pass only if port forwarding is set
        portForwardingInternalPortIntegerOptionalPort forwarding public IP internal port value
        • Pass only if port forwarding is set
        zoneZoneRequiredZone where the server is located
        regionRegionRequiredRegion where the server is located
        baseBlockStorageDiskTypeCommonCodeRequiredDefault block storage disk type
        • LOCAL | NET
          • LOCAL: local
          • NET: network
        baseBlockStorageDiskDetailTypeCommonCodeRequiredBase block storage disk detailed type
        • HDD | SSD
        serverInstanceTypeCommonCodeRequiredServer 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
        userDataStringRequiredUser data
        • The user can pass a script that can be executed. If the script is passed, it will be executed on the first boot of the server
        • This value is only passed on single queries
        accessControlGroupListList<AccessControlGroup>RequiredACG list
        blockDevicePartitionListList<BlockDevicePartition>OptionalBlock device partition list
        • Pass custom partition information if it is a bare metal server

        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.