pub struct NodeGroupArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NodeGroupArgsBuilder<S>
impl<S: State> NodeGroupArgsBuilder<S>
sourcepub fn build_struct(self) -> NodeGroupArgswhere
S: IsComplete,
pub fn build_struct(self) -> NodeGroupArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn autoscaling_policy(
self,
value: impl Into<Output<Option<NodeGroupAutoscalingPolicy>>>,
) -> NodeGroupArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
pub fn autoscaling_policy(
self,
value: impl Into<Output<Option<NodeGroupAutoscalingPolicy>>>,
) -> NodeGroupArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeGroupAutoscalingPolicy>,
> as Default>::default()
If you use sole-tenant nodes for your workloads, you can use the node
group autoscaler to automatically manage the sizes of your node groups.
One of initial_size
or autoscaling_policy
must be configured on resource creation.
Structure is documented below.
sourcepub fn maybe_autoscaling_policy(
self,
value: Option<impl Into<Output<Option<NodeGroupAutoscalingPolicy>>>>,
) -> NodeGroupArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
pub fn maybe_autoscaling_policy(
self,
value: Option<impl Into<Output<Option<NodeGroupAutoscalingPolicy>>>>,
) -> NodeGroupArgsBuilder<SetAutoscalingPolicy<S>>where
S::AutoscalingPolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeGroupAutoscalingPolicy>,
> as Default>::default()
If you use sole-tenant nodes for your workloads, you can use the node
group autoscaler to automatically manage the sizes of your node groups.
One of initial_size
or autoscaling_policy
must be configured on resource creation.
Structure is documented below.
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn initial_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> NodeGroupArgsBuilder<SetInitialSize<S>>where
S::InitialSize: IsUnset,
pub fn initial_size(
self,
value: impl Into<Output<Option<i32>>>,
) -> NodeGroupArgsBuilder<SetInitialSize<S>>where
S::InitialSize: IsUnset,
sourcepub fn maybe_initial_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NodeGroupArgsBuilder<SetInitialSize<S>>where
S::InitialSize: IsUnset,
pub fn maybe_initial_size(
self,
value: Option<impl Into<Output<Option<i32>>>>,
) -> NodeGroupArgsBuilder<SetInitialSize<S>>where
S::InitialSize: IsUnset,
sourcepub fn maintenance_interval(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceInterval<S>>where
S::MaintenanceInterval: IsUnset,
pub fn maintenance_interval(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceInterval<S>>where
S::MaintenanceInterval: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the frequency of planned maintenance events. Set to one of the following:
- AS_NEEDED: Hosts are eligible to receive infrastructure and hypervisor updates as they become available.
- RECURRENT: Hosts receive planned infrastructure and hypervisor updates on a periodic basis, but not more frequently than every 28 days. This minimizes the number of planned maintenance operations on individual hosts and reduces the frequency of disruptions, both live migrations and terminations, on individual VMs.
Possible values are:
AS_NEEDED
,RECURRENT
.
sourcepub fn maybe_maintenance_interval(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceInterval<S>>where
S::MaintenanceInterval: IsUnset,
pub fn maybe_maintenance_interval(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceInterval<S>>where
S::MaintenanceInterval: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the frequency of planned maintenance events. Set to one of the following:
- AS_NEEDED: Hosts are eligible to receive infrastructure and hypervisor updates as they become available.
- RECURRENT: Hosts receive planned infrastructure and hypervisor updates on a periodic basis, but not more frequently than every 28 days. This minimizes the number of planned maintenance operations on individual hosts and reduces the frequency of disruptions, both live migrations and terminations, on individual VMs.
Possible values are:
AS_NEEDED
,RECURRENT
.
sourcepub fn maintenance_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetMaintenancePolicy<S>>where
S::MaintenancePolicy: IsUnset,
pub fn maintenance_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetMaintenancePolicy<S>>where
S::MaintenancePolicy: IsUnset,
sourcepub fn maybe_maintenance_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetMaintenancePolicy<S>>where
S::MaintenancePolicy: IsUnset,
pub fn maybe_maintenance_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetMaintenancePolicy<S>>where
S::MaintenancePolicy: IsUnset,
sourcepub fn maintenance_window(
self,
value: impl Into<Output<Option<NodeGroupMaintenanceWindow>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceWindow<S>>where
S::MaintenanceWindow: IsUnset,
pub fn maintenance_window(
self,
value: impl Into<Output<Option<NodeGroupMaintenanceWindow>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceWindow<S>>where
S::MaintenanceWindow: IsUnset,
sourcepub fn maybe_maintenance_window(
self,
value: Option<impl Into<Output<Option<NodeGroupMaintenanceWindow>>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceWindow<S>>where
S::MaintenanceWindow: IsUnset,
pub fn maybe_maintenance_window(
self,
value: Option<impl Into<Output<Option<NodeGroupMaintenanceWindow>>>>,
) -> NodeGroupArgsBuilder<SetMaintenanceWindow<S>>where
S::MaintenanceWindow: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeGroupArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn node_template(
self,
value: impl Into<Output<String>>,
) -> NodeGroupArgsBuilder<SetNodeTemplate<S>>where
S::NodeTemplate: IsUnset,
pub fn node_template(
self,
value: impl Into<Output<String>>,
) -> NodeGroupArgsBuilder<SetNodeTemplate<S>>where
S::NodeTemplate: IsUnset,
Required.
The URL of the node template to which this node group belongs.