pub struct InstanceGroupArgs {
pub description: Output<Option<String>>,
pub instances: Output<Option<Vec<String>>>,
pub name: Output<Option<String>>,
pub named_ports: Output<Option<Vec<InstanceGroupNamedPort>>>,
pub network: Output<Option<String>>,
pub project: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§description: Output<Option<String>>
An optional textual description of the instance group.
instances: Output<Option<Vec<String>>>
The list of instances in the group, in self_link
format.
When adding instances they must all be in the same network and zone as the instance group.
name: Output<Option<String>>
The name of the instance group. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.
named_ports: Output<Option<Vec<InstanceGroupNamedPort>>>
The named port configuration. See the section below for details on configuration. Structure is documented below.
network: Output<Option<String>>
The URL of the network the instance group is in. If
this is different from the network where the instances are in, the creation
fails. Defaults to the network where the instances are in (if neither
network
nor instances
is specified, this field will be blank).
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
zone: Output<Option<String>>
The zone that this instance group should be created in.
Implementations§
source§impl InstanceGroupArgs
impl InstanceGroupArgs
sourcepub fn builder() -> InstanceGroupArgsBuilder
pub fn builder() -> InstanceGroupArgsBuilder
Create an instance of InstanceGroupArgs
using the builder syntax
Trait Implementations§
source§impl Clone for InstanceGroupArgs
impl Clone for InstanceGroupArgs
source§fn clone(&self) -> InstanceGroupArgs
fn clone(&self) -> InstanceGroupArgs
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 InstanceGroupArgs
impl RefUnwindSafe for InstanceGroupArgs
impl Send for InstanceGroupArgs
impl Sync for InstanceGroupArgs
impl Unpin for InstanceGroupArgs
impl UnwindSafe for InstanceGroupArgs
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
)