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

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

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, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#credentials_fileObject?

Returns path to the JSON file associated with the service account email.

Returns:

  • (Object, nil)

    path to the JSON file associated with the service account email



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

attribute :credentials_file

#external_ipObject?

Returns the external static IPv4 (or auto-assigned) address for the LB.

Returns:

  • (Object, nil)

    the external static IPv4 (or auto-assigned) address for the LB



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

attribute :external_ip

#httphealthcheck_healthy_countInteger?

Returns number of consecutive successful checks before marking a node healthy.

Returns:

  • (Integer, nil)

    number of consecutive successful checks before marking a node healthy



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

attribute :httphealthcheck_healthy_count

#httphealthcheck_hostObject?

Returns host header to pass through on HTTP check requests.

Returns:

  • (Object, nil)

    host header to pass through on HTTP check requests



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

attribute :httphealthcheck_host

#httphealthcheck_intervalInteger?

Returns the duration in seconds between each health check request.

Returns:

  • (Integer, nil)

    the duration in seconds between each health check request



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

attribute :httphealthcheck_interval

#httphealthcheck_nameString?

Returns the name identifier for the HTTP health check.

Returns:

  • (String, nil)

    the name identifier for the HTTP health check



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

attribute :httphealthcheck_name

#httphealthcheck_pathString?

Returns the url path to use for HTTP health checking.

Returns:

  • (String, nil)

    the url path to use for HTTP health checking



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

attribute :httphealthcheck_path

#httphealthcheck_portInteger?

Returns the TCP port to use for HTTP health checking.

Returns:

  • (Integer, nil)

    the TCP port to use for HTTP health checking



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

attribute :httphealthcheck_port

#httphealthcheck_timeoutInteger?

Returns the timeout in seconds before a request is considered a failed check.

Returns:

  • (Integer, nil)

    the timeout in seconds before a request is considered a failed check



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

attribute :httphealthcheck_timeout

#httphealthcheck_unhealthy_countInteger?

Returns number of consecutive failed checks before marking a node unhealthy.

Returns:

  • (Integer, nil)

    number of consecutive failed checks before marking a node unhealthy



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

attribute :httphealthcheck_unhealthy_count

#membersArray<String>, ...

Returns a list of zone/nodename pairs, e.g [‘us-central1-a/www-a’, …].

Returns:

  • (Array<String>, String, nil)

    a list of zone/nodename pairs, e.g [‘us-central1-a/www-a’, …]



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

attribute :members

#nameString?

Returns name of the load-balancer resource.

Returns:

  • (String, nil)

    name of the load-balancer resource



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

attribute :name

#pem_fileObject?

Returns path to the pem file associated with the service account email This option is deprecated. Use ‘credentials_file’.

Returns:

  • (Object, nil)

    path to the pem file associated with the service account email This option is deprecated. Use ‘credentials_file’.



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

attribute :pem_file

#port_rangeObject?

Returns the port (range) to forward, e.g. 80 or 8000-8888 defaults to all ports.

Returns:

  • (Object, nil)

    the port (range) to forward, e.g. 80 or 8000-8888 defaults to all ports



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

attribute :port_range

#project_idObject?

Returns your GCE project ID.

Returns:

  • (Object, nil)

    your GCE project ID



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

attribute :project_id

#protocol:tcp, ...

Returns the protocol used for the load-balancer packet forwarding, tcp or udp.

Returns:

  • (:tcp, :udp, nil)

    the protocol used for the load-balancer packet forwarding, tcp or udp



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

attribute :protocol

#regionString?

Returns the GCE region where the load-balancer is defined.

Returns:

  • (String, nil)

    the GCE region where the load-balancer is defined



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

attribute :region

#service_account_emailObject?

Returns service account email.

Returns:

  • (Object, nil)

    service account email



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

attribute :service_account_email

#state:active, ...

Returns desired state of the LB.

Returns:

  • (:active, :present, :absent, :deleted, nil)

    desired state of the LB



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

attribute :state