Parameter |
Choices/Defaults |
Comments |
account
|
|
Account the IP address is related to.
|
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.
|
domain
|
|
Domain the IP address is related to.
|
ip_address
|
|
Public IP address.
Required if state=absent and tags is not set
|
network
|
|
Network the IP address is related to.
|
poll_async
bool |
|
Poll async jobs until job has finished.
|
project
|
|
Name of the project the IP address is related to.
|
state
|
Choices:
present ←
- absent
|
State of the IP address.
|
tags
(added in 2.6) |
|
List of tags. Tags are a list of dictionaries having keys key and value .
Tags can be used as an unique identifier for the IP Addresses.
In this case, at least one of them must be unique to ensure idempontency.
aliases: tag
|
vpc
(added in 2.2) |
|
VPC the IP address is related to.
|
zone
|
|
Name of the zone in which the IP address is in.
If not set, default zone is used.
|