pub struct InstanceFromMachineImageArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> InstanceFromMachineImageArgsBuilder<S>
impl<S: State> InstanceFromMachineImageArgsBuilder<S>
sourcepub fn build_struct(self) -> InstanceFromMachineImageArgswhere
S: IsComplete,
pub fn build_struct(self) -> InstanceFromMachineImageArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn advanced_machine_features(
self,
value: impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn advanced_machine_features(
self,
value: impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
pub fn maybe_advanced_machine_features(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>where
S::AdvancedMachineFeatures: IsUnset,
sourcepub fn allow_stopping_for_update(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
pub fn allow_stopping_for_update(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
sourcepub fn maybe_allow_stopping_for_update(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
pub fn maybe_allow_stopping_for_update(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>where
S::AllowStoppingForUpdate: IsUnset,
sourcepub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn can_ip_forward(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
pub fn maybe_can_ip_forward(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>where
S::CanIpForward: IsUnset,
sourcepub fn confidential_instance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageConfidentialInstanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn confidential_instance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageConfidentialInstanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::InstanceFromMachineImageConfidentialInstanceConfig,
>,
> 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<InstanceFromMachineImageConfidentialInstanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
pub fn maybe_confidential_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageConfidentialInstanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetConfidentialInstanceConfig<S>>where
S::ConfidentialInstanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::InstanceFromMachineImageConfidentialInstanceConfig,
>,
> 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>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
pub fn deletion_protection(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
sourcepub fn maybe_deletion_protection(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
pub fn maybe_deletion_protection(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>where
S::DeletionProtection: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn desired_status(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
pub fn desired_status(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
sourcepub fn maybe_desired_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
pub fn maybe_desired_status(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>where
S::DesiredStatus: IsUnset,
sourcepub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn enable_display(
self,
value: impl Into<Output<Option<bool>>>,
) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
sourcepub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
pub fn maybe_enable_display(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>where
S::EnableDisplay: IsUnset,
sourcepub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn guest_accelerators(
self,
value: impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
pub fn maybe_guest_accelerators(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>where
S::GuestAccelerators: IsUnset,
sourcepub fn hostname(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
pub fn hostname(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<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>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetHostname<S>>where
S::Hostname: IsUnset,
pub fn maybe_hostname(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<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>>>,
) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn key_revocation_action_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
pub fn maybe_key_revocation_action_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>where
S::KeyRevocationActionType: IsUnset,
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<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>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromMachineImageArgsBuilder<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>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
pub fn machine_type(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
sourcepub fn maybe_machine_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
pub fn maybe_machine_type(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>where
S::MachineType: IsUnset,
sourcepub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
pub fn maybe_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>where
S::Metadata: IsUnset,
sourcepub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn metadata_startup_script(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
sourcepub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
pub fn maybe_metadata_startup_script(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>where
S::MetadataStartupScript: IsUnset,
sourcepub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn min_cpu_platform(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
pub fn maybe_min_cpu_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>where
S::MinCpuPlatform: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn network_interfaces(
self,
value: impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
pub fn maybe_network_interfaces(
self,
value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>where
S::NetworkInterfaces: IsUnset,
sourcepub fn network_performance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageNetworkPerformanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn network_performance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageNetworkPerformanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::InstanceFromMachineImageNetworkPerformanceConfig,
>,
> 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<InstanceFromMachineImageNetworkPerformanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
pub fn maybe_network_performance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageNetworkPerformanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetNetworkPerformanceConfig<S>>where
S::NetworkPerformanceConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<
super::super::types::compute::InstanceFromMachineImageNetworkPerformanceConfig,
>,
> 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<InstanceFromMachineImageParams>>>,
) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn params(
self,
value: impl Into<Output<Option<InstanceFromMachineImageParams>>>,
) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn maybe_params(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageParams>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
pub fn maybe_params(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageParams>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>where
S::Params: IsUnset,
sourcepub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn partner_metadata(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
sourcepub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
pub fn maybe_partner_metadata(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>where
S::PartnerMetadata: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn reservation_affinity(
self,
value: impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>,
) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn reservation_affinity(
self,
value: impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>,
) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
sourcepub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
pub fn maybe_reservation_affinity(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>where
S::ReservationAffinity: IsUnset,
sourcepub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn resource_policies(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
pub fn maybe_resource_policies(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>where
S::ResourcePolicies: IsUnset,
sourcepub fn scheduling(
self,
value: impl Into<Output<Option<InstanceFromMachineImageScheduling>>>,
) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn scheduling(
self,
value: impl Into<Output<Option<InstanceFromMachineImageScheduling>>>,
) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageScheduling>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
pub fn maybe_scheduling(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageScheduling>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>where
S::Scheduling: IsUnset,
sourcepub fn service_account(
self,
value: impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>,
) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn service_account(
self,
value: impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>,
) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
pub fn maybe_service_account(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>where
S::ServiceAccount: IsUnset,
sourcepub fn shielded_instance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn shielded_instance_config(
self,
value: impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>,
) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
sourcepub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
pub fn maybe_shielded_instance_config(
self,
value: Option<impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>where
S::ShieldedInstanceConfig: IsUnset,
sourcepub fn source_machine_image(
self,
value: impl Into<Output<String>>,
) -> InstanceFromMachineImageArgsBuilder<SetSourceMachineImage<S>>where
S::SourceMachineImage: IsUnset,
pub fn source_machine_image(
self,
value: impl Into<Output<String>>,
) -> InstanceFromMachineImageArgsBuilder<SetSourceMachineImage<S>>where
S::SourceMachineImage: IsUnset,
Required.
Name or self link of a machine image to create the instance based on.
sourcepub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn zone(
self,
value: impl Into<Output<Option<String>>>,
) -> InstanceFromMachineImageArgsBuilder<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, most* arguments from gcp.compute.Instance
are supported
as a way to override the properties in the machine image. All exported attributes
from gcp.compute.Instance
are likewise exported here.
Warning: *Due to API limitations, disk overrides are currently disabled. This includes the “boot_disk”, “attached_disk”, and “scratch_disk” fields.
sourcepub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<SetZone<S>>where
S::Zone: IsUnset,
pub fn maybe_zone(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> InstanceFromMachineImageArgsBuilder<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, most* arguments from gcp.compute.Instance
are supported
as a way to override the properties in the machine image. All exported attributes
from gcp.compute.Instance
are likewise exported here.
Warning: *Due to API limitations, disk overrides are currently disabled. This includes the “boot_disk”, “attached_disk”, and “scratch_disk” fields.