pub struct ResizeRequestArgs {
pub description: Output<Option<String>>,
pub instance_group_manager: Output<String>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub requested_run_duration: Output<Option<ResizeRequestRequestedRunDuration>>,
pub resize_by: Output<i32>,
pub zone: Output<String>,
}
Fields§
§description: Output<Option<String>>
An optional description of this resize-request.
instance_group_manager: Output<String>
The name of the managed instance group. The name should conform to RFC1035 or be a resource ID. Authorization requires the following IAM permission on the specified resource instanceGroupManager: *compute.instanceGroupManagers.update
name: Output<Option<String>>
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
requested_run_duration: Output<Option<ResizeRequestRequestedRunDuration>>
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
resize_by: Output<i32>
The number of instances to be created by this resize request. The group’s target size will be increased by this number.
zone: Output<String>
Name of the compute zone scoping this request. Name should conform to RFC1035.
Implementations§
source§impl ResizeRequestArgs
impl ResizeRequestArgs
sourcepub fn builder() -> ResizeRequestArgsBuilder
pub fn builder() -> ResizeRequestArgsBuilder
Create an instance of ResizeRequestArgs
using the builder syntax
Trait Implementations§
source§impl Clone for ResizeRequestArgs
impl Clone for ResizeRequestArgs
source§fn clone(&self) -> ResizeRequestArgs
fn clone(&self) -> ResizeRequestArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ResizeRequestArgs
impl RefUnwindSafe for ResizeRequestArgs
impl Send for ResizeRequestArgs
impl Sync for ResizeRequestArgs
impl Unpin for ResizeRequestArgs
impl UnwindSafe for ResizeRequestArgs
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)