Class: Ansible::Ruby::Modules::Ovirt_quota

Inherits:
Base show all
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

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

#cluster_graceObject?

Returns Cluster grace(hard limit) defined in percentage (1-100).

Returns:

  • (Object, nil)

    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_thresholdObject?

Returns Cluster threshold(soft limit) defined in percentage (0-100).

Returns:

  • (Object, nil)

    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

#clustersArray<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.

Returns:

  • (Array<Hash>, Hash, nil)

    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_centerString

Returns Name of the datacenter where quota should be managed.

Returns:

  • (String)

    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

#descriptionObject?

Returns Description of the quota to manage.

Returns:

  • (Object, nil)

    Description of the quota to manage.



24
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 24

attribute :description

#nameString

Returns Name of the quota to manage.

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, nil)

    Should the quota be present/absent.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_quota.rb', line 16

attribute :state

#storage_graceInteger?

Returns Storage grace(hard limit) defined in percentage (1-100).

Returns:

  • (Integer, nil)

    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_thresholdInteger?

Returns Storage threshold(soft limit) defined in percentage (0-100).

Returns:

  • (Integer, nil)

    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

#storagesArray<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).

Returns:

  • (Array<Hash>, Hash, nil)

    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