Struct elasticsearch::autoscaling::Autoscaling
source · [−]pub struct Autoscaling<'a> { /* private fields */ }
Expand description
Namespace client for Autoscaling APIs
Implementations
sourceimpl<'a> Autoscaling<'a>
impl<'a> Autoscaling<'a>
sourcepub fn new(transport: &'a Transport) -> Self
pub fn new(transport: &'a Transport) -> Self
Creates a new instance of Autoscaling
pub fn transport(&self) -> &Transport
sourcepub fn delete_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingDeleteAutoscalingPolicyParts<'b>
) -> AutoscalingDeleteAutoscalingPolicy<'a, 'b>
pub fn delete_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingDeleteAutoscalingPolicyParts<'b>
) -> AutoscalingDeleteAutoscalingPolicy<'a, 'b>
Autoscaling Delete Autoscaling Policy API
Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
sourcepub fn get_autoscaling_capacity<'b>(
&'a self
) -> AutoscalingGetAutoscalingCapacity<'a, 'b>
pub fn get_autoscaling_capacity<'b>(
&'a self
) -> AutoscalingGetAutoscalingCapacity<'a, 'b>
Autoscaling Get Autoscaling Capacity API
Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
sourcepub fn get_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingGetAutoscalingPolicyParts<'b>
) -> AutoscalingGetAutoscalingPolicy<'a, 'b>
pub fn get_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingGetAutoscalingPolicyParts<'b>
) -> AutoscalingGetAutoscalingPolicy<'a, 'b>
Autoscaling Get Autoscaling Policy API
Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
sourcepub fn put_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingPutAutoscalingPolicyParts<'b>
) -> AutoscalingPutAutoscalingPolicy<'a, 'b, ()>
pub fn put_autoscaling_policy<'b>(
&'a self,
parts: AutoscalingPutAutoscalingPolicyParts<'b>
) -> AutoscalingPutAutoscalingPolicy<'a, 'b, ()>
Autoscaling Put Autoscaling Policy API
Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Autoscaling<'a>
impl<'a> Send for Autoscaling<'a>
impl<'a> Sync for Autoscaling<'a>
impl<'a> Unpin for Autoscaling<'a>
impl<'a> !UnwindSafe for Autoscaling<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more