All Products
Search
Document Center

Auto Scaling:DescribeScalingGroupDiagnoseDetails

Last Updated:Jul 22, 2025
This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.

DescribeScalingGroupDiagnoseDetails

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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:
    • For mandatory resource types, indicate with a prefix of * .
    • 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
ess:DescribeScalingGroupDiagnoseDetailsget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region to which the scaling group belongs.

cn-qingdao
ScalingGroupIdstringYes

The ID of the scaling group.

asg-bp18p2yfxow2dloq****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

ID of the request

688B18B8-FB1E-42EB-A1ED-7F55B090****
Detailsarray<object>

The diagnostic reports.

Detailobject

The diagnostic report.

DiagnoseTypestring

The type of the diagnostic item. Valid values:

  • AccountArrearage: Checks whether your Alibaba Cloud account has overdue payments.
  • AccountNotEnoughBalance: Checks whether the balance of your Alibaba Cloud account is sufficient.
  • ElasticStrength: Checks whether the instance types that are specified in the scaling configuration are sufficient.
  • VSwitch: Checks whether the vSwitch is available. If the specified vSwitch is deleted, specify an existing vSwitch for the scaling group.
  • SecurityGroup: Checks whether the security group is available. If the specified security group is deleted, specify an existing security group for the scaling group.
  • KeyPair: Checks whether the key pair is available. If the specified key pair is deleted, specify another key pair for the scaling group.
  • SlbBackendServerQuota: Checks whether the number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
  • AlbBackendServerQuota: Checks whether the number of ECS instances that are attached to the ALB instances of the scaling group has reached the upper limit.
  • NlbBackendServerQuota: Checks whether the number of ECS instances that are attached to the NLB instances of the scaling group has reached the upper limit.
SecurityGroup
ResourceIdstring

The resource ID corresponding to the diagnostic result.

sg-280ih****
Statusstring

Status of the diagnostic item. Possible values:

  • Normal: The diagnostic result is normal.

  • Warn: The diagnostic result is a warning.

  • Critical: The diagnostic result is critical.

Normal
ErrorCodestring

The error code of the diagnostic item. Valid values:

  • VSwitchIdNotFound: The vSwitch does not exist.
  • SecurityGroupNotFound: The security group does not exist.
  • KeyPairNotFound: The key pair does not exist.
  • SlbBackendServerQuotaExceeded: The number of ECS instances that are added to the default server group and the vServer groups of the SLB instances associated with the scaling group has reached the upper limit.
  • AlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the ALB instances of the scaling group has reached the upper limit.
  • NlbBackendServerQuotaExceeded: The number of ECS instances that are attached to the NLB instances of the scaling group has reached the upper limit.
  • AccountArrearage: Your account has an overdue payment.
  • AccountNotEnoughBalance: The balance of your Alibaba Cloud account is insufficient.
  • ElasticStrengthAlert: The inventory levels are lower than required.
AccountArrearage

Examples

Sample success responses

JSONformat

{
  "RequestId": "688B18B8-FB1E-42EB-A1ED-7F55B090****",
  "Details": [
    {
      "DiagnoseType": "SecurityGroup",
      "ResourceId": "sg-280ih****",
      "Status": "Normal",
      "ErrorCode": "AccountArrearage"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history