Class: Ansible::Ruby::Modules::Gcp_compute_url_map

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

Overview

UrlMaps are used to route requests to a backend service based on rules that you define for the host and path of an incoming URL.

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

#default_serviceString

Returns A reference to BackendService resource if none of the hostRules match.

Returns:

  • (String)

    A reference to BackendService resource if none of the hostRules match.



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

attribute :default_service

#descriptionObject?

Returns An optional description of this resource. Provide this property when you create the resource.

Returns:

  • (Object, nil)

    An optional description of this resource. Provide this property when you create the resource.



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

attribute :description

#host_rulesObject?

Returns The list of HostRules to use against the URL.

Returns:

  • (Object, nil)

    The list of HostRules to use against the URL.



23
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_url_map.rb', line 23

attribute :host_rules

#nameString?

Returns Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Returns:

  • (String, nil)

    Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression ‘[a-z](*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.



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

attribute :name

#path_matchersObject?

Returns The list of named PathMatchers to use against the URL.

Returns:

  • (Object, nil)

    The list of named PathMatchers to use against the URL.



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

attribute :path_matchers

#state:present, ...

Returns Whether the given object should exist in GCP.

Returns:

  • (:present, :absent, nil)

    Whether the given object should exist in GCP



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

attribute :state

#testsObject?

Returns The list of expected URL mappings. Request to update this UrlMap will succeed only if all of the test cases pass.

Returns:

  • (Object, nil)

    The list of expected URL mappings. Request to update this UrlMap will succeed only if all of the test cases pass.



33
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_url_map.rb', line 33

attribute :tests