检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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.
Configuring Lifecycle Rules for a Bucket obsClient.SetBucketLifecycleConfiguration Configure lifecycle rules for a bucket to periodically transition objects between storage classes and delete objects.
You can click Delete under the Operation column on the right of a tracker to delete the tracker. Deleting a tracker has no impact on existing operation records. When you enable CTS again, you can view operation records that have been generated.
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.
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.
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.
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.
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.
To disable logging for a bucket is to call ObsClient->setBucketLogging to delete the logging configuration. This example disables logging for bucket bucketname.
You can call ObsClient->deleteBucketWebsite to delete the hosting settings of a bucket. This example deletes the hosting 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.
You can call ObsClient.deleteBucketLifecycle to delete lifecycle rules of a bucket. This example deletes the lifecycle configuration of bucket bucketname.
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.