检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
sign obs://bucket-test/test.txt Download url of [obs://bucket-test/test.txt] is: http://your-endpoint/bucket-test/test.txt?
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.
To modify an object, you must have the obs:object:PutObject permission. For details, see Typical Permission Control Scenarios. The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
To create a folder in OBS is essentially to create an object whose size is 0 and whose name ends with a slash (/).
Ways to Undelete Objects You can use OBS Console to undelete objects. 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. Click Deleted Objects.
Code string Explanation: Error code returned by the OBS server. Message string Explanation: Error description returned by the OBS server. HostId string Explanation: Request server ID returned by the OBS server. RequestId string Explanation: Request ID returned by the OBS server.
Code string Explanation: Error code returned by the OBS server. Message string Explanation: Error description returned by the OBS server. HostId string Explanation: Request server ID returned by the OBS server. RequestId string Explanation: Request ID returned by the OBS server.
Command Line Structure In Windows Deleting a single multipart upload task obsutil abort obs://bucket/key -u=xxx [-f] [-fr] [-o=xxx] [-config=xxx] [-e=xxx] [-i=xxx] [-k=xxx] [-t=xxx] Deleting multipart upload tasks in batches obsutil abort obs://bucket[/key] -r [-f] [-o=xxx] [-j=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.
OBS supports CORS rules that allow the resources in OBS to be requested from other origins. This API configures CORS for a bucket.
To use OBS Node.js SDK to send a request to OBS, you need to initialize an instance of ObsClient and modify parameters related to initial configurations of the instance based on actual needs.
OBS supports two versioning statuses. Versioning Status Description Value on the OBS Server Enabled OBS creates a unique version ID for each uploaded object. Namesake objects are not overwritten and are distinguished by their own version IDs.
When a package expires, you can still use OBS resources, and data security in OBS is ensured. Make sure that your account balance is sufficient and the system will automatically settle the charges on a pay-per-use basis.
To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment.
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.
Code string Explanation: Error code returned by the OBS server. Message string Explanation: Error description returned by the OBS server. HostId string Explanation: Request server ID returned by the OBS server. RequestId string Explanation: Request ID returned by the OBS server.
You can change the storage class of a bucket using OBS Console, APIs, OBS SDKs, or obsutil. Using OBS Console Log in to OBS Console. In the navigation pane, choose Object Storage.
Code string Explanation: Error code returned by the OBS server. Message string Explanation: Error description returned by the OBS server. HostId string Explanation: Request server ID returned by the OBS server. RequestId string Explanation: Request ID returned by the OBS server.
This example uploads string Hello OBS to bucket bucketname as object objectname. The example code is as follows: obsClient.putObject("bucketname", "objectname", new ByteArrayInputStream("Hello OBS".getBytes())); For more information, see Object Upload Overview.