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

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#accountObject?

Returns Account the rule is related to.

Returns:

  • (Object, nil)

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

Returns:

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

    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

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



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

attribute :cidr

#descriptionObject?

Returns The description of the load balancer rule.

Returns:

  • (Object, nil)

    The description of the load balancer rule.



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

attribute :description

#domainObject?

Returns Domain the rule is related to.

Returns:

  • (Object, nil)

    Domain the rule is related to.



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

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.



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

attribute :ip_address

#nameString

Returns The name of the load balancer rule.

Returns:

  • (String)

    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.

Returns:

  • (:yes, :no, nil)

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



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

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.



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

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



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

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.



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.

Returns:

  • (:present, :absent, nil)

    State of the rule.



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

attribute :state

#zoneObject?

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

Returns:

  • (Object, nil)

    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