检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Table 1 Request Elements Element Type Mandatory (Yes/No) Description PublicAccessBlockConfiguration XML Yes Definition: Root node of the PublicAccessBlockConfiguration parameter.
Request Elements Table 2 Request elements Parameter Mandatory (Yes/No) Type Description Retention Yes Container Definition: Container for object-level WORM policy configuration. Retention is the parent node of Mode and RetainUntilDate.
StorageClass String Definition: Storage class Range: STANDARD (Standard storage) WARM (Infrequent Access storage) COLD (Archive storage) DEEP_ARCHIVE (Deep Archive storage) PartNumberMarker Integer Definition: Start number of the uploaded parts in the listing result.
Constraints: At most one asterisk (*) is allowed. Spaces, ampersands (&), colons (:), less-than signs (<), and full-width characters are not allowed.
Type: string Value options: GET, PUT, HEAD, POST, DELETE Parent: CORSRule AllowedOrigin The origin (domain name) that is allowed by a CORS rule. The value is a string of 0 to 20480 characters. It allows at most one wildcard character (*).
Table 1 Additional request headers Parameter Mandatory (Yes/No) Type Description x-obs-bucket-type No String Definition: This header specifies the type of buckets contained in the list.
Range: STANDARD: Standard storage WARM: Infrequent Access storage COLD: Archive storage DEEP_ARCHIVE: Deep Archive storage (limited OBT) DeleteData String Definition: Whether to synchronously delete objects with the same names in the destination bucket through cross-region replication
Lowercase letters, digits, hyphens (-), and periods (.) are allowed. Cannot be formatted as an IP address. Cannot start or end with a hyphen (-) or period (.). Cannot contain two consecutive periods (..), for example, my..bucket.
The source bucket's owner and agency (OBS) have the write permission for the destination bucket (with a bucket policy configured), and the agency (OBS) also has the read permission for the source bucket.
Table 1 Request parameters Parameter Mandatory (Yes/No) Type Description acl Yes String Definition: Indicates that the request is to obtain the object ACL. Constraints: None Range: None Default value: None versionId No String Definition: Version number of an object.
Example: To redirect all requests for docs (objects in the docs directory) to documents (objects in the documents directory), set KeyPrefixEquals to docs under Condition and ReplaceKeyPrefixWith to documents under Redirect.
Days Integer Definition: Specifies the number of days (since the latest update to the latest object version) after which the lifecycle rule is executed.