检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Find OBS under the Project Name column and click View under the Operation column, to check whether the user group has the permission required to create buckets.
In Windows obsutil cp obs://src-bucket obs://dst-bucket -f -r -crr In Linux ./obsutil cp obs://src-bucket obs://dst-bucket -f -r -crr To use the cross-region replication function, you need to specify the -crr parameter.
Because of caching, it takes about 15 to 30 minutes for the OBS role to take effect after being granted to users, enterprise projects, and user groups. After an OBS policy is granted, it takes about 5 minutes for the policy to take effect.
ObsClient::StorageClassStandard OBS Infrequent Access Is applicable to storing semi-frequently accessed (less than 12 times a year) data requiring quick response. ObsClient::StorageClassWarm OBS Archive Is applicable to archiving rarely-accessed (once a year) data.
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.
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 by other domains. This API configures CORS for a 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.
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.
To install an OBS BrowserJS SDK, see Table 1. Table 1 Methods of installing an OBS BrowserJS SDK No.
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.
Endpoint Policies and OBS Bucket Policies Block Public Access
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.
Run the obsutil stat obs://bucket-test command to query the basic properties of bucket bucket-test. obsutil stat obs://bucket-test Start at 2024-09-29 07:58:46.0506904 +0000 UTC Bucket: obs://bucket-test StorageClass: standard ObsVersion: 3.0 AvailableZone: multi-az
Ways to Configure Bucket Tags You can use OBS Console, APIs, or SDKs to configure tags for a bucket. Using OBS Console 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.
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.
import ObsClient from obs import Grantee from obs import Grant from obs import Logging from obs import Permission import os import traceback # Obtain an AK and SK pair using environment variables or import the AK and SK pair in other ways.
Constraints Bucket versions Inventories can be generated only for OBS 3.0 buckets, but they can be stored in either OBS 3.0 or OBS 2.0 buckets. Maximum number of bucket inventories A bucket can have a maximum of 10 inventories.