All Products
Search
Document Center

Compute Nest:ListServiceInstanceUpgradeHistory

Last Updated:Oct 23, 2025

You can call ListServiceInstanceUpgradeHistory to query the upgrade history of a service instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

computenestsupplier:ListServiceInstanceUpgradeHistory

get

*ServiceInstance

acs:computenestsupplier:{#regionId}:{#accountId}:serviceinstance/{#serviceinstanceId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

MaxResults

integer

No

The number of entries to return on each page for a paged query. The maximum value is 100. The default value is 20.

20

NextToken

string

No

The token that is used to retrieve the next page of results. Set this to the NextToken value from a previous response.

AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=

ServiceInstanceId

string

Yes

The service instance ID.

si-0e6fca6a51a54420****

Response elements

Element

Type

Description

Example

object

NextToken

string

The token to start the next query.

AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=

RequestId

string

The request ID.

86CAC31E-3527-562C-869F-347E931C9B25

MaxResults

integer

The number of entries to return on each page. The maximum value is 100. The default value is 20.

20

UpgradeHistory

array<object>

The list of upgrade history records.

object

The list of upgrade history records.

UpgradeHistoryId

string

The ID of the upgrade history record.

exec-123

Type

string

The upgrade type.

  • Upgrade

  • Rollback

Upgrade

FromVersion

string

The version before the upgrade.

1

ToVersion

string

The version after the upgrade.

3

Status

string

The upgrade status. Valid values:

  • upgrading: The upgrade is in progress.

  • UpgradeSuccessful: The upgrade is successful.

  • UpgradeFailed: The upgrade failed.

UpgradeFailed

Results

string

The upgrade results.

{\"PreUpgradeExecutionId\":\"exec-123\"}

StartTime

string

The upgrade start time.

2022-04-26T08:09:51Z

EndTime

string

The upgrade end time.

2022-04-26T09:09:51Z

TotalCount

integer

The total number of entries.

2

Examples

Success response

JSON format

{
  "NextToken": "AAAAAc3HCuYhJi/wvpk4xOr0VLbAx7BkQzyYC+ONO+WudHGKEdB0uWSY7AGnM3qCgm/Ynge7zU6NWdbj0Tegyajyqyc=",
  "RequestId": "86CAC31E-3527-562C-869F-347E931C9B25",
  "MaxResults": 20,
  "UpgradeHistory": [
    {
      "UpgradeHistoryId": "exec-123\n",
      "Type": "Upgrade\n",
      "FromVersion": "1",
      "ToVersion": "3",
      "Status": "UpgradeFailed\n\n",
      "Results": "{\\\"PreUpgradeExecutionId\\\":\\\"exec-123\\\"}\n",
      "StartTime": "2022-04-26T08:09:51Z\n",
      "EndTime": "2022-04-26T09:09:51Z\n"
    }
  ],
  "TotalCount": 2
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.