IOssCreateBucket Method (String, NullableStorageClass) |
Creates the bucket with specified storage class.
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax Bucket CreateBucket(
string bucketName,
Nullable<StorageClass> storageClass
)
Function CreateBucket (
bucketName As String,
storageClass As Nullable(Of StorageClass)
) As Bucket
Bucket^ CreateBucket(
String^ bucketName,
Nullable<StorageClass> storageClass
)
abstract CreateBucket :
bucketName : string *
storageClass : Nullable<StorageClass> -> Bucket
Parameters
- bucketName
- Type: SystemString
Bucket name. - storageClass
- Type: SystemNullableStorageClass
Storage class.
Return Value
Type:
BucketThe bucket.
See Also