ObsClientHeadBucket Method |
Check whether a bucket exists. If the returned HTTP status code is "200", the bucket exists. If the returned HTTP status code is "404", the bucket does not exist.
Namespace:
OBS
Assembly:
esdk_obs_.net (in esdk_obs_.net.dll) Version: 3.19.7.1 (3.19.7.1)
Syntaxpublic bool HeadBucket(
HeadBucketRequest request
)
Parameters
- request
- Type: OBS.ModelHeadBucketRequest
Parameters in a request for checking whether a bucket exists
Return Value
Type:
BooleanResponse to the request for querying whether a bucket exists
See Also