MENU
      ServerInstance

        ServerInstance


        Article summary

        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;
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        serverInstanceNoStringRequiredServer instance number
        • NAVER Cloud Platform's identifier to identify server instances (VMs)
        serverNameStringRequiredServer name
        serverDescriptionStringOptionalServer description
        cpuCountIntegerRequiredNumber of virtual CPUs
        memorySizeLongRequiredMemory size (bytes)
        platformTypeCommonCodeRequiredPlatform type of the OS image installed on the server
        • LNX32 | LNX64 | WND32 | WND64 | UBD64 | UBS64
        loginKeyNameStringRequiredName of login key assigned to the server instance
        publicIpInstanceNoStringOptionalPublic IP instance number assigned to the server instance
        publicIpStringOptionalPublic IP address assigned to the server instance
        serverInstanceStatusCommonCodeRequiredServer 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
        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: no operation
          • MIGRA: migration
          • COPY: copy
          • SETUP: setup
          • HREST: force restart
          • HSHTD: force shutdown
          • CHNG: 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
        isProtectServerTerminationBooleanRequiredWhether to protect server termination
        • true | false
        • If true, it won't be terminated upon termination
        zoneCodeStringRequiredZone code where the server is located
        regionCodeStringRequiredRegion code where the server is located
        vpcNoStringRequiredNumber of VPC where the server is located
        subnetNoStringRequiredNumber of subnet where the server is located
        networkInterfaceNoListNetworkInterfaceNoListRequiredList of the network interface numbers assigned to the server
        initScriptNoStringOptionalInitialization script number
        • Number of the initialization script that runs on the server's first boot
        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
        baseBlockStorageDiskTypeCommonCodeRequiredDefault block storage disk type
        • NET
          • NET: network disk
        baseBlockStorageDiskDetailTypeCommonCodeRequiredDefault block storage disk detailed type
        • HDD | SSD
        placementGroupNoStringOptionalNumber of physical placement group where the server instance is placed
        placementGroupNameStringOptionalName of physical placement group where the server instance is placed
        memberServerImageInstanceNoStringOptionalMember server image instance number
        blockDevicePartitionListList<BlockDevicePartition>OptionalBlock device partition list
        • Pass custom partition information if it is a bare metal server
        hypervisorTypeCommonCodeRequiredHypervisor type
        • XEN | KVM
        serverImageNoStringRequiredServer image number
        serverSpecCodeStringRequiredServer specification code

        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.