检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
Ensure that you are familiar with OBS basic concepts, such as buckets, objects, and access keys (AK and SK). You can see General Ways to Use ObsClient (SDK for Node.js) to learn how to call OBS Node.js SDK APIs in a general manner.
The procedure is as follows: Find file log4j2.xml from the OBS Java SDK package. Modify log levels and save paths in the log4j2.xml file based on actual needs.
To get started with image processing on OBS Console, see Using Image Processing on OBS Console. Using the REST API You can call OBS Representational State Transfer (REST) APIs to access image processing.
Ignoring Errors and Returning Original Images You can edit code on OBS Console or make an API call. The following operation will ignore errors such as invalid request parameters and excessive image processing, and directly return the original images.
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.
/obsutil ls obs://bucket-test/test/ -du -limit=0 command to query the size of the test folder in bucket bucket-test. ./obsutil ls obs://bucket-test/test/ -du -limit=0 Start at 2023-03-16 06:40:18.2773873 +0000 UTC Listing objects .
Log Analysis (SDK for C) Log Path The OBS C SDK log path is specified by the LogPath field in OBS.ini. By default, logs are stored in the logs directory at the same level as the lib directory of the C SDK dynamic library.
style on OBS Console and then apply it to the image.
Using OBS Browser+ Files are uploaded using multipart upload on OBS Browser+. With multipart upload, you can upload a single file with the maximum size of 48.8 TB. OBS Browser allows up to 500 files to be uploaded at a time.
Inscribed Circles You can edit code on OBS Console or make an API call to get an inscribed circle of an image. Choose the image center as the center of a circle, and crop the image according to the specified radius. The image then is cropped into a circle.
Constraints Operations An existing OBS bucket cannot be changed to a parallel file system. For details about how to create a parallel file system, see Creating a Parallel File System. Custom domain names of parallel file systems cannot be configured on OBS Console.
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.
Namespace: obs is used as the namespace to be compatible with earlier OBS 2.0 versions (2.2.x). All data types and API definitions contained in the SDK belong to this namespace. Before using OBS SDK for Go, you need to import obs.
Constraints of PFS Operations An existing OBS bucket cannot be changed to a parallel file system. For details about how to create a parallel file system, see Creating a Parallel File System. Custom domain names of parallel file systems cannot be configured on OBS Console.
You can access this feature via OBS Console and REST APIs, to process images stored in OBS anytime and anywhere and obtain the processed images right away. Architecture You can upload your images to OBS using OBS Console, OBS Browser+, REST APIs, or third-party clients.
A bucket is a global namespace of OBS and is a data container. It functions as a root directory of a file system and can store objects.
After receiving a request made using such a URL, OBS treats the requester as the user who issued the URL and processes the request.