Class: Ansible::Ruby::Modules::Azure_rm_dnsrecordset

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

Overview

Creates, deletes, and updates DNS records sets and records within an existing Azure DNS Zone.

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

#record_mode:append, ...

Returns whether existing record values not sent to the module should be purged.

Returns:

  • (:append, :purge, nil)

    whether existing record values not sent to the module should be purged



28
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 28

attribute :record_mode

#record_type:A, ...

Returns the type of record set to create or delete.

Returns:

  • (:A, :AAAA, :CNAME, :MX, :NS, :SRV, :TXT, :PTR)

    the type of record set to create or delete



24
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 24

attribute :record_type

#recordsString, ...

Returns list of records to be created depending on the type of record (set).

Returns:

  • (String, Array<Hash>, Hash, nil)

    list of records to be created depending on the type of record (set)



40
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 40

attribute :records

#relative_nameString

Returns relative name of the record set.

Returns:

  • (String)

    relative name of the record set



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 20

attribute :relative_name

#resource_groupString

Returns name of resource group.

Returns:

  • (String)

    name of resource group



12
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 12

attribute :resource_group

#state:absent, ...

Returns Assert the state of the record set. Use C(present) to create or update and C(absent) to delete.

Returns:

  • (:absent, :present, nil)

    Assert the state of the record set. Use C(present) to create or update and C(absent) to delete.



32
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 32

attribute :state

#time_to_liveInteger?

Returns time to live of the record set in seconds.

Returns:

  • (Integer, nil)

    time to live of the record set in seconds



36
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 36

attribute :time_to_live

#zone_nameString

Returns name of the existing DNS zone in which to manage the record set.

Returns:

  • (String)

    name of the existing DNS zone in which to manage the record set



16
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_dnsrecordset.rb', line 16

attribute :zone_name