Class: Ansible::Ruby::Modules::Ovirt_permission

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permissions.rb

Overview

Module to manage permissions of users/groups 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

#authz_nameString

Returns Authorization provider of the user/group.

Returns:

  • (String)

    Authorization provider of the user/group.



38
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 38

attribute :authz_name

#group_nameObject?

Returns Name of the group to manage.,Note that if group does not exist in the system this module will fail, you should ensure the group exists by using M(ovirt_groups) module.

Returns:

  • (Object, nil)

    Name of the group to manage.,Note that if group does not exist in the system this module will fail, you should ensure the group exists by using M(ovirt_groups) module.



35
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 35

attribute :group_name

#namespaceObject?

Returns Namespace of the authorization provider, where user/group resides.

Returns:

  • (Object, nil)

    Namespace of the authorization provider, where user/group resides.



42
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 42

attribute :namespace

#object_idObject?

Returns ID of the object where the permissions should be managed.

Returns:

  • (Object, nil)

    ID of the object where the permissions should be managed.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 20

attribute :object_id

#object_nameString?

Returns Name of the object where the permissions should be managed.

Returns:

  • (String, nil)

    Name of the object where the permissions should be managed.



23
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 23

attribute :object_name

#object_type:cluster, ...

Returns The object where the permissions should be managed.

Returns:

  • (:cluster, :cpu_profile, :data_center, :disk, :disk_profile, :host, :network, :storage_domain, :system, :template, :vm, :vm_pool, :vnic_profile, nil)

    The object where the permissions should be managed.



27
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 27

attribute :object_type

#quota_nameString?

Returns Name of the quota to assign permission. Works only with C(object_type) I(data_center).

Returns:

  • (String, nil)

    Name of the quota to assign permission. Works only with C(object_type) I(data_center).



45
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 45

attribute :quota_name

#roleString?

Returns Name of the role to be assigned to user/group on specific object.

Returns:

  • (String, nil)

    Name of the role to be assigned to user/group on specific object.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 12

attribute :role

#state:absent, ...

Returns Should the permission be present/absent.

Returns:

  • (:absent, :present, nil)

    Should the permission be present/absent.



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

attribute :state

#user_nameString?

Returns Username of the user to manage. In most LDAPs it’s I(uid) of the user, but in Active Directory you must specify I(UPN) of the user.,Note that if user does not exist in the system this module will fail, you should ensure the user exists by using M(ovirt_users) module.

Returns:

  • (String, nil)

    Username of the user to manage. In most LDAPs it’s I(uid) of the user, but in Active Directory you must specify I(UPN) of the user.,Note that if user does not exist in the system this module will fail, you should ensure the user exists by using M(ovirt_users) module.



31
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_permission.rb', line 31

attribute :user_name