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

问题描述

桶清单规则中清单报告导出周期(Schedule)配置不合法。

问题原因

清单报告导出周期没有配置为DailyWeekly,而是配置了其他参数值。

问题示例

您在设置桶清单规则时,清单报告导出周期(Schedule)没有配置为DailyWeekly,配置了其他参数值。

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": "TwoDays" },
    "IncludedObjectVersions": "All",
    "OptionalFields": {
      "Field": [
        "Size",
        "LastModifiedDate",
        "ETag",
        "StorageClass",
        "IsMultipartUploaded",
        "EncryptionStatus",
        "CRC64",
        "ReplicationStatus"
      ]
    }
  }

解决方案

请正确设置清单报告导出周期,目前仅支持DailyWeekly ,具体内容,请参见 PutBucketInventory