Apache CloudStack 4.19.0.0 Root Admin API Reference

createBucket

Creates a bucket in the specified object storage pool.

Request parameters

Parameter NameDescriptionRequired
namethe name of the buckettrue
objectstorageidId of the Object Storage Pool where bucket is createdtrue
accountthe account associated with the bucket. Must be used with the domainId parameter.false
domainidthe domain ID associated with the bucket. If used with the account parameter returns the bucket associated with the account for the specified domain.false
encryptionEnable bucket encryptionfalse
objectlockingEnable object locking in bucketfalse
policyThe Bucket access policyfalse
projectidthe project associated with the bucket. Mutually exclusive with account parameterfalse
quotaBucket Quota in GBfalse
versioningEnable bucket versioningfalse

Response Tags

Response NameDescription
idID of the Bucket
accesskeyBucket Access Key
accountthe account associated with the Bucket
createdthe date the Bucket was created
domainthe domain associated with the bucket
domainidthe ID of the domain associated with the bucket
encryptionBucket Encryption
namename of the Bucket
objectlockingBucket Object Locking
objectstorageidid of the object storage hosting the Bucket; returned to admin user only
objectstoreName of the object storage hosting the Bucket; returned to admin user only
policyBucket Access Policy
projectthe project name of the bucket
projectidthe project id of the bucket
providerObject storage provider
quotaBucket Quota in GB
sizeTotal size of objects in Bucket
stateState of the Bucket
urlBucket URL
usersecretkeyBucket Secret Key
versioningBucket Versioning