检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The OBS server automatically clears expired objects. The object expiration time set in the preceding method takes precedence over the bucket lifecycle rule. Parent topic: Object Upload
uploadID:@"uploadID"]; [client copyPart:copyRequest completionHandler:^(OBSCopyPartResponse *response, NSError *error) { NSLog(@"%@",response); }]; For details about the meanings, causes, and handling methods of possible error codes returned during the operation, see OBS
meta:%@\n storageClass:%@\n websiteRedirectlocation:%@\n size:%@",response.metaDataDict,response.storageClass,response.websiteRedirectLocation,response.size); }]; For details about the meanings, causes, and handling methods of possible error codes returned during the operation, see OBS
request.srcObjectVersionID = @"testVersionID"; [client copyObject:request completionHandler:^(OBSCopyObjectResponse *response, NSError *error){ NSLog(@"%@",response); }] ; For details about the meanings, causes, and handling methods of possible error codes returned during the operation, see OBS
You can set the following conditions: Parameter Description Method in OBS Android SDK If-Modified-Since Returns the object if it has been modified since the specified time; otherwise, an error is returned.
String.valueOf(rule.getNoncurrentVersionExpiration().getDays()) : ""); } To handle the error codes possibly returned during the operation, see OBS Server-Side Error Codes. Parent topic: Lifecycle Management
Alternatively, you can call GetObjectResponse.WriteResponseStreamToFile provided by OBS .NET SDK to download the object content to a local file.
OBS can be used to process images in a stable, secure, efficient, easy to use, and cost-efficient manner.
You can perform the following to implement website file hosting: Upload the website files to your bucket in OBS as objects and set the MIME type for the objects. Set the object ACL to public read. Access the objects using a browser.
// require 'obs-autoloader.php'; // Declare the namespace. use Obs\ObsClient; // Create an instance of ObsClient. $obsClient = new ObsClient ( [ //Obtain an AK/SK pair using environment variables or import the AK/SK pair in other ways.
// require 'obs-autoloader.php'; // Declare the namespace. use Obs\ObsClient; // Create an instance of ObsClient. $obsClient = new ObsClient ( [ //Obtain an AK/SK pair using environment variables or import the AK/SK pair in other ways.
Assume that you want to grant IAM users the permissions needed to create ECSs in CN North-Beijing4 and OBS buckets in CN South-Guangzhou. With role/policy-based authorization, the administrator needs to create two custom policies and assign both to the IAM users.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
result.InterfaceResult.LoggingEnabled.TargetGrants[i]['Grantee']['URI']); console.log('Permission-->' + result.InterfaceResult.LoggingEnabled.TargetGrants[i]['Permission']); } } } }); To handle the error codes possibly returned during the operation, see OBS
The value can be original_version (parameters of the original job) or latest_version (parameters of the latest job). ignore_obs_monitor No boolean Whether to ignore OBS listening node_name No String Name of the node from which the job rerun starts when retry_location is set to specified_node
The sample code for uploading an object is as follows: // Import the OBS library. // Use npm to install the client. var ObsClient = require('esdk-obs-nodejs'); var crypto = require('crypto'); var fs = require('fs'); // Use the source code to install the client. // var ObsClient =
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
OBS is deployed across AZs in HA mode. If a single AZ is faulty, services are not affected. The RDS database data is automatically backed up in a scheduled manner to ensure data reliability.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.