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

Overview

Add, update and remove load balancer rules.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #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.



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

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



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

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.



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

attribute :cidr

#descriptionObject?

Returns The description of the load balancer rule.

Returns:

  • (Object, nil)

    The description of the load balancer rule.



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

attribute :description

#domainObject?

Returns Domain the rule is related to.

Returns:

  • (Object, nil)

    Domain the rule is related to.



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

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.



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

attribute :ip_address

#nameString

Returns The name of the load balancer rule.

Returns:

  • (String)

    The name of the load balancer rule.



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

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.



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

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.



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

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.



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

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



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

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.



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

attribute :public_port

#state:present, :absent

Returns State of the rule.

Returns:

  • (:present, :absent)

    State of the rule.



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

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.



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

attribute :zone