检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Delete an object. Delete an object of a specified version. Obtain bucket ACL information. Configure a bucket ACL. Obtain object content. Obtain object metadata. Not supported Which Permissions Should I Select?
CorsRules: [ { // Specify the allowed request methods, which can be GET, PUT, DELETE, POST, or HEAD. AllowedMethod: ['GET', 'HEAD', 'PUT'], // Specify the allowed request origins.
Solution to the ACL configuration error: Use the API or SDK to delete the content that allows public access in the ACL and then edit the ACL. Parent Topic: Data Security
This policy allows users to change the storage class of bucket obs-example and to delete object my-object.txt from the bucket. { "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "obs:bucket:ListAllMyBuckets",
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
The account with the WRITE permission can create, delete, and overwrite objects in the bucket you are creating; initiate or abort multipart uploads; and upload, copy, and assemble parts.
LoggingEnabled : {} }; // Delete the access logging configuration of the bucket.
A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not available for objects. PERMISSION_READ_ACP READ_ACP Permission to read an ACL.
marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
Default value: None deleteMarker bool Explanation: Whether the deleted object is a delete marker Value range: True: The deleted object is a delete marker. False: The deleted object is not a delete marker. Default value: False storageClass str Explanation: Object storage class.
Default value: None deleteMarker bool Explanation: Whether the deleted object is a delete marker Value range: True: The deleted object is a delete marker. False: The deleted object is not a delete marker. Default value: False storageClass str Explanation: Object storage class.
Default value: None deleteMarker bool Explanation: Whether the deleted object is a delete marker Value range: True: The deleted object is a delete marker. False: The deleted object is not a delete marker. Default value: False storageClass str Explanation: Object storage class.
True: The deleted object is a delete marker.
DELETE: Requests that a server delete a specific resource such as an object. HEAD: Requests that a server return the description of a specific resource, for example, obtaining object metadata.
The WORM configuration does not apply to a delete marker with a unique version ID. Multipart Upload Before a multipart upload is complete, the default bucket-level WORM policy is not automatically applied to the object parts uploaded.
If the version you are adding tags to is a delete marker, OBS returns 404 Not Found. Tags cannot be set for files in parallel file systems. An object can have up to 10 tags. Constraints on the tag key and value: A tag key is case sensitive and must be unique.
OBSACLRead WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object in the bucket. This permission is not applicable to objects. OBSACLWrite READ_ACP A grantee with this permission can obtain the ACL of a bucket or object.
AclPublicReadWrite public-read-write Public read/write If this permission is granted on a bucket, anyone can read the object list, multipart tasks, metadata, and object versions in the bucket, and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble
Method ObsClient.createSignedUrl(method, bucketName, objectKey, specialParam, expires, headers, queryParams) Request Parameters Table 1 List of request parameters Parameter Type Mandatory (Yes/No) Description method str Yes Explanation: HTTP methods Value range: GET POST PUT DELETE