Class: Ansible::Ruby::Modules::Cs_loadbalancer_rule

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#accountObject?

Returns Account the rule is related to.

Returns:

  • (Object, nil)

    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).

Returns:

  • (:source, :roundrobin, :leastconn, nil)

    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

#cidrObject?

Returns CIDR (full notation) to be used for firewall rule if required.

Returns:

  • (Object, nil)

    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

#descriptionObject?

Returns The description of the load balancer rule.

Returns:

  • (Object, nil)

    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

#domainObject?

Returns Domain the rule is related to.

Returns:

  • (Object, nil)

    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_addressObject

Returns Public IP address from where the network traffic will be load balanced from.

Returns:

  • (Object)

    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

#nameString

Returns The name of the load balancer rule.

Returns:

  • (String)

    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_firewallBoolean?

Returns Whether the firewall rule for public port should be created, while creating the new rule.,Use M(cs_firewall) for managing firewall rules.

Returns:

  • (Boolean, nil)

    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_portInteger?

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.

Returns:

  • (Integer, nil)

    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

#projectObject?

Returns Name of the project the load balancer IP address is related to.

Returns:

  • (Object, nil)

    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

#protocolObject?

Returns The protocol to be used on the load balancer.

Returns:

  • (Object, nil)

    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_portInteger

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.

Returns:

  • (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.



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.

Returns:

  • (:present, :absent)

    State of the rule.



46
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_loadbalancer_rule.rb', line 46

attribute :state

#zoneObject?

Returns Name of the zone in which the rule shoud be created.,If not set, default zone is used.

Returns:

  • (Object, nil)

    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