检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
OBS supports CORS, allowing the resources in OBS to be requested across origins. This API deletes the CORS rules of a bucket. If you have any questions during development, post them on the Issues page of GitHub.
It is used for the OBS server to verify data integrity.
When creating a bucket in OBS, you can enable the multi-AZ mode for the bucket or disable it. With the multi-AZ mode disabled, data in a bucket is stored in a single AZ by default.
Pull traffic Covers network traffic generated for pulling data by CDN from OBS (served as the origin server). Applies only to data transferred from OBS 3.0 buckets in the region that you specified for the purchased package.
Restrictions The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
example OBJECT obs://bucket002 2018-11-01T01:40:01Z example OBJECT obs://bucket003 2018-10-25T11:45:45Z example OBJECT obs://bucket004 2018-10-26T02:33:09Z example
ObsClient.enums.StorageClassStandard OBS Infrequent Access Is applicable to storing semi-frequently accessed (less than 12 times a year) data requiring quick response. ObsClient.enums.StorageClassWarm OBS Archive Is applicable to archiving rarely-accessed (once a year) data.
OBS allows static web resources to be stored in buckets with appropriate configurations. In this scenario, buckets in the OBS serve as servers to process OPTIONS pre-requests from clients. OBS can process OPTIONS pre-requests only after CORS is configured for buckets in OBS.
Browser+ Log in to OBS Browser+.
/obsutil ls obs://bucketName -format=default -limit=0 > /root/result.txt In Windows, you need to perform the redirection operation in the CLI to redirect the output to a local file.
Ensure that you are familiar with OBS basic concepts, such as buckets, objects, and access keys (AK and SK). You can see General Examples of ObsClient to learn how to call OBS Android SDK APIs in a general manner.
OBS supports CORS rules that allow the resources in OBS to be requested by other domains. For more information, see CORS. Parent topic: Cross-Origin Resource Sharing (SDK for Java)
Ways to Replicate Settings from an Existing Bucket You can use OBS Console to replicate existing settings from an existing bucket.
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.
obscompresspolicy HTTP/1.1 Host: bucketname.obs.region.myhuaweicloud.com Authorization: OBS H4IPJX0TQTHTHEBQQCEC:sc2PM13Wlfcoc/YZLK0MwsI2Zpo= Date: Tue, 21 Jul 2020 22:28:46 GMT Sample Response HTTP/1.1 200 OK Server: OBS Date: Tue, 07 Jul 2020 07:28:46 GMT Content-Type: application
If there is no such a default master key, OBS will create one and use it by default.
"obs:*:*:object:examplebucket/dir_1/", ] } ] } Example 2: Grant a user the permissions required to download dir_1 and its subdirectories.
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.
OBS supports two versioning statuses. Versioning Status Description Value in OBS .NET SDK Enabled OBS creates a unique version ID for each uploaded object. Namesake objects are not overwritten and are distinguished by their own version IDs.