Parameter |
Choices/Defaults |
Comments |
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.
|
cidr
|
Default:
"0.0.0.0/0"
|
CIDR (full notation) to be used for security group rule.
|
end_port
|
|
End port for this rule. Required if protocol=tcp or protocol=udp , but start_port will be used if not set.
|
icmp_code
|
|
Error code for this icmp message. Required if protocol=icmp .
|
icmp_type
|
|
Type of the icmp message being sent. Required if protocol=icmp .
|
poll_async
|
Default:
"yes"
|
Poll async jobs until job has finished.
|
project
|
|
Name of the project the security group to be created in.
|
protocol
|
Choices:
tcp ←
- udp
- icmp
- ah
- esp
- gre
|
Protocol of the security group rule.
|
security_group
required |
|
Name of the security group the rule is related to. The security group must be existing.
|
start_port
|
|
Start port for this rule. Required if protocol=tcp or protocol=udp .
aliases: port
|
state
|
Choices:
present ←
- absent
|
State of the security group rule.
|
type
|
Choices:
ingress ←
- egress
|
Ingress or egress security group rule.
|
user_security_group
|
|
Security group this rule is based of.
|