检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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.
Processing an Image by Editing Code This case describes how to resize an image by editing code on OBS Console. Procedure On the console homepage, click Service List in the upper left corner and choose Storage > Object Storage Service.
from obs import WebsiteConfiguration from obs import IndexDocument from obs import ErrorDocument from obs import RoutingRule from obs import Condition from obs import Redirect import os import traceback # Obtain an AK and SK pair using environment variables or import the AK and
Viewing Resource Package Details You can view usage details of your resource packages on OBS Console. Procedure In the navigation pane of OBS Console, choose Resource Packages. Select the region and type of your package to view its details.
To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment.
Billing Mode Changes There are pay-per-use and yearly/monthly (resource package) billing modes available for OBS: If pay-per-use billing no longer meets your needs, you can purchase resource packages to use yearly/monthly billing.
Before You Start (SDK for C) This section describes the version compatibility and important notes about the C SDK of Object Storage Service (OBS). Compatibility 3.*.* is compatible with 3.0.0. 3.*.* is incompatible with 2.*.*. 3.*.* is incompatible with 1.*.*.
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.
Obtaining Access Keys (AK/SK) To access OBS using access keys as an IAM user, the programmatic access must be enabled. For details, see Viewing or Modifying IAM User Information. When you call APIs, you need to use the AK and SK for authentication.
OBS buckets are isolated from each other, ensuring that their storage performance remains unaffected by one another. OBS ensures that access from different accounts is isolated, preventing any performance interference or impact between them. Parent topic: OBS Basics
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.
Each time you want to send an HTTP/HTTPS request to OBS, you must create an instance of ObsClient.
When using the following tools to access OBS resources, you need to use the AK/SK pair for security authentication. Table 1 OBS resource management tools Tool AK/SK Configuration OBS Browser+ Configure the AK and SK during login account configuration.
It is provided for the OBS server to verify data integrity. The OBS server will compare this MD5 value with the MD5 value calculated based on the object data. If the two values are not the same, HTTP status code 400 is returned.
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.
To address this problem, you are advised to delete directories in either of the following ways: On the Hadoop client that has OBSA, an OBS client plugin, embedded, run the hadoop fs - rmr obs://{Name of a parallel file system}/{Directory name} command.
Using OBS Console OBS Console is a web-based GUI where you can manage your OBS resources with ease.
Time Zone Configuration Failure If an error (such as Uncaught exception 'Exception' with message 'DateTime::__construct():) is displayed when you use OBS PHP SDK for secondary development, the time zone configuration is incorrect.
To host your static website on OBS, you can upload static website files to your bucket as objects, configure the public read permission for the objects, and then configure static website hosting for your bucket.