Struct elasticsearch::slm::Slm

source ·
pub struct Slm<'a> { /* private fields */ }
Expand description

Namespace client for Snapshot Lifecycle Management APIs

Implementations

Creates a new instance of Slm

Slm Delete Lifecycle API

Deletes an existing snapshot lifecycle policy.

Slm Execute Lifecycle API

Immediately creates a snapshot according to the lifecycle policy, without waiting for the scheduled time.

Slm Execute Retention API

Deletes any snapshots that are expired according to the policy’s retention rules.

Slm Get Lifecycle API

Retrieves one or more snapshot lifecycle policy definitions and information about the latest snapshot attempts.

Slm Get Stats API

Returns global and policy-level statistics about actions taken by snapshot lifecycle management.

Slm Get Status API

Retrieves the status of snapshot lifecycle management (SLM).

Slm Put Lifecycle API

Creates or updates a snapshot lifecycle policy.

Slm Start API

Turns on snapshot lifecycle management (SLM).

Slm Stop API

Turns off snapshot lifecycle management (SLM).

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more