检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
SDK Error Handling (SDK for C) SDK errors include the errors returned during the check of function parameters and those returned by the OBS server.
Run the obsutil cp obs://bucket-test/key d:\temp\test.txt command to download a single object. obsutil cp obs://bucket-test/key d:\temp\test.txt Start at 2024-09-30 08:39:34.180766 +0000 UTC Parallel: 5 Jobs: 5 Threshold: 50.00MB PartSize
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
Granting All Accounts the Read Permission for Certain Objects Scenario Enterprise A stores a large volume of map data in OBS, and offers the data for public query. This enterprise sets a read permission for all accounts, and provides the data URLs on the Internet.
With the OBS permissions, an IAM policy can be applied to all buckets and objects, or it can be applied only to specified buckets and objects. IAM policies are recommended if you assign permissions to IAM users of the same account.
Deleting Bucket Inventories Functions OBS uses the DELETE method to delete inventories (identified by inventory IDs) of a specified bucket. For more information about permission control, see the permission control in the OBS Permission Configuration Guide.
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
The bucket must be an existing one in OBS and its name must be 1 to 64 characters long.
For example, if an Infrequent Access object is deleted after being stored in OBS for 20 days, it will be billed for the storage of 30 days (the minimum storage duration).
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Creating a Custom Bucket Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
Using OBS Console OBS Console is a web-based GUI where you can manage your OBS resources with ease.
Deleting the Custom Domain Name of a Bucket Functions OBS uses the DELETE method to delete the custom domain name of a bucket. Request Syntax 1 2 3 4 5 6 DELETE /?
Key: 'test.html', Body: '<html><header></header><body><h1>Hello OBS</h1></body></html>', // Set the MIME type for the object. ContentType: 'text/html', // Set the object ACL to public read.
The log configuration file example (log.conf) is included in the OBS Python SDK development package. Modify parameters in log.conf as needed. The log module of the OBS Python SDK is thread secure but not process secure.
Restrictions To list PFSs, you must have the obs:bucket:ListAllMyBuckets permission. IAM is recommended for granting permissions. For details, see IAM Custom Policies. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
Log Analysis Log Configuration OBS BrowserJS SDK provides the logging function. You can call ObsClient.initLog to enable and configure logging.
Rotation Settings You can edit code on OBS Console or make an API call to rotate images clockwise. Table 1 describes the parameters. This operation is represented by rotate.