SetAllExpirationDay
Sets a unified expiration date for renewing 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 current unified expiration date settings only support unexpired ECS instances. Expired instances cannot be aligned to the unified expiration date. After the settings are complete, you can align the renewal time with the configured unified expiration time. Valid values: 1 to 28, representing the 1st to the 28th day of each month. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
200 |
| Message |
string |
The response message. |
Response message |
| RequestId |
string |
The request ID. |
Request ID |
| Success |
boolean |
Indicates whether the request was successful. |
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.