pulumi_wasm_providers_gcp_mini::compute::region_instance_template

Struct RegionInstanceTemplateArgsBuilder

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

source

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

Finish building and return the requested object

source

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

Optional (Some / Option setters). Default:

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

Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below

source

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

Optional (Some / Option setters). Default:

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

Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below

source

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

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

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

source

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

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

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

source

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

source

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

source

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

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

A brief description of this resource.

source

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

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

A brief description of this resource.

source

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.

source

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.

source

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.

source

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

Optional (Some / Option setters). Default:

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

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

source

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

Optional (Some / Option setters). Default:

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

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

source

pub fn instance_description( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>
where S::InstanceDescription: IsUnset,

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

A brief description to use for instances created from this template.

source

pub fn maybe_instance_description( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceTemplateArgsBuilder<SetInstanceDescription<S>>
where S::InstanceDescription: IsUnset,

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

A brief description to use for instances created from this template.

source

pub fn key_revocation_action_type( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceTemplateArgsBuilder<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>>>>, ) -> RegionInstanceTemplateArgsBuilder<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>>>>, ) -> 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.

source

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.

source

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.


source

pub fn metadata( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> RegionInstanceTemplateArgsBuilder<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 to make available from within instances created from this template.

source

pub fn maybe_metadata( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> RegionInstanceTemplateArgsBuilder<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 to make available from within instances created from this template.

source

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.

source

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.

source

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

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

Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here.

source

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

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

Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here.

source

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

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

source

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

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

source

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

source

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

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn project( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceTemplateArgsBuilder<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 it is not provided, the provider project is used.

source

pub fn maybe_project( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceTemplateArgsBuilder<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 it is not provided, the provider project is used.

source

pub fn region( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

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

The Region in which the resource belongs. If region is not provided, the provider region is used.

source

pub fn maybe_region( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceTemplateArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

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

The Region in which the resource belongs. If region is not provided, the provider region is used.

source

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

Optional (Some / Option setters). Default:

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

Specifies the reservations that this instance can consume from. Structure is documented below.

source

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<super::super::types::compute::RegionInstanceTemplateReservationAffinity>,
> as Default>::default()

Specifies the reservations that this instance can consume from. Structure is documented below.

source

pub fn resource_manager_tags( self, value: impl Into<Output<Option<HashMap<String, String>>>>, ) -> RegionInstanceTemplateArgsBuilder<SetResourceManagerTags<S>>
where S::ResourceManagerTags: 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.

source

pub fn maybe_resource_manager_tags( self, value: Option<impl Into<Output<Option<HashMap<String, String>>>>>, ) -> RegionInstanceTemplateArgsBuilder<SetResourceManagerTags<S>>
where S::ResourceManagerTags: 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.

source

pub fn resource_policies( self, value: impl Into<Output<Option<String>>>, ) -> RegionInstanceTemplateArgsBuilder<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. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
source

pub fn maybe_resource_policies( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RegionInstanceTemplateArgsBuilder<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. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
source

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

Optional (Some / Option setters). Default:

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

The scheduling strategy to use. More details about this configuration option are detailed below.

source

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

Optional (Some / Option setters). Default:

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

The scheduling strategy to use. More details about this configuration option are detailed below.

source

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

Optional (Some / Option setters). Default:

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

Service account to attach to the instance. Structure is documented below.

source

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

Optional (Some / Option setters). Default:

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

Service account to attach to the instance. Structure is documented below.

source

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.

source

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.

source

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

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

Tags to attach to the instance.

source

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

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

Tags to attach to the instance.

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.