Class: Ansible::Ruby::Modules::Cs_resourcelimit

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

Overview

Manage limits of resources for domains, accounts and projects.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#accountString?

Returns Account the resource is related to.

Returns:

  • (String, nil)

    Account the resource is related to.



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_resourcelimit.rb', line 24

attribute :account

#domainString?

Returns Domain the resource is related to.

Returns:

  • (String, nil)

    Domain the resource is related to.



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_resourcelimit.rb', line 20

attribute :domain

#limitInteger?

Returns Maximum number of the resource.,Default is unlimited C(-1).

Returns:

  • (Integer, nil)

    Maximum number of the resource.,Default is unlimited C(-1).



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_resourcelimit.rb', line 16

attribute :limit

#projectObject?

Returns Name of the project the resource is related to.

Returns:

  • (Object, nil)

    Name of the project the resource is related to.



28
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_resourcelimit.rb', line 28

attribute :project

#resource_type:instance, ...

Returns Type of the resource.

Returns:

  • (:instance, :ip_address, :volume, :snapshot, :template, :network, :vpc, :cpu, :memory, :primary_storage, :secondary_storage)

    Type of the resource.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_resourcelimit.rb', line 12

attribute :resource_type