Class: Ansible::Ruby::Modules::Gce_lb

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb

Overview

This module can create and destroy Google Compute Engine C(loadbalancer) and C(httphealthcheck) resources. The primary LB resource is the C(load_balancer) resource and the health check parameters are all prefixed with I(httphealthcheck). The full documentation for Google Compute Engine load balancing is at U(developers.google.com/compute/docs/load-balancing/). However, the ansible module simplifies the configuration by following the libcloud model. Full install/configuration instructions for the gce* modules can be found in the comments of ansible/test/gce_tests.py.

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

#credentials_fileObject?



75
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 75

attribute :credentials_file

#external_ipObject?



55
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 55

attribute :external_ip

#httphealthcheck_healthy_countInteger?



36
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 36

attribute :httphealthcheck_healthy_count

#httphealthcheck_hostObject?



40
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 40

attribute :httphealthcheck_host

#httphealthcheck_intervalInteger?



24
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 24

attribute :httphealthcheck_interval

#httphealthcheck_nameString?



12
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 12

attribute :httphealthcheck_name

#httphealthcheck_pathString?



20
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 20

attribute :httphealthcheck_path

#httphealthcheck_portInteger?



16
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 16

attribute :httphealthcheck_port

#httphealthcheck_timeoutInteger?



28
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 28

attribute :httphealthcheck_timeout

#httphealthcheck_unhealthy_countInteger?



32
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 32

attribute :httphealthcheck_unhealthy_count

#membersArray<String>, ...



61
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 61

attribute :members

#nameString?



43
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 43

attribute :name

#pem_fileObject?



72
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 72

attribute :pem_file

#port_rangeObject?



58
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 58

attribute :port_range

#project_idObject?



78
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 78

attribute :project_id

#protocol:tcp, ...



47
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 47

attribute :protocol

#regionString?



51
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 51

attribute :region

#service_account_emailObject?



69
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 69

attribute :service_account_email

#state:active, ...



65
# File 'lib/ansible/ruby/modules/generated/cloud/google/gce_lb.rb', line 65

attribute :state