pulumi_wasm_providers_gcp_mini::compute::instance_from_template

Struct InstanceFromTemplateResult

source
pub struct InstanceFromTemplateResult {
Show 43 fields pub advanced_machine_features: Output<InstanceFromTemplateAdvancedMachineFeatures>, pub allow_stopping_for_update: Output<bool>, pub attached_disks: Output<Vec<InstanceFromTemplateAttachedDisk>>, pub boot_disk: Output<InstanceFromTemplateBootDisk>, pub can_ip_forward: Output<bool>, pub confidential_instance_config: Output<InstanceFromTemplateConfidentialInstanceConfig>, pub cpu_platform: Output<String>, pub creation_timestamp: Output<String>, pub current_status: Output<String>, pub deletion_protection: Output<bool>, pub description: Output<String>, pub desired_status: Output<String>, pub effective_labels: Output<HashMap<String, String>>, pub enable_display: Output<bool>, pub guest_accelerators: Output<Vec<InstanceFromTemplateGuestAccelerator>>, pub hostname: Output<String>, pub instance_id: Output<String>, pub key_revocation_action_type: Output<String>, pub label_fingerprint: Output<String>, pub labels: Output<HashMap<String, String>>, pub machine_type: Output<String>, pub metadata: Output<HashMap<String, String>>, pub metadata_fingerprint: Output<String>, pub metadata_startup_script: Output<String>, pub min_cpu_platform: Output<String>, pub name: Output<String>, pub network_interfaces: Output<Vec<InstanceFromTemplateNetworkInterface>>, pub network_performance_config: Output<InstanceFromTemplateNetworkPerformanceConfig>, pub params: Output<InstanceFromTemplateParams>, pub partner_metadata: Output<HashMap<String, String>>, pub project: Output<String>, pub pulumi_labels: Output<HashMap<String, String>>, pub reservation_affinity: Output<InstanceFromTemplateReservationAffinity>, pub resource_policies: Output<String>, pub scheduling: Output<InstanceFromTemplateScheduling>, pub scratch_disks: Output<Vec<InstanceFromTemplateScratchDisk>>, pub self_link: Output<String>, pub service_account: Output<InstanceFromTemplateServiceAccount>, pub shielded_instance_config: Output<InstanceFromTemplateShieldedInstanceConfig>, pub source_instance_template: Output<String>, pub tags: Output<Vec<String>>, pub tags_fingerprint: Output<String>, pub zone: Output<String>,
}

Fields§

§advanced_machine_features: Output<InstanceFromTemplateAdvancedMachineFeatures>

Controls for advanced machine-related behavior features.

§allow_stopping_for_update: Output<bool>§attached_disks: Output<Vec<InstanceFromTemplateAttachedDisk>>

List of disks attached to the instance

§boot_disk: Output<InstanceFromTemplateBootDisk>

The boot disk for the instance.

§can_ip_forward: Output<bool>

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

§confidential_instance_config: Output<InstanceFromTemplateConfidentialInstanceConfig>

The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.

§cpu_platform: Output<String>

The CPU platform used by this instance.

§creation_timestamp: Output<String>

Creation timestamp in RFC3339 text format.

§current_status: Output<String>

Current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.

§deletion_protection: Output<bool>

Whether deletion protection is enabled on this instance.

§description: Output<String>

A brief description of the resource.

§desired_status: Output<String>

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

§effective_labels: Output<HashMap<String, String>>§enable_display: Output<bool>

Whether the instance has virtual displays enabled.

§guest_accelerators: Output<Vec<InstanceFromTemplateGuestAccelerator>>

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

§hostname: Output<String>

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.

§instance_id: Output<String>

The server-assigned unique identifier of this instance.

§key_revocation_action_type: Output<String>

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

§label_fingerprint: Output<String>

The unique fingerprint of the labels.

§labels: Output<HashMap<String, String>>

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.

§machine_type: Output<String>

The machine type to create.

§metadata: Output<HashMap<String, String>>

Metadata key/value pairs made available within the instance.

§metadata_fingerprint: Output<String>

The unique fingerprint of the metadata.

§metadata_startup_script: Output<String>

Metadata startup scripts made available within the instance.

§min_cpu_platform: Output<String>

The minimum CPU platform specified for the VM instance.

§name: Output<String>

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

§network_interfaces: Output<Vec<InstanceFromTemplateNetworkInterface>>

The networks attached to the instance.

§network_performance_config: Output<InstanceFromTemplateNetworkPerformanceConfig>

Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration.

§params: Output<InstanceFromTemplateParams>

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

§partner_metadata: Output<HashMap<String, String>>

Partner Metadata Map made available within the instance.

§project: Output<String>

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.

§pulumi_labels: Output<HashMap<String, String>>

The combination of labels configured directly on the resource and default labels configured on the provider.

§reservation_affinity: Output<InstanceFromTemplateReservationAffinity>

Specifies the reservations that this instance can consume from.

§resource_policies: Output<String>

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

§scheduling: Output<InstanceFromTemplateScheduling>

The scheduling strategy being used by the instance.

§scratch_disks: Output<Vec<InstanceFromTemplateScratchDisk>>

The scratch disks attached to the instance.

§self_link: Output<String>

The URI of the created resource.

§service_account: Output<InstanceFromTemplateServiceAccount>

The service account to attach to the instance.

§shielded_instance_config: Output<InstanceFromTemplateShieldedInstanceConfig>

The shielded vm config being used by the instance.

§source_instance_template: Output<String>

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).


§tags: Output<Vec<String>>

The list of tags attached to the instance.

§tags_fingerprint: Output<String>

The unique fingerprint of the tags.

§zone: Output<String>

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.

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.