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>
impl<S: State> RegionInstanceGroupManagerArgsBuilder<S>
sourcepub fn build_struct(self) -> RegionInstanceGroupManagerArgswhere
S: IsComplete,
pub fn build_struct(self) -> RegionInstanceGroupManagerArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn all_instances_config(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerAllInstancesConfig>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetAllInstancesConfig<S>>where
S::AllInstancesConfig: IsUnset,
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.
sourcepub fn maybe_all_instances_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerAllInstancesConfig>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetAllInstancesConfig<S>>where
S::AllInstancesConfig: IsUnset,
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.
sourcepub fn auto_healing_policies(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerAutoHealingPolicies>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetAutoHealingPolicies<S>>where
S::AutoHealingPolicies: IsUnset,
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.
sourcepub fn maybe_auto_healing_policies(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerAutoHealingPolicies>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetAutoHealingPolicies<S>>where
S::AutoHealingPolicies: IsUnset,
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.
sourcepub fn base_instance_name(
self,
value: impl Into<Output<String>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetBaseInstanceName<S>>where
S::BaseInstanceName: IsUnset,
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.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn distribution_policy_target_shape(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyTargetShape<S>>where
S::DistributionPolicyTargetShape: IsUnset,
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.
sourcepub fn maybe_distribution_policy_target_shape(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyTargetShape<S>>where
S::DistributionPolicyTargetShape: IsUnset,
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.
sourcepub fn distribution_policy_zones(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyZones<S>>where
S::DistributionPolicyZones: IsUnset,
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.
sourcepub fn maybe_distribution_policy_zones(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetDistributionPolicyZones<S>>where
S::DistributionPolicyZones: IsUnset,
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.
sourcepub fn instance_flexibility_policy(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerInstanceFlexibilityPolicy>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceFlexibilityPolicy<S>>where
S::InstanceFlexibilityPolicy: IsUnset,
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.
sourcepub fn maybe_instance_flexibility_policy(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerInstanceFlexibilityPolicy>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceFlexibilityPolicy<S>>where
S::InstanceFlexibilityPolicy: IsUnset,
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.
sourcepub fn instance_lifecycle_policy(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>where
S::InstanceLifecyclePolicy: IsUnset,
pub fn instance_lifecycle_policy(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>where
S::InstanceLifecyclePolicy: IsUnset,
sourcepub fn maybe_instance_lifecycle_policy(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>where
S::InstanceLifecyclePolicy: IsUnset,
pub fn maybe_instance_lifecycle_policy(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerInstanceLifecyclePolicy>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetInstanceLifecyclePolicy<S>>where
S::InstanceLifecyclePolicy: IsUnset,
sourcepub fn list_managed_instances_results(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetListManagedInstancesResults<S>>where
S::ListManagedInstancesResults: IsUnset,
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.
sourcepub fn maybe_list_managed_instances_results(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetListManagedInstancesResults<S>>where
S::ListManagedInstancesResults: IsUnset,
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.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn named_ports(
self,
value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>where
S::NamedPorts: IsUnset,
pub fn named_ports(
self,
value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>where
S::NamedPorts: IsUnset,
sourcepub fn maybe_named_ports(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>where
S::NamedPorts: IsUnset,
pub fn maybe_named_ports(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerNamedPort>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetNamedPorts<S>>where
S::NamedPorts: IsUnset,
sourcepub fn params(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerParams>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn params(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerParams>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn maybe_params(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerParams>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn maybe_params(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerParams>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn standby_policy(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerStandbyPolicy>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStandbyPolicy<S>>where
S::StandbyPolicy: IsUnset,
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
sourcepub fn maybe_standby_policy(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerStandbyPolicy>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStandbyPolicy<S>>where
S::StandbyPolicy: IsUnset,
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
sourcepub fn stateful_disks(
self,
value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulDisk>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulDisks<S>>where
S::StatefulDisks: IsUnset,
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
.
sourcepub fn maybe_stateful_disks(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulDisk>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulDisks<S>>where
S::StatefulDisks: IsUnset,
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
.
sourcepub fn stateful_external_ips(
self,
value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulExternalIp>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulExternalIps<S>>where
S::StatefulExternalIps: IsUnset,
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.
sourcepub fn maybe_stateful_external_ips(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulExternalIp>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulExternalIps<S>>where
S::StatefulExternalIps: IsUnset,
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.
sourcepub fn stateful_internal_ips(
self,
value: impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulInternalIp>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulInternalIps<S>>where
S::StatefulInternalIps: IsUnset,
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.
sourcepub fn maybe_stateful_internal_ips(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceGroupManagerStatefulInternalIp>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetStatefulInternalIps<S>>where
S::StatefulInternalIps: IsUnset,
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.
sourcepub fn target_pools(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>where
S::TargetPools: IsUnset,
pub fn target_pools(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>where
S::TargetPools: IsUnset,
sourcepub fn maybe_target_pools(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>where
S::TargetPools: IsUnset,
pub fn maybe_target_pools(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetPools<S>>where
S::TargetPools: IsUnset,
sourcepub fn target_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSize<S>>where
S::TargetSize: IsUnset,
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.
sourcepub fn maybe_target_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSize<S>>where
S::TargetSize: IsUnset,
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.
sourcepub fn target_stopped_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>where
S::TargetStoppedSize: IsUnset,
pub fn target_stopped_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>where
S::TargetStoppedSize: IsUnset,
sourcepub fn maybe_target_stopped_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>where
S::TargetStoppedSize: IsUnset,
pub fn maybe_target_stopped_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetStoppedSize<S>>where
S::TargetStoppedSize: IsUnset,
sourcepub fn target_suspended_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>where
S::TargetSuspendedSize: IsUnset,
pub fn target_suspended_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>where
S::TargetSuspendedSize: IsUnset,
sourcepub fn maybe_target_suspended_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>where
S::TargetSuspendedSize: IsUnset,
pub fn maybe_target_suspended_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetTargetSuspendedSize<S>>where
S::TargetSuspendedSize: IsUnset,
sourcepub fn update_policy(
self,
value: impl Into<Output<Option<RegionInstanceGroupManagerUpdatePolicy>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetUpdatePolicy<S>>where
S::UpdatePolicy: IsUnset,
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
sourcepub fn maybe_update_policy(
self,
value: Option<impl Into<Output<Option<RegionInstanceGroupManagerUpdatePolicy>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetUpdatePolicy<S>>where
S::UpdatePolicy: IsUnset,
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
sourcepub fn versions(
self,
value: impl Into<Output<Vec<RegionInstanceGroupManagerVersion>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetVersions<S>>where
S::Versions: IsUnset,
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.
sourcepub fn wait_for_instances(
self,
value: impl Into<Output<Option<bool>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstances<S>>where
S::WaitForInstances: IsUnset,
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.
sourcepub fn maybe_wait_for_instances(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstances<S>>where
S::WaitForInstances: IsUnset,
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.
sourcepub fn wait_for_instances_status(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstancesStatus<S>>where
S::WaitForInstancesStatus: IsUnset,
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
sourcepub fn maybe_wait_for_instances_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceGroupManagerArgsBuilder<SetWaitForInstancesStatus<S>>where
S::WaitForInstancesStatus: IsUnset,
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