检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Object Download Overview (SDK for Python) OBS Python SDK provides abundant APIs for downloading objects using various methods: Binary Download Streaming Download File-Based Download Partial Download Resumable Download Parent topic: Object-Related APIs (SDK for Python)
You can list multipart tasks in the bucket or go to OBS Console to check if there are fragments. A request to OBS fails with a 4xx error, and the server returns a response body that generates traffic.
WORM OBS automatically enables versioning when you enable WORM for a bucket.
Ways to Configure Versioning You can use OBS Console, APIs, or SDKs to configure versioning. Using OBS Console In the navigation pane of OBS Console, choose Object Storage. In the bucket list, click the bucket you want to operate. The Objects page is displayed.
However, OBS is an object-based storage service and there is no concept of files and folders. For easy data management, OBS provides a method to simulate folders.
However, OBS is an object-based storage service and there is no concept of files and folders. For easy data management, OBS provides a method to simulate folders.
OBS delivers up to 99.9999999999% (12 nines) of data durability, and up to 99.995% of data availability, far higher than a conventional architecture would offer. Figure 1 Five-level reliability architecture of OBS Parent topic: Security
How to Use You can use OBS Console, SDKs, OBS Browser+, obsutil or APIs to configure storage classes for buckets and objects.
After the permission is granted, you can verify the permissions using OBS Console, OBS Browser+, APIs, and SDKs. This section takes OBS Console as an example to present how to verify the read-only permission of common users on department public data.
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.
OBS generates and keeps keys, and uses the keys to encrypt objects. A user generates and keeps keys, and OBS uses the keys to encrypt objects.
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.
Figure 1 An Authorization header The header format is: Authorization: OBS AccessKeyID:Signature An OBS string, an access key ID (AK), and a signature comprise an Authorization header.
Retrieval cost Low High Retrieval time Minutes Milliseconds Ways to Configure Direct Reading You can use OBS Console or APIs to configure direct reading. Using OBS Console In the navigation pane, choose Overview. In the Basic Configurations area, click Direct Reading.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
When versioning is enabled for a bucket, OBS keeps multiple versions of an object in the bucket, allowing you to easily retrieve and restore historical versions or recover data in the event of accidental changes or application failures.
Log Analysis Log Path The log path of the OBS Android SDK is specified using LogConfigurator.setLogFileDir. Logs are saved in the logs directory of the SD card by default. The log file name is OBS-SDK.log.
Setting Image Effects Setting the Brightness You can use the GUI or code mode on OBS Console or make an API call to adjust the brightness of an image. Table 1 describes the parameters. This operation is represented by bright.