Class: Ansible::Ruby::Modules::Manageiq_alert_profiles

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

Overview

The manageiq_alert_profiles module supports adding, updating and deleting alert 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, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

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

Instance Method Details

#alertsArray<String>, ...

Returns List of alert descriptions to assign to this profile.,Required if state is “present”.

Returns:

  • (Array<String>, String, nil)

    List of alert descriptions to assign to this profile.,Required if state is “present”



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

attribute :alerts

#nameString?

Returns The unique alert profile name in ManageIQ.,Required when state is “absent” or “present”.

Returns:

  • (String, nil)

    The unique alert profile name in ManageIQ.,Required when state is “absent” or “present”.



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

attribute :name

#notesObject?

Returns Optional notes for this profile.

Returns:

  • (Object, nil)

    Optional notes for this profile



28
# File 'lib/ansible/ruby/modules/generated/remote_management/manageiq/manageiq_alert_profiles.rb', line 28

attribute :notes

#resource_type:Vm, ...

Returns The resource type for the alert profile in ManageIQ. Required when state is “present”.

Returns:

  • (:Vm, :ContainerNode, :MiqServer, :Host, :Storage, :EmsCluster, :ExtManagementSystem, :MiddlewareServer, nil)

    The resource type for the alert profile in ManageIQ. Required when state is “present”.



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

attribute :resource_type

#state:absent, ...

Returns absent - alert profile should not exist,,present - alert profile should exist,.

Returns:

  • (:absent, :present, nil)

    absent - alert profile should not exist,,present - alert profile should exist,



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

attribute :state