检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
bucketname"]; [client deleteBucketTagging:request completionHandler:^(OBSDeleteBucketTaggingResponse *response, NSError *error){ NSLog(@"%@",response); }]; For details about the meanings, causes, and handling methods of possible error codes returned during the operation, see OBS
Parameter Description Method in OBS Android SDK contentType Rewrites Content-Type in HTTP/HTTPS responses. ObjectRepleaceMetadata.setContentType contentLanguage Rewrites Content-Language in HTTP/HTTPS responses.
\t" + rule.getAllowedHeader()); Log.i("GetBucketCors","\t" + rule.getAllowedOrigin()); Log.i("GetBucketCors","\t" + rule.getAllowedMethod()); Log.i("GetBucketCors","\t" + rule.getExposeHeader()); } To handle the error codes possibly returned during the operation, see OBS
Console.WriteLine("Status: {0}", response.Configuration.Status); } catch (ObsException ex) { Console.WriteLine("ErrorCode: {0}", ex.ErrorCode); Console.WriteLine("ErrorMessage: {0}", ex.ErrorMessage); } To handle the error codes possibly returned during the operation, see OBS
Console.WriteLine("copy object response: {0}", response.StatusCode); } catch (ObsException ex) { Console.WriteLine("ErrorCode: {0}", ex.ErrorCode); Console.WriteLine("ErrorMessage: {0}", ex.ErrorMessage); } To handle the error codes possibly returned during the operation, see OBS
Console.WriteLine("Get bucket logging response: {0}", response.StatusCode); } catch (ObsException ex) { Console.WriteLine("ErrorCode: {0}", ex.ErrorCode); Console.WriteLine("ErrorMessage: {0}", ex.ErrorMessage); } To handle the error codes possibly returned during the operation, see OBS
Console.WriteLine("Get bucket website response: {0}", response.StatusCode); } catch (ObsException ex) { Console.WriteLine("ErrorCode: {0}", ex.ErrorCode); Console.WriteLine("ErrorMessage: {0}", ex.ErrorMessage); } To handle the error codes possibly returned during the operation, see OBS
You can perform the following to implement website file hosting: Upload a website file to your bucket in OBS as an object and set the MIME type for the object. Set the object ACL to public read. Access the object using a browser.
Console.WriteLine("StorageClass: {0}", response.StorageClass); Console.WriteLine("Location: {0}", response.Location); } catch (ObsException ex) { Console.WriteLine("StatusCode: {0}", ex.StatusCode); } To handle the error codes possibly returned during the operation, see OBS
response.ObjectNumber); Console.WriteLine("Size: {0}", response.Size); } catch (ObsException ex) { Console.WriteLine("ErrorCode: {0}", ex.ErrorCode); Console.WriteLine("ErrorMessage: {0}", ex.ErrorMessage); } To handle the error codes possibly returned during the operation, see OBS
ObsClient client = new ObsClient(accessKey, secretKey, config); // Upload a stream. try { String str = "Hello OBS"; Stream stream = new MemoryStream(System.Text.Encoding.Default.GetBytes(str)); PutObjectRequest request = new PutObjectRequest() { BucketName
For long-term storage, you can transfer logs to Object Storage Service (OBS). Log transfer is to replicate logs to the target cloud service. It means that, after log transfer, the original logs will still be retained in LTS until the configured retention period ends.
// 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.
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.
Overview End-to-End O&M Process During algorithm development, store service data in Object Storage Service (OBS), and then label and manage the data using ModelArts data management.
instanceFailOverMode Changing a failover priority instance instanceFailOverStrategy Changing a DB instance type from single to primary/standby instance modifySingleToHaInstance Creating a backup backup createManualSnapshot Replicating a backup backup copySnapshot Downloading a backup (using OBS
instanceFailOverMode Changing a failover priority instance instanceFailOverStrategy Changing a DB instance type from single to primary/standby instance modifySingleToHaInstance Creating a backup backup createManualSnapshot Replicating a backup backup copySnapshot Downloading a backup (using OBS
The default value is false. resources No Array of longs Resource ID array export_mode No String Export mode. null indicates that data is to be exported to a local file system, and obs indicates that data is to be exported to OBS.
Impact on the System Guardian cannot work properly, and OBS cannot be accessed. Possible Causes The HDFS service on which the Guardian service depends is abnormal. The TokenServer role instance is abnormal. Handling Procedure Check the HDFS service status.