stopServerInstances
    • PDF

    stopServerInstances

    • PDF

    기사 요약

    개요

    서버 인스턴스(VM)를 정지합니다.

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    serverInstanceNoList.NYesList<String>중복 불가- 정지할 서버 인스턴스 번호
    serverInstanceNo는 getServerInstanceList 액션을 통해 획득 가능
    ex) serverInstanceNoList.1=937507&serverInstanceNoList.2=1021003

    응답

    응답 바디

    예시

    요청 예시

    GET {SERVER_API_URL}/stopServerInstances
    ?serverInstanceNoList.1=1021003
    

    응답 예시

    <stopServerInstancesResponse>
      <requestId>ee1a0910-96d2-41ca-8a1b-837f889667a2</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <serverInstanceList>
        <serverInstance>
          <serverInstanceNo>1021003</serverInstanceNo>
          <serverName>s1669aa4e78c</serverName>
          <serverDescription>내서버이미지 카피 오류테스트</serverDescription>
          <cpuCount>2</cpuCount>
          <memorySize>4294967296</memorySize>
          <baseBlockStorageSize>53687091200</baseBlockStorageSize>
          <platformType>
            <code>LNX64</code>
            <codeName>Linux 64 Bit</codeName>
          </platformType>
          <loginKeyName>juhoon-kim</loginKeyName>
          <isFeeChargingMonitoring>false</isFeeChargingMonitoring>
          <publicIp>106.10.46.237</publicIp>
          <privateIp>10.41.3.81</privateIp>
          <serverImageName>tensorflow-centos-7.3-64</serverImageName>
          <serverInstanceStatus>
            <code>RUN</code>
            <codeName>Server run state</codeName>
          </serverInstanceStatus>
          <serverInstanceOperation>
            <code>SHTDN</code>
            <codeName>Server SHUTDOWN OP</codeName>
          </serverInstanceOperation>
          <serverInstanceStatusName>shutting down</serverInstanceStatusName>
          <createDate>2018-10-22T16:19:50+0900</createDate>
          <uptime>2018-11-23T17:38:44+0900</uptime>
          <serverImageProductCode>SPSW0LINUX000066</serverImageProductCode>
          <serverProductCode>SPSVRSSD00000003</serverProductCode>
          <isProtectServerTermination>false</isProtectServerTermination>
          <portForwardingPublicIp>106.10.51.90</portForwardingPublicIp>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>평촌 zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <baseBlockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </baseBlockStorageDiskType>
          <baseBlockStorageDiskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </baseBlockStorageDiskDetailType>
          <serverInstanceType>
            <code>STAND</code>
            <codeName>Standard</codeName>
          </serverInstanceType>
          <userData></userData>
          <initScriptNo></initScriptNo>
          <accessControlGroupList>
            <accessControlGroup>
              <accessControlGroupConfigurationNo>39995</accessControlGroupConfigurationNo>
              <accessControlGroupName>ncloud-default-acg</accessControlGroupName>
              <accessControlGroupDescription>Default AccessControlGroup</accessControlGroupDescription>
              <isDefault>true</isDefault>
              <createDate>2018-04-09T11:12:54+0900</createDate>
            </accessControlGroup>
          </accessControlGroupList>
          <instanceTagList/>
        </serverInstance>
      </serverInstanceList>
    </stopServerInstancesResponse>
    

    에러 코드

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요

    HTTP Response Code리턴 코드리턴 메시지
    40022001{1} among {0} servers failed for operation. The problem is being handled. Please hold for a moment.
    40024109The input parameter instance number is invalid
    40024120The input parameter server instance number is invalid.
    40025014Unable to control the server since (other) user is currently operating storage allocated to the server.
    40025041Unable to perform operation command since (other) user is either manipulating the target server or a problem in target server. Please confirm server status once again.
    40028005Unable to perform suspension command since target server is already suspended. (Other) user might have suspended the server by connecting through terminal. Please confirm the server status once again.

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

    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.