检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Tags are used to identify and classify OBS buckets. If you add tags to a bucket, SDRs generated for the requests sent to this bucket will include these tags, so you can use the tags to classify SDRs for detailed cost analysis.
For details about OBS monitoring metrics and how to create alarm rules, see Monitoring. Parent topic: Security
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). The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
Rounded Corner Cropping You can edit code on OBS Console or make an API call to round corners of an image. This operation allows you to cut off the corners of an image based on the specified radiuses. You can configure the radius of image corners to round in two ways.
To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment.
If there is no such a default master key, OBS will create one and use it by default.
To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment (SDK for C). After obtaining the AK and SK, you can start initialization.
Do not change the source objects in the OBS bucket when downloading a single object or objects in batches. Otherwise, the download may fail or data may be inconsistent.
The mapping between OBS regions and endpoints must comply with what is listed in Regions and Endpoints.
To use OBS, you need a valid pair of AK and SK for signature authentication. For details, see Setting Up an OBS Environment (SDK for Node.js). After obtaining the AK and SK, you can create an instance of ObsClient to call SDK APIs.
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.
Sample code: // Import the dependency package. import ( obs "github.com/huaweicloud/huaweicloud-sdk-go-obs/obs" ) func main() { // Set the path for saving log files. var logFullPath string = ".
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.
The OBS C SDK allows you to use set_obs_log_path to specify a log path. This method has two parameters. The first parameter specifies a path and the second determines what to do under the path.
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.
OBS offers the 40 GB storage package and 50 GB outbound Internet traffic package with special discounts. An account can have only one of each kind, and cannot purchase again until such packages are used up or expire.
Table 1 Authorized users supported by OBS Principal Description Specific users ACLs can be used to grant accounts access permissions on buckets or objects.
OBS has multiple billing items. Even if you already have a resource package, there may be also other fees generated before the resource package is used up.
If problems occur when using the OBS Java SDK, you can perform the following steps to analyze and locate the problems. Make sure that the latest version of OBS Java SDK of OBS Java SDK is used. Make sure that the logging function of OBS Java SDK is enabled.
Failed to Access OBS After Being Granted with the OBS Access Permission (403 AccessDenied)