Class: Ansible::Ruby::Modules::Gcp_backend_service

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

Overview

Create or Destroy a Backend Service. See U(cloud.google.com/compute/docs/load-balancing/http/backend-service) for an overview. Full install/configuration instructions for the Google Cloud 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, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#backend_service_nameString

Returns Name of the Backend Service.

Returns:

  • (String)

    Name of the Backend Service.



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

attribute :backend_service_name

#backendsArray<Hash>, Hash

Returns List of backends that make up the backend service. A backend is made up of an instance group and optionally several other parameters. See U(cloud.google.com/compute/docs/reference/latest/backendServices) for details.

Returns:



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

attribute :backends

#credentials_fileString?

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

Returns:

  • (String, nil)

    Path to the JSON file associated with the service account email.



42
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_backend_service.rb', line 42

attribute :credentials_file

#enable_cdnObject?

Returns If true, enable Cloud CDN for this Backend Service.

Returns:

  • (Object, nil)

    If true, enable Cloud CDN for this Backend Service.



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

attribute :enable_cdn

#healthchecksArray<String>, String

Returns List of healthchecks. Only one healthcheck is supported.

Returns:

  • (Array<String>, String)

    List of healthchecks. Only one healthcheck is supported.



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

attribute :healthchecks

#port_nameString?

Returns Name of the port on the managed instance group (MIG) that backend services can forward data to. Required for external load balancing.

Returns:

  • (String, nil)

    Name of the port on the managed instance group (MIG) that backend services can forward data to. Required for external load balancing.



27
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_backend_service.rb', line 27

attribute :port_name

#project_idString?

Returns GCE project ID.

Returns:

  • (String, nil)

    GCE project ID.



46
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_backend_service.rb', line 46

attribute :project_id

#protocolObject?

Returns The protocol this Backend Service uses to communicate with backends. Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.

Returns:

  • (Object, nil)

    The protocol this Backend Service uses to communicate with backends. Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP.



31
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_backend_service.rb', line 31

attribute :protocol

#service_account_emailString?

Returns Service account email.

Returns:

  • (String, nil)

    Service account email



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

attribute :service_account_email

#state:absent, ...

Returns Desired state of the resource.

Returns:

  • (:absent, :present, nil)

    Desired state of the resource



50
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_backend_service.rb', line 50

attribute :state

#timeoutInteger?

Returns How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. Valid range is 1-86400.

Returns:

  • (Integer, nil)

    How many seconds to wait for the backend before considering it a failed request. Default is 30 seconds. Valid range is 1-86400.



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

attribute :timeout