Class: Ansible::Ruby::Modules::Manageiq_policies

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb

Overview

The manageiq_policies module supports adding and deleting policy_profiles in ManageIQ.

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

#policy_profilesArray<Hash>, ...

Returns list of dictionaries, each includes the policy_profile ‘name’ key.,required if state is present or absent.

Returns:

  • (Array<Hash>, Hash, nil)

    list of dictionaries, each includes the policy_profile ‘name’ key.,required if state is present or absent.



16
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb', line 16

attribute :policy_profiles

#resource_nameString

Returns the name of the resource to which the profile should be [un]assigned.

Returns:

  • (String)

    the name of the resource to which the profile should be [un]assigned



24
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb', line 24

attribute :resource_name

#resource_type:provider, ...

Returns the type of the resource to which the profile should be [un]assigned.

Returns:

  • (:provider, :host, :vm, :blueprint, :category, :cluster, :"data store", :group, :"resource pool", :service, :"service template", :template, :tenant, :user)

    the type of the resource to which the profile should be [un]assigned



20
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb', line 20

attribute :resource_type

#state:absent, ...

Returns absent - policy_profiles should not exist,,present - policy_profiles should exist,,list - list current policy_profiles and policies.

Returns:

  • (:absent, :present, :list, nil)

    absent - policy_profiles should not exist,,present - policy_profiles should exist,,list - list current policy_profiles and policies.



12
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb', line 12

attribute :state