pulumi_wasm_providers_gcp_mini::compute::instance_group_manager

Struct InstanceGroupManagerResult

source
pub struct InstanceGroupManagerResult {
Show 30 fields pub all_instances_config: Output<Option<InstanceGroupManagerAllInstancesConfig>>, pub auto_healing_policies: Output<Option<InstanceGroupManagerAutoHealingPolicies>>, pub base_instance_name: Output<String>, pub creation_timestamp: Output<String>, pub description: Output<Option<String>>, pub fingerprint: Output<String>, pub instance_group: Output<String>, pub instance_group_manager_id: Output<i32>, pub instance_lifecycle_policy: Output<InstanceGroupManagerInstanceLifecyclePolicy>, pub list_managed_instances_results: Output<Option<String>>, pub name: Output<String>, pub named_ports: Output<Option<Vec<InstanceGroupManagerNamedPort>>>, pub operation: Output<String>, pub params: Output<Option<InstanceGroupManagerParams>>, pub project: Output<String>, pub self_link: Output<String>, pub standby_policy: Output<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 statuses: Output<Vec<InstanceGroupManagerStatus>>, pub target_pools: Output<Option<Vec<String>>>, pub target_size: Output<i32>, pub target_stopped_size: Output<i32>, pub target_suspended_size: Output<i32>, pub update_policy: Output<InstanceGroupManagerUpdatePolicy>, pub versions: Output<Vec<InstanceGroupManagerVersion>>, pub wait_for_instances: Output<Option<bool>>, pub wait_for_instances_status: Output<Option<String>>, pub zone: Output<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.

§creation_timestamp: Output<String>

Creation timestamp in RFC3339 text format.

§description: Output<Option<String>>

An optional textual description of the instance group manager.

§fingerprint: Output<String>

The fingerprint of the instance group manager.

§instance_group: Output<String>

The full URL of the instance group created by the manager.

§instance_group_manager_id: Output<i32>

The unique identifier number for the resource. This identifier is defined by the server.

§instance_lifecycle_policy: Output<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<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.

§operation: Output<String>§params: Output<Option<InstanceGroupManagerParams>>

Input only additional params for instance group manager creation. Structure is documented below. For more information, see API.


§project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

§self_link: Output<String>

The URL of the created resource.

§standby_policy: Output<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.

§statuses: Output<Vec<InstanceGroupManagerStatus>>

The status of this managed instance group.

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

The target number of stopped instances for this managed instance group.

§target_suspended_size: Output<i32>

The target number of suspended instances for this managed instance group.

§update_policy: Output<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<String>

The zone that instances in this group should be created in.


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> 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, 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.