pulumi_wasm_providers_gcp_mini::compute::instance_group_manager

Struct InstanceGroupManagerArgs

source
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§

Trait Implementations§

source§

impl Clone for InstanceGroupManagerArgs

source§

fn clone(&self) -> InstanceGroupManagerArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.