pub struct NodeTemplateArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> NodeTemplateArgsBuilder<S>
impl<S: State> NodeTemplateArgsBuilder<S>
sourcepub fn build_struct(self) -> NodeTemplateArgswhere
S: IsComplete,
pub fn build_struct(self) -> NodeTemplateArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn accelerators(
self,
value: impl Into<Output<Option<Vec<NodeTemplateAccelerator>>>>,
) -> NodeTemplateArgsBuilder<SetAccelerators<S>>where
S::Accelerators: IsUnset,
pub fn accelerators(
self,
value: impl Into<Output<Option<Vec<NodeTemplateAccelerator>>>>,
) -> NodeTemplateArgsBuilder<SetAccelerators<S>>where
S::Accelerators: IsUnset,
sourcepub fn maybe_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<NodeTemplateAccelerator>>>>>,
) -> NodeTemplateArgsBuilder<SetAccelerators<S>>where
S::Accelerators: IsUnset,
pub fn maybe_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<NodeTemplateAccelerator>>>>>,
) -> NodeTemplateArgsBuilder<SetAccelerators<S>>where
S::Accelerators: IsUnset,
sourcepub fn cpu_overcommit_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetCpuOvercommitType<S>>where
S::CpuOvercommitType: IsUnset,
pub fn cpu_overcommit_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetCpuOvercommitType<S>>where
S::CpuOvercommitType: IsUnset,
sourcepub fn maybe_cpu_overcommit_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetCpuOvercommitType<S>>where
S::CpuOvercommitType: IsUnset,
pub fn maybe_cpu_overcommit_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetCpuOvercommitType<S>>where
S::CpuOvercommitType: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn disks(
self,
value: impl Into<Output<Option<Vec<NodeTemplateDisk>>>>,
) -> NodeTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
pub fn disks(
self,
value: impl Into<Output<Option<Vec<NodeTemplateDisk>>>>,
) -> NodeTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
sourcepub fn maybe_disks(
self,
value: Option<impl Into<Output<Option<Vec<NodeTemplateDisk>>>>>,
) -> NodeTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
pub fn maybe_disks(
self,
value: Option<impl Into<Output<Option<Vec<NodeTemplateDisk>>>>>,
) -> NodeTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn node_affinity_labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> NodeTemplateArgsBuilder<SetNodeAffinityLabels<S>>where
S::NodeAffinityLabels: IsUnset,
pub fn node_affinity_labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> NodeTemplateArgsBuilder<SetNodeAffinityLabels<S>>where
S::NodeAffinityLabels: IsUnset,
sourcepub fn maybe_node_affinity_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> NodeTemplateArgsBuilder<SetNodeAffinityLabels<S>>where
S::NodeAffinityLabels: IsUnset,
pub fn maybe_node_affinity_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> NodeTemplateArgsBuilder<SetNodeAffinityLabels<S>>where
S::NodeAffinityLabels: IsUnset,
sourcepub fn node_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetNodeType<S>>where
S::NodeType: IsUnset,
pub fn node_type(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetNodeType<S>>where
S::NodeType: IsUnset,
sourcepub fn maybe_node_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetNodeType<S>>where
S::NodeType: IsUnset,
pub fn maybe_node_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetNodeType<S>>where
S::NodeType: IsUnset,
sourcepub fn node_type_flexibility(
self,
value: impl Into<Output<Option<NodeTemplateNodeTypeFlexibility>>>,
) -> NodeTemplateArgsBuilder<SetNodeTypeFlexibility<S>>where
S::NodeTypeFlexibility: IsUnset,
pub fn node_type_flexibility(
self,
value: impl Into<Output<Option<NodeTemplateNodeTypeFlexibility>>>,
) -> NodeTemplateArgsBuilder<SetNodeTypeFlexibility<S>>where
S::NodeTypeFlexibility: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeTemplateNodeTypeFlexibility>,
> as Default>::default()
Flexible properties for the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. Only one of nodeTypeFlexibility and nodeType can be specified. Structure is documented below.
sourcepub fn maybe_node_type_flexibility(
self,
value: Option<impl Into<Output<Option<NodeTemplateNodeTypeFlexibility>>>>,
) -> NodeTemplateArgsBuilder<SetNodeTypeFlexibility<S>>where
S::NodeTypeFlexibility: IsUnset,
pub fn maybe_node_type_flexibility(
self,
value: Option<impl Into<Output<Option<NodeTemplateNodeTypeFlexibility>>>>,
) -> NodeTemplateArgsBuilder<SetNodeTypeFlexibility<S>>where
S::NodeTypeFlexibility: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeTemplateNodeTypeFlexibility>,
> as Default>::default()
Flexible properties for the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. Only one of nodeTypeFlexibility and nodeType can be specified. Structure is documented below.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> NodeTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> NodeTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn server_binding(
self,
value: impl Into<Output<Option<NodeTemplateServerBinding>>>,
) -> NodeTemplateArgsBuilder<SetServerBinding<S>>where
S::ServerBinding: IsUnset,
pub fn server_binding(
self,
value: impl Into<Output<Option<NodeTemplateServerBinding>>>,
) -> NodeTemplateArgsBuilder<SetServerBinding<S>>where
S::ServerBinding: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeTemplateServerBinding>,
> as Default>::default()
The server binding policy for nodes using this template. Determines where the nodes should restart following a maintenance event. Structure is documented below.
sourcepub fn maybe_server_binding(
self,
value: Option<impl Into<Output<Option<NodeTemplateServerBinding>>>>,
) -> NodeTemplateArgsBuilder<SetServerBinding<S>>where
S::ServerBinding: IsUnset,
pub fn maybe_server_binding(
self,
value: Option<impl Into<Output<Option<NodeTemplateServerBinding>>>>,
) -> NodeTemplateArgsBuilder<SetServerBinding<S>>where
S::ServerBinding: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::NodeTemplateServerBinding>,
> as Default>::default()
The server binding policy for nodes using this template. Determines where the nodes should restart following a maintenance event. Structure is documented below.