Struct elasticsearch::ilm::Ilm [−][src]
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]
&'a self,
parts: IlmDeleteLifecycleParts<'b>
) -> IlmDeleteLifecycle<'a, 'b>
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]
&'a self,
parts: IlmExplainLifecycleParts<'b>
) -> IlmExplainLifecycle<'a, 'b>
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]
&'a self,
parts: IlmGetLifecycleParts<'b>
) -> IlmGetLifecycle<'a, 'b>
Returns the specified policy definition. Includes the policy version and last modified date.
pub fn get_status<'b>(&'a self) -> IlmGetStatus<'a, 'b>
[src]
Retrieves the current index lifecycle management (ILM) status.
pub fn move_to_step<'b>(
&'a self,
parts: IlmMoveToStepParts<'b>
) -> IlmMoveToStep<'a, 'b, ()>
[src]
&'a self,
parts: IlmMoveToStepParts<'b>
) -> IlmMoveToStep<'a, 'b, ()>
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]
&'a self,
parts: IlmPutLifecycleParts<'b>
) -> IlmPutLifecycle<'a, 'b, ()>
Creates a lifecycle policy
pub fn remove_policy<'b>(
&'a self,
parts: IlmRemovePolicyParts<'b>
) -> IlmRemovePolicy<'a, 'b, ()>
[src]
&'a self,
parts: IlmRemovePolicyParts<'b>
) -> IlmRemovePolicy<'a, 'b, ()>
Removes the assigned lifecycle policy and stops managing the specified index
pub fn retry<'b>(&'a self, parts: IlmRetryParts<'b>) -> IlmRetry<'a, 'b, ()>
[src]
Retries executing the policy for an index that is in the ERROR step.
pub fn start<'b>(&'a self) -> IlmStart<'a, 'b, ()>
[src]
Start the index lifecycle management (ILM) plugin.
pub fn stop<'b>(&'a self) -> IlmStop<'a, 'b, ()>
[src]
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,