Class: Ansible::Ruby::Modules::Manageiq_policies
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Manageiq_policies
- 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
-
#policy_profiles ⇒ Array<Hash>, ...
List of dictionaries, each includes the policy_profile ‘name’ key.,required if state is present or absent.
-
#resource_name ⇒ String
The name of the resource to which the profile should be [un]assigned.
-
#resource_type ⇒ :provider, ...
The type of the resource to which the profile should be [un]assigned.
-
#state ⇒ :absent, ...
Absent - policy_profiles should not exist,,present - policy_profiles should exist,,list - list current policy_profiles and policies.
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
#policy_profiles ⇒ Array<Hash>, ...
Returns 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_name ⇒ String
Returns 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.
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.
12 |
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_policies.rb', line 12 attribute :state |