检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
True: The deleted object is a delete marker.
Default value: None 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. Default value: False storageClass str Explanation: Object storage class.
Default value: None 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. Default value: False storageClass str Explanation: Object storage class.
marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
marker Value range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker.
DELETE: Requests that a server delete a specific resource such as an object. HEAD: Requests that a server return the description of a specific resource, for example, obtaining object metadata.
The WORM configuration does not apply to a delete marker with a unique version ID. Multipart Upload Before a multipart upload is complete, the default bucket-level WORM policy is not automatically applied to the object parts uploaded.
If the version you are adding tags to is a delete marker, OBS returns 404 Not Found. Tags cannot be set for files in parallel file systems. An object can have up to 10 tags. Constraints on the tag key and value: A tag key is case sensitive and must be unique.
Method ObsClient.createSignedUrl(method, bucketName, objectKey, specialParam, expires, headers, queryParams) Request Parameters Table 1 List of request parameters Parameter Type Mandatory (Yes/No) Description method str Yes Explanation: HTTP methods Value range: GET POST PUT DELETE
AclPublicReadWrite public-read-write Public read/write If this permission is granted on a bucket, anyone can read the object list, multipart tasks, metadata, and object versions in the bucket, and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble
const result = await obsClient.getBucketMetadata(params); if (result.CommonMsg.Status <= 300) { console.log("Delete bucket(%s)'s metadata successful!"
OBSACLRead WRITE A grantee with this permission for a bucket can upload, overwrite, and delete any object in the bucket. This permission is not applicable to objects. OBSACLWrite READ_ACP A grantee with this permission can obtain the ACL of a bucket or object.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None allowedOrigin List<String> Yes Explanation: The origin from which the requests can access the bucket. Restrictions: Domain name of the origin.
Can I Batch Delete Objects or Empty a Bucket in OBS? How Do I Query the Size of a Folder in a Bucket? Parent Topic: Bucket Management
'endpoint' => 'https://your-endpoint' ] ); $resp = $obsClient->getBucketPolicy([ 'Bucket' => 'bucketname' ]); printf("RequestId:%s\n",$resp['RequestId']); printf("Policy:%s\n",$resp['Policy']); Deleting a Bucket Policy You can call ObsClient->deleteBucketPolicy to delete
By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.
DeleteMarkers DeleteMarker[] Explanation: List of delete markers in the bucket. For details, see Table 8. CommonPrefixes Table 6[] Explanation: List of object name prefixes grouped based on the Delimiter parameter (if specified). For details, see CommonPrefix.
DELETE: Requests that a server delete a specific resource such as an object. HEAD: Requests that a server return the description of a specific resource, for example, obtaining object metadata.
AclPublicReadWrite public-read-write Public read/write If this permission is granted on a bucket, anyone can read the object list, multipart tasks, metadata, and object versions in the bucket, and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble
If the object has a delete marker, status code 404 is returned. To obtain the object metadata of a specified version, the versionId parameter can be used to specify the desired version.