检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
For example, you can configure a lifecycle rule to delete objects with prefix texta/ and tag key1/value1 or key2/value2 120 days after their creation.
To disable logging for a bucket is to call ObsClient.setBucketLogging to delete the logging configuration. This example disables logging for bucket bucketname. The example code is as follows: // Hard-coded or plaintext AK/SK are risky.
You can call ObsClient.deleteBucketWebsite to delete the hosting settings of a bucket. This example deletes the hosting configuration of bucket bucketname. The example code is as follows: // Hard-coded or plaintext AK/SK are risky.
Requests (By Type) Measures the number of GET, PUT, and DELETE requests and total number of all requests. Percentage Measures the percentage of successful, valid, and interrupted requests. Status Codes Measures the distribution of status codes returned by the server.
You can call ObsClient->deleteBucketTagging to delete bucket tags.
You can migrate data to another bucket and delete the bucket that has the multi-AZ mode enabled, if you do not need multi-AZ storage. Parent topic: Data Security, Migration, and Backup
You can call ObsClient.deleteBucketTagging to delete bucket tags. Sample code is as follows: // Create an instance of ObsClient. var obsClient = new ObsClient({ // Hard-coded or plaintext AK/SK are risky.
OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object or delete expired objects, to effectively use storage features and optimize the storage space. You can set multiple lifecycle rules based on the prefix.
Deleting an event subscription Click Delete in the upper right corner of the page. In the Delete Event Subscription dialog box, click Auto Enter. The system automatically enters DELETE. Click OK.
If you delete the OBS agency configuration in a cross-region replication, the replication status becomes Failed. How to Use You can use OBS Console, SDKs, obsutil, or APIs to configure cross-region replication.
Deleting a Single Object You can call ObsClient.deleteObject to delete a single object. Sample code is as follows: // Create an instance of ObsClient. var obsClient = new ObsClient({ // Hard-coded or plaintext AK/SK are risky.
Deleting a Single Versioning Object You can call ObsClient.deleteObject to delete an object version by specifying the version ID (VersionId). This example deletes object objectname from bucket bucketname by specifying VersionId.
OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object and delete expired objects, to effectively use storage features and optimize the storage space.
OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object and delete expired objects, to effectively use storage features and optimize the storage space. You can set multiple lifecycle rules based on the prefix.
You can call ObsClient.deleteBucketLifecycle to delete lifecycle rules of a bucket. This example deletes the lifecycle configuration of bucket bucketname.
OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object and delete expired objects, to effectively use storage features and optimize the storage space. You can set multiple lifecycle rules based on the prefix.
To delete objects in a batch, traverse objects and list to-be-deleted objects on your own. For details about deletion, see Deleting Objects. Parent topic: Quick Start
OBS allows you to set lifecycle rules for buckets to automatically transition the storage class of an object and delete expired objects, to effectively use storage features and optimize the storage space. You can set multiple lifecycle rules based on the prefix.
You can call ObsClient->deleteBucketLifecycle to delete lifecycle rules of a bucket. This example deletes the lifecycle configuration of bucket bucketname.
You can call ObsClient->deleteBucketCors to delete CORS rules of a bucket. This example deletes the CORS rule of bucket bucketname.