检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
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.
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.
The returned result of ObsClient.listVersions 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.
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: 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.
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.
# 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.
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.
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.