All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::CleanUpDisk

Last Updated:Jun 18, 2026

Cleans up files on an ECS instance disk based on specified rules.

Syntax

Action: ACS::ECS::CleanUpDisk
Properties:
 regionId: String
 instanceId: String
 cleanUpInfos: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ID of the Elastic Compute Service (ECS) instance.

String

Yes

cleanUpInfos

The rules for clearing data from the disk. Format: 3d|/root/log/|*.log,3h|/root/log/|*.access,30m|C:\Users\Administrator\log\|*.log.

String

Yes

Regular expression for string verification.

Output

Output item

Description

Type

commandOutput

String

References

For more information, see ACS::ECS::CleanUpDisk at GitHub.