检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Parent topic: OBS Basics
If you delete an object with a version ID specified when versioning is enabled or you delete an object when versioning is not enabled, OBS permanently deletes the object, and you cannot recover it. For details, see Versioning Overview. Parent topic: Versioning
OBS PHP SDK provides abundant APIs for object download in the following modes: Performing a Text-Based Download Performing a Streaming Download Performing a File-Based Download Performing a Partial Download Performing a Conditioned Download You can call ObsClient->getObject to download
OBS supports five types of bucket or object ACL configuration items, as listed in the following table: Permission Description Value in OBS BrowserJS SDK READ A grantee with this permission for a bucket can obtain the list of objects in the bucket and the metadata of the bucket.
When temporary AK and SK are used to access OBS, the token must be carried.
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.
Error Responses If the AK or signature was invalid, OBS returns 403 Forbidden and the error code is AccessDenied. If the bucket was not found, OBS returns 404 Not Found and the error code is NoSuchBucket.
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.
Billing Analysis An ECS can access OBS over the Internet or an intranet. Access over an intranet requires that the ECS and OBS buckets be in the same region.
Restrictions: None Value range: STANDARD (Standard storage) WARM (Infrequent Access storage) COLD(Archive storage) DEEP_ARCHIVE (Deep Archive storage) Default value: None x-obs-version String Explanation: OBS version of the bucket.
To implement simple and practical authorization for users, OBS ACL has the following features: An ACL applies to both the account and the users under the account.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
Restrictions To delete an object, you must be the bucket owner or have the required permission (obs:object:DeleteObject in IAM or DeleteObject in a bucket policy). For details, see Introduction to OBS Access Control, IAM Custom Policies, and Configuring an Object Policy.
Restrictions To rename an object, you must be the PFS owner or have the required permission (obs:bucket:PutObject in IAM or PutObject in a policy). For details, see Introduction to OBS Access Control, IAM Custom Policies, and Configuring an Object Policy.
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. An object can have multiple pieces of metadata.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
If the value is valid and the request is successful, OBS returns status code 303. Location contains SuccessActionRedirect as well as the bucket name, object name, and object ETag. If the value is invalid, OBS ignores this parameter.
Default value: None requestId str Explanation: Request ID returned by the OBS server Default value: None indicator str Explanation: Error indicator returned by the OBS server. Default value: None hostId str Explanation: Requested server ID.