ListOperationActivity

更新时间:
复制 MD 格式

Gets detailed information about activities for a specified operation.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /webapi/operation/listOperationActivity HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

c-b25e21e24388****

OperationId

string

No

The operation ID.

op-f49743caa809****

Response elements

Element

Type

Description

Example

object

The response object.

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

32A44F0D-BFF6-5664-999A-218BBDE7****

Success

boolean

Indicates whether the request was successful.

false

ErrCode

string

The error code.

InvalidParams

ErrMessage

string

The error message.

Invalid params: [instance not exists].

Data

array<object>

The returned data.

object

An activity object.

ActivityId

string

The activity ID.

ac-8f3f7c4026e3****

Name

string

The activity name.

UpdateClusterStatusToModifyingConfigStatus

ActivityStatus

string

The activity status. Valid values:

  • COMPLETED: The activity is complete.

  • RUNNING: The activity is running.

COMPLETED

StartTime

integer

The time when the activity started. The value is a UNIX timestamp in milliseconds.

1742178604000

EndTime

integer

The time when the activity ended. The value is a UNIX timestamp in milliseconds.

1742178604000

ErrMessage

string

ConsoleRetryCount

integer

Total

integer

The total number of entries returned.

440

AccessDeniedDetail

string

Details about access denial.

{ "PolicyType": "AccountLevelIdentityBasedPolicy", "AuthPrincipalOwnerId": "xxx", "EncodedDiagnosticMessage": "xxx", "AuthPrincipalType": "xxx", "AuthPrincipalDisplayName": "xxx", "NoPermissionType": "ImplicitDeny", "AuthAction": "sr:xxx" }

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "32A44F0D-BFF6-5664-999A-218BBDE7****",
  "Success": false,
  "ErrCode": "InvalidParams",
  "ErrMessage": "Invalid params: [instance not exists].",
  "Data": [
    {
      "ActivityId": "ac-8f3f7c4026e3****",
      "Name": "UpdateClusterStatusToModifyingConfigStatus",
      "ActivityStatus": "COMPLETED",
      "StartTime": 1742178604000,
      "EndTime": 1742178604000,
      "ErrMessage": "",
      "ConsoleRetryCount": 0
    }
  ],
  "Total": 440,
  "AccessDeniedDetail": "{     \"PolicyType\": \"AccountLevelIdentityBasedPolicy\",     \"AuthPrincipalOwnerId\": \"xxx\",     \"EncodedDiagnosticMessage\": \"xxx\",     \"AuthPrincipalType\": \"xxx\",     \"AuthPrincipalDisplayName\": \"xxx\",     \"NoPermissionType\": \"ImplicitDeny\",     \"AuthAction\": \"sr:xxx\"   }"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.