Class: Ansible::Ruby::Modules::Ovirt_quota
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_quota
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quotas.rb
Overview
Module to manage datacenter quotas in oVirt/RHV
Instance Method Summary collapse
-
#cluster_grace ⇒ Object?
Cluster grace(hard limit) defined in percentage (1-100).
-
#cluster_threshold ⇒ Object?
Cluster threshold(soft limit) defined in percentage (0-100).
-
#clusters ⇒ Array<Hash>, ...
List of dictionary of cluster limits, which is valid to specific cluster.,If cluster isn’t specified it’s valid to all clusters in system:,C(cluster) - Name of the cluster.,C(memory) - Memory limit (in GiB).,C(cpu) - CPU limit.
-
#data_center ⇒ String
Name of the datacenter where quota should be managed.
-
#description ⇒ Object?
Description of the quota to manage.
-
#name ⇒ String
Name of the quota to manage.
-
#state ⇒ :present, ...
Should the quota be present/absent.
-
#storage_grace ⇒ Integer?
Storage grace(hard limit) defined in percentage (1-100).
-
#storage_threshold ⇒ Integer?
Storage threshold(soft limit) defined in percentage (0-100).
-
#storages ⇒ Array<Hash>, ...
List of dictionary of storage limits, which is valid to specific storage.,If storage isn’t specified it’s valid to all storages in system:,C(storage) - Name of the storage.,C(size) - Size limit (in GiB).
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
#cluster_grace ⇒ Object?
Returns Cluster grace(hard limit) defined in percentage (1-100).
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 30 attribute :cluster_grace |
#cluster_threshold ⇒ Object?
Returns Cluster threshold(soft limit) defined in percentage (0-100).
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 27 attribute :cluster_threshold |
#clusters ⇒ Array<Hash>, ...
Returns List of dictionary of cluster limits, which is valid to specific cluster.,If cluster isn’t specified it’s valid to all clusters in system:,C(cluster) - Name of the cluster.,C(memory) - Memory limit (in GiB).,C(cpu) - CPU limit.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 41 attribute :clusters |
#data_center ⇒ String
Returns Name of the datacenter where quota should be managed.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 20 attribute :data_center |
#description ⇒ Object?
Returns Description of the quota to manage.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 24 attribute :description |
#name ⇒ String
Returns Name of the quota to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Should the quota be present/absent.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 16 attribute :state |
#storage_grace ⇒ Integer?
Returns Storage grace(hard limit) defined in percentage (1-100).
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 37 attribute :storage_grace |
#storage_threshold ⇒ Integer?
Returns Storage threshold(soft limit) defined in percentage (0-100).
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 33 attribute :storage_threshold |
#storages ⇒ Array<Hash>, ...
Returns List of dictionary of storage limits, which is valid to specific storage.,If storage isn’t specified it’s valid to all storages in system:,C(storage) - Name of the storage.,C(size) - Size limit (in GiB).
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 45 attribute :storages |