pub struct InstanceGroupManagerResizeRequest {
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub id: Option<u64>,
pub kind: Option<String>,
pub name: Option<String>,
pub requested_run_duration: Option<Duration>,
pub resize_by: Option<i32>,
pub self_link: Option<String>,
pub self_link_with_id: Option<String>,
pub state: Option<String>,
pub status: Option<InstanceGroupManagerResizeRequestStatus>,
pub zone: Option<String>,
}
Expand description
InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§creation_timestamp: Option<String>
[Output Only] The creation timestamp for this resize request in RFC3339 text format.
description: Option<String>
An optional description of this resource.
id: Option<u64>
[Output Only] A unique identifier for this resource type. The server generates this identifier.
kind: Option<String>
[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
name: Option<String>
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
requested_run_duration: Option<Duration>
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
resize_by: Option<i32>
The number of instances to be created by this resize request. The group’s target size will be increased by this number.
self_link: Option<String>
[Output Only] The URL for this resize request. The server defines this URL.
self_link_with_id: Option<String>
[Output Only] Server-defined URL for this resource with the resource id.
state: Option<String>
[Output only] Current state of the request.
status: Option<InstanceGroupManagerResizeRequestStatus>
[Output only] Status of the request.
zone: Option<String>
[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
Trait Implementations§
Source§impl Clone for InstanceGroupManagerResizeRequest
impl Clone for InstanceGroupManagerResizeRequest
Source§fn clone(&self) -> InstanceGroupManagerResizeRequest
fn clone(&self) -> InstanceGroupManagerResizeRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for InstanceGroupManagerResizeRequest
impl Default for InstanceGroupManagerResizeRequest
Source§fn default() -> InstanceGroupManagerResizeRequest
fn default() -> InstanceGroupManagerResizeRequest
Source§impl<'de> Deserialize<'de> for InstanceGroupManagerResizeRequest
impl<'de> Deserialize<'de> for InstanceGroupManagerResizeRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for InstanceGroupManagerResizeRequest
impl Resource for InstanceGroupManagerResizeRequest
impl ResponseResult for InstanceGroupManagerResizeRequest
Auto Trait Implementations§
impl Freeze for InstanceGroupManagerResizeRequest
impl RefUnwindSafe for InstanceGroupManagerResizeRequest
impl Send for InstanceGroupManagerResizeRequest
impl Sync for InstanceGroupManagerResizeRequest
impl Unpin for InstanceGroupManagerResizeRequest
impl UnwindSafe for InstanceGroupManagerResizeRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more