Click or drag to resize
IOssCreateBucket 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
Bucket CreateBucket(
	string bucketName,
	Nullable<StorageClass> storageClass
)

Parameters

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

Return Value

Type: Bucket
The bucket.
See Also