检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Can I Batch Delete Objects or Empty a Bucket in OBS? How Do I Query the Size of a Folder in a Bucket? Parent Topic: Bucket Management
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.
If you need an inventory rule that covers only a subset of objects in the bucket, first delete the inventory rule configured for the entire 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.
Such objects are no different from other objects (you can perform normal operations on them such as download and delete), except that they are displayed as folders in OBS console.
Public Read and Write: Anyone can read, write, or delete objects in the bucket. Multi-AZ Mode If multi-AZ storage is enabled, data in your bucket is stored in multiple AZs within a region. After a bucket is created, its data redundancy policy cannot be changed.
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.
The account with the WRITE permission can create, delete, and overwrite objects in the PFS you are creating, and can initiate or abort multipart uploads, as well as upload, copy, and assemble parts.
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, and can initiate or abort multipart uploads, as well as upload, copy, and assemble parts.
delete_bucket_tagging(&options, &response_handler, &ret_status); if (OBS_STATUS_OK == ret_status) { printf("delete bucket tagging successfully.\n"); } else { printf("delete bucket tagging failed(%s).
delete_object(&options, &object_info, &response_handler, &ret_status); if (OBS_STATUS_OK == ret_status) { printf("delete object successfully. \n"); } else { printf("delete object failed(%s).
delete_bucket_website_configuration(&options, &response_handler, &ret_status); if (OBS_STATUS_OK == ret_status) { printf("delete bucket website successfully.\n"); } else { printf("delete bucket website failed(%s).
CorsRules: [ { // Specify the allowed request methods, which can be GET, PUT, DELETE, POST, or HEAD. AllowedMethod: ['GET', 'HEAD', 'PUT'], // Specify the allowed request origins.
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?
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
LoggingEnabled : {} }; // Delete the access logging configuration of the bucket.
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.
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",