All Products
Search
Document Center

Lindorm:UpgradeLindormInstance

Last Updated:Mar 03, 2024

Upgrades, scales up, or enable cold storage for a Lindorm instance.

Operation description

For more information about how to select the storage type and engine type when you create a Lindorm instance, see Select engine typpes and Select storage types.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
lindorm:UpgradeLindormInstanceWrite
  • Instance
    acs:lindorm:{#regionId}:{#accountId}:instance/{#InstanceId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region in which the instance that you want to upgrade, scale up, or enable cold storage is located. You can call the DescribeRegions operation to query the region ID.

cn-shanghai
ZoneIdstringYes

The ID of the zone in which the instance that you want to upgrade, scale up, or enable cold storage is located. You can call the GetLindormInstance operation to query the zone ID.

cn-shanghai-f
InstanceIdstringYes

The ID of the instance that you want to upgrade, scale up, or enable cold storage. You can call the GetLindormInstanceList operation to query the instance ID.

ld-bp1o3y0yme2i2****
UpgradeTypestringYes

The upgrade type of the operation. For more information about upgrade types, see the UpgradeType parameters section.

upgrade-cold-storage
ClusterStorageintegerNo

The storage capacity of the instance after it is upgraded. Unit: GB. Valid values: 480 to 1017600.

480
ColdStorageintegerNo

The cold storage capacity of the instance after it is upgraded. Unit: GB. Valid values: 800 to 1000000.

800
SolrSpecstringNo

The specification of LindormSearch nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory.
  • lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory.
  • lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.
lindorm.g.xlarge
SolrNumintegerNo

The number of LindormSearch nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 60.

2
LindormSpecstringNo

The specification of LindormTable nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.c.xlarge: Each node has 4 dedicated CPU cores and 8 GB of dedicated memory.
  • lindorm.c.2xlarge: Each node has 8 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.c.4xlarge: Each node has 16 dedicated CPU cores and 32 GB of dedicated memory.
  • lindorm.c.8xlarge: Each node has 32 dedicated CPU cores and 64 GB of dedicated memory.
lindorm.c.xlarge
LindormNumintegerNo

The number of LindormTable nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 90.

Note This parameter must be specified together with the LindormSpec parameter.
2
TsdbSpecstringNo

The specification of LindormTSDB nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory.
  • lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory.
  • lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.
lindorm.g.xlarge
TsdbNumintegerNo

The number of LindormTSDB nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 24.

2
FilestoreSpecstringNo

The specification of LindormDFS nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory.
  • lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory.
  • lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.
lindorm.g.xlarge
FilestoreNumintegerNo

The number of LindormDFS nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 60.

2
StreamSpecstringNo

The specification of LindormStream nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory.
  • lindorm.g.4xlarge: Each node has 16 dedicated CPU cores and 64 GB of dedicated memory.
  • lindorm.g.8xlarge: Each node has 32 dedicated CPU cores and 128 GB of dedicated memory.
lindorm.g.xlarge
StreamNumintegerNo

The number of LindormStream nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 60.

2
LtsCoreSpecstringNo

The specification of Lindorm Tunnel Service (LTS) nodes in the instance after the instance is upgraded. Valid values:

  • lindorm.g.xlarge: Each node has 4 dedicated CPU cores and 16 GB of dedicated memory.
  • lindorm.g.2xlarge: Each node has 8 dedicated CPU cores and 32 GB of dedicated memory.
lindorm.g.xlarge
LtsCoreNumintegerNo

The number of LTS nodes in the instance after the instance is upgraded. Valid values: integers from 0 to 50.

2
CoreSingleStorageintegerNo

The storage capacity of a single core node in the instance after the instance upgraded. This parameter is available only if the instance you want to upgrade is a multi-zone instance. Unit: GB. Valid values: 400 to 64000. This parameter is optional.

400
LogSpecstringNo

The specification of log nodes in the instance after the instance is upgraded. This parameter is available only if the instance you want to upgrade is a multi-zone instance. Valid values:

  • lindorm.sn1.large: Each node has 4 dedicated CPU cores and 8 GB of dedicated memory.
  • lindorm.sn1.2xlarge: Each node has 8 dedicated CPU cores and 16 GB of dedicated memory.

This parameter is optional.

lindorm.sn1.large
LogNumintegerNo

The number of log nodes in the instance after the instance is upgraded. This parameter is available only if the instance you want to upgrade is a multi-zone instance. This parameter is optional.

4
LogSingleStorageintegerNo

The storage capacity of a single log node in the instance after the instance upgraded. This parameter is available only if the instance you want to upgrade is a multi-zone instance. This parameter is optional.

400

Response parameters

ParameterTypeDescriptionExample
object
OrderIdlong

The ID of the order.

111111111111111
RequestIdstring

The ID of the request.

2A7D4F9D-AA26-4E15-A2B1-3E4792C6****

Examples

Sample success responses

JSONformat

{
  "OrderId": 111111111111111,
  "RequestId": "2A7D4F9D-AA26-4E15-A2B1-3E4792C6****"
}

Error codes

HTTP status codeError codeError messageDescription
400Lindorm.Errorcode.InstanceStorageInvalidThe instance storage parameter is invalid: %s-
400Instance.IsDeletedThe instance is deleted.The specified instance is already deleted.
400Instance.IsNotValidThe instance is invalid.The specified instance is invalid.
403API.ForbiddenThe API operation is forbidden in this environment.This operation is not supported in the current environment.
403Lindorm.Errorcode.OperationDeniedYou are not authorized to operate on the specified resource.You are not authorized to manage the specified resource.
403Lindorm.Errorcode.ServiceLinkedRoleNoPermissionNo permission to create service linked role.You are not authorized to create the service-linked role.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-02-19The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 403 change
    delete Error Codes: 400
2023-12-11The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change
    Error Codes 403 change
2023-09-08The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: PhoenixCoreSpec
    delete Input Parameters: PhoenixCoreNum
2023-07-03The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: MlSpec
    delete Input Parameters: MlNum
2023-04-14The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: MlSpec
    Added Input Parameters: MlNum
2023-03-07The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: StreamSpec
    Added Input Parameters: StreamNum