pub struct InstanceGroupManagerArgs {Show 23 fields
pub all_instances_config: Output<Option<InstanceGroupManagerAllInstancesConfig>>,
pub auto_healing_policies: Output<Option<InstanceGroupManagerAutoHealingPolicies>>,
pub base_instance_name: Output<String>,
pub description: Output<Option<String>>,
pub instance_lifecycle_policy: Output<Option<InstanceGroupManagerInstanceLifecyclePolicy>>,
pub list_managed_instances_results: Output<Option<String>>,
pub name: Output<Option<String>>,
pub named_ports: Output<Option<Vec<InstanceGroupManagerNamedPort>>>,
pub params: Output<Option<InstanceGroupManagerParams>>,
pub project: Output<Option<String>>,
pub standby_policy: Output<Option<InstanceGroupManagerStandbyPolicy>>,
pub stateful_disks: Output<Option<Vec<InstanceGroupManagerStatefulDisk>>>,
pub stateful_external_ips: Output<Option<Vec<InstanceGroupManagerStatefulExternalIp>>>,
pub stateful_internal_ips: Output<Option<Vec<InstanceGroupManagerStatefulInternalIp>>>,
pub target_pools: Output<Option<Vec<String>>>,
pub target_size: Output<Option<i32>>,
pub target_stopped_size: Output<Option<i32>>,
pub target_suspended_size: Output<Option<i32>>,
pub update_policy: Output<Option<InstanceGroupManagerUpdatePolicy>>,
pub versions: Output<Vec<InstanceGroupManagerVersion>>,
pub wait_for_instances: Output<Option<bool>>,
pub wait_for_instances_status: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§all_instances_config: Output<Option<InstanceGroupManagerAllInstancesConfig>>
Properties to set on all instances in the group. After setting allInstancesConfig on the group, you must update the group’s instances to apply the configuration.
auto_healing_policies: Output<Option<InstanceGroupManagerAutoHealingPolicies>>
The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
base_instance_name: Output<String>
The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
description: Output<Option<String>>
An optional textual description of the instance group manager.
instance_lifecycle_policy: Output<Option<InstanceGroupManagerInstanceLifecyclePolicy>>
The instance lifecycle policy for this managed instance group.
list_managed_instances_results: Output<Option<String>>
Pagination behavior of the listManagedInstances
API
method for this managed instance group. Valid values are: PAGELESS
, PAGINATED
.
If PAGELESS
(default), Pagination is disabled for the group’s listManagedInstances
API method.
maxResults
and pageToken
query parameters are ignored and all instances are returned in a single
response. If PAGINATED
, pagination is enabled, maxResults
and pageToken
query parameters are
respected.
name: Output<Option<String>>
The name of the instance group manager. Must be 1-63 characters long and comply with RFC1035. Supported characters include lowercase letters, numbers, and hyphens.
named_ports: Output<Option<Vec<InstanceGroupManagerNamedPort>>>
The named port configuration. See the section below for details on configuration.
params: Output<Option<InstanceGroupManagerParams>>
Input only additional params for instance group manager creation. Structure is documented below. For more information, see API.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
standby_policy: Output<Option<InstanceGroupManagerStandbyPolicy>>
The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the official documentation and API
stateful_disks: Output<Option<Vec<InstanceGroupManagerStatefulDisk>>>
Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation.
stateful_external_ips: Output<Option<Vec<InstanceGroupManagerStatefulExternalIp>>>
External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
stateful_internal_ips: Output<Option<Vec<InstanceGroupManagerStatefulInternalIp>>>
Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
target_pools: Output<Option<Vec<String>>>
The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
target_size: Output<Option<i32>>
The target number of running instances for this managed instance group. This value should always be explicitly set unless this resource is attached to an autoscaler, in which case it should never be set. Defaults to 0.
target_stopped_size: Output<Option<i32>>
The target number of stopped instances for this managed instance group.
target_suspended_size: Output<Option<i32>>
The target number of suspended instances for this managed instance group.
update_policy: Output<Option<InstanceGroupManagerUpdatePolicy>>
The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API.
versions: Output<Vec<InstanceGroupManagerVersion>>
Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
wait_for_instances: Output<Option<bool>>
Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
wait_for_instances_status: Output<Option<String>>
When used with wait_for_instances
it specifies the status to wait for.
When STABLE
is specified this resource will wait until the instances are stable before returning. When UPDATED
is
set, it will wait for the version target to be reached and any per instance configs to be effective as well as all
instances to be stable before returning. The possible values are STABLE
and UPDATED
zone: Output<Option<String>>
The zone that instances in this group should be created in.
Implementations§
source§impl InstanceGroupManagerArgs
impl InstanceGroupManagerArgs
sourcepub fn builder() -> InstanceGroupManagerArgsBuilder
pub fn builder() -> InstanceGroupManagerArgsBuilder
Create an instance of InstanceGroupManagerArgs
using the builder syntax
Trait Implementations§
source§impl Clone for InstanceGroupManagerArgs
impl Clone for InstanceGroupManagerArgs
source§fn clone(&self) -> InstanceGroupManagerArgs
fn clone(&self) -> InstanceGroupManagerArgs
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 InstanceGroupManagerArgs
impl RefUnwindSafe for InstanceGroupManagerArgs
impl Send for InstanceGroupManagerArgs
impl Sync for InstanceGroupManagerArgs
impl Unpin for InstanceGroupManagerArgs
impl UnwindSafe for InstanceGroupManagerArgs
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
)