pub struct InstanceFromMachineImageResult {Show 43 fields
pub advanced_machine_features: Output<InstanceFromMachineImageAdvancedMachineFeatures>,
pub allow_stopping_for_update: Output<bool>,
pub attached_disks: Output<Vec<InstanceFromMachineImageAttachedDisk>>,
pub boot_disks: Output<Vec<InstanceFromMachineImageBootDisk>>,
pub can_ip_forward: Output<bool>,
pub confidential_instance_config: Output<InstanceFromMachineImageConfidentialInstanceConfig>,
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<InstanceFromMachineImageGuestAccelerator>>,
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<InstanceFromMachineImageNetworkInterface>>,
pub network_performance_config: Output<InstanceFromMachineImageNetworkPerformanceConfig>,
pub params: Output<InstanceFromMachineImageParams>,
pub partner_metadata: Output<HashMap<String, String>>,
pub project: Output<String>,
pub pulumi_labels: Output<HashMap<String, String>>,
pub reservation_affinity: Output<InstanceFromMachineImageReservationAffinity>,
pub resource_policies: Output<String>,
pub scheduling: Output<InstanceFromMachineImageScheduling>,
pub scratch_disks: Output<Vec<InstanceFromMachineImageScratchDisk>>,
pub self_link: Output<String>,
pub service_account: Output<InstanceFromMachineImageServiceAccount>,
pub shielded_instance_config: Output<InstanceFromMachineImageShieldedInstanceConfig>,
pub source_machine_image: Output<String>,
pub tags: Output<Vec<String>>,
pub tags_fingerprint: Output<String>,
pub zone: Output<String>,
}
Fields§
§advanced_machine_features: Output<InstanceFromMachineImageAdvancedMachineFeatures>
Controls for advanced machine-related behavior features.
allow_stopping_for_update: Output<bool>
§attached_disks: Output<Vec<InstanceFromMachineImageAttachedDisk>>
List of disks attached to the instance
boot_disks: Output<Vec<InstanceFromMachineImageBootDisk>>
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<InstanceFromMachineImageConfidentialInstanceConfig>
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<InstanceFromMachineImageGuestAccelerator>>
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<InstanceFromMachineImageNetworkInterface>>
The networks attached to the instance.
network_performance_config: Output<InstanceFromMachineImageNetworkPerformanceConfig>
Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration.
params: Output<InstanceFromMachineImageParams>
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<InstanceFromMachineImageReservationAffinity>
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<InstanceFromMachineImageScheduling>
The scheduling strategy being used by the instance.
scratch_disks: Output<Vec<InstanceFromMachineImageScratchDisk>>
The scratch disks attached to the instance.
self_link: Output<String>
The URI of the created resource.
service_account: Output<InstanceFromMachineImageServiceAccount>
The service account to attach to the instance.
shielded_instance_config: Output<InstanceFromMachineImageShieldedInstanceConfig>
The shielded vm config being used by the instance.
source_machine_image: Output<String>
Name or self link of a machine image to create the instance based on.
The list of tags attached to the instance.
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, 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.