检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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.
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.
Troubleshooting (SDK for Node.js) OBS Server-Side Error Codes (SDK for Node.js) SDK Common Results (SDK for Node.js) Log Analysis (SDK for Node.js) Missing Modules (SDK for Node.js) Connection Timeout (SDK for Node.js) Unmatched Signatures (SDK for Node.js)
To handle the error codes possibly returned during the operation, see OBS Server-Side Error Codes. Parent topic: Bucket Management
To handle the error codes possibly returned during the operation, see OBS Server-Side Error Codes. Parent topic: Object Download
versionId=versionid' ]); printf ("RequestId:%s\n", $resp ['RequestId']); To handle the error codes possibly returned during the operation, see OBS Server-Side Error Codes. Parent topic: Versioning Management
Installing the SDK with the Source Code The following procedures use OBS Node.js SDK of the latest version as an example. Download the OBS Node.js SDK by referring to Downloading an SDK (SDK for Node.js).
Range: false: The queryString value in the OBS request is not passed to the source. true: The queryString value in the OBS request is passed to the source.
// require 'obs-autoloader.php'; // Declare the namespace. use Obs\ObsClient; // Create an ObsClient instance. $obsClient = new ObsClient ( [ //Obtain an AK/SK pair using environment variables or import the AK/SK pair in other ways.
The owner or grantee ID required in the ACL indicates an account ID, which can be viewed on the My Credentials page of OBS Console.
Connection to the OBS server is constantly down. Sizes of files to be uploaded are uncertain. A multipart upload consists of the following steps: Initiate a multipart upload (ObsClient.initiateMultipartUpload). Upload parts one by one or concurrently (ObsClient.uploadPart).
The minimum part size supported by an OBS 3.0 bucket is 100 KB, and the minimum part size supported by an OBS 2.0 bucket is 5 MB. You are advised to perform multipart upload to OBS 3.0 buckets.
For details, see Introduction to OBS Access Control, IAM Custom Policies, and Configuring an Object Policy. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
It lets OBS delete objects 90 days after creation. Rule 2 specifies the ab prefix and two tags (key1/value1 and key2/value2). It lets OBS transition objects to the Archive storage class 120 days after creation. Result: The lifecycle actions conflict.
Typical Permissions Scenarios Granting Permissions to an IAM User Under the Current Account Granting Permissions to Multiple IAM Users or User Groups Under the Current Account Granting Permissions to Other Accounts Granting Permissions to All Accounts Granting Temporary Access to OBS
If the requested multipart upload task does not exist, OBS returns 404 Not Found and the error code is NoSuchUpload. OBS determines whether the use's domain ID has the read permission for the specified bucket.
Using OBS Console You can enable Block Public Access when creating a bucket. For details, see Creating a Bucket. You can also enable or edit the function after a bucket is created. The procedure is as follows: In the navigation pane of OBS Console, choose Object Storage.
OBS returns the tags of the current object version by default. You can use the versionId parameter to retrieve tags of any other version. If the version you are retrieving tags from is a delete marker, OBS returns 404 Not Found.
Ways to Upload You can use SDKs, OBS Browser+, or obsutil to upload objects. Using SDKs Java Python C Go BrowserJS .NET Android iOS PHP Node.js Using the GUI Tool - OBS Browser+ Log in to OBS Browser+. Click the bucket where you want to upload files or folders.