检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
It is not stored in OBS, does not occupy storage space, and does not incur storage charges.
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 access OBS using a temporary URL generated by the OBS Node.js SDK, perform the following steps: Call ObsClient.createSignedUrlSync to generate a signed URL. Use any HTTP library to make an HTTP/HTTPS request to OBS.
Option Description Value in OBS Android SDK Expedited restore Data can be restored within 1 to 5 minutes. RestoreTierEnum.EXPEDITED Standard restore Data can be restored within 3 to 5 hours. This is the default option.
All bucket- and object-related APIs provided by OBS PHP SDK can be called by asynchronous methods whose names end with Async (such as ObsClient->putObjectAsync if the synchronous method is named ObsClient->putObject). The returned result will be output to a callback function.
OBS x-obs-request-id: BF260000016436B55D8DED9AE26C4D18 x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSs2Q5vz5AfpAJ/CMNgCfo2hmDowp7M9 Content-Type: application/xml Date: WED, 01 Jul 2015 03:27:45 GMT Content-Length: 150 <?
OBS x-obs-request-id: BF260000016436BE45820FDF3A65B42C x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSCju1CZy3ZfRVW5hiNd024lRFdUoqWy Content-Type: application/xml Date: WED, 01 Jul 2015 03:20:28 GMT Content-Length: 142 <?
OBS x-obs-request-id: BF260000016436BBA4930622B4FC9F17 x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSQIrNJ5/Ag6EPN8DAwWlPWgBc/xfBnx Content-Type: application/xml Date: WED, 01 Jul 2015 03:15:20 GMT Content-Length: 180 <?
If a client uses OBS Console, OBS Browser+, or SDKs to access OBS, the used TLS version cannot be earlier than 1.2, or the requests will be denied.
Transitions:[{StorageClass: obsClient.enums.StorageClassWarm, Days:30}], // Specify that objects whose names contain the specified prefix will be transitioned to OBS Archive after being noncurrent for 30 days.
NOTE: Exclude not selected: The bucket policy applies to the specified OBS resources. Exclude selected: The bucket policy applies to OBS resources except the specified ones.
20 21 22 23 24 HTTP/1.1 200 OK Server: OBS x-obs-request-id: BF260000016436B8EEE7FBA2AA3335E3 x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCShuQJoWFpS77C8bOv1mqURv0UY+0ejx Content-Type: application/xml Date: WED, 01 Jul 2015 02:42:46 GMT Content-Length: 429 <?
If the version you are adding tags to is a delete marker, OBS returns 404 Not Found. Tags cannot be set for files in parallel file systems. An object can have up to 10 tags. Constraints on the tag key and value: A tag key is case sensitive and must be unique.
Versioning OBS automatically enables versioning when you enable WORM for a bucket. In such case, the object you uploaded to the bucket will be assigned a version ID.
OBS does not involve folders like in a file system. All elements in buckets are objects. To create a folder in OBS is essentially to create an object whose size is 0 and whose name ends with a slash (/).
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.
/doc/2015-06-30/"> </ObjectLockConfiguration> Sample Response 2 HTTP/1.1 200 OK Server: OBS x-obs-request-id: BF260000016435CE298386946AE4C482 x-obs-id-2: 32AAAQAAEAABSAAgAAEAABAAAQAAEAABCT9W2tcvLmMJ+plfdopaD62S0npbaRUz Date: WED, 01 Jul 2015 02:25:06 GMT Content-Length: 0 Parent
This example uploads string Hello OBS to bucket bucketname as object objectname.