New in version 2017.7.0.
(compatible with InfluxDB version 0.9+)
salt.states.influxdb_retention_policy.
absent
(name, database, **client_args)¶Ensure that given retention policy is absent.
Name of the retention policy to remove.
Name of the database that the retention policy was defined on.
salt.states.influxdb_retention_policy.
convert_duration
(duration)¶Convert the a duration string into XXhYYmZZs format
Duration to convert
String representation of duration in XXhYYmZZs format
salt.states.influxdb_retention_policy.
present
(name, database, duration='7d', replication=1, default=False, **client_args)¶Ensure that given retention policy is present.
Name of the retention policy to create.
Database to create retention policy on.
Generated on June 18, 2020 at 04:09:58 UTC.
You are viewing docs for the latest stable release, 3001. Switch to docs for the previous stable release, 3000.3, or to a recent doc build from the master branch.
© 2020 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy