检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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: BF260000016436B55D8DED9AE26C4D18 x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCSs2Q5vz5AfpAJ/CMNgCfo2hmDowp7M9 Content-Type: application/xml Date: WED, 01 Jul 2015 03:27:45 GMT Content-Length: 150 <?
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.
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.
This example uploads string Hello OBS to bucket bucketname as object objectname.
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.
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.
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.
22 23 24 25 26 27 28 29 30 31 32 33 34 35 HTTP/1.1 200 OK Server: OBS x-obs-request-id: 8DF400000163D3E650F3065C2295674C x-obs-id-2: 32AAAQAAEAABAAAQAAEAABAAAQAAEAABCS+wsHqRuA2Tx+mXUpNtBbWLPMle9CIx Content-Type: application/xml Date: WED, 01 Jul 2015 04:45:55 GMT Content-Length:
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.
OBS .NET SDK provides the logging function, based on the Apache Log4net open library. You can add log configuration files to enable the logging function. The procedure is as follows: Add a reference to log4net.dll in the project.
If there is not a default master key, OBS will create one and use it. x-obs-server-side-encryption-customer-algorithm String Explanation: Indicates a decryption algorithm. This header is included in a response if SSE-C is used.
Default value: None Request Headers OBS supports the six HTTP request headers: Cache-Control, Expires, Content-Encoding, Content-Disposition, Content-Type, and Content-Language. It saves these header values in the metadata of the object.
Otherwise, OBS transparently passes the 3XX response and does not obtain resources. The default value is false. Value false indicates that the parameter is ignored.