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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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