Class: Ansible::Ruby::Modules::Ovirt_datacenter
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_datacenter
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenters.rb
Overview
Module to manage data centers in oVirt/RHV
Instance Method Summary collapse
-
#comment ⇒ Object?
Comment of the data center.
-
#compatibility_version ⇒ Float?
Compatibility version of the data center.
-
#description ⇒ Object?
Description of the data center.
-
#force ⇒ Boolean?
This parameter can be used only when removing a data center.
-
#local ⇒ Boolean?
I(True) if the data center should be local, I(False) if should be shared.,Default value is set by engine.
-
#mac_pool ⇒ Object?
MAC pool to be used by this datacenter.,IMPORTANT: This option is deprecated in oVirt/RHV 4.1.
-
#name ⇒ String
Name of the data center to manage.
-
#quota_mode ⇒ :disabled, ...
Quota mode of the data center.
-
#state ⇒ :present, ...
Should the data center be present or absent.
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
#comment ⇒ Object?
Returns Comment of the data center.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 23 attribute :comment |
#compatibility_version ⇒ Float?
Returns Compatibility version of the data center.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 30 attribute :compatibility_version |
#description ⇒ Object?
Returns Description of the data center.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 20 attribute :description |
#force ⇒ Boolean?
Returns This parameter can be used only when removing a data center. If I(True) data center will be forcibly removed, even though it contains some clusters. Default value is I(False), which means that only empty data center can be removed.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 41 attribute :force |
#local ⇒ Boolean?
Returns I(True) if the data center should be local, I(False) if should be shared.,Default value is set by engine.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 26 attribute :local |
#mac_pool ⇒ Object?
Returns MAC pool to be used by this datacenter.,IMPORTANT: This option is deprecated in oVirt/RHV 4.1. You should use C(mac_pool) in C(ovirt_clusters) module, as MAC pools are set per cluster since 4.1.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 38 attribute :mac_pool |
#name ⇒ String
Returns Name of the data center to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 12 attribute :name |
#quota_mode ⇒ :disabled, ...
Returns Quota mode of the data center. One of I(disabled), I(audit) or I(enabled).
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 34 attribute :quota_mode |
#state ⇒ :present, ...
Returns Should the data center be present or absent.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_datacenter.rb', line 16 attribute :state |