All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::ModifyInstanceAutoRenewAttribute

Last Updated:Jun 18, 2026

Description

Modifies the auto-renewal settings of an ECS instance.

Syntax

Action: ACS::ECS::ModifyInstanceAutoRenewAttribute
Properties:
 regionId: String
 instanceId: String
 periodUnit: String
 duration: Number
 autoRenew: Boolean
 renewalStatus: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ID of the ECS instance.

String

Yes

periodUnit

The unit of the subscription duration after renewal.

String

No

Month

duration

The subscription duration after renewal. Valid values vary by periodUnit: Year: 1, 2, and 3. Month: 1, 2, 3, 6, and 12. Week: 1, 2, 3, and 4.

Number

Yes

autoRenew

Specifies whether to enable auto-renewal.

Boolean

No

False

renewalStatus

The auto-renewal status of the instance. Valid values: AutoRenewal: Auto-renewal is enabled. Normal: Auto-renewal is disabled. NotRenewal: The instance will not be renewed. The system sends only a renewal notification three days before the instance expires, instead of an expiration notification. To resume renewal, change this value to Normal and renew manually, or change it to AutoRenewal.

String

No

AutoRenewal

Output

None

References

For more information, see ACS::ECS::ModifyInstanceAutoRenewAttribute on GitHub.