IOssSetBucketAcl Method (String, CannedAccessControlList) |
Sets the bucket ACL
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax void SetBucketAcl(
string bucketName,
CannedAccessControlList acl
)
Sub SetBucketAcl (
bucketName As String,
acl As CannedAccessControlList
)
void SetBucketAcl(
String^ bucketName,
CannedAccessControlList acl
)
abstract SetBucketAcl :
bucketName : string *
acl : CannedAccessControlList -> unit
Parameters
- bucketName
- Type: SystemString
Bucket name - acl
- Type: Aliyun.OSSCannedAccessControlList
CannedAccessControlList instance
See Also