检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
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.
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.
# 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
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.
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.
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.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: The following HTTP methods are supported: GET PUT HEAD POST DELETE Default value: None allowed_method_number unsigned int No Explanation: Number of the allowed_method elements.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
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.
Restrictions: None Value range: GET PUT HEAD POST DELETE Value range: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
Restrictions: None Value range: GET PUT HEAD POST DELETE Default value: None expose_headers const char * No Explanation: ExposeHeader in the CORS rules of the bucket. It specifies additional headers allowed in the response by a CORS rule.
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.