检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
DeleteMarker bool Explanation: Whether the deleted object is a delete marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
If it was, those other users can delete objects from the bucket. If you have enabled logging, you can check the logs to find out who deleted the objects. Parent topic: OBS Basics
Deleting a file or folder does not delete it permanently. The deleted file or folder will be retained in the Deleted Objects list and marked with the Delete Marker. If you want to delete the file or folder permanently, you need to delete it from the Deleted Objects list.
If you want to encrypt existing objects, delete them and upload them again. Parent topic: Server-Side Encryption
Default value: None deleteMarker boolean Explanation: Whether the deleted object is a delete marker. Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker. Default value: false objectKey String Explanation: Object name.
VersionId: 'G001117FCE89978B0000401205D5DC9A' }; // Delete a version of an object. const result = await obsClient.deleteObject(params); if (result.CommonMsg.Status <= 300) { console.log("Delete object(%s) under the bucket(%s) successful!"
Default value: None deleteMarker boolean Explanation: Whether the deleted object is a delete marker. Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker. Default value: false objectKey String Explanation: Object name.
To clear up fragments, select all fragments and click Delete above the list. Parent topic: Billing
If the current object version is the only version of the object and has a delete marker, OBS will delete the current object version. Clearing a delete marker may take a while, because OBS needs to confirm that the delete marker is the only object version.
Precautions After configuration, the IAM user can use APIs or SDKs to delete buckets. However, if they log in to OBS Console or OBS Browser+ to delete buckets, a message will be displayed indicating that they do not have required permissions.
Lifecycle Management Overview 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.
Lifecycle Management Overview 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.
Deleting Versioning Objects Deleting a Single Versioning Object You can call OBSDeleteObjectRequest to pass the version ID (versionID) to delete an object version.
Deleting Versioning Objects Deleting a Single Versioning Object You can call OBSDeleteObjectRequest to pass the version ID (versionID) to delete an object version.
Bucket: "examplebucket", }; // Delete the lifecycle configuration of the bucket. const result = await obsClient.deleteBucketLifecycle(params); if (result.CommonMsg.Status <= 300) { console.log("Delete bucket(%s)'s lifecycle configuration successful!"
Default value: None expiredObjectDeleteMarker Boolean Yes if days or date is absent Explanation: Whether to delete expired delete markers. The value can be true or false. If tags are configured in a lifecycle rule, this element cannot be configured.
bucketname := "examplebucket" // Delete lifecycle configurations of the bucket. output, err := obsClient.DeleteBucketLifecycleConfiguration(bucketname) if err == nil { fmt.Printf("Delete LifecycleConfiguration successful with bucket:%s!
Restrictions To delete the BPA configuration of a bucket, you must be the bucket owner or have the required permission (obs:bucket:DeleteBucketPublicAccessBlock in IAM or DeleteBucketPublicAccessBlock in a bucket policy).
Deleting Hosting Settings You can call deleteBucketWebsite to delete the hosting settings of a bucket. Sample code is as follows: static OBSClient *client; NSString *endPoint = @"your-endpoint"; // Hard-coded or plaintext AK/SK are risky.
Deleting Hosting Settings You can call deleteBucketWebsite to delete the hosting settings of a bucket. Sample code is as follows: static OBSClient *client; NSString *endPoint = @"your-endpoint"; // Hard-coded or plaintext AK/SK are risky.