rebootCloudMssqlServerInstance
    • PDF

    rebootCloudMssqlServerInstance

    • PDF

    Article summary

    Available in VPC

    Restart a Cloud DB for MSSQL server instance.

    Request

    The following describes the request format for the endpoint. The request format is as follows:

    MethodURI
    GET, POST/rebootCloudMssqlServerInstance

    Request headers

    For headers common to all Cloud DB for MSSQL (VPC) APIs, see Cloud DB for MSSQL (VPC) request headers.

    Request parameter

    The following describes the parameters.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code of the Cloud DB for MSSQL instance to restart
    • Check through getRegionList
    • First Region of the getRegionList query result (default)
    cloudMssqlServerInstanceNoStringRequiredCloud DB for MSSQL server instance number
    responseFormatTypeStringOptionalFormat of the response result
    • xml (default) | json

    Request example

    The following is a sample request.

    curl --location --request GET 'https://ncloud.apigw.ntruss.com/vmssql/v2/rebootCloudMssqlServerInstance
    ?regionCode=KR
    &cloudMssqlServerInstanceNo=2528****
    &responseFormatType=json'
    --header 'x-ncp-apigw-timestamp: {Timestamp}'
    --header 'x-ncp-iam-access-key: {Access Key}'
    --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
    

    Response

    The following describes the response format.

    Response body

    See CloudMssqlInstanceList for the response body.

    Response status codes

    For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response example

    The following is a sample response.

    • If responseFormetType=json

      {
          "rebootCloudMssqlServerInstanceResponse": {
              "totalRows": 1,
              "cloudMssqlInstanceList": [
              {
                      "cloudMssqlInstanceNo": "2522****",
                      "cloudMssqlServiceName": "mssql004",
                      "cloudMssqlInstanceStatusName": "running",
                      "cloudMssqlInstanceStatus": {
                          "code": "CREAT",
                          "codeName": "CLOUD DATABASE(VPC) Created State"
                      },
                      "cloudMssqlInstanceOperation": {
                          "code": "NULL",
                          "codeName": "CLOUD DATABASE(VPC) Null OP"
                      },
                      "cloudMssqlImageProductCode": "SW.VMSSL.OS.WND64.WINNT.SVR2016.MSSQL.15043553.EE.B100",
                      "isHa": true,
                      "isMultiZone": false,
                      "license": {
                          "code": "SPLA",
                          "codeName": "Service Provider License Agreement"
                      },
                      "cloudMssqlPort": 1433,
                      "backupFileRetentionPeriod": 1,
                      "backupTime": "08:00",
                      "configGroupNo": "0",
                      "configGroupName": "mssql_2019_default",
                      "engineVersion": "MSSQL 15.0.4355.3 Enterprise Edition",
                      "createDate": "2024-07-01T14:29:18+0900",
                      "dbCollation": "Korean_Wansung_CI_AS",
                      "cloudMssqlServerInstanceList": [
                          {
                              "cloudMssqlServerInstanceNo": "2528****",
                              "cloudMssqlServerName": "m-2522****-001",
                              "cloudMssqlServerRole": {
                                  "code": "M",
                                  "codeName": "Principal"
                              },
                              "cloudMssqlServerInstanceStatusName": "running",
                              "cloudMssqlServerInstanceStatus": {
                                  "code": "RUN",
                                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                              },
                              "cloudMssqlServerInstanceOperation": {
                                  "code": "NOOP",
                                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                              },
                              "regionCode": "KR",
                              "zoneCode": "KR-1",
                              "vpcNo": "59***",
                              "subnetNo": "140***",
                              "dataStorageSize": 107374182400,
                              "cpuCount": 2,
                              "memorySize": 4294967296,
                              "isPublicSubnet": true,
                              "cloudMssqlProductCode": "SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002",
                              "privateDomain": "mssql-o1m7n.vpc-cdb.ntruss.com",
                              "createDate": "2024-07-01T14:29:18+0900",
                              "uptime": "2024-07-01T14:55:41+0900",
                              "dataStorageType": {
                                  "code": "SSD",
                                  "codeName": "SSD"
                              },
                              "usedDataStorageSize": 1073741824
                          },
                          {
                              "cloudMssqlServerInstanceNo": "2528****",
                              "cloudMssqlServerName": "m-2522****-002",
                              "cloudMssqlServerRole": {
                                  "code": "H",
                                  "codeName": "Mirror"
                              },
                              "cloudMssqlServerInstanceStatusName": "settingUp",
                              "cloudMssqlServerInstanceStatus": {
                                  "code": "RUN",
                                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                              },
                              "cloudMssqlServerInstanceOperation": {
                                  "code": "SETUP",
                                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                              },
                              "regionCode": "KR",
                              "zoneCode": "KR-1",
                              "vpcNo": "59***",
                              "subnetNo": "140***",
                              "dataStorageSize": 107374182400,
                              "cpuCount": 2,
                              "memorySize": 4294967296,
                              "isPublicSubnet": true,
                              "cloudMssqlProductCode": "SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002",
                              "privateDomain": "mssql-o1m7n.vpc-cdb.ntruss.com",
                              "createDate": "2024-07-01T14:29:18+0900",
                              "uptime": "2024-07-01T15:08:09+0900",
                              "dataStorageType": {
                                  "code": "SSD",
                                  "codeName": "SSD"
                              },
                              "usedDataStorageSize": 1073741824
                          },
                          {
                              "cloudMssqlServerInstanceNo": "2529****",
                              "cloudMssqlServerName": "m-2522****-003",
                              "cloudMssqlServerRole": {
                                  "code": "S",
                                  "codeName": "Slave"
                              },
                              "cloudMssqlServerInstanceStatusName": "running",
                              "cloudMssqlServerInstanceStatus": {
                                  "code": "RUN",
                                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                              },
                              "cloudMssqlServerInstanceOperation": {
                                  "code": "NOOP",
                                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                              },
                              "regionCode": "KR",
                              "zoneCode": "KR-1",
                              "vpcNo": "59***",
                              "subnetNo": "140***",
                              "dataStorageSize": 107374182400,
                              "cpuCount": 2,
                              "memorySize": 4294967296,
                              "isPublicSubnet": true,
                              "cloudMssqlProductCode": "SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002",
                              "privateDomain": "mssql-o1m7n-r001.vpc-cdb.ntruss.com",
                              "createDate": "2024-07-01T15:48:28+0900",
                              "uptime": "2024-07-01T16:16:00+0900",
                              "dataStorageType": {
                                  "code": "SSD",
                                  "codeName": "SSD"
                              },
                              "usedDataStorageSize": 1073741824
                          }
                      ],
                      "accessControlGroupNoList": [
                          "186***"
                      ]
                  }
              ],
              "requestId": "66998e12-****-****-****-9c25f67e5006",
              "returnCode": "0",
              "returnMessage": "success"
          }
      }
      
    • If responseFormetType=xml (default)

      <?xml version="1.0" encoding="UTF-8"?>
      <rebootCloudMssqlServerInstanceResponse>
          <requestId>66998e12-****-****-****-9c25f67e5006</requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <cloudMssqlInstanceList>
              <cloudMssqlInstance>
                  <cloudMssqlInstanceNo>2522****</cloudMssqlInstanceNo>
                  <cloudMssqlServiceName>mssql004</cloudMssqlServiceName>
                  <cloudMssqlInstanceStatusName>running</cloudMssqlInstanceStatusName>
                  <cloudMssqlInstanceStatus>
                      <code>CREAT</code>
                      <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                  </cloudMssqlInstanceStatus>
                  <cloudMssqlInstanceOperation>
                      <code>NULL</code>
                      <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
                  </cloudMssqlInstanceOperation>
                  <cloudMssqlImageProductCode>SW.VMSSL.OS.WND64.WINNT.SVR2016.MSSQL.15043553.EE.B100</cloudMssqlImageProductCode>
                  <isHa>true</isHa>
                  <isMultiZone>false</isMultiZone>
                  <license>
                      <code>SPLA</code>
                      <codeName>Service Provider License Agreement</codeName>
                  </license>
                  <cloudMssqlPort>1433</cloudMssqlPort>
                  <backupFileRetentionPeriod>1</backupFileRetentionPeriod>
                  <backupTime>08:00</backupTime>
                  <configGroupNo>0</configGroupNo>
                  <configGroupName>mssql_2019_default</configGroupName>
                  <engineVersion>MSSQL 15.0.4355.3 Enterprise Edition</engineVersion>
                  <createDate>2024-07-01T14:29:18+0900</createDate>
                  <dbCollation>Korean_Wansung_CI_AS</dbCollation>
                  <cloudMssqlServerInstanceList>
                      <cloudMssqlServerInstance>
                          <cloudMssqlServerInstanceNo>2528****</cloudMssqlServerInstanceNo>
                          <cloudMssqlServerName>m-2522****-001</cloudMssqlServerName>
                          <cloudMssqlServerRole>
                              <code>M</code>
                              <codeName>Principal</codeName>
                          </cloudMssqlServerRole>
                          <cloudMssqlServerInstanceStatusName>running</cloudMssqlServerInstanceStatusName>
                          <cloudMssqlServerInstanceStatus>
                              <code>RUN</code>
                              <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                          </cloudMssqlServerInstanceStatus>
                          <cloudMssqlServerInstanceOperation>
                              <code>NOOP</code>
                              <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                          </cloudMssqlServerInstanceOperation>
                          <regionCode>KR</regionCode>
                          <zoneCode>KR-1</zoneCode>
                          <vpcNo>59***</vpcNo>
                          <subnetNo>140***</subnetNo>
                          <dataStorageSize>107374182400</dataStorageSize>
                          <cpuCount>2</cpuCount>
                          <memorySize>4294967296</memorySize>
                          <isPublicSubnet>true</isPublicSubnet>
                          <cloudMssqlProductCode>SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002</cloudMssqlProductCode>
                          <privateDomain>mssql-o1m7n.vpc-cdb.ntruss.com</privateDomain>
                          <createDate>2024-07-01T14:29:18+0900</createDate>
                          <uptime>2024-07-02T14:55:41+0900</uptime>
                          <dataStorageType>
                              <code>SSD</code>
                              <codeName>SSD</codeName>
                          </dataStorageType>
                          <usedDataStorageSize>1073741824</usedDataStorageSize>
                      </cloudMssqlServerInstance>
                      <cloudMssqlServerInstance>
                          <cloudMssqlServerInstanceNo>2528****</cloudMssqlServerInstanceNo>
                          <cloudMssqlServerName>m-2522****-002</cloudMssqlServerName>
                          <cloudMssqlServerRole>
                              <code>H</code>
                              <codeName>Mirror</codeName>
                          </cloudMssqlServerRole>
                          <cloudMssqlServerInstanceStatusName>settingUp</cloudMssqlServerInstanceStatusName>
                          <cloudMssqlServerInstanceStatus>
                              <code>RUN</code>
                              <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                          </cloudMssqlServerInstanceStatus>
                          <cloudMssqlServerInstanceOperation>
                              <code>SETUP</code>
                              <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                          </cloudMssqlServerInstanceOperation>
                          <regionCode>KR</regionCode>
                          <zoneCode>KR-1</zoneCode>
                          <vpcNo>59***</vpcNo>
                          <subnetNo>140***</subnetNo>
                          <dataStorageSize>107374182400</dataStorageSize>
                          <cpuCount>2</cpuCount>
                          <memorySize>4294967296</memorySize>
                          <isPublicSubnet>true</isPublicSubnet>
                          <cloudMssqlProductCode>SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002</cloudMssqlProductCode>
                          <privateDomain>mssql-o1m7n.vpc-cdb.ntruss.com</privateDomain>
                          <createDate>2024-07-01T14:29:18+0900</createDate>
                          <uptime>2024-07-02T15:08:09+0900</uptime>
                          <dataStorageType>
                              <code>SSD</code>
                              <codeName>SSD</codeName>
                          </dataStorageType>
                          <usedDataStorageSize>1073741824</usedDataStorageSize>
                      </cloudMssqlServerInstance>
                      <cloudMssqlServerInstance>
                          <cloudMssqlServerInstanceNo>2529****</cloudMssqlServerInstanceNo>
                          <cloudMssqlServerName>m-2522****-003</cloudMssqlServerName>
                          <cloudMssqlServerRole>
                              <code>S</code>
                              <codeName>Slave</codeName>
                          </cloudMssqlServerRole>
                          <cloudMssqlServerInstanceStatusName>running</cloudMssqlServerInstanceStatusName>
                          <cloudMssqlServerInstanceStatus>
                              <code>RUN</code>
                              <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                          </cloudMssqlServerInstanceStatus>
                          <cloudMssqlServerInstanceOperation>
                              <code>NOOP</code>
                              <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                          </cloudMssqlServerInstanceOperation>
                          <regionCode>KR</regionCode>
                          <zoneCode>KR-1</zoneCode>
                          <vpcNo>59***</vpcNo>
                          <subnetNo>140***</subnetNo>
                          <dataStorageSize>107374182400</dataStorageSize>
                          <cpuCount>2</cpuCount>
                          <memorySize>4294967296</memorySize>
                          <isPublicSubnet>true</isPublicSubnet>
                          <cloudMssqlProductCode>SVR.VMSSL.HICPU.C002.M004.NET.HDD.B100.G002</cloudMssqlProductCode>
                          <privateDomain>mssql-o1m7n-r001.vpc-cdb.ntruss.com</privateDomain>
                          <createDate>2024-07-01T15:48:28+0900</createDate>
                          <uptime>2024-07-01T16:16:00+0900</uptime>
                          <dataStorageType>
                              <code>SSD</code>
                              <codeName>SSD</codeName>
                          </dataStorageType>
                          <usedDataStorageSize>1073741824</usedDataStorageSize>
                      </cloudMssqlServerInstance>
                  </cloudMssqlServerInstanceList>
                  <accessControlGroupNoList>
                      <accessControlGroupNo>186***</accessControlGroupNo>
                  </accessControlGroupNoList>
              </cloudMssqlInstance>
          </cloudMssqlInstanceList>
      </rebootCloudMssqlServerInstanceResponse>
      

    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.