Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.compute.getInstance
Explore with Pulumi AI
Get information about a VM instance resource within GCE. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const appserver = gcp.compute.getInstance({
    name: "primary-application-server",
    zone: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp
appserver = gcp.compute.get_instance(name="primary-application-server",
    zone="us-central1-a")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.LookupInstance(ctx, &compute.LookupInstanceArgs{
			Name: pulumi.StringRef("primary-application-server"),
			Zone: pulumi.StringRef("us-central1-a"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var appserver = Gcp.Compute.GetInstance.Invoke(new()
    {
        Name = "primary-application-server",
        Zone = "us-central1-a",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var appserver = ComputeFunctions.getInstance(GetInstanceArgs.builder()
            .name("primary-application-server")
            .zone("us-central1-a")
            .build());
    }
}
variables:
  appserver:
    fn::invoke:
      function: gcp:compute:getInstance
      arguments:
        name: primary-application-server
        zone: us-central1-a
Using getInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>def get_instance(name: Optional[str] = None,
                 project: Optional[str] = None,
                 self_link: Optional[str] = None,
                 zone: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(name: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 self_link: Optional[pulumi.Input[str]] = None,
                 zone: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput> Note: This function is named LookupInstance in the Go SDK.
public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:compute/getInstance:getInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- Project string
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- SelfLink string
- The self link of the instance. One of nameorself_linkmust be provided.
- Zone string
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- Project string
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- SelfLink string
- The self link of the instance. One of nameorself_linkmust be provided.
- Zone string
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- project String
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- selfLink String
- The self link of the instance. One of nameorself_linkmust be provided.
- zone String
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
- name string
- The name of the instance. One of nameorself_linkmust be provided.
- project string
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- selfLink string
- The self link of the instance. One of nameorself_linkmust be provided.
- zone string
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
- name str
- The name of the instance. One of nameorself_linkmust be provided.
- project str
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- self_link str
- The self link of the instance. One of nameorself_linkmust be provided.
- zone str
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- project String
- The ID of the project in which the resource belongs.
If self_linkis provided, this value is ignored. If neitherself_linknorprojectare provided, the provider project is used.
- selfLink String
- The self link of the instance. One of nameorself_linkmust be provided.
- zone String
- The zone of the instance. If self_linkis provided, this value is ignored. If neitherself_linknorzoneare provided, the provider zone is used.
getInstance Result
The following output properties are available:
- AdvancedMachine List<GetFeatures Instance Advanced Machine Feature> 
- AllowStopping boolFor Update 
- AttachedDisks List<GetInstance Attached Disk> 
- List of disks attached to the instance. Structure is documented below.
- BootDisks List<GetInstance Boot Disk> 
- The boot disk for the instance. Structure is documented below.
- CanIp boolForward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- ConfidentialInstance List<GetConfigs Instance Confidential Instance Config> 
- CpuPlatform string
- The CPU platform used by this instance.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- CurrentStatus string
- The 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.
- DeletionProtection bool
- Whether deletion protection is enabled on this instance.
- Description string
- A brief description of the resource.
- DesiredStatus string
- EffectiveLabels Dictionary<string, string>
- EnableDisplay bool
- Whether the instance has virtual displays enabled.
- GuestAccelerators List<GetInstance Guest Accelerator> 
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- Hostname string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- The server-assigned unique identifier of this instance.
- KeyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- LabelFingerprint string
- The unique fingerprint of the labels.
- Labels Dictionary<string, string>
- A set of key/value label pairs assigned to the disk.
- MachineType string
- The machine type to create.
- Metadata Dictionary<string, string>
- Metadata key/value pairs made available within the instance.
- MetadataFingerprint string
- The unique fingerprint of the metadata.
- MetadataStartup stringScript 
- MinCpu stringPlatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- NetworkInterfaces List<GetInstance Network Interface> 
- The networks attached to the instance. Structure is documented below.
- NetworkPerformance List<GetConfigs Instance Network Performance Config> 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- Params
List<GetInstance Param> 
- PartnerMetadata Dictionary<string, string>
- PulumiLabels Dictionary<string, string>
- ReservationAffinities List<GetInstance Reservation Affinity> 
- ResourcePolicies List<string>
- A list of self_links to resource policies attached to the selected boot_disk
- Schedulings
List<GetInstance Scheduling> 
- The scheduling strategy being used by the instance. Structure is documented below
- ScratchDisks List<GetInstance Scratch Disk> 
- The scratch disks attached to the instance. Structure is documented below.
- ServiceAccounts List<GetInstance Service Account> 
- The service account to attach to the instance. Structure is documented below.
- ShieldedInstance List<GetConfigs Instance Shielded Instance Config> 
- The shielded vm config being used by the instance. Structure is documented below.
- List<string>
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- Name string
- Project string
- SelfLink string
- The URI of the created resource.
- Zone string
- AdvancedMachine []GetFeatures Instance Advanced Machine Feature 
- AllowStopping boolFor Update 
- AttachedDisks []GetInstance Attached Disk 
- List of disks attached to the instance. Structure is documented below.
- BootDisks []GetInstance Boot Disk 
- The boot disk for the instance. Structure is documented below.
- CanIp boolForward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- ConfidentialInstance []GetConfigs Instance Confidential Instance Config 
- CpuPlatform string
- The CPU platform used by this instance.
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- CurrentStatus string
- The 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.
- DeletionProtection bool
- Whether deletion protection is enabled on this instance.
- Description string
- A brief description of the resource.
- DesiredStatus string
- EffectiveLabels map[string]string
- EnableDisplay bool
- Whether the instance has virtual displays enabled.
- GuestAccelerators []GetInstance Guest Accelerator 
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- Hostname string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- The server-assigned unique identifier of this instance.
- KeyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- LabelFingerprint string
- The unique fingerprint of the labels.
- Labels map[string]string
- A set of key/value label pairs assigned to the disk.
- MachineType string
- The machine type to create.
- Metadata map[string]string
- Metadata key/value pairs made available within the instance.
- MetadataFingerprint string
- The unique fingerprint of the metadata.
- MetadataStartup stringScript 
- MinCpu stringPlatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- NetworkInterfaces []GetInstance Network Interface 
- The networks attached to the instance. Structure is documented below.
- NetworkPerformance []GetConfigs Instance Network Performance Config 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- Params
[]GetInstance Param 
- PartnerMetadata map[string]string
- PulumiLabels map[string]string
- ReservationAffinities []GetInstance Reservation Affinity 
- ResourcePolicies []string
- A list of self_links to resource policies attached to the selected boot_disk
- Schedulings
[]GetInstance Scheduling 
- The scheduling strategy being used by the instance. Structure is documented below
- ScratchDisks []GetInstance Scratch Disk 
- The scratch disks attached to the instance. Structure is documented below.
- ServiceAccounts []GetInstance Service Account 
- The service account to attach to the instance. Structure is documented below.
- ShieldedInstance []GetConfigs Instance Shielded Instance Config 
- The shielded vm config being used by the instance. Structure is documented below.
- []string
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- Name string
- Project string
- SelfLink string
- The URI of the created resource.
- Zone string
- advancedMachine List<GetFeatures Instance Advanced Machine Feature> 
- allowStopping BooleanFor Update 
- attachedDisks List<GetInstance Attached Disk> 
- List of disks attached to the instance. Structure is documented below.
- bootDisks List<GetInstance Boot Disk> 
- The boot disk for the instance. Structure is documented below.
- canIp BooleanForward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidentialInstance List<GetConfigs Instance Confidential Instance Config> 
- cpuPlatform String
- The CPU platform used by this instance.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- currentStatus String
- The 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.
- deletionProtection Boolean
- Whether deletion protection is enabled on this instance.
- description String
- A brief description of the resource.
- desiredStatus String
- effectiveLabels Map<String,String>
- enableDisplay Boolean
- Whether the instance has virtual displays enabled.
- guestAccelerators List<GetInstance Guest Accelerator> 
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- The server-assigned unique identifier of this instance.
- keyRevocation StringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labelFingerprint String
- The unique fingerprint of the labels.
- labels Map<String,String>
- A set of key/value label pairs assigned to the disk.
- machineType String
- The machine type to create.
- metadata Map<String,String>
- Metadata key/value pairs made available within the instance.
- metadataFingerprint String
- The unique fingerprint of the metadata.
- metadataStartup StringScript 
- minCpu StringPlatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- networkInterfaces List<GetInstance Network Interface> 
- The networks attached to the instance. Structure is documented below.
- networkPerformance List<GetConfigs Instance Network Performance Config> 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- params
List<GetInstance Param> 
- partnerMetadata Map<String,String>
- pulumiLabels Map<String,String>
- reservationAffinities List<GetInstance Reservation Affinity> 
- resourcePolicies List<String>
- A list of self_links to resource policies attached to the selected boot_disk
- schedulings
List<GetInstance Scheduling> 
- The scheduling strategy being used by the instance. Structure is documented below
- scratchDisks List<GetInstance Scratch Disk> 
- The scratch disks attached to the instance. Structure is documented below.
- serviceAccounts List<GetInstance Service Account> 
- The service account to attach to the instance. Structure is documented below.
- shieldedInstance List<GetConfigs Instance Shielded Instance Config> 
- The shielded vm config being used by the instance. Structure is documented below.
- List<String>
- The list of tags attached to the instance.
- String
- The unique fingerprint of the tags.
- name String
- project String
- selfLink String
- The URI of the created resource.
- zone String
- advancedMachine GetFeatures Instance Advanced Machine Feature[] 
- allowStopping booleanFor Update 
- attachedDisks GetInstance Attached Disk[] 
- List of disks attached to the instance. Structure is documented below.
- bootDisks GetInstance Boot Disk[] 
- The boot disk for the instance. Structure is documented below.
- canIp booleanForward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidentialInstance GetConfigs Instance Confidential Instance Config[] 
- cpuPlatform string
- The CPU platform used by this instance.
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- currentStatus string
- The 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.
- deletionProtection boolean
- Whether deletion protection is enabled on this instance.
- description string
- A brief description of the resource.
- desiredStatus string
- effectiveLabels {[key: string]: string}
- enableDisplay boolean
- Whether the instance has virtual displays enabled.
- guestAccelerators GetInstance Guest Accelerator[] 
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname string
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- The server-assigned unique identifier of this instance.
- keyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labelFingerprint string
- The unique fingerprint of the labels.
- labels {[key: string]: string}
- A set of key/value label pairs assigned to the disk.
- machineType string
- The machine type to create.
- metadata {[key: string]: string}
- Metadata key/value pairs made available within the instance.
- metadataFingerprint string
- The unique fingerprint of the metadata.
- metadataStartup stringScript 
- minCpu stringPlatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- networkInterfaces GetInstance Network Interface[] 
- The networks attached to the instance. Structure is documented below.
- networkPerformance GetConfigs Instance Network Performance Config[] 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- params
GetInstance Param[] 
- partnerMetadata {[key: string]: string}
- pulumiLabels {[key: string]: string}
- reservationAffinities GetInstance Reservation Affinity[] 
- resourcePolicies string[]
- A list of self_links to resource policies attached to the selected boot_disk
- schedulings
GetInstance Scheduling[] 
- The scheduling strategy being used by the instance. Structure is documented below
- scratchDisks GetInstance Scratch Disk[] 
- The scratch disks attached to the instance. Structure is documented below.
- serviceAccounts GetInstance Service Account[] 
- The service account to attach to the instance. Structure is documented below.
- shieldedInstance GetConfigs Instance Shielded Instance Config[] 
- The shielded vm config being used by the instance. Structure is documented below.
- string[]
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- name string
- project string
- selfLink string
- The URI of the created resource.
- zone string
- advanced_machine_ Sequence[Getfeatures Instance Advanced Machine Feature] 
- allow_stopping_ boolfor_ update 
- attached_disks Sequence[GetInstance Attached Disk] 
- List of disks attached to the instance. Structure is documented below.
- boot_disks Sequence[GetInstance Boot Disk] 
- The boot disk for the instance. Structure is documented below.
- can_ip_ boolforward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidential_instance_ Sequence[Getconfigs Instance Confidential Instance Config] 
- cpu_platform str
- The CPU platform used by this instance.
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- current_status str
- The 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 bool
- Whether deletion protection is enabled on this instance.
- description str
- A brief description of the resource.
- desired_status str
- effective_labels Mapping[str, str]
- enable_display bool
- Whether the instance has virtual displays enabled.
- guest_accelerators Sequence[GetInstance Guest Accelerator] 
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_id str
- The server-assigned unique identifier of this instance.
- key_revocation_ straction_ type 
- Action to be taken when a customer's encryption key is revoked.
- label_fingerprint str
- The unique fingerprint of the labels.
- labels Mapping[str, str]
- A set of key/value label pairs assigned to the disk.
- machine_type str
- The machine type to create.
- metadata Mapping[str, str]
- Metadata key/value pairs made available within the instance.
- metadata_fingerprint str
- The unique fingerprint of the metadata.
- metadata_startup_ strscript 
- min_cpu_ strplatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network_interfaces Sequence[GetInstance Network Interface] 
- The networks attached to the instance. Structure is documented below.
- network_performance_ Sequence[Getconfigs Instance Network Performance Config] 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- params
Sequence[GetInstance Param] 
- partner_metadata Mapping[str, str]
- pulumi_labels Mapping[str, str]
- reservation_affinities Sequence[GetInstance Reservation Affinity] 
- resource_policies Sequence[str]
- A list of self_links to resource policies attached to the selected boot_disk
- schedulings
Sequence[GetInstance Scheduling] 
- The scheduling strategy being used by the instance. Structure is documented below
- scratch_disks Sequence[GetInstance Scratch Disk] 
- The scratch disks attached to the instance. Structure is documented below.
- service_accounts Sequence[GetInstance Service Account] 
- The service account to attach to the instance. Structure is documented below.
- shielded_instance_ Sequence[Getconfigs Instance Shielded Instance Config] 
- The shielded vm config being used by the instance. Structure is documented below.
- Sequence[str]
- The list of tags attached to the instance.
- str
- The unique fingerprint of the tags.
- name str
- project str
- self_link str
- The URI of the created resource.
- zone str
- advancedMachine List<Property Map>Features 
- allowStopping BooleanFor Update 
- attachedDisks List<Property Map>
- List of disks attached to the instance. Structure is documented below.
- bootDisks List<Property Map>
- The boot disk for the instance. Structure is documented below.
- canIp BooleanForward 
- Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidentialInstance List<Property Map>Configs 
- cpuPlatform String
- The CPU platform used by this instance.
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- currentStatus String
- The 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.
- deletionProtection Boolean
- Whether deletion protection is enabled on this instance.
- description String
- A brief description of the resource.
- desiredStatus String
- effectiveLabels Map<String>
- enableDisplay Boolean
- Whether the instance has virtual displays enabled.
- guestAccelerators List<Property Map>
- List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- The server-assigned unique identifier of this instance.
- keyRevocation StringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labelFingerprint String
- The unique fingerprint of the labels.
- labels Map<String>
- A set of key/value label pairs assigned to the disk.
- machineType String
- The machine type to create.
- metadata Map<String>
- Metadata key/value pairs made available within the instance.
- metadataFingerprint String
- The unique fingerprint of the metadata.
- metadataStartup StringScript 
- minCpu StringPlatform 
- The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- networkInterfaces List<Property Map>
- The networks attached to the instance. Structure is documented below.
- networkPerformance List<Property Map>Configs 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- params List<Property Map>
- partnerMetadata Map<String>
- pulumiLabels Map<String>
- reservationAffinities List<Property Map>
- resourcePolicies List<String>
- A list of self_links to resource policies attached to the selected boot_disk
- schedulings List<Property Map>
- The scheduling strategy being used by the instance. Structure is documented below
- scratchDisks List<Property Map>
- The scratch disks attached to the instance. Structure is documented below.
- serviceAccounts List<Property Map>
- The service account to attach to the instance. Structure is documented below.
- shieldedInstance List<Property Map>Configs 
- The shielded vm config being used by the instance. Structure is documented below.
- List<String>
- The list of tags attached to the instance.
- String
- The unique fingerprint of the tags.
- name String
- project String
- selfLink String
- The URI of the created resource.
- zone String
Supporting Types
GetInstanceAdvancedMachineFeature    
- EnableNested boolVirtualization 
- Whether to enable nested virtualization or not.
- EnableUefi boolNetworking 
- Whether to enable UEFI networking for the instance.
- PerformanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- ThreadsPer intCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- TurboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- VisibleCore intCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- EnableNested boolVirtualization 
- Whether to enable nested virtualization or not.
- EnableUefi boolNetworking 
- Whether to enable UEFI networking for the instance.
- PerformanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- ThreadsPer intCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- TurboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- VisibleCore intCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested BooleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi BooleanNetworking 
- Whether to enable UEFI networking for the instance.
- performanceMonitoring StringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer IntegerCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode String
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore IntegerCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested booleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi booleanNetworking 
- Whether to enable UEFI networking for the instance.
- performanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer numberCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore numberCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable_nested_ boolvirtualization 
- Whether to enable nested virtualization or not.
- enable_uefi_ boolnetworking 
- Whether to enable UEFI networking for the instance.
- performance_monitoring_ strunit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads_per_ intcore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo_mode str
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible_core_ intcount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested BooleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi BooleanNetworking 
- Whether to enable UEFI networking for the instance.
- performanceMonitoring StringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer NumberCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode String
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore NumberCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
GetInstanceAttachedDisk   
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- DiskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- DiskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- KmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- Source string
- The self_link of the disk attached to this instance.
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- DiskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- DiskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- KmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- Source string
- The self_link of the disk attached to this instance.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption StringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption StringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kmsKey StringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source String
- The self_link of the disk attached to this instance.
- deviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source string
- The self_link of the disk attached to this instance.
- device_name str
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- disk_encryption_ strkey_ raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_encryption_ strkey_ sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kms_key_ strself_ link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode str
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source str
- The self_link of the disk attached to this instance.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption StringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption StringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kmsKey StringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source String
- The self_link of the disk attached to this instance.
GetInstanceBootDisk   
- AutoDelete bool
- Whether the disk will be auto-deleted when the instance is deleted.
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- DiskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- DiskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- InitializeParams List<GetInstance Boot Disk Initialize Param> 
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- Interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- KmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- Source string
- The self_link of the disk attached to this instance.
- AutoDelete bool
- Whether the disk will be auto-deleted when the instance is deleted.
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- DiskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- DiskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- InitializeParams []GetInstance Boot Disk Initialize Param 
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- Interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- KmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- Source string
- The self_link of the disk attached to this instance.
- autoDelete Boolean
- Whether the disk will be auto-deleted when the instance is deleted.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption StringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption StringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initializeParams List<GetInstance Boot Disk Initialize Param> 
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface_ String
- The disk interface used for attaching this disk. One of SCSIorNVME.
- kmsKey StringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source String
- The self_link of the disk attached to this instance.
- autoDelete boolean
- Whether the disk will be auto-deleted when the instance is deleted.
- deviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption stringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption stringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initializeParams GetInstance Boot Disk Initialize Param[] 
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- kmsKey stringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode string
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source string
- The self_link of the disk attached to this instance.
- auto_delete bool
- Whether the disk will be auto-deleted when the instance is deleted.
- device_name str
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- disk_encryption_ strkey_ raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_encryption_ strkey_ sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initialize_params Sequence[GetInstance Boot Disk Initialize Param] 
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface str
- The disk interface used for attaching this disk. One of SCSIorNVME.
- kms_key_ strself_ link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode str
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source str
- The self_link of the disk attached to this instance.
- autoDelete Boolean
- Whether the disk will be auto-deleted when the instance is deleted.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- diskEncryption StringKey Raw 
- A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- diskEncryption StringKey Sha256 
- The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initializeParams List<Property Map>
- Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface String
- The disk interface used for attaching this disk. One of SCSIorNVME.
- kmsKey StringSelf Link 
- The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of "READ_ONLY"or"READ_WRITE".
- source String
- The self_link of the disk attached to this instance.
GetInstanceBootDiskInitializeParam     
- EnableConfidential boolCompute 
- A flag to enable confidential compute mode on boot disk
- Image string
- The image from which this disk was initialised.
- Labels Dictionary<string, string>
- A set of key/value label pairs assigned to the disk.
- ProvisionedIops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- ProvisionedThroughput int
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Dictionary<string, string>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- ResourcePolicies List<string>
- A list of self_links to resource policies attached to the selected boot_disk
- Size int
- The size of the image in gigabytes.
- StoragePool string
- The URL of the storage pool in which the new disk is created
- Type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- EnableConfidential boolCompute 
- A flag to enable confidential compute mode on boot disk
- Image string
- The image from which this disk was initialised.
- Labels map[string]string
- A set of key/value label pairs assigned to the disk.
- ProvisionedIops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- ProvisionedThroughput int
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- map[string]string
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- ResourcePolicies []string
- A list of self_links to resource policies attached to the selected boot_disk
- Size int
- The size of the image in gigabytes.
- StoragePool string
- The URL of the storage pool in which the new disk is created
- Type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- enableConfidential BooleanCompute 
- A flag to enable confidential compute mode on boot disk
- image String
- The image from which this disk was initialised.
- labels Map<String,String>
- A set of key/value label pairs assigned to the disk.
- provisionedIops Integer
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- provisionedThroughput Integer
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Map<String,String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies List<String>
- A list of self_links to resource policies attached to the selected boot_disk
- size Integer
- The size of the image in gigabytes.
- storagePool String
- The URL of the storage pool in which the new disk is created
- type String
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- enableConfidential booleanCompute 
- A flag to enable confidential compute mode on boot disk
- image string
- The image from which this disk was initialised.
- labels {[key: string]: string}
- A set of key/value label pairs assigned to the disk.
- provisionedIops number
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- provisionedThroughput number
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- {[key: string]: string}
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies string[]
- A list of self_links to resource policies attached to the selected boot_disk
- size number
- The size of the image in gigabytes.
- storagePool string
- The URL of the storage pool in which the new disk is created
- type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- enable_confidential_ boolcompute 
- A flag to enable confidential compute mode on boot disk
- image str
- The image from which this disk was initialised.
- labels Mapping[str, str]
- A set of key/value label pairs assigned to the disk.
- provisioned_iops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- provisioned_throughput int
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Mapping[str, str]
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource_policies Sequence[str]
- A list of self_links to resource policies attached to the selected boot_disk
- size int
- The size of the image in gigabytes.
- storage_pool str
- The URL of the storage pool in which the new disk is created
- type str
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- enableConfidential BooleanCompute 
- A flag to enable confidential compute mode on boot disk
- image String
- The image from which this disk was initialised.
- labels Map<String>
- A set of key/value label pairs assigned to the disk.
- provisionedIops Number
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle.
- provisionedThroughput Number
- Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Map<String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies List<String>
- A list of self_links to resource policies attached to the selected boot_disk
- size Number
- The size of the image in gigabytes.
- storagePool String
- The URL of the storage pool in which the new disk is created
- type String
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
GetInstanceConfidentialInstanceConfig    
- ConfidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- EnableConfidential boolCompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- ConfidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- EnableConfidential boolCompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidentialInstance StringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential BooleanCompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential booleanCompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential_instance_ strtype 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable_confidential_ boolcompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidentialInstance StringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential BooleanCompute 
- Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
GetInstanceGuestAccelerator   
GetInstanceNetworkInterface   
- AccessConfigs List<GetInstance Network Interface Access Config> 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- AliasIp List<GetRanges Instance Network Interface Alias Ip Range> 
- An array of alias IP ranges for this network interface. Structure documented below.
- InternalIpv6Prefix intLength 
- The prefix length of the primary internal IPv6 range.
- Ipv6AccessConfigs List<GetInstance Network Interface Ipv6Access Config> 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- Ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- Network string
- The name or self_link of the network attached to this interface.
- NetworkAttachment string
- The URL of the network attachment to this interface.
- NetworkIp string
- The internal ip address of the instance, either manually or dynamically assigned.
- NicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- QueueCount int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- StackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- Subnetwork string
- The name or self_link of the subnetwork attached to this interface.
- SubnetworkProject string
- The project in which the subnetwork belongs.
- AccessConfigs []GetInstance Network Interface Access Config 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- AliasIp []GetRanges Instance Network Interface Alias Ip Range 
- An array of alias IP ranges for this network interface. Structure documented below.
- InternalIpv6Prefix intLength 
- The prefix length of the primary internal IPv6 range.
- Ipv6AccessConfigs []GetInstance Network Interface Ipv6Access Config 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- Ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- Network string
- The name or self_link of the network attached to this interface.
- NetworkAttachment string
- The URL of the network attachment to this interface.
- NetworkIp string
- The internal ip address of the instance, either manually or dynamically assigned.
- NicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- QueueCount int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- StackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- Subnetwork string
- The name or self_link of the subnetwork attached to this interface.
- SubnetworkProject string
- The project in which the subnetwork belongs.
- accessConfigs List<GetInstance Network Interface Access Config> 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- aliasIp List<GetRanges Instance Network Interface Alias Ip Range> 
- An array of alias IP ranges for this network interface. Structure documented below.
- internalIpv6Prefix IntegerLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs List<GetInstance Network Interface Ipv6Access Config> 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType String
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address String
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- network String
- The name or self_link of the network attached to this interface.
- networkAttachment String
- The URL of the network attachment to this interface.
- networkIp String
- The internal ip address of the instance, either manually or dynamically assigned.
- nicType String
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queueCount Integer
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- stackType String
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork String
- The name or self_link of the subnetwork attached to this interface.
- subnetworkProject String
- The project in which the subnetwork belongs.
- accessConfigs GetInstance Network Interface Access Config[] 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- aliasIp GetRanges Instance Network Interface Alias Ip Range[] 
- An array of alias IP ranges for this network interface. Structure documented below.
- internalIpv6Prefix numberLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs GetInstance Network Interface Ipv6Access Config[] 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name string
- The name of the instance. One of nameorself_linkmust be provided.
- network string
- The name or self_link of the network attached to this interface.
- networkAttachment string
- The URL of the network attachment to this interface.
- networkIp string
- The internal ip address of the instance, either manually or dynamically assigned.
- nicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queueCount number
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- securityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- stackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork string
- The name or self_link of the subnetwork attached to this interface.
- subnetworkProject string
- The project in which the subnetwork belongs.
- access_configs Sequence[GetInstance Network Interface Access Config] 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias_ip_ Sequence[Getranges Instance Network Interface Alias Ip Range] 
- An array of alias IP ranges for this network interface. Structure documented below.
- internal_ipv6_ intprefix_ length 
- The prefix length of the primary internal IPv6 range.
- ipv6_access_ Sequence[Getconfigs Instance Network Interface Ipv6Access Config] 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6_access_ strtype 
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6_address str
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name str
- The name of the instance. One of nameorself_linkmust be provided.
- network str
- The name or self_link of the network attached to this interface.
- network_attachment str
- The URL of the network attachment to this interface.
- network_ip str
- The internal ip address of the instance, either manually or dynamically assigned.
- nic_type str
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queue_count int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- security_policy str
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- stack_type str
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork str
- The name or self_link of the subnetwork attached to this interface.
- subnetwork_project str
- The project in which the subnetwork belongs.
- accessConfigs List<Property Map>
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- aliasIp List<Property Map>Ranges 
- An array of alias IP ranges for this network interface. Structure documented below.
- internalIpv6Prefix NumberLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs List<Property Map>
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType String
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address String
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- network String
- The name or self_link of the network attached to this interface.
- networkAttachment String
- The URL of the network attachment to this interface.
- networkIp String
- The internal ip address of the instance, either manually or dynamically assigned.
- nicType String
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queueCount Number
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- stackType String
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork String
- The name or self_link of the subnetwork attached to this interface.
- subnetworkProject String
- The project in which the subnetwork belongs.
GetInstanceNetworkInterfaceAccessConfig     
- NatIp string
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- NatIp string
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- natIp String
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- networkTier String
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- natIp string
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- networkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- nat_ip str
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- network_tier str
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- public_ptr_ strdomain_ name 
- The DNS domain name for the public PTR record.
- security_policy str
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- natIp String
- If the instance has an access config, either the given external ip (in the nat_ipfield) or the ephemeral (generated) ip (if you didn't provide one).
- networkTier String
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
GetInstanceNetworkInterfaceAliasIpRange      
- IpCidr stringRange 
- The IP CIDR range represented by this alias IP range.
- SubnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- IpCidr stringRange 
- The IP CIDR range represented by this alias IP range.
- SubnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ipCidr StringRange 
- The IP CIDR range represented by this alias IP range.
- subnetworkRange StringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ipCidr stringRange 
- The IP CIDR range represented by this alias IP range.
- subnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip_cidr_ strrange 
- The IP CIDR range represented by this alias IP range.
- subnetwork_range_ strname 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ipCidr StringRange 
- The IP CIDR range represented by this alias IP range.
- subnetworkRange StringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
GetInstanceNetworkInterfaceIpv6AccessConfig     
- ExternalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- ExternalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- ExternalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- ExternalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- Name string
- The name of the instance. One of nameorself_linkmust be provided.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- SecurityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- externalIpv6 String
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- externalIpv6Prefix StringLength 
- The prefix length of the external IPv6 range.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- externalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- externalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- name string
- The name of the instance. One of nameorself_linkmust be provided.
- networkTier string
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr stringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy string
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- external_ipv6 str
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- external_ipv6_ strprefix_ length 
- The prefix length of the external IPv6 range.
- name str
- The name of the instance. One of nameorself_linkmust be provided.
- network_tier str
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- public_ptr_ strdomain_ name 
- The DNS domain name for the public PTR record.
- security_policy str
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- externalIpv6 String
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- externalIpv6Prefix StringLength 
- The prefix length of the external IPv6 range.
- name String
- The name of the instance. One of nameorself_linkmust be provided.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance. One of PREMIUMorSTANDARD.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.
- securityPolicy String
- A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
GetInstanceNetworkPerformanceConfig    
- TotalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- TotalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- totalEgress StringBandwidth Tier 
- The egress bandwidth tier for the instance.
- totalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- total_egress_ strbandwidth_ tier 
- The egress bandwidth tier for the instance.
- totalEgress StringBandwidth Tier 
- The egress bandwidth tier for the instance.
GetInstanceParam  
- Dictionary<string, string>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- map[string]string
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- Map<String,String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- {[key: string]: string}
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- Mapping[str, str]
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- Map<String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
GetInstanceReservationAffinity   
- SpecificReservations List<GetInstance Reservation Affinity Specific Reservation> 
- Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- SpecificReservations []GetInstance Reservation Affinity Specific Reservation 
- Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- specificReservations List<GetInstance Reservation Affinity Specific Reservation> 
- Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- specificReservations GetInstance Reservation Affinity Specific Reservation[] 
- Specifies the label selector for the reservation to use.
- type string
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- specific_reservations Sequence[GetInstance Reservation Affinity Specific Reservation] 
- Specifies the label selector for the reservation to use.
- type str
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
- specificReservations List<Property Map>
- Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
GetInstanceReservationAffinitySpecificReservation     
- Key string
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- Values List<string>
- Corresponds to the label values of a reservation resource.
- key String
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values List<String>
- Corresponds to the label values of a reservation resource.
- key str
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values Sequence[str]
- Corresponds to the label values of a reservation resource.
- key String
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values List<String>
- Corresponds to the label values of a reservation resource.
GetInstanceScheduling  
- AutomaticRestart bool
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- AvailabilityDomain int
- Specifies the availability domain, which this instance should be scheduled on.
- GracefulShutdowns List<GetInstance Scheduling Graceful Shutdown> 
- Settings for the instance to perform a graceful shutdown.
- HostError intTimeout Seconds 
- Beta Time in seconds for host error detection.
- InstanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- LocalSsd List<GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout> 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- MaxRun List<GetDurations Instance Scheduling Max Run Duration> 
- The timeout for new network connections to hosts.
- MinNode intCpus 
- NodeAffinities List<GetInstance Scheduling Node Affinity> 
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- OnHost stringMaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- OnInstance List<GetStop Actions Instance Scheduling On Instance Stop Action> 
- Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Whether the instance is preemptible.
- ProvisioningModel string
- Describe the type of preemptible VM.
- AutomaticRestart bool
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- AvailabilityDomain int
- Specifies the availability domain, which this instance should be scheduled on.
- GracefulShutdowns []GetInstance Scheduling Graceful Shutdown 
- Settings for the instance to perform a graceful shutdown.
- HostError intTimeout Seconds 
- Beta Time in seconds for host error detection.
- InstanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- LocalSsd []GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- MaxRun []GetDurations Instance Scheduling Max Run Duration 
- The timeout for new network connections to hosts.
- MinNode intCpus 
- NodeAffinities []GetInstance Scheduling Node Affinity 
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- OnHost stringMaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- OnInstance []GetStop Actions Instance Scheduling On Instance Stop Action 
- Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Whether the instance is preemptible.
- ProvisioningModel string
- Describe the type of preemptible VM.
- automaticRestart Boolean
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availabilityDomain Integer
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns List<GetInstance Scheduling Graceful Shutdown> 
- Settings for the instance to perform a graceful shutdown.
- hostError IntegerTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination StringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd List<GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout> 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun List<GetDurations Instance Scheduling Max Run Duration> 
- The timeout for new network connections to hosts.
- minNode IntegerCpus 
- nodeAffinities List<GetInstance Scheduling Node Affinity> 
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- onHost StringMaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- onInstance List<GetStop Actions Instance Scheduling On Instance Stop Action> 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Whether the instance is preemptible.
- provisioningModel String
- Describe the type of preemptible VM.
- automaticRestart boolean
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availabilityDomain number
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns GetInstance Scheduling Graceful Shutdown[] 
- Settings for the instance to perform a graceful shutdown.
- hostError numberTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout[] 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun GetDurations Instance Scheduling Max Run Duration[] 
- The timeout for new network connections to hosts.
- minNode numberCpus 
- nodeAffinities GetInstance Scheduling Node Affinity[] 
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- onHost stringMaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- onInstance GetStop Actions Instance Scheduling On Instance Stop Action[] 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible boolean
- Whether the instance is preemptible.
- provisioningModel string
- Describe the type of preemptible VM.
- automatic_restart bool
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availability_domain int
- Specifies the availability domain, which this instance should be scheduled on.
- graceful_shutdowns Sequence[GetInstance Scheduling Graceful Shutdown] 
- Settings for the instance to perform a graceful shutdown.
- host_error_ inttimeout_ seconds 
- Beta Time in seconds for host error detection.
- instance_termination_ straction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- local_ssd_ Sequence[Getrecovery_ timeouts Instance Scheduling Local Ssd Recovery Timeout] 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance_interval str
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max_run_ Sequence[Getdurations Instance Scheduling Max Run Duration] 
- The timeout for new network connections to hosts.
- min_node_ intcpus 
- node_affinities Sequence[GetInstance Scheduling Node Affinity] 
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- on_host_ strmaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- on_instance_ Sequence[Getstop_ actions Instance Scheduling On Instance Stop Action] 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible bool
- Whether the instance is preemptible.
- provisioning_model str
- Describe the type of preemptible VM.
- automaticRestart Boolean
- Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availabilityDomain Number
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns List<Property Map>
- Settings for the instance to perform a graceful shutdown.
- hostError NumberTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination StringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd List<Property Map>Recovery Timeouts 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun List<Property Map>Durations 
- The timeout for new network connections to hosts.
- minNode NumberCpus 
- nodeAffinities List<Property Map>
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- onHost StringMaintenance 
- Describes maintenance behavior for the
instance. One of MIGRATEorTERMINATE, for more info, read here
- onInstance List<Property Map>Stop Actions 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Whether the instance is preemptible.
- provisioningModel String
- Describe the type of preemptible VM.
GetInstanceSchedulingGracefulShutdown    
- Enabled bool
- Opts-in for graceful shutdown.
- MaxDurations List<GetInstance Scheduling Graceful Shutdown Max Duration> 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- Enabled bool
- Opts-in for graceful shutdown.
- MaxDurations []GetInstance Scheduling Graceful Shutdown Max Duration 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled Boolean
- Opts-in for graceful shutdown.
- maxDurations List<GetInstance Scheduling Graceful Shutdown Max Duration> 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled boolean
- Opts-in for graceful shutdown.
- maxDurations GetInstance Scheduling Graceful Shutdown Max Duration[] 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled bool
- Opts-in for graceful shutdown.
- max_durations Sequence[GetInstance Scheduling Graceful Shutdown Max Duration] 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled Boolean
- Opts-in for graceful shutdown.
- maxDurations List<Property Map>
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
GetInstanceSchedulingGracefulShutdownMaxDuration      
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
GetInstanceSchedulingLocalSsdRecoveryTimeout      
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceSchedulingMaxRunDuration     
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceSchedulingNodeAffinity    
GetInstanceSchedulingOnInstanceStopAction      
- DiscardLocal boolSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- DiscardLocal boolSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal BooleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal booleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discard_local_ boolssd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal BooleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
GetInstanceScratchDisk   
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- Interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- Size int
- The size of the image in gigabytes.
- DeviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- Interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- Size int
- The size of the image in gigabytes.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- interface_ String
- The disk interface used for attaching this disk. One of SCSIorNVME.
- size Integer
- The size of the image in gigabytes.
- deviceName string
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- interface string
- The disk interface used for attaching this disk. One of SCSIorNVME.
- size number
- The size of the image in gigabytes.
- device_name str
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- interface str
- The disk interface used for attaching this disk. One of SCSIorNVME.
- size int
- The size of the image in gigabytes.
- deviceName String
- Name with which the attached disk is accessible
under /dev/disk/by-id/
- interface String
- The disk interface used for attaching this disk. One of SCSIorNVME.
- size Number
- The size of the image in gigabytes.
GetInstanceServiceAccount   
GetInstanceShieldedInstanceConfig    
- EnableIntegrity boolMonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- EnableSecure boolBoot 
- Whether secure boot is enabled for the instance.
 
- EnableVtpm bool
- Whether the instance uses vTPM.
 
- EnableIntegrity boolMonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- EnableSecure boolBoot 
- Whether secure boot is enabled for the instance.
 
- EnableVtpm bool
- Whether the instance uses vTPM.
 
- enableIntegrity BooleanMonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- enableSecure BooleanBoot 
- Whether secure boot is enabled for the instance.
 
- enableVtpm Boolean
- Whether the instance uses vTPM.
 
- enableIntegrity booleanMonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- enableSecure booleanBoot 
- Whether secure boot is enabled for the instance.
 
- enableVtpm boolean
- Whether the instance uses vTPM.
 
- enable_integrity_ boolmonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- enable_secure_ boolboot 
- Whether secure boot is enabled for the instance.
 
- enable_vtpm bool
- Whether the instance uses vTPM.
 
- enableIntegrity BooleanMonitoring 
- Whether integrity monitoring is enabled for the instance.
 
- enableSecure BooleanBoot 
- Whether secure boot is enabled for the instance.
 
- enableVtpm Boolean
- Whether the instance uses vTPM.
 
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.