SetAllExpirationDay
Sets a unified expiration date for renewing Elastic Compute Service (ECS) instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:ModifyPrepaidInstanceAutoRenew |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UnifyExpireDay |
string |
Yes |
The unified expiration date. This setting applies only to ECS instances that have not expired. The specified expiration date does not take effect on expired ECS instances. After the expiration date is set, it is used when you renew ECS instances. Valid values: 1 to 28, representing the day of each month. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
The message that is returned |
| RequestId |
string |
The ID of the request. |
The ID of the request |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "The message that is returned",
"RequestId": "The ID of the request",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.