This topic describes the UpdateStore operation provided by OceanBase Migration Service (OMS) Community Edition.
Description
This operation is used to update a Store component.
Usage notes
Limitations
This operation is applicable to OMS Community Edition V4.1.1 and later versions.
Request path
POST /api/v2?Action=UpdateStore
Request parameters
| Parameter | Type | Description |
|---|---|---|
| dimension | string | The operation dimension. The value is fixed to NAME. This parameter must be specified. |
| key | string | The value in the current dimension. This parameter must be specified. |
| cmRegion | string | The region to which the Store component belongs. This parameter must be specified. |
| config | map | The component configuration. This parameter must be specified. |
Response parameters
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the call is successful. |
| errorDetail | object | The error details. |
| code | string | The error code. |
| message | string | The description. |
| advice | string | The suggestions. |
| requestId | string | The request ID. |
| pageNumber | integer | The page number, which takes effect in a pagination query. |
| pageSize | integer | The page size, which takes effect in a pagination query. |
| totalCount | integer | The total number of pages, which takes effect in a pagination query. |
| cost | string | The amount of time spent in processing the request, in seconds. |
| data | integer | The returned O&M task ID. |
Examples
Sample request
{
"dimension":"NAME",
"key":"xxx.xxx.xxx.1:MYSQL_np_4x****v6o_4x7jjhq8-1-0:0000000003",
"cmRegion":"cn-beijing",
"config":{
}
}
Sample response
{
"success":true,
"errorDetail":null,
"code":null,
"message":null,
"advice":null,
"requestId":"95b4e**a-4e***",
"pageNumber":1,
"pageSize":10,
"totalCount":415,
"cost":"36 ms",
"data":19
}