pulumi_wasm_providers_gcp_mini::compute::region_instance_group_manager

Struct RegionInstanceGroupManagerArgsBuilder

source
pub struct RegionInstanceGroupManagerArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> RegionInstanceGroupManagerArgsBuilder<S>

source

pub fn build_struct(self) -> RegionInstanceGroupManagerArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn all_instances_config( self, value: impl Into<Output<Option<RegionInstanceGroupManagerAllInstancesConfig>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetAllInstancesConfig<S>>
where S::AllInstancesConfig: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerAllInstancesConfig>,
> as Default>::default()

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.

source

pub fn maybe_all_instances_config( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerAllInstancesConfig>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetAllInstancesConfig<S>>
where S::AllInstancesConfig: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerAllInstancesConfig>,
> as Default>::default()

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.

source

pub fn auto_healing_policies( self, value: impl Into<Output<Option<RegionInstanceGroupManagerAutoHealingPolicies>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetAutoHealingPolicies<S>>
where S::AutoHealingPolicies: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerAutoHealingPolicies>,
> as Default>::default()

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.

source

pub fn maybe_auto_healing_policies( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerAutoHealingPolicies>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetAutoHealingPolicies<S>>
where S::AutoHealingPolicies: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerAutoHealingPolicies>,
> as Default>::default()

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.

source

pub fn base_instance_name( self, value: impl Into<Output<String>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetBaseInstanceName<S>>
where S::BaseInstanceName: IsUnset,

Required.

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.

source

pub fn description( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

An optional textual description of the instance group manager.

source

pub fn maybe_description( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

An optional textual description of the instance group manager.

source

pub fn distribution_policy_target_shape( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyTargetShape<S>>
where S::DistributionPolicyTargetShape: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The shape to which the group converges either proactively or on resize events (depending on the value set in update_policy.0.instance_redistribution_type). For more information see the official documentation.

source

pub fn maybe_distribution_policy_target_shape( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyTargetShape<S>>
where S::DistributionPolicyTargetShape: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The shape to which the group converges either proactively or on resize events (depending on the value set in update_policy.0.instance_redistribution_type). For more information see the official documentation.

source

pub fn distribution_policy_zones( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyZones<S>>
where S::DistributionPolicyZones: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The distribution policy for this managed instance group. You can specify one or more values. For more information, see the official documentation.

source

pub fn maybe_distribution_policy_zones( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyZones<S>>
where S::DistributionPolicyZones: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The distribution policy for this managed instance group. You can specify one or more values. For more information, see the official documentation.

source

pub fn instance_flexibility_policy( self, value: impl Into<Output<Option<RegionInstanceGroupManagerInstanceFlexibilityPolicy>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceFlexibilityPolicy<S>>
where S::InstanceFlexibilityPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::RegionInstanceGroupManagerInstanceFlexibilityPolicy,
    >,
> as Default>::default()

The flexibility policy for managed instance group. Instance flexibility allows managed instance group to create VMs from multiple types of machines. Instance flexibility configuration on managed instance group overrides instance template configuration. Structure is documented below.


source

pub fn maybe_instance_flexibility_policy( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerInstanceFlexibilityPolicy>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceFlexibilityPolicy<S>>
where S::InstanceFlexibilityPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::RegionInstanceGroupManagerInstanceFlexibilityPolicy,
    >,
> as Default>::default()

The flexibility policy for managed instance group. Instance flexibility allows managed instance group to create VMs from multiple types of machines. Instance flexibility configuration on managed instance group overrides instance template configuration. Structure is documented below.


source

pub fn instance_lifecycle_policy( self, value: impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>
where S::InstanceLifecyclePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::RegionInstanceGroupManagerInstanceLifecyclePolicy,
    >,
> as Default>::default()

The instance lifecycle policy for this managed instance group.

source

pub fn maybe_instance_lifecycle_policy( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>
where S::InstanceLifecyclePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        super::super::types::compute::RegionInstanceGroupManagerInstanceLifecyclePolicy,
    >,
> as Default>::default()

The instance lifecycle policy for this managed instance group.

source

pub fn list_managed_instances_results( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetListManagedInstancesResults<S>>
where S::ListManagedInstancesResults: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_list_managed_instances_results( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetListManagedInstancesResults<S>>
where S::ListManagedInstancesResults: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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.

source

pub fn named_ports( self, value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>
where S::NamedPorts: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RegionInstanceGroupManagerNamedPort>>,
> as Default>::default()

The named port configuration. See the section below for details on configuration.

source

pub fn maybe_named_ports( self, value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>
where S::NamedPorts: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RegionInstanceGroupManagerNamedPort>>,
> as Default>::default()

The named port configuration. See the section below for details on configuration.

source

pub fn params( self, value: impl Into<Output<Option<RegionInstanceGroupManagerParams>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>
where S::Params: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerParams>,
> as Default>::default()

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

source

pub fn maybe_params( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerParams>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>
where S::Params: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerParams>,
> as Default>::default()

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

source

pub fn project( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

source

pub fn maybe_project( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

source

pub fn region( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The region where the managed instance group resides. If not provided, the provider region is used.


source

pub fn maybe_region( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The region where the managed instance group resides. If not provided, the provider region is used.


source

pub fn standby_policy( self, value: impl Into<Output<Option<RegionInstanceGroupManagerStandbyPolicy>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStandbyPolicy<S>>
where S::StandbyPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerStandbyPolicy>,
> as Default>::default()

The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the official documentation and API

source

pub fn maybe_standby_policy( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerStandbyPolicy>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStandbyPolicy<S>>
where S::StandbyPolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerStandbyPolicy>,
> as Default>::default()

The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the official documentation and API

source

pub fn stateful_disks( self, value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulDisk>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulDisks<S>>
where S::StatefulDisks: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulDisk>>,
> as Default>::default()

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. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the update_policy.

source

pub fn maybe_stateful_disks( self, value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulDisk>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulDisks<S>>
where S::StatefulDisks: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulDisk>>,
> as Default>::default()

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. Proactive cross zone instance redistribution must be disabled before you can update stateful disks on existing instance group managers. This can be controlled via the update_policy.

source

pub fn stateful_external_ips( self, value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulExternalIp>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulExternalIps<S>>
where S::StatefulExternalIps: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulExternalIp>,
    >,
> as Default>::default()

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.

source

pub fn maybe_stateful_external_ips( self, value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulExternalIp>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulExternalIps<S>>
where S::StatefulExternalIps: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulExternalIp>,
    >,
> as Default>::default()

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.

source

pub fn stateful_internal_ips( self, value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulInternalIp>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulInternalIps<S>>
where S::StatefulInternalIps: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulInternalIp>,
    >,
> as Default>::default()

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.

source

pub fn maybe_stateful_internal_ips( self, value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulInternalIp>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulInternalIps<S>>
where S::StatefulInternalIps: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<
        Vec<super::super::types::compute::RegionInstanceGroupManagerStatefulInternalIp>,
    >,
> as Default>::default()

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.

source

pub fn target_pools( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>
where S::TargetPools: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

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.

source

pub fn maybe_target_pools( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>
where S::TargetPools: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

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.

source

pub fn target_size( self, value: impl Into<Output<Option<i32>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSize<S>>
where S::TargetSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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.

source

pub fn maybe_target_size( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSize<S>>
where S::TargetSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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.

source

pub fn target_stopped_size( self, value: impl Into<Output<Option<i32>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>
where S::TargetStoppedSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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

source

pub fn maybe_target_stopped_size( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>
where S::TargetStoppedSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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

source

pub fn target_suspended_size( self, value: impl Into<Output<Option<i32>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>
where S::TargetSuspendedSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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

source

pub fn maybe_target_suspended_size( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>
where S::TargetSuspendedSize: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

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

source

pub fn update_policy( self, value: impl Into<Output<Option<RegionInstanceGroupManagerUpdatePolicy>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetUpdatePolicy<S>>
where S::UpdatePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerUpdatePolicy>,
> as Default>::default()

The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API

source

pub fn maybe_update_policy( self, value: Option<impl Into<Output<Option<RegionInstanceGroupManagerUpdatePolicy>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetUpdatePolicy<S>>
where S::UpdatePolicy: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RegionInstanceGroupManagerUpdatePolicy>,
> as Default>::default()

The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API

source

pub fn versions( self, value: impl Into<Output<Vec<RegionInstanceGroupManagerVersion>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetVersions<S>>
where S::Versions: IsUnset,

Required.

Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.

source

pub fn wait_for_instances( self, value: impl Into<Output<Option<bool>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstances<S>>
where S::WaitForInstances: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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, the provider will continue trying until it times out.

source

pub fn maybe_wait_for_instances( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstances<S>>
where S::WaitForInstances: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

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, the provider will continue trying until it times out.

source

pub fn wait_for_instances_status( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstancesStatus<S>>
where S::WaitForInstancesStatus: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

source

pub fn maybe_wait_for_instances_status( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstancesStatus<S>>
where S::WaitForInstancesStatus: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

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

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.