检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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
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.
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.
'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
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
A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not available for objects. PERMISSION_READ_ACP READ_ACP Permission to read an ACL.
A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. This permission is not available for objects. PERMISSION_READ_ACP READ_ACP Permission to read an ACL.
If the object has a delete marker, status code 404 is returned. To restore an object of a specified version, the versionId parameter can be used to specify the desired version. Request Syntax POST /ObjectName?
Range: STANDARD: Standard storage WARM: Infrequent Access storage COLD: Archive storage DEEP_ARCHIVE: Deep Archive storage (limited OBT) DeleteData String Definition: Whether to synchronously delete objects with the same names in the destination bucket through cross-region replication
parameter) The access control policy that can be specified when creating a bucket Possible values are: private: Only users granted permissions by the bucket ACL can access the bucket. public-read: Anyone can read objects in the bucket. public-read-write: Anyone can read, write, or delete
You can perform download, delete, or other operations on folder objects just like on regular objects.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
WRITE Write permission A grantee with this permission for a bucket can upload, overwrite, and delete any object or part in the bucket. Such permission for an object is not applicable.
Bucket Read/Write Allows specified accounts to perform all actions excluding the following ones on a bucket and the objects in it: DeleteBucket (to delete a bucket) PutBucketPolicy (to configure a bucket policy) PutBucketAcl (to configure a bucket ACL) The specified actions are excluded
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.
If you need an inventory rule that covers only a subset of objects in the bucket, first delete the inventory rule configured for the entire bucket.
Range: true: The deleted object is a delete marker. false: The deleted object is not a delete marker. Default value: false x-obs-version-id String Definition: Object version ID.