OssClientCreateBucket 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 public Bucket CreateBucket(
string bucketName,
Nullable<StorageClass> storageClass
)
Public Function CreateBucket (
bucketName As String,
storageClass As Nullable(Of StorageClass)
) As Bucket
public:
virtual Bucket^ CreateBucket(
String^ bucketName,
Nullable<StorageClass> storageClass
) sealed
abstract CreateBucket :
bucketName : string *
storageClass : Nullable<StorageClass> -> Bucket
override CreateBucket :
bucketName : string *
storageClass : Nullable<StorageClass> -> Bucket
Parameters
- bucketName
- Type: SystemString
Bucket name. - storageClass
- Type: SystemNullableStorageClass
Storage class.
Return Value
Type:
BucketThe bucket.
Implements
IOssCreateBucket(String, NullableStorageClass)See Also