New in version 2017.7.0.
(compatible with InfluxDB version 0.9+)
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.
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 November 14, 2019 at 00:09:58 UTC.