recreateServerInstance
    • PDF

    recreateServerInstance

    • PDF

    기사 요약

    개요

    서버 인스턴스를 재생성합니다. 이 API는 베어메탈(BareMetal) 상품 전용입니다.

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    serverInstanceNoYesString중복 불가- 재생성할 인스턴스 번호
    serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능
    serverInstanceNameNoString- 재생성시 변경할 이름
    Default : 원래 서버 이름으로 생성
    serverImageProductCodeYesString- 서버이미지 상품코드
    베어메탈 서버 이미지만 입력 가능
    베어메탈 상품의 serverImageProductCode는 getServerImageProductList 액션을 통해 획득 가능
    userDataNoStringMin:1, Max:21847사용자데이터
    instanceTagList.N.tagKeyNoList<String>- 생성할 인스턴스의 태그 키
    인스턴스의 태그 키를 통해 인스턴스 조회 가능
    Instance의 TagKey는 getInstanceTagList 액션을 통해 획득 가능
    ex) instanceTagList.1.tagKey=tag1
    instanceTagList.N.tagValueNoList<String>- 생성할 인스턴스의 태그 값
    인스턴스의 태그 값를 통해 인스턴스 조회 가능
    Instance의 TagValue는 getInstanceTagList 액션을 통해 획득 가능
    ex) instanceTagList.1.tagValue=value1

    응답

    응답 바디

    예시

    요청 예시

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

    응답 예시

    <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>가산 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>1523</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>
    

    이 문서가 도움이 되었습니까?

    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.