检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Lack of Classes If an error indicating the lack of a class is displayed when you are using OBS Android SDK for secondary development, ensure that the following dependencies are saved in the libs directory, in addition to package esdk-obs-java-x.x.x.jar: java-xmlbuilder-1.3.jar okhttp
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)
How to Use You can use OBS Console, SDKs, OBS Browser+, obsutil or APIs to configure storage classes for buckets and objects.
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.
For more information about permission control, see the permission control in the OBS Permission Configuration Guide. Request Syntax 1 2 3 4 5 6 GET /?
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
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.
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.