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

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

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, #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 where retention policy will be created.

Returns:

  • (String)

    Name of the database where retention policy will be created



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

attribute :database_name

#defaultObject

Returns Sets the retention policy as default retention policy.

Returns:

  • (Object)

    Sets the retention policy as default retention policy



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

attribute :default

#durationString

Returns Determines how long InfluxDB should keep the data.

Returns:

  • (String)

    Determines how long InfluxDB should keep the data



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

attribute :duration

#hostnameString

Returns The hostname or IP address on which InfluxDB server is listening.

Returns:

  • (String)

    The hostname or IP address on which InfluxDB server is listening



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

attribute :hostname

#passwordString?

Returns Password that will be used to authenticate against InfluxDB server.

Returns:

  • (String, nil)

    Password that will be used to authenticate against InfluxDB server



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

attribute :password

#policy_nameString

Returns Name of the retention policy.

Returns:

  • (String)

    Name of the retention policy



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

attribute :policy_name

#portInteger?

Returns The port on which InfluxDB server is listening.

Returns:

  • (Integer, nil)

    The port on which InfluxDB server is listening



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

attribute :port

#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



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

attribute :replication

#usernameString?

Returns Username that will be used to authenticate against InfluxDB server.

Returns:

  • (String, nil)

    Username that will be used to authenticate against InfluxDB server



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

attribute :username