pub struct RegionInstanceTemplateArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> RegionInstanceTemplateArgsBuilder<S>
impl<S: State> RegionInstanceTemplateArgsBuilder<S>
sourcepub fn build_struct(self) -> RegionInstanceTemplateArgswhere
S: IsComplete,
pub fn build_struct(self) -> RegionInstanceTemplateArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn advanced_machine_features(
self,
value: impl Into<Output<Option<RegionInstanceTemplateAdvancedMachineFeatures>>>,
) -> RegionInstanceTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn advanced_machine_features(
self,
value: impl Into<Output<Option<RegionInstanceTemplateAdvancedMachineFeatures>>>,
) -> RegionInstanceTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateAdvancedMachineFeatures>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateAdvancedMachineFeatures>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> RegionInstanceTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> RegionInstanceTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn confidential_instance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateConfidentialInstanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn confidential_instance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateConfidentialInstanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::RegionInstanceTemplateConfidentialInstanceConfig,
>,
> as Default>::default()
Enable Confidential Mode on this VM. Structure is documented below
sourcepub fn maybe_confidential_instance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateConfidentialInstanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn maybe_confidential_instance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateConfidentialInstanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::RegionInstanceTemplateConfidentialInstanceConfig,
>,
> as Default>::default()
Enable Confidential Mode on this VM. Structure is documented below
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn disks(
self,
value: impl Into<Output<Vec<RegionInstanceTemplateDisk>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
pub fn disks(
self,
value: impl Into<Output<Vec<RegionInstanceTemplateDisk>>>,
) -> RegionInstanceTemplateArgsBuilder<SetDisks<S>>where
S::Disks: IsUnset,
Required.
Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
sourcepub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> RegionInstanceTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> RegionInstanceTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable Virtual Displays on this instance.
Note: allow_stopping_for_update
must be set to true in order to update this field.
sourcepub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enable Virtual Displays on this instance.
Note: allow_stopping_for_update
must be set to true in order to update this field.
sourcepub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<RegionInstanceTemplateGuestAccelerator>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<RegionInstanceTemplateGuestAccelerator>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceTemplateGuestAccelerator>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceTemplateGuestAccelerator>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn instance_description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>where
S::InstanceDescription: IsUnset,
pub fn instance_description(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>where
S::InstanceDescription: IsUnset,
sourcepub fn maybe_instance_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>where
S::InstanceDescription: IsUnset,
pub fn maybe_instance_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>where
S::InstanceDescription: IsUnset,
sourcepub fn key_revocation_action_type(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn key_revocation_action_type(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A set of key/value label pairs to assign to instances created from this template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field ‘effective_labels’ for all of the labels present on the resource.
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A set of key/value label pairs to assign to instances created from this template.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field ‘effective_labels’ for all of the labels present on the resource.
sourcepub fn machine_type(
self,
value: impl Into<Output<String>>,
) -> RegionInstanceTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
pub fn machine_type(
self,
value: impl Into<Output<String>>,
) -> RegionInstanceTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
Required.
The machine type to create.
To create a machine with a custom type (such as extended memory), format the value like custom-VCPUS-MEM_IN_MB
like custom-6-20480
for 6 vCPU and 20GB of RAM.
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
sourcepub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
sourcepub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn name_prefix(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Creates a unique name beginning with the specified
prefix. Conflicts with name
. Max length is 54 characters.
Prefixes with lengths longer than 37 characters will use a shortened
UUID that will be more prone to collisions.
Resulting name for a name_prefix
<= 37 characters:
name_prefix
+ YYYYmmddHHSSssss + 8 digit incremental counter
Resulting name for a name_prefix
38 - 54 characters:
name_prefix
+ YYmmdd + 3 digit incremental counter
sourcepub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
pub fn maybe_name_prefix(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNamePrefix<S>>where
S::NamePrefix: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Creates a unique name beginning with the specified
prefix. Conflicts with name
. Max length is 54 characters.
Prefixes with lengths longer than 37 characters will use a shortened
UUID that will be more prone to collisions.
Resulting name for a name_prefix
<= 37 characters:
name_prefix
+ YYYYmmddHHSSssss + 8 digit incremental counter
Resulting name for a name_prefix
38 - 54 characters:
name_prefix
+ YYmmdd + 3 digit incremental counter
sourcepub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<RegionInstanceTemplateNetworkInterface>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<RegionInstanceTemplateNetworkInterface>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RegionInstanceTemplateNetworkInterface>>,
> as Default>::default()
Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.
sourcepub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceTemplateNetworkInterface>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<RegionInstanceTemplateNetworkInterface>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::compute::RegionInstanceTemplateNetworkInterface>>,
> as Default>::default()
Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.
sourcepub fn network_performance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateNetworkPerformanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn network_performance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateNetworkPerformanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::RegionInstanceTemplateNetworkPerformanceConfig>,
> as Default>::default()
Configures network performance settings for the instance created from the
template. Structure is documented below. Note: machine_type
must be a supported type,
the image
used must include the GVNIC
in guest-os-features
, and network_interface.0.nic-type
must be GVNIC
in order for this setting to take effect.
sourcepub fn maybe_network_performance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateNetworkPerformanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn maybe_network_performance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateNetworkPerformanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::RegionInstanceTemplateNetworkPerformanceConfig>,
> as Default>::default()
Configures network performance settings for the instance created from the
template. Structure is documented below. Note: machine_type
must be a supported type,
the image
used must include the GVNIC
in guest-os-features
, and network_interface.0.nic-type
must be GVNIC
in order for this setting to take effect.
sourcepub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
sourcepub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn region(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
pub fn maybe_region(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>where
S::Region: IsUnset,
sourcepub fn reservation_affinity(
self,
value: impl Into<Output<Option<RegionInstanceTemplateReservationAffinity>>>,
) -> RegionInstanceTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn reservation_affinity(
self,
value: impl Into<Output<Option<RegionInstanceTemplateReservationAffinity>>>,
) -> RegionInstanceTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
sourcepub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateReservationAffinity>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateReservationAffinity>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A set of key/value resource manager tag pairs to bind to the instance. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<std::collections::HashMap<String, String>>,
> as Default>::default()
A set of key/value resource manager tag pairs to bind to the instance. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
sourcepub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> RegionInstanceTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn scheduling(
self,
value: impl Into<Output<Option<RegionInstanceTemplateScheduling>>>,
) -> RegionInstanceTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn scheduling(
self,
value: impl Into<Output<Option<RegionInstanceTemplateScheduling>>>,
) -> RegionInstanceTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateScheduling>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateScheduling>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn service_account(
self,
value: impl Into<Output<Option<RegionInstanceTemplateServiceAccount>>>,
) -> RegionInstanceTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn service_account(
self,
value: impl Into<Output<Option<RegionInstanceTemplateServiceAccount>>>,
) -> RegionInstanceTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateServiceAccount>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateServiceAccount>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn shielded_instance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateShieldedInstanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn shielded_instance_config(
self,
value: impl Into<Output<Option<RegionInstanceTemplateShieldedInstanceConfig>>>,
) -> RegionInstanceTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::RegionInstanceTemplateShieldedInstanceConfig>,
> as Default>::default()
Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_config
can only be used with boot images with shielded vm support. See the complete list here.
sourcepub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateShieldedInstanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<RegionInstanceTemplateShieldedInstanceConfig>>>>,
) -> RegionInstanceTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::RegionInstanceTemplateShieldedInstanceConfig>,
> as Default>::default()
Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_config
can only be used with boot images with shielded vm support. See the complete list here.