ListInstanceStatistics

Updated at:

Retrieves instance statistics information.

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

GET /api/v2/instancestatistics HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceIds

string

Yes

The list of workspace IDs. Separate multiple IDs with commas (,). For more information about how to obtain a workspace ID, see ListWorkspaces.

27218,34956

Response elements

Element

Type

Description

Example

object

The instance statistics information.

RequestId

string

The request ID.

E7D55162-4489-1619-AAF5-3F97D5FCA948

Success

boolean

Indicates whether the request is successful. Valid values:

  • true

  • false

true

Message

string

The response message.

"XXX"

Code

string

The status code. Valid values:

  • InternalError: An internal error occurred. All errors other than parameter validation errors are classified as internal errors.

  • ValidationError: A parameter validation error occurred.

InternalError

HttpStatusCode

integer

The HTTP status code. Valid values:

  • 400

  • 404

400

Statistics

object

The statistics information.

{"key":{"key":5}}

object

A specific statistics information item. Example: RunningCount: 3.

{"key":5}

integer

The statistical value.

5

Examples

Success response

JSON format

{
  "RequestId": "E7D55162-4489-1619-AAF5-3F97D5FCA948",
  "Success": true,
  "Message": "\"XXX\"",
  "Code": "InternalError",
  "HttpStatusCode": 400,
  "Statistics": {
    "key": {
      "key": 5
    }
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.