Application Load Balancer Forwarding Rule
application_load_balancer_forwardingrule
This is a simple module that supports creating or removing Application Loadbalancer Forwarding rules.
Example Syntax
Returned object
For more examples please check out the tests here.
state: present
Available parameters for state present:
name str
True
The name of the Application Load Balancer forwarding rule.
algorithm str
False
Balancing algorithm.
protocol str
True
The balancing protocol.
listener_ip str
True
The listening (inbound) IP.
listener_port str
True
The listening (inbound) port number; the valid range is 1 to 65535.
client_timeout int
False
The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
http_rules list
False
An array of items in the collection. The original order of rules is preserved during processing, except that rules of the 'FORWARD' type are processed after the rules with other defined actions. The relative order of the 'FORWARD' type rules is also preserved during the processing.
server_certificates list
False
Array of items in the collection.
new_server_certificates list
False
An array of dict with information used to uploade new certificates and add them to the forwarding rule.A dict should contain 'certificate_file', 'private_key_file', 'certificate_chain_file'(optional), 'certificate_name' as keys.File paths should be absolute.
datacenter str
True
The ID or name of the datacenter.
application_load_balancer str
True
The ID or name of the Application Loadbalancer.
api_url str
False
The Ionos API base URL.
certificate_fingerprint str
False
The Ionos API certificate fingerprint.
username str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait bool
False
Wait for the resource to be created before returning. Default: True Options: [True, False]
wait_timeout int
False
How long before wait gives up, in seconds. Default: 600
state str
False
Indicate desired state of the resource. Default: present Options: ['present', 'absent', 'update']
state: absent
Available parameters for state absent:
name str
False
The name of the Application Load Balancer forwarding rule.
datacenter str
True
The ID or name of the datacenter.
application_load_balancer str
True
The ID or name of the Application Loadbalancer.
forwarding_rule str
True
The ID or name of the Application Loadbalancer forwarding rule.
api_url str
False
The Ionos API base URL.
certificate_fingerprint str
False
The Ionos API certificate fingerprint.
username str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait bool
False
Wait for the resource to be created before returning. Default: True Options: [True, False]
wait_timeout int
False
How long before wait gives up, in seconds. Default: 600
state str
False
Indicate desired state of the resource. Default: present Options: ['present', 'absent', 'update']
state: update
Available parameters for state update:
name str
False
The name of the Application Load Balancer forwarding rule.
algorithm str
False
Balancing algorithm.
protocol str
False
The balancing protocol.
listener_ip str
False
The listening (inbound) IP.
listener_port str
False
The listening (inbound) port number; the valid range is 1 to 65535.
client_timeout int
False
The maximum time in milliseconds to wait for the client to acknowledge or send data; default is 50,000 (50 seconds).
http_rules list
False
An array of items in the collection. The original order of rules is preserved during processing, except that rules of the 'FORWARD' type are processed after the rules with other defined actions. The relative order of the 'FORWARD' type rules is also preserved during the processing.
server_certificates list
False
Array of items in the collection.
new_server_certificates list
False
An array of dict with information used to uploade new certificates and add them to the forwarding rule.A dict should contain 'certificate_file', 'private_key_file', 'certificate_chain_file'(optional), 'certificate_name' as keys.File paths should be absolute.
datacenter str
True
The ID or name of the datacenter.
application_load_balancer str
True
The ID or name of the Application Loadbalancer.
forwarding_rule str
True
The ID or name of the Application Loadbalancer forwarding rule.
api_url str
False
The Ionos API base URL.
certificate_fingerprint str
False
The Ionos API certificate fingerprint.
username str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
wait bool
False
Wait for the resource to be created before returning. Default: True Options: [True, False]
wait_timeout int
False
How long before wait gives up, in seconds. Default: 600
state str
False
Indicate desired state of the resource. Default: present Options: ['present', 'absent', 'update']
Last updated