Struct elasticsearch::ilm::Ilm[][src]

pub struct Ilm<'a> { /* fields omitted */ }

Namespace client for Index Lifecycle Management APIs

Implementations

impl<'a> Ilm<'a>[src]

pub fn new(transport: &'a Transport) -> Self[src]

Creates a new instance of Ilm

pub fn transport(&self) -> &Transport[src]

pub fn delete_lifecycle<'b>(
    &'a self,
    parts: IlmDeleteLifecycleParts<'b>
) -> IlmDeleteLifecycle<'a, 'b>
[src]

Ilm Delete Lifecycle API

Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.

pub fn explain_lifecycle<'b>(
    &'a self,
    parts: IlmExplainLifecycleParts<'b>
) -> IlmExplainLifecycle<'a, 'b>
[src]

Ilm Explain Lifecycle API

Retrieves information about the index’s current lifecycle state, such as the currently executing phase, action, and step.

pub fn get_lifecycle<'b>(
    &'a self,
    parts: IlmGetLifecycleParts<'b>
) -> IlmGetLifecycle<'a, 'b>
[src]

Ilm Get Lifecycle API

Returns the specified policy definition. Includes the policy version and last modified date.

pub fn get_status<'b>(&'a self) -> IlmGetStatus<'a, 'b>[src]

Ilm Get Status API

Retrieves the current index lifecycle management (ILM) status.

pub fn move_to_step<'b>(
    &'a self,
    parts: IlmMoveToStepParts<'b>
) -> IlmMoveToStep<'a, 'b, ()>
[src]

Ilm Move To Step API

Manually moves an index into the specified step and executes that step.

pub fn put_lifecycle<'b>(
    &'a self,
    parts: IlmPutLifecycleParts<'b>
) -> IlmPutLifecycle<'a, 'b, ()>
[src]

Ilm Put Lifecycle API

Creates a lifecycle policy

pub fn remove_policy<'b>(
    &'a self,
    parts: IlmRemovePolicyParts<'b>
) -> IlmRemovePolicy<'a, 'b, ()>
[src]

Ilm Remove Policy API

Removes the assigned lifecycle policy and stops managing the specified index

pub fn retry<'b>(&'a self, parts: IlmRetryParts<'b>) -> IlmRetry<'a, 'b, ()>[src]

Ilm Retry API

Retries executing the policy for an index that is in the ERROR step.

pub fn start<'b>(&'a self) -> IlmStart<'a, 'b, ()>[src]

Ilm Start API

Start the index lifecycle management (ILM) plugin.

pub fn stop<'b>(&'a self) -> IlmStop<'a, 'b, ()>[src]

Ilm Stop API

Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Ilm<'a>

impl<'a> Send for Ilm<'a>

impl<'a> Sync for Ilm<'a>

impl<'a> Unpin for Ilm<'a>

impl<'a> !UnwindSafe for Ilm<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.