This section describes how to modify a deletion policy.
The Modify Deletion Policy page is displayed.
Possible values are By file name, By file size, By file operation time, and By user or user group.
Select Including or Excluding in File Name Filtering to determine whether files with specified names are included or excluded in the policy. Then, specify the file names to be filtered for or filtered.
Specify the size of files to be filtered for.
Specify a specific operation time. Possible options are crtime, mtime, ctime, and atime.
If the object protocol is enabled for the selected namespace, the crtime parameter is not supported.
Select the type of the desired user or user group from the User or User Group Type drop-down list and then select Including or Excluding in User Name Filtering to determine whether files of the specified user or user group are included or excluded in the policy.
Specify a specific prefix.
Specify a specific tag. You can click
to add multiple tags.
Table 1 describes related parameters.
Parameter |
Description |
|---|---|
Current Version |
Expiration policy of objects of the current version. Possible options are By days after creation and By specified date.
|
Noncurrent Version |
An object will be deleted after it becomes a non-current version for the specified number of days. |
The deletion policy takes effect for files that meet both the filtering policy and object expiration policy.