QCloudDeleteBucketReplicationRequest Class Reference

Inherits from QCloudBizHTTPRequest
Declared in QCloudDeleteBucketReplicationRequest.h
QCloudDeleteBucketReplicationRequest.m

Overview

删除跨区域复制配置的方法.

功能说明

DELETE Bucket replication 用来删除存储桶中的跨地域复制配置。用户发起该请求时需获得请求签名,表明该请求已获得许可

当不需要进行跨区域复制时,可以删除 Bucket 的跨区域复制配置. 跨区域复制,可以查阅https://cloud.tencent.com/document/product/436/19221

示例

@code

QCloudDeleteBucketReplicationRequest* request =
                        [[QCloudDeleteBucketReplicationRequest alloc] init];

// 存储桶名称,格式为 BucketName-APPID
request.bucket = @"examplebucket-1250000000";

[request setFinishBlock:^(id outputObject, NSError* error) {

    // outputObject 包含所有的响应 http 头部
    NSDictionary* info = (NSDictionary *) outputObject;

}];

[[QCloudCOSXMLService defaultCOSXML] DeleteBucketReplication:request];

  bucket

存储桶名称
@property (strong, nonatomic) NSString *bucket

Declared In

QCloudDeleteBucketReplicationRequest.h