Deletes a lifecycle policy.
Operation description
仅通用型 NAS 文件系统和 CPFS 智算版支持该功能。
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DeleteLifecyclePolicy |
delete |
*LifecyclePolicy
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The ID of the file system. |
31a8e4**** |
| LifecyclePolicyName |
string |
No |
The name of the lifecycle policy. The name must be 3 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. Note
Optional for General-purpose NAS file systems. When provided, this parameter takes precedence over LifecyclePolicyId. Otherwise, LifecyclePolicyId is used. |
lifecyclepolicy1 |
| LifecyclePolicyId |
string |
No |
The ID of the lifecycle policy. Required for the CPFS for Lingjun file systems. |
lc-xxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.