Create Block Storage
Create a dataset of either kind. storage_type selects which:
- managed — Object Storage backed by a new EOS bucket created for you.
- e2e_s3 — Object Storage backed by an EOS bucket you already have.
- pvc — Block Storage backed by a disk of the size you allocate.
Encryption is optional and is set at creation only. Object storage supports E2E-managed
(sse-kms) and user-managed (sse-c) keys; disks support sse-kms only.
object_lock_enable and versioning_enable apply to a new managed bucket only. Object
lock cannot be enabled after creation, and enabling it turns versioning on permanently.
/datasets/Query parameters
project_idQueryintegerrequiredProject ID
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
locationQuerystringrequiredLocation
Request body
application/json
Name of the dataset
Type of storage for the dataset
PVC configuration, required if storage_type is pvc
Bucket configuration, required if storage_type is e2e_s3
Access key configuration, required if storage_type is e2e_s3
Whether to enable encryption
Type of encryption to use (required if encryption_enable is true):
- sse-kms: Server-side encryption with KMS (E2E managed)
- sse-c: Server-side encryption with customer-provided keys (user managed)
Optional description of the dataset
Responses
201Success response indicating that the dataset was created.
HTTP status code for the operation.
201Any errors encountered during the operation.
Message indicating the result of the operation.
Created Successfully