pulumi_wasm_providers_gcp_mini::compute::instance_from_machine_image

Struct InstanceFromMachineImageArgsBuilder

source
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>

source

pub fn build_struct(self) -> InstanceFromMachineImageArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn advanced_machine_features( self, value: impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>, ) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>
where S::AdvancedMachineFeatures: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageAdvancedMachineFeatures>,
> as Default>::default()

Controls for advanced machine-related behavior features.

source

pub fn maybe_advanced_machine_features( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageAdvancedMachineFeatures>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetAdvancedMachineFeatures<S>>
where S::AdvancedMachineFeatures: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageAdvancedMachineFeatures>,
> as Default>::default()

Controls for advanced machine-related behavior features.

source

pub fn allow_stopping_for_update( self, value: impl Into<Output<Option<bool>>>, ) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>
where S::AllowStoppingForUpdate: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

source

pub fn maybe_allow_stopping_for_update( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetAllowStoppingForUpdate<S>>
where S::AllowStoppingForUpdate: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

source

pub fn can_ip_forward( self, value: impl Into<Output<Option<bool>>>, ) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>
where S::CanIpForward: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether sending and receiving of packets with non-matching source or destination IPs is allowed.

source

pub fn maybe_can_ip_forward( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetCanIpForward<S>>
where S::CanIpForward: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether sending and receiving of packets with non-matching source or destination IPs is allowed.

source

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.

source

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.

source

pub fn deletion_protection( self, value: impl Into<Output<Option<bool>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>
where S::DeletionProtection: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether deletion protection is enabled on this instance.

source

pub fn maybe_deletion_protection( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDeletionProtection<S>>
where S::DeletionProtection: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether deletion protection is enabled on this instance.

source

pub fn description( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A brief description of the resource.

source

pub fn maybe_description( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDescription<S>>
where S::Description: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A brief description of the resource.

source

pub fn desired_status( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>
where S::DesiredStatus: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Desired status of the instance. Either “RUNNING”, “SUSPENDED” or “TERMINATED”.

source

pub fn maybe_desired_status( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetDesiredStatus<S>>
where S::DesiredStatus: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Desired status of the instance. Either “RUNNING”, “SUSPENDED” or “TERMINATED”.

source

pub fn enable_display( self, value: impl Into<Output<Option<bool>>>, ) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>
where S::EnableDisplay: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether the instance has virtual displays enabled.

source

pub fn maybe_enable_display( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetEnableDisplay<S>>
where S::EnableDisplay: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Whether the instance has virtual displays enabled.

source

pub fn guest_accelerators( self, value: impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>
where S::GuestAccelerators: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::InstanceFromMachineImageGuestAccelerator>>,
> as Default>::default()

List of the type and count of accelerator cards attached to the instance.

source

pub fn maybe_guest_accelerators( self, value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageGuestAccelerator>>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetGuestAccelerators<S>>
where S::GuestAccelerators: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::InstanceFromMachineImageGuestAccelerator>>,
> as Default>::default()

List of the type and count of accelerator cards attached to the instance.

source

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.

source

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.

source

pub fn key_revocation_action_type( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>
where S::KeyRevocationActionType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Action to be taken when a customer’s encryption key is revoked. Supports “STOP” and “NONE”, with “NONE” being the default.

source

pub fn maybe_key_revocation_action_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetKeyRevocationActionType<S>>
where S::KeyRevocationActionType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Action to be taken when a customer’s encryption key is revoked. Supports “STOP” and “NONE”, with “NONE” being the default.

source

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.

source

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.

source

pub fn machine_type( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>
where S::MachineType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The machine type to create.

source

pub fn maybe_machine_type( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMachineType<S>>
where S::MachineType: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The machine type to create.

source

pub fn metadata( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>
where S::Metadata: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

Metadata key/value pairs made available within the instance.

source

pub fn maybe_metadata( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMetadata<S>>
where S::Metadata: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

Metadata key/value pairs made available within the instance.

source

pub fn metadata_startup_script( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>
where S::MetadataStartupScript: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Metadata startup scripts made available within the instance.

source

pub fn maybe_metadata_startup_script( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMetadataStartupScript<S>>
where S::MetadataStartupScript: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Metadata startup scripts made available within the instance.

source

pub fn min_cpu_platform( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>
where S::MinCpuPlatform: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The minimum CPU platform specified for the VM instance.

source

pub fn maybe_min_cpu_platform( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetMinCpuPlatform<S>>
where S::MinCpuPlatform: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The minimum CPU platform specified for the VM instance.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

source

pub fn network_interfaces( self, value: impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>
where S::NetworkInterfaces: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::InstanceFromMachineImageNetworkInterface>>,
> as Default>::default()

The networks attached to the instance.

source

pub fn maybe_network_interfaces( self, value: Option<impl Into<Output<Option<Vec<InstanceFromMachineImageNetworkInterface>>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetNetworkInterfaces<S>>
where S::NetworkInterfaces: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::InstanceFromMachineImageNetworkInterface>>,
> as Default>::default()

The networks attached to the instance.

source

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.

source

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.

source

pub fn params( self, value: impl Into<Output<Option<InstanceFromMachineImageParams>>>, ) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>
where S::Params: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageParams>,
> as Default>::default()

Stores additional params passed with the request, but not persisted as part of resource payload.

source

pub fn maybe_params( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageParams>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetParams<S>>
where S::Params: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageParams>,
> as Default>::default()

Stores additional params passed with the request, but not persisted as part of resource payload.

source

pub fn partner_metadata( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>
where S::PartnerMetadata: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

Partner Metadata Map made available within the instance.

source

pub fn maybe_partner_metadata( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetPartnerMetadata<S>>
where S::PartnerMetadata: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<std::collections::HashMap<String, String>>,
> as Default>::default()

Partner Metadata Map made available within the instance.

source

pub fn project( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.

source

pub fn maybe_project( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.

source

pub fn reservation_affinity( self, value: impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>, ) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>
where S::ReservationAffinity: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageReservationAffinity>,
> as Default>::default()

Specifies the reservations that this instance can consume from.

source

pub fn maybe_reservation_affinity( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageReservationAffinity>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetReservationAffinity<S>>
where S::ReservationAffinity: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageReservationAffinity>,
> as Default>::default()

Specifies the reservations that this instance can consume from.

source

pub fn resource_policies( self, value: impl Into<Output<Option<String>>>, ) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>
where S::ResourcePolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A list of self_links of resource policies to attach to the instance. Currently a max of 1 resource policy is supported.

source

pub fn maybe_resource_policies( self, value: Option<impl Into<Output<Option<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetResourcePolicies<S>>
where S::ResourcePolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

A list of self_links of resource policies to attach to the instance. Currently a max of 1 resource policy is supported.

source

pub fn scheduling( self, value: impl Into<Output<Option<InstanceFromMachineImageScheduling>>>, ) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>
where S::Scheduling: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageScheduling>,
> as Default>::default()

The scheduling strategy being used by the instance.

source

pub fn maybe_scheduling( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageScheduling>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetScheduling<S>>
where S::Scheduling: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageScheduling>,
> as Default>::default()

The scheduling strategy being used by the instance.

source

pub fn service_account( self, value: impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>, ) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>
where S::ServiceAccount: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageServiceAccount>,
> as Default>::default()

The service account to attach to the instance.

source

pub fn maybe_service_account( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageServiceAccount>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetServiceAccount<S>>
where S::ServiceAccount: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageServiceAccount>,
> as Default>::default()

The service account to attach to the instance.

source

pub fn shielded_instance_config( self, value: impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>, ) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>
where S::ShieldedInstanceConfig: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageShieldedInstanceConfig>,
> as Default>::default()

The shielded vm config being used by the instance.

source

pub fn maybe_shielded_instance_config( self, value: Option<impl Into<Output<Option<InstanceFromMachineImageShieldedInstanceConfig>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetShieldedInstanceConfig<S>>
where S::ShieldedInstanceConfig: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::InstanceFromMachineImageShieldedInstanceConfig>,
> as Default>::default()

The shielded vm config being used by the instance.

source

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.


source

pub fn tags( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The list of tags attached to the instance.

source

pub fn maybe_tags( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> InstanceFromMachineImageArgsBuilder<SetTags<S>>
where S::Tags: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

The list of tags attached to the instance.

source

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.

source

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.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.