MENU
      recreateServerInstance

        recreateServerInstance


        Article summary

        Overview

        Recreates a server instance. This action is for Bare Metal only.

        Request

        Request parameters

        ParameterRequiredTypeLimitationsDescription
        serverInstanceNoYStringDuplicates not allowed.List of instance numbers to recreate
        Get available values by using the getServerInstanceList action.
        serverInstanceNameNStringNew server instance name
        Default: Create a server instance with the existing server name.
        serverImageProductCodeYStringServer image product code
        Only a Bare Metal server image is available.
        Get available values by using the getServerImageProductList action.
        userDataNStringMin: 1, Max: 21847User data
        instanceTagList.N.tagKeyNList<String>Tag key of an instance to create
        You can use a tag key to get an instance.
        Get available values by using the getInstanceTagList action.
        Example) instanceTagList.1.tagKey=tag1
        instanceTagList.N.tagValueNList<String>Tag value of an instance to create
        You can use a tag value to get an instance.
        Get available values by using the getInstanceTagList action.
        Example) instanceTagList.1.tagValue=value1

        Response

        Response body

        Examples

        Request example

        GET {SERVER_API_URL}/recreateServerInstance
        ?serverInstanceNo=937507
        &serverImageProductCode=SPSWBMWINNT00001
        HTTP

        Response example

        <recreateServerInstanceResponse>
           <requestId>d449a2eb-60a2-4e63-b8a9-f20edec8a98c</requestId>
           <returnCode>0</returnCode>
           <returnMessage>success</returnMessage>
           <totalRows>1</totalRows>
           <serverInstanceList>
              <serverInstance>
                 <serverInstanceNo>680744</serverInstanceNo>
                 <serverName>penguin-window</serverName>
                 <serverDescription />
                 <cpuCount>20</cpuCount>
                 <memorySize>137438953472</memorySize>
                 <baseBlockStorageSize>4123168604160</baseBlockStorageSize>
                 <platformType>
                    <code>WND64</code>
                    <codeName>Windows 64 Bit</codeName>
                 </platformType>
                 <loginKeyName>yoon-nang-onlinetest03-newbeta</loginKeyName>
                 <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
                 <publicIp />
                 <privateIp>10.39.64.12</privateIp>
                 <serverImageName>win-2016-64-en</serverImageName>
                 <serverInstanceStatus>
                    <code>INIT</code>
                    <codeName>Server init state</codeName>
                 </serverInstanceStatus>
                 <serverInstanceOperation>
                    <code>NULL</code>
                    <codeName>Server NULL OP</codeName>
                 </serverInstanceOperation>
                 <serverInstanceStatusName>init</serverInstanceStatusName>
                 <createDate>2018-05-30T02:12:13+0000</createDate>
                 <uptime>2018-05-30T02:12:13+0000</uptime>
                 <serverImageProductCode>SPSWBMWINNT00001</serverImageProductCode>
                 <serverProductCode>SPSVRBM000000001</serverProductCode>
                 <isProtectServerTermination>false</isProtectServerTermination>
                 <portForwardingPublicIp>49.236.160.11</portForwardingPublicIp>
                 <portForwardingExternalPort>30006</portForwardingExternalPort>
                 <portForwardingInternalPort>3389</portForwardingInternalPort>
                 <zone>
                    <zoneNo>2</zoneNo>
                    <zoneName>KR-1</zoneName>
                    <zoneDescription>Gasan zone</zoneDescription>
                 </zone>
                 <region>
                    <regionNo>1</regionNo>
                    <regionCode>KR</regionCode>
                    <regionName>Korea</regionName>
                 </region>
                 <baseBlockStorageDiskType>
                    <code>LOCAL</code>
                    <codeName>Local storage</codeName>
                 </baseBlockStorageDiskType>
                 <baseBlockStorageDiskDetailType>
                    <code>SSD</code>
                    <codeName>SSD</codeName>
                 </baseBlockStorageDiskDetailType>
                 <serverInstanceType>
                    <code>BM</code>
                    <codeName>BareMetal</codeName>
                 </serverInstanceType>
                 <userData>#powershell
        invoke-WebRequest http://125.209.192.32/ms-test/naver_download.ps1 -OutFile C:\Windows\Temp\naver_download.ps1
        C:\Windows\Temp\naver_download.ps1</userData>
                 <initScriptNo></initScriptNo>
                 <accessControlGroupList>
                    <accessControlGroup>
                       <accessControlGroupConfigurationNo>17791</accessControlGroupConfigurationNo>
                       <accessControlGroupName>yoon-test</accessControlGroupName>
                       <accessControlGroupDescription>ttADFEDFDFD</accessControlGroupDescription>
                       <isDefault>false</isDefault>
                       <createDate>2017-09-19T02:52:24+0000</createDate>
                    </accessControlGroup>
                 </accessControlGroupList>
              </serverInstance>
           </serverInstanceList>
        </recreateServerInstanceResponse>
        XML

        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.