storage volumes create
tcloud storage volumes create
Create a volume
Synopsis
Create a new storage volume. The volume can be attached to machines after creation.
tcloud storage volumes create [flags]Options
--annotations strings Annotations in key=value format (can be specified multiple times)
--delete-protection Enable delete protection
--description string Description of the volume
-h, --help help for create
--labels strings Labels in key=value format (can be specified multiple times)
--name string Name of the volume (required)
--no-header Do not print the header
--region string Region of the volume (required)
--size int Size of the volume in GB (required)
--type string Volume type (default "block")
--wait Wait for the volume to be available before returning
--wait-timeout duration Maximum time to wait for the volume to be available (default 20m0s)Options inherited from parent commands
--access-token string Access Token authentication (overrides context)
--api string API endpoint (overrides context)
--client-id string OIDC client ID for OIDC authentication (overrides context)
--client-secret string OIDC client secret for OIDC authentication (overrides context)
-c, --context string Context name
--debug Debug mode
--ignore-dir-config Ignore directory-local .thalassa defaults
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)SEE ALSO
- tcloud storage volumes - Manage storage volumes