# h1 storage image create

Create storage/image

# Synopsis

$ h1 storage image create <options>

# Description

See also:

# Example

# Simple

h1 storage image create \ 
	--project 5f64e2468c71177993874510 \ 
	--name simple-image \ 
	--service /billing/project/platform/service/564639bc052c084e2f2e3266 \ 
	--vm /compute/pl-waw-1/project/5f64e2468c71177993874510/vm/5f72b7a9494c5cfdec9b8198

# Operation options

Option name Description
--x-dry-run {x-dry-run} Dry run
--x-idempotency-key {x-idempotency-key} Idempotency key
--location {id-or-uri} Location Id. Default value is pl-waw-1
--project {id-or-uri} Project Id
--name {name} Image name
--service {id-or-uri} Image service. Provide ID or URI of billing/service. Default value is 564639bc052c084e2f2e3266
--vm {id-or-uri} Image vm. Provide ID or URI of compute/vm. Requires permissions compute/vm/use
--replica {id-or-uri} Image replica. Provide ID or URI of compute/replica. Requires permissions compute/replica/use
--description {description} Image description
--tag {key=key, value=value} Tag collection
--skeleton Display intermediary representation of operation

# Common options

Option name Description
--help Show help message and exit.
--verbose Make the operation more talkative.
--o, --output {tsv,list,json,js,id,uri,yaml} Specify output format of command. Default value is yaml
--query {query} JMESPath query string. Default value is [].{id:id, name:name, state:state, flavour:flavour, size:size}
--passport-file {path} Passport file. Default value is ~/.h1/passport.json, if available.
--as {uri} Act as another actor eg. service account
--no-wait In case of queued event do not wait for completion
--v, --version Show version and exit.

# Parent commands

Czy uważasz ten artykuł za przydatny? Tak Nie