Call ModifyScalingGroupV2 to modify the basic information of the scaling group.

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 Required ModifyScalingGroupV2

The operation that you want to perform. For API requests using the HTTP or HTTPS URL, this parameter is required. Value: ModifyScalingGroupV2.

Description String Required This is an example scaling Group

The description of the scaling group. You can call ListScalingGroupV2 to view the scaling group description.

Name String Required test

The name of the scaling group. You can call ListScalingGroupV2 to view the scaling group name.

RegionId String Required cn-hangzhou

The region ID of the security group to be queried. You can call the DescribeRegions operation to query the most recent region list.

ScalingGroupBizId String Required SGB-12324AC3****

The ID of the scaling group. You can call ListScalingGroupV2 to view the scaling group ID.

ResourceGroupId String No rg-acfmv6jutt6****

The ID of the resource group. You can call the ListResourceGroups to view the resource group ID.

Response parameters

Parameter Type Example Description
Data Boolean true

Return the result. Valid values:

  • true: The operation was successful.
  • false: The operation failed.
RequestId String 7B804810-3C11-4927-B116-1D1A98A60BDD

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyScalingGroupV2
&Description=This is a sample scaling Group
&Name=test
&RegionId=cn-hangzhou
&ScalingGroupBizId=SGB-12324AC3****
&<Common request parameters>

Sample success responses

XML format

<RequestId>7B804810-3C11-4927-B116-1D1A98A60BDD</RequestId>
<Data>true</Data>

JSON format

{
    "RequestId":"7B804810-3C11-4927-B116-1D1A98A60BDD",
    "Data":"true"
}

Error code

HttpCode Error code Error message Description
403 Params.Illegal The specified parameters are wrongly formed.. The error message returned because the format of the specified parameters is invalid.
500 InternalError The request processing has failed due to some unknown error. The error message returned because the request processing has failed due to an internal error. Submit a ticket.

For a list of error codes, visit the API Error Center.