Class: Ansible::Ruby::Modules::Influxdb_retention_policy

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb

Overview

Manage InfluxDB retention policies

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

#database_nameString

Returns Name of the database.

Returns:

  • (String)

    Name of the database.



12
# File 'lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb', line 12

attribute :database_name

#defaultObject

Returns Sets the retention policy as default retention policy.

Returns:

  • (Object)

    Sets the retention policy as default retention policy



28
# File 'lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb', line 28

attribute :default

#durationString

Returns Determines how long InfluxDB should keep the data.

Returns:

  • (String)

    Determines how long InfluxDB should keep the data



20
# File 'lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb', line 20

attribute :duration

#policy_nameString

Returns Name of the retention policy.

Returns:

  • (String)

    Name of the retention policy



16
# File 'lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb', line 16

attribute :policy_name

#replicationInteger

Returns Determines how many independent copies of each point are stored in the cluster.

Returns:

  • (Integer)

    Determines how many independent copies of each point are stored in the cluster



24
# File 'lib/ansible/ruby/modules/generated/database/influxdb/influxdb_retention_policy.rb', line 24

attribute :replication