Click or drag to resize
OssClientCreateBucket Method (String, NullableStorageClass)
Creates the bucket with specified storage class.

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public Bucket CreateBucket(
	string bucketName,
	Nullable<StorageClass> storageClass
)

Parameters

bucketName
Type: SystemString
Bucket name.
storageClass
Type: SystemNullableStorageClass
Storage class.

Return Value

Type: Bucket
The bucket.

Implements

IOssCreateBucket(String, NullableStorageClass)
See Also