You need to enable JavaScript to run this app.
导航
0026-00000035
最近更新时间:2024.08.01 17:45:13首次发布时间:2024.08.01 17:45:13

问题描述

分层桶暂不支持当前用户发起的请求。

问题原因

用户发起的请求,分层桶暂不支持。

问题示例
PUT /?lifecycle HTTP/1.1
Host: bucket-name.tos-cn-beijing.volces.com
Date: GMT Date
Authorization: authorization string
Content-Length: ContentLength
Content-MD5: MD5
{
    "Rules": [{
      "ID": "id",
      "Prefix": "prefix",
      "Status": "Enabled",
      "Expiration": { "Days": 120 },
      "NoncurrentVersionExpiration": { "NoncurrentDays": 120 },
      "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 10 },
      "Transitions": [
        {
          "StorageClass": "IA",
          "Days": 30
        },
        {
          "StorageClass": "COLD_ARCHIVE",
          "Days": 60
        }
      ],
      "NoncurrentVersionTransitions": [
        {
          "StorageClass": "IA",
          "NoncurrentDays": 30
        },
        {
          "StorageClass": "COLD_ARCHIVE",
          "NoncurrentDays": 60
        }
      ]
    }]
}

解决方案

请查看分层桶支持的功能列表,详细介绍,请参见控制台功能列表(分层桶)