You need to enable JavaScript to run this app.
导航
0025-00000016
最近更新时间:2024.05.11 18:38:22首次发布时间:2024.01.05 16:32:28

问题描述

创建的桶清单规则数量超过最大值。

问题原因

创建的桶清单规则数量超过最大值。

问题示例

超过桶的桶清单规则数量上限后,您再次发起 PutBucketInventory 请求。

PUT /?inventory&id=report1 HTTP/1.1
 Host: BucketName.tos-cn-beijing.volces.com
 Date: Mon, 31 Oct 2016 12:00:00 GMT
 Authorization: authorization string
 Content-Length: length
{
  "InventoryConfiguration": {
    "Id": "id",
    "IsEnabled": "true",
    "Filter": {
      "Prefix": "prefix"
    },
    "Destination": {
      "TOSBucketDestination": {
        "Format": "CSV",
        "AccountId": "2000000000000000", 
        "Role": "TosArchiveTOSInventory",
        "Bucket": "destination-bucket",
        "Prefix": "prefix1"
      }
    },
    "Schedule": { "Frequency": "Daily" },
    "IncludedObjectVersions": "All",
    "OptionalFields": {
      "Field": [
        "Size",
        "LastModifiedDate",
        "ETag",
        "StorageClass",
        "IsMultipartUploaded",
        "EncryptionStatus",
        "CRC64",
        "ReplicationStatus"
      ]
    }
  }
}

解决方案

桶清单数量超过上限后,不能再创建桶清单规则,具体的数量限制信息,请参见 PutBucketInventory