Parameter |
Choices/Defaults |
Comments |
allocation_state
|
Choices:
- enabled
- disabled
|
Allocation state of the storage pool.
|
api_http_method
|
|
HTTP method used to query the API endpoint.
If not given, the CLOUDSTACK_METHOD env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
Fallback value is get if not specified.
|
api_key
|
|
API key of the CloudStack API.
If not given, the CLOUDSTACK_KEY env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
api_region
|
Default:
"cloudstack"
|
Name of the ini section in the cloustack.ini file.
If not given, the CLOUDSTACK_REGION env variable is considered.
|
api_secret
|
|
Secret key of the CloudStack API.
If not set, the CLOUDSTACK_SECRET env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
api_timeout
|
|
HTTP timeout in seconds.
If not given, the CLOUDSTACK_TIMEOUT env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
Fallback value is 10 seconds if not specified.
|
api_url
|
|
URL of the CloudStack API e.g. https://cloud.example.com/client/api.
If not given, the CLOUDSTACK_ENDPOINT env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
capacity_bytes
|
|
Bytes CloudStack can provision from this storage pool.
|
capacity_iops
|
|
Bytes CloudStack can provision from this storage pool.
|
cluster
|
|
Name of the cluster.
|
hypervisor
|
Choices:
- KVM
- VMware
- BareMetal
- XenServer
- LXC
- HyperV
- UCS
- OVM
- Simulator
|
Required when creating a zone scoped pool.
|
managed
|
|
Whether the storage pool should be managed by CloudStack.
Only considere on creation.
|
name
required |
|
Name of the storage pool.
|
pod
|
|
Name of the pod.
|
provider
|
Default:
"DefaultPrimary"
|
Name of the storage provider e.g. SolidFire, SolidFireShared, DefaultPrimary, CloudByte.
|
scope
|
|
The scope of the storage pool.
Defaults to cluster when cluster is provided, otherwise zone.
|
state
|
Choices:
present ←
- absent
|
State of the storage pool.
|
storage_tags
|
|
Tags associated with this storage pool.
|
storage_url
|
|
URL of the storage pool.
Required if state=present .
|
zone
|
|
Name of the zone in which the host should be deployed.
If not set, default zone is used.
|