Clears data from a disk.
Syntax
Action: ACS::ECS::CleanUpDisk
Properties:
regionId: String
instanceId: String
cleanUpInfos: StringAttributes
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.