检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Table 5 DownloadFileOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
Table 5 GetObjectOutput Parameter Type Description RequestId string Explanation: Request ID returned by the OBS server DeleteMarker string Explanation: Whether the deleted object is a delete marker. LastModified string Explanation: Time when the object was last modified.
If this permission is granted on a bucket, anyone can read the object list, multipart uploads, metadata, and object versions in the bucket and can upload or delete objects, initiate multipart upload tasks, upload parts, assemble parts, copy parts, and abort multipart uploads.
For example, assume that you delete or rename an object in a bucket. You can add a routing rule that redirects requests to other objects.
The returned result of OBSListObjectsVersionsRequest includes the versioning objects and delete markers. Listing Versioning Objects in Simple Mode The following sample code shows how to list versioning objects in simple mode.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None accessContorlExposeHeaders str Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
# If you use a temporary AK and SK pair and a security token to access OBS, you must specify security_token when creating an instance. obsClient = ObsClient(access_key_id=ak, secret_access_key=sk, server=server) try: bucketName = "examplebucket" # Delete the static website
You can cancel the multi-part uploading task to delete unnecessary parts, thereby saving the storage space. You can call ObsClient.AbortMultipartUpload to abort a multipart upload. Sample code is as follows: // Initialize configuration parameters.
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.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Public Read and Write: Anyone can read, write, or delete objects in the bucket. Multi-AZ Mode If multi-AZ storage is enabled, data will be stored in multiple AZs. Once a bucket is created, its multi-AZ status cannot be changed.
You can cancel the multi-part uploading task to delete unnecessary parts, thereby saving the storage space.
You can cancel the multi-part uploading task to delete unnecessary parts, thereby saving the storage space.
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.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.
Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None ExposeHeader string Explanation: ExposeHeader in the CORS rules of the bucket. It specifies the CORS-allowed additional headers in the response.