PutBucket: PutBucket

Description Usage Arguments Examples

Description

Create new Bucket. Modify authority control.

Usage

1
2
PutBucket(bucketname, Location = "oss-cn-beijing", acl = "private",
  StorageClass = "Standard")

Arguments

Location

The region of bucket.

acl

Authority control of bucket. choose from public-read-write, public-read, private.

StorageClass

Storage type, Standard, IA or Archive.

name

The bucket name

Examples

1
PutBucket('ross-test', acl='public-read-write')

gahoo/ross documentation built on May 16, 2019, 5:35 p.m.