Class: Ansible::Ruby::Modules::Os_zone

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

Overview

Manage OpenStack DNS zones. Zones can be created, deleted or updated. Only the I(email), I(description), I(ttl) and I(masters) values can be updated.

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

#availability_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



39
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 39

attribute :availability_zone

#descriptionString?

Returns Zone description.

Returns:

  • (String, nil)

    Zone description



24
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 24

attribute :description

#emailString?

Returns Email of the zone owner (only applies if zone_type is primary).

Returns:

  • (String, nil)

    Email of the zone owner (only applies if zone_type is primary)



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 20

attribute :email

#mastersObject?

Returns Master nameservers (only applies if zone_type is secondary).

Returns:

  • (Object, nil)

    Master nameservers (only applies if zone_type is secondary)



32
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 32

attribute :masters

#nameString

Returns Zone name.

Returns:

  • (String)

    Zone name



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 12

attribute :name

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



35
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 35

attribute :state

#ttlInteger?

Returns TTL (Time To Live) value in seconds.

Returns:

  • (Integer, nil)

    TTL (Time To Live) value in seconds



28
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 28

attribute :ttl

#zone_type:primary, ...

Returns Zone type.

Returns:

  • (:primary, :secondary, nil)

    Zone type



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 16

attribute :zone_type