Class: Ansible::Ruby::Modules::Os_zone
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_zone
- 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
-
#availability_zone ⇒ Object?
Ignored.
-
#description ⇒ String?
Zone description.
-
#email ⇒ String?
Email of the zone owner (only applies if zone_type is primary).
-
#masters ⇒ Object?
Master nameservers (only applies if zone_type is secondary).
-
#name ⇒ String
Zone name.
-
#state ⇒ :present, ...
Should the resource be present or absent.
-
#ttl ⇒ Integer?
TTL (Time To Live) value in seconds.
-
#zone_type ⇒ :primary, ...
Zone type.
Methods inherited from Base
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_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 39 attribute :availability_zone |
#description ⇒ String?
Returns Zone description.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 24 attribute :description |
#email ⇒ String?
Returns 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 |
#masters ⇒ Object?
Returns 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 |
#name ⇒ String
Returns 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.
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 35 attribute :state |
#ttl ⇒ Integer?
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_zone.rb', line 16 attribute :zone_type |