Class: Ansible::Ruby::Modules::Gcp_dns_resource_record_set

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

Overview

A single DNS record that exists on a domain name (i.e. in a managed zone). This record defines the information about the domain and where the domain / subdomains direct to. The record will include the domain/subdomain name, a type (i.e. A, AAA, CAA, MX, CNAME, NS, etc) .

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

#managed_zoneString

Returns Identifies the managed zone addressed by this request.,Can be the managed zone name or id.

Returns:

  • (String)

    Identifies the managed zone addressed by this request.,Can be the managed zone name or id.



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

attribute :managed_zone

#nameString

Returns For example, U(www.example.com.).

Returns:



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

attribute :name

#state:present, ...

Returns Whether the given object should exist in GCP.

Returns:

  • (:present, :absent, nil)

    Whether the given object should exist in GCP



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

attribute :state

#targetArray<String>, ...

Returns As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) .

Returns:

  • (Array<String>, String, nil)

    As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) .



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

attribute :target

#ttlInteger?

Returns Number of seconds that this ResourceRecordSet can be cached by resolvers.

Returns:

  • (Integer, nil)

    Number of seconds that this ResourceRecordSet can be cached by resolvers.



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

attribute :ttl

#type:A, ...

Returns One of valid DNS resource types.

Returns:

  • (:A, :AAAA, :CAA, :CNAME, :MX, :NAPTR, :NS, :PTR, :SOA, :SPF, :SRV, :TXT)

    One of valid DNS resource types.



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

attribute :type