Class: Ansible::Ruby::Modules::Grafana_plugin

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb

Overview

Install and remove Grafana plugins.

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

#grafana_plugin_urlObject?

Returns Custom Grafana plugin URL.,Requires grafana 4.6.x or later.

Returns:

  • (Object, nil)

    Custom Grafana plugin URL.,Requires grafana 4.6.x or later.



26
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 26

attribute :grafana_plugin_url

#grafana_plugins_dirObject?

Returns Directory where Grafana plugin will be installed.

Returns:

  • (Object, nil)

    Directory where Grafana plugin will be installed.



20
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 20

attribute :grafana_plugins_dir

#grafana_repoObject?

Returns Grafana repository. If not set, gafana-cli will use the default value C(grafana.net/api/plugins).

Returns:

  • (Object, nil)

    Grafana repository. If not set, gafana-cli will use the default value C(grafana.net/api/plugins).



23
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 23

attribute :grafana_repo

#nameString

Returns Name of the plugin.

Returns:

  • (String)

    Name of the plugin.



12
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 12

attribute :name

#state:absent, ...

Returns Status of the Grafana plugin.,If latest is set, the version parameter will be ignored.

Returns:

  • (:absent, :present, nil)

    Status of the Grafana plugin.,If latest is set, the version parameter will be ignored.



29
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 29

attribute :state

#versionString?

Returns Version of the plugin to install.,Default to latest.

Returns:

  • (String, nil)

    Version of the plugin to install.,Default to latest.



16
# File 'lib/ansible/ruby/modules/generated/monitoring/grafana_plugin.rb', line 16

attribute :version