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/extras/cloud/cloudstack/cs_loadbalancer_rule.rb
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 ⇒ Boolean?
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, :absent
State of the rule.
-
#zone ⇒ Object?
Name of the zone in which the rule shoud 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, #initialize, #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.
53 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 53 attribute :account |
#algorithm ⇒ :source, ...
Returns Load balancer algorithm,Required when using C(state=present).
17 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 17 attribute :algorithm |
#cidr ⇒ Object?
Returns CIDR (full notation) to be used for firewall rule if required.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 37 attribute :cidr |
#description ⇒ Object?
Returns The description of the load balancer rule.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 14 attribute :description |
#domain ⇒ Object?
Returns Domain the rule is related to.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 50 attribute :domain |
#ip_address ⇒ Object
Returns Public IP address from where the network traffic will be load balanced from.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 29 attribute :ip_address |
#name ⇒ String
Returns The name of the load balancer rule.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 10 attribute :name |
#open_firewall ⇒ Boolean?
Returns Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 33 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.
21 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 21 attribute :private_port |
#project ⇒ Object?
Returns Name of the project the load balancer IP address is related to.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 43 attribute :project |
#protocol ⇒ Object?
Returns The protocol to be used on the load balancer.
40 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 40 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.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 25 attribute :public_port |
#state ⇒ :present, :absent
Returns State of the rule.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 46 attribute :state |
#zone ⇒ Object?
Returns Name of the zone in which the rule shoud be created.,If not set, default zone is used.
56 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 56 attribute :zone |