Create a Volumeset
create_volumesetCreate a new volumeset in a GVC with explicit performance class, filesystem type, initial capacity, snapshot policy, and (optional) autoscaling. Performance class and filesystem type are IMMUTABLE — choose carefully. xfs/ext4 support snapshots; shared is read-write-many but cannot be snapshotted. Snapshot defaults injected when omitted: createFinalSnapshot=true, retentionDuration "7d". customEncryption (customer-managed KMS keys) cannot be set here — apply a full manifest with the CLI (cpln apply), calling get_resource_schema (kind=volumeset) first. Mount separately via mount_volumeset_to_workload (ext4/xfs need a stateful or vm workload; shared mounts on any workload type). Recommended reading before first use: get_cpln_skill("stateful-storage") — the runbook for this tool family (read once per session).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gvc | Yes | GVC slug (lowercase kebab-case). Use the GVC the user named; otherwise discover with list_resources (kind="gvc") and let them choose — never guess (a wrong GVC targets the wrong environment). | |
| org | Yes | Organization slug (lowercase kebab-case). NEVER guess — if the user has not named one, ask. On org-not-found, stop and ask; do not retry variants. | |
| name | Yes | Resource name (lowercase kebab-case, starts with a letter, 2-64 chars). Names are IMMUTABLE — renaming = delete + recreate (loses URL, DNS, policy links). | |
| tags | No | Optional tags (treat like Kubernetes labels for governance and search). | |
| snapshots | No | Snapshot policy. | |
| autoscaling | No | Reactive + predictive autoscaling settings. | |
| description | No | Volumeset description so operators know what data lives here. | |
| mountOptions | No | Mount options — only for shared-filesystem volume sets (resources provisioned per mount point). | |
| fileSystemType | No | Filesystem type. Immutable. xfs/ext4 support snapshots; shared is RWX without snapshots (default xfs). | |
| initialCapacity | Yes | Initial capacity in GB. Performance-class minimums apply (general-purpose-ssd ≥10, high-throughput-ssd ≥200). Max 65536. | |
| performanceClass | No | Performance class. Immutable after creation — choose carefully (default general-purpose-ssd). | |
| storageClassSuffix | No | Self-hosted location override for storage class lookup. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The full machine-readable result — list rows, the resource object, query results. Read THIS, not just the summary. | |
| summary | Yes | One-line summary of the result. | |
| nextSteps | No | Recommended follow-up actions for this task, in order. |