QCloudGetBucketDomainRequest Class Reference
Inherits from | QCloudBizHTTPRequest |
---|---|
Declared in | QCloudGetBucketDomainRequest.h QCloudGetBucketDomainRequest.m |
Overview
查询自定义域名
功能说明
GET Bucket domain 用于查询存储桶的自定义域名信息。
示例
@code
QCloudGetBucketDomainRequest *getReq = [QCloudGetBucketDomainRequest new];
// 存储桶名称,格式为 BucketName-APPID
getReq.bucket = @"examplebucket-1250000000";
[getReq setFinishBlock:^(QCloudDomainConfiguration * _Nonnull result,
NSError * _Nonnull error) {
// 规则描述集合的数组
NSArray *rules = result.rules;
}];
[[QCloudCOSXMLService defaultCOSXML]GetBucketDomain:getReq];
bucket
存储桶名
@property (strong, nonatomic) NSString *bucket
Declared In
QCloudGetBucketDomainRequest.h