Class: Ansible::Ruby::Modules::Cs_loadbalancer_rule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_loadbalancer_rule
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb
Overview
Add, update and remove load balancer rules.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the rule is related to.
-
#algorithm ⇒ :source, ...
Load balancer algorithm,Required when using C(state=present).
-
#cidr ⇒ Object?
CIDR (full notation) to be used for firewall rule if required.
-
#description ⇒ Object?
The description of the load balancer rule.
-
#domain ⇒ Object?
Domain the rule is related to.
-
#ip_address ⇒ Object
Public IP address from where the network traffic will be load balanced from.
-
#name ⇒ String
The name of the load balancer rule.
-
#open_firewall ⇒ :yes, ...
Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.
-
#private_port ⇒ Integer?
The private port of the private ip address/virtual machine where the network traffic will be load balanced to.,Required when using C(state=present).,Can not be changed once the rule exists due API limitation.
-
#project ⇒ Object?
Name of the project the load balancer IP address is related to.
-
#protocol ⇒ Object?
The protocol to be used on the load balancer.
-
#public_port ⇒ Integer
The public port from where the network traffic will be load balanced from.,Required when using C(state=present).,Can not be changed once the rule exists due API limitation.
-
#state ⇒ :present, ...
State of the rule.
-
#zone ⇒ Object?
Name of the zone in which the rule should be created.,If not set, default zone is used.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#account ⇒ Object?
Returns Account the rule is related to.
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 55 attribute :account |
#algorithm ⇒ :source, ...
Returns Load balancer algorithm,Required when using C(state=present).
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 19 attribute :algorithm |
#cidr ⇒ Object?
Returns CIDR (full notation) to be used for firewall rule if required.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 39 attribute :cidr |
#description ⇒ Object?
Returns The description of the load balancer rule.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 16 attribute :description |
#domain ⇒ Object?
Returns Domain the rule is related to.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 52 attribute :domain |
#ip_address ⇒ Object
Returns Public IP address from where the network traffic will be load balanced from.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 31 attribute :ip_address |
#name ⇒ String
Returns The name of the load balancer rule.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 12 attribute :name |
#open_firewall ⇒ :yes, ...
Returns Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 35 attribute :open_firewall |
#private_port ⇒ Integer?
Returns The private port of the private ip address/virtual machine where the network traffic will be load balanced to.,Required when using C(state=present).,Can not be changed once the rule exists due API limitation.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 23 attribute :private_port |
#project ⇒ Object?
Returns Name of the project the load balancer IP address is related to.
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 45 attribute :project |
#protocol ⇒ Object?
Returns The protocol to be used on the load balancer.
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 42 attribute :protocol |
#public_port ⇒ Integer
Returns The public port from where the network traffic will be load balanced from.,Required when using C(state=present).,Can not be changed once the rule exists due API limitation.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 27 attribute :public_port |
#state ⇒ :present, ...
Returns State of the rule.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 48 attribute :state |
#zone ⇒ Object?
Returns Name of the zone in which the rule should be created.,If not set, default zone is used.
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_loadbalancer_rule.rb', line 58 attribute :zone |