filestorage, fs
Subcommands
- list — List file storage resources
- get — Get file storage details
- create — Create a new file storage resource
- update — Update an existing file storage resource
- delete — Delete a file storage resource
list
List file storage resources, optionally filtered by organization, project, or region.Flags
| Flag | Description |
|---|---|
--org string | Organization ID |
--project string | Project ID |
--region string | Region ID |
--json | Output in JSON format |
Example
get
Get details for a specific file storage resource in JSON format.Flags
| Flag | Description |
|---|---|
--id string | File storage ID |
--org string | Organization ID |
create
Create a new file storage resource. Accepts input from a JSON file or stdin.Flags
| Flag | Description |
|---|---|
-f, --file string | Path to a JSON file |
--stdin | Read JSON from standard input |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm creation |
Examples
update
Update an existing file storage resource.Flags
| Flag | Description |
|---|---|
--id string | File storage ID |
--org string | Organization ID |
-f, --file string | Path to a JSON file |
--stdin | Read JSON from standard input |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm update |
Examples
delete
Delete an existing file storage resource.Flags
| Flag | Description |
|---|---|
--id string | File storage ID |
--org string | Organization ID |
--dry-run | Preview the request payload without persisting |
-y, --yes | Automatically confirm deletion |