All Products
Search
Document Center

Auto Scaling:DescribeScalingActivityDetail

最終更新日:Jul 09, 2024

Queries the details of a scaling activity. You can query a scaling activity by its ID. The scaling activity details include the scaling activity status, error code, and error message. You can efficiently troubleshoot issues and analyze service performance based on the error message.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action

String

Yes

DescribeScalingActivityDetail

The operation that you want to perform. Set the value to DescribeScalingActivityDetail.

ScalingActivityId

String

Yes

asa-bp1c9djwrgxjyk31****

The ID of the scaling activity that you want to query. You can call the DescribeScalingActivities operation to query the ID of a scaling activity.

Response parameters

Parameter

Type

Example

Description

RequestId

String

B13527BF-1FBD-4334-A512-20F5E9D3FB4D

The request ID.

ScalingActivityId

String

asa-bp1c9djwrgxjyk31****

The ID of the scaling activity.

Detail

String

new ECS instances \"i-bp16t2cgmiiymeqv****\" are created.

The details of the scaling activity. The result of a scaling activity is either successful or failed. If the scaling activity is rejected, no scaling activity details are returned.

Examples

Sample requests

http(s)://ess.aliyuncs.com/?Action=DescribeScalingActivityDetail
&ScalingActivityId=asa-bp1c9djwrgxjyk31****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeScalingActivityDetailResponse>
    <RequestId>B13527BF-1FBD-4334-A512-20F5E9D3FB4D</RequestId>
    <ScalingActivityId>asa-bp1c9djwrgxjyk31****</ScalingActivityId>
    <Detail>new ECS instances \"i-bp16t2cgmiiymeqv****\" are created.</Detail>
</DescribeScalingActivityDetailResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "B13527BF-1FBD-4334-A512-20F5E9D3FB4D",
  "ScalingActivityId" : "asa-bp1c9djwrgxjyk31****",
  "Detail" : "new ECS instances \\\"i-bp16t2cgmiiymeqv****\\\" are created."
}

Error codes

For a list of error codes, see Service error codes.

HTTP status code

Error code

Error message

Description

400

InvalidParameter

The input parameter \"ScalingActivityId\" that is mandatory for processing this request is not supplied

No value is specified for ScalingActivityId.