pub struct InstanceFromTemplateArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> InstanceFromTemplateArgsBuilder<S>
impl<S: State> InstanceFromTemplateArgsBuilder<S>
sourcepub fn build_struct(self) -> InstanceFromTemplateArgswhere
S: IsComplete,
pub fn build_struct(self) -> InstanceFromTemplateArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn advanced_machine_features(
self,
value: impl Into<Output<Option<InstanceFromTemplateAdvancedMachineFeatures>>>,
) -> InstanceFromTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn advanced_machine_features(
self,
value: impl Into<Output<Option<InstanceFromTemplateAdvancedMachineFeatures>>>,
) -> InstanceFromTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateAdvancedMachineFeatures>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateAdvancedMachineFeatures>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn allow_stopping_for_update(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
pub fn allow_stopping_for_update(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
sourcepub fn maybe_allow_stopping_for_update(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
pub fn maybe_allow_stopping_for_update(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
sourcepub fn attached_disks(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateAttachedDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAttachedDisks<S>>where
S::AttachedDisks: IsUnset,
pub fn attached_disks(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateAttachedDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAttachedDisks<S>>where
S::AttachedDisks: IsUnset,
sourcepub fn maybe_attached_disks(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateAttachedDisk>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAttachedDisks<S>>where
S::AttachedDisks: IsUnset,
pub fn maybe_attached_disks(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateAttachedDisk>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetAttachedDisks<S>>where
S::AttachedDisks: IsUnset,
sourcepub fn boot_disk(
self,
value: impl Into<Output<Option<InstanceFromTemplateBootDisk>>>,
) -> InstanceFromTemplateArgsBuilder<SetBootDisk<S>>where
S::BootDisk: IsUnset,
pub fn boot_disk(
self,
value: impl Into<Output<Option<InstanceFromTemplateBootDisk>>>,
) -> InstanceFromTemplateArgsBuilder<SetBootDisk<S>>where
S::BootDisk: IsUnset,
sourcepub fn maybe_boot_disk(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateBootDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetBootDisk<S>>where
S::BootDisk: IsUnset,
pub fn maybe_boot_disk(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateBootDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetBootDisk<S>>where
S::BootDisk: IsUnset,
sourcepub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn confidential_instance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateConfidentialInstanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn confidential_instance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateConfidentialInstanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InstanceFromTemplateConfidentialInstanceConfig>,
> as Default>::default()
The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.
sourcepub fn maybe_confidential_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateConfidentialInstanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn maybe_confidential_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateConfidentialInstanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InstanceFromTemplateConfidentialInstanceConfig>,
> as Default>::default()
The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.
sourcepub fn deletion_protection(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
pub fn deletion_protection(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
sourcepub fn maybe_deletion_protection(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
pub fn maybe_deletion_protection(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn desired_status(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
pub fn desired_status(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
sourcepub fn maybe_desired_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
pub fn maybe_desired_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
sourcepub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
sourcepub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromTemplateArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
sourcepub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateGuestAccelerator>>>>,
) -> InstanceFromTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateGuestAccelerator>>>>,
) -> InstanceFromTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateGuestAccelerator>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateGuestAccelerator>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn hostname(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
pub fn hostname(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
sourcepub fn maybe_hostname(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
pub fn maybe_hostname(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created.
sourcepub fn key_revocation_action_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn key_revocation_action_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<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 assigned to the instance. 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>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromTemplateArgsBuilder<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 assigned to the instance. 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<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
pub fn machine_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
sourcepub fn maybe_machine_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
pub fn maybe_machine_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
sourcepub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
sourcepub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateNetworkInterface>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateNetworkInterface>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateNetworkInterface>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateNetworkInterface>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn network_performance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateNetworkPerformanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn network_performance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateNetworkPerformanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InstanceFromTemplateNetworkPerformanceConfig>,
> as Default>::default()
Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration.
sourcepub fn maybe_network_performance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateNetworkPerformanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn maybe_network_performance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateNetworkPerformanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::compute::InstanceFromTemplateNetworkPerformanceConfig>,
> as Default>::default()
Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration.
sourcepub fn params(
self,
value: impl Into<Output<Option<InstanceFromTemplateParams>>>,
) -> InstanceFromTemplateArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn params(
self,
value: impl Into<Output<Option<InstanceFromTemplateParams>>>,
) -> InstanceFromTemplateArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn maybe_params(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateParams>>>>,
) -> InstanceFromTemplateArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn maybe_params(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateParams>>>>,
) -> InstanceFromTemplateArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
sourcepub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn reservation_affinity(
self,
value: impl Into<Output<Option<InstanceFromTemplateReservationAffinity>>>,
) -> InstanceFromTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn reservation_affinity(
self,
value: impl Into<Output<Option<InstanceFromTemplateReservationAffinity>>>,
) -> InstanceFromTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
sourcepub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateReservationAffinity>>>>,
) -> InstanceFromTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateReservationAffinity>>>>,
) -> InstanceFromTemplateArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
sourcepub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn scheduling(
self,
value: impl Into<Output<Option<InstanceFromTemplateScheduling>>>,
) -> InstanceFromTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn scheduling(
self,
value: impl Into<Output<Option<InstanceFromTemplateScheduling>>>,
) -> InstanceFromTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateScheduling>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateScheduling>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn scratch_disks(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateScratchDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScratchDisks<S>>where
S::ScratchDisks: IsUnset,
pub fn scratch_disks(
self,
value: impl Into<Output<Option<Vec<InstanceFromTemplateScratchDisk>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScratchDisks<S>>where
S::ScratchDisks: IsUnset,
sourcepub fn maybe_scratch_disks(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateScratchDisk>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScratchDisks<S>>where
S::ScratchDisks: IsUnset,
pub fn maybe_scratch_disks(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromTemplateScratchDisk>>>>>,
) -> InstanceFromTemplateArgsBuilder<SetScratchDisks<S>>where
S::ScratchDisks: IsUnset,
sourcepub fn service_account(
self,
value: impl Into<Output<Option<InstanceFromTemplateServiceAccount>>>,
) -> InstanceFromTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn service_account(
self,
value: impl Into<Output<Option<InstanceFromTemplateServiceAccount>>>,
) -> InstanceFromTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateServiceAccount>>>>,
) -> InstanceFromTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateServiceAccount>>>>,
) -> InstanceFromTemplateArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn shielded_instance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateShieldedInstanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn shielded_instance_config(
self,
value: impl Into<Output<Option<InstanceFromTemplateShieldedInstanceConfig>>>,
) -> InstanceFromTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
sourcepub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateShieldedInstanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromTemplateShieldedInstanceConfig>>>>,
) -> InstanceFromTemplateArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
sourcepub fn source_instance_template(
self,
value: impl Into<Output<String>>,
) -> InstanceFromTemplateArgsBuilder<SetSourceInstanceTemplate<S>>where
S::SourceInstanceTemplate: IsUnset,
pub fn source_instance_template(
self,
value: impl Into<Output<String>>,
) -> InstanceFromTemplateArgsBuilder<SetSourceInstanceTemplate<S>>where
S::SourceInstanceTemplate: IsUnset,
Required.
Name or self link of an instance
template to create the instance based on. It is recommended to reference
instance templates through their unique id (self_link_unique
attribute).
sourcepub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromTemplateArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The zone that the machine should be created in. If not set, the provider zone is used.
In addition to these, all arguments from gcp.compute.Instance
are supported
as a way to override the properties in the template. All exported attributes
from gcp.compute.Instance
are likewise exported here.
sourcepub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromTemplateArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The zone that the machine should be created in. If not set, the provider zone is used.
In addition to these, all arguments from gcp.compute.Instance
are supported
as a way to override the properties in the template. All exported attributes
from gcp.compute.Instance
are likewise exported here.