检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
request to delete an object.
Users of department A fail to download or delete any object from the bucket of department A. If the preceding requirements are met, the permission configuration is successful. Parent Topic: Best Practices for Enterprise Data Access Control
By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission. Constraints A bucket can have up to 20 tags.
Configuring Lifecycle Rules for a Bucket (SDK for Python) ObsClient.setBucketLifecycle Configures lifecycle rules for a bucket to periodically transition objects between storage classes or delete objects.
This policy allows users to list, download, upload, and delete objects in the my-project directory of bucket obs-example. { "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "obs:object:GetObject",
Default value: None x-obs-grant-write String No Definition: Grants the WRITE permission to all users in a specified domain to create, delete, and overwrite all objects in a bucket; and initiate multipart uploads, upload parts, copy parts, assemble parts, and cancel multipart uploads
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.
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.
ObsClient.enums.PermissionWrite WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not applicable to objects.
ObsClient.enums.PermissionWrite WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not applicable to objects.
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.
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.
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.
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.
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.
Constraints: None Range: GET PUT HEAD POST DELETE Default value: None Access-Control-Expose-Headers String Definition: ExposeHeader in the CORS rules of the bucket.
In this case, to upload new objects, you must delete some existing objects to make the used space below the quota limit. Restrictions A bucket storage quota must be a non-negative integer expressed in bytes. The maximum value is 263 – 1.
In this case, to upload new objects, you must delete some of the existing objects to make the used space below the quota limit. If you have any questions during development, post them on the Issues page of GitHub.
Allows specified accounts to perform all actions excluding the following ones on a bucket and the objects in it: DeleteBucket (to delete the bucket) PutBucketPolicy (to configure a bucket policy) PutBucketAcl (to configure the bucket ACL) The specified actions are excluded.
- Configuring Lifecycle Rules (SDK for Java) obsClient.putObject(PutObjectRequest request) Configures a lifecycle rule for objects to periodically delete objects in the bucket or transition object storage classes (the object expiration time set using this API takes precedence over