製品アップデート情報
製品のお知らせ
./coscli mb cos://<BucketName-APPID> -e <endpoint> [flag]
-eまたは--endpointを追加してストレージバケットのリージョンを指定する必要があります。パラメータ形式 | パラメータ用途 | 例 |
cos://<BucketName-APPID> | ストレージバケット名のカスタマイズに使用 | cos://examplebucket-1250000000 |
flagの略称 | flagの正式名称 | flagの用途 |
-h | --help | ヘルプ情報を出力 |
-r | --region | バケットリージョン |
-m | --maz | マルチAZのストレージバケットを作成 |
-o | --ofs | OFSのストレージバケットを作成 |
なし | --acl | バケットのACLを設定します。例:private、public-read、public-read-write |
なし | --grant-read | 権限を付与されるユーザーに、バケットの読み取り権限を与えます。形式はid="[OwnerUin]"、例:id="100000000001"。半角カンマ(,)で区切って複数のユーザーを指定できます。例:id="100000000001",id="100000000002"。 |
なし | --grant-read-acp | 権限を付与されるユーザーに、バケットのアクセス制御リスト(ACL)の読み取り権限を与えます。形式はid="[OwnerUin]"、例:id="100000000001"。半角カンマ(,)で区切って複数のユーザーを指定できます。例:id="100000000001",id="100000000002"。 |
なし | --grant-write-acp | 権限を付与されるユーザーに、バケットのアクセス制御リスト(ACL)の書き込み権限を与えます。形式はid="[OwnerUin]"、例:id="100000000001"。半角カンマ(,)で区切って複数のユーザーを指定できます。例: id="100000000001",id="100000000002" 。 |
なし | --grant-full-control | 権限を付与されるユーザーに、バケットを操作するすべての権限を与えます。形式はid="[OwnerUin]"、例:id="100000000001"。半角カンマ(,)で区切って複数のユーザーを指定できます。例: id="100000000001",id="100000000002" 。 |
なし | --tags | バケットタグのセット。最大50個のタグを設定できます(例:--tags="Key1=Value1&Key2=Value2") |
./coscli mb cos://bucket3-1250000000 -e cos.ap-chengdu.myqcloud.com
./coscli config add -b bucket3-1250000000 -e cos.ap-chengdu.myqcloud.com -a bucket3
フィードバック