|
| 1 | +## ovhcloud cloud storage-file share create |
| 2 | + |
| 3 | +Create a new share |
| 4 | + |
| 5 | +``` |
| 6 | +ovhcloud cloud storage-file share create <region> [flags] |
| 7 | +``` |
| 8 | + |
| 9 | +### Options |
| 10 | + |
| 11 | +``` |
| 12 | + --availability-zone string Availability zone (required in 3AZ regions) |
| 13 | + --description string Share description |
| 14 | + --editor Use a text editor to define parameters |
| 15 | + --from-file string File containing parameters |
| 16 | + -h, --help help for create |
| 17 | + --init-file string Create a file with example parameters |
| 18 | + --name string Share name |
| 19 | + --network-id string Network ID |
| 20 | + --replace Replace parameters file if it already exists |
| 21 | + --size int Share size in GB |
| 22 | + --snapshot-id string Snapshot ID to create the share from |
| 23 | + --subnet-id string Subnet ID |
| 24 | + --type string Share type |
| 25 | +``` |
| 26 | + |
| 27 | +### Options inherited from parent commands |
| 28 | + |
| 29 | +``` |
| 30 | + --cloud-project string Cloud project ID |
| 31 | + -d, --debug Activate debug mode (will log all HTTP requests details) |
| 32 | + -e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution |
| 33 | + -o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax) |
| 34 | + Examples: |
| 35 | + --output json |
| 36 | + --output yaml |
| 37 | + --output interactive |
| 38 | + --output 'id' (to extract a single field) |
| 39 | + --output 'nested.field.subfield' (to extract a nested field) |
| 40 | + --output '[id, "name"]' (to extract multiple fields as an array) |
| 41 | + --output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object) |
| 42 | + --output 'name+","+type' (to extract and concatenate fields in a string) |
| 43 | + --output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields) |
| 44 | + --profile string Use a specific profile from the configuration file |
| 45 | + --region string Region (skip region discovery if set) |
| 46 | +``` |
| 47 | + |
| 48 | +### SEE ALSO |
| 49 | + |
| 50 | +* [ovhcloud cloud storage-file share](ovhcloud_cloud_storage-file_share.md) - Manage file storage shares |
| 51 | + |
0 commit comments