Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Modifying DB Instance Specifications

Updated on 2023-10-18 GMT+08:00

Function

This API is used to change DB instance specifications. Before calling this API:

URI

  • URI format

    POST https://{endpoint}/mysql/v3/{project_id}/instances/{instance_id}/action

  • Example

    POST https://{endpoint}/mysql/v3/97b026aa9cc4417888c14c84a1ad9860/instances/c3ec2c6148ad4d71b1a8411a62df0d3cin07/action

  • Parameter description
    Table 1 Parameter description

    Name

    Type

    Mandatory

    Description

    project_id

    String

    Yes

    Project ID of a tenant in a region.

    To obtain this value, see Obtaining a Project ID.

    instance_id

    String

    No

    DB instance ID.

Request

Table 2 Parameter description

Name

Type

Mandatory

Description

resize_flavor

Object

Yes

For details, see Table 3.

Table 3 resize_flavor field data structure description

Name

Type

Mandatory

Description

spec_code

String

Yes

Specification code.

  • Request example
    {
      "resize_flavor": {
         "spec_code":"gaussdb.large.4"
      }
    }

Example Request

Changing instance specifications

{
  "resize_flavor" : {
    "spec_code" : "taurus.large.4"
  }
}

Example Response

None

Status Code

For details, see Status Codes.

Error Code

For details, see Error Codes.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback