1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. getInstance
Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi

gcp.compute.getInstance

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi

    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/v7/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:compute/getInstance:getInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the instance. One of name or self_link must be provided.
    Project string
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    SelfLink string
    The self link of the instance. One of name or self_link must be provided.
    Zone string
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.
    Name string
    The name of the instance. One of name or self_link must be provided.
    Project string
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    SelfLink string
    The self link of the instance. One of name or self_link must be provided.
    Zone string
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.
    name String
    The name of the instance. One of name or self_link must be provided.
    project String
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    selfLink String
    The self link of the instance. One of name or self_link must be provided.
    zone String
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.
    name string
    The name of the instance. One of name or self_link must be provided.
    project string
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    selfLink string
    The self link of the instance. One of name or self_link must be provided.
    zone string
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.
    name str
    The name of the instance. One of name or self_link must be provided.
    project str
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    self_link str
    The self link of the instance. One of name or self_link must be provided.
    zone str
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.
    name String
    The name of the instance. One of name or self_link must be provided.
    project String
    The ID of the project in which the resource belongs. If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used.
    selfLink String
    The self link of the instance. One of name or self_link must be provided.
    zone String
    The zone of the instance. If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used.

    getInstance Result

    The following output properties are available:

    AdvancedMachineFeatures List<GetInstanceAdvancedMachineFeature>
    AllowStoppingForUpdate bool
    AttachedDisks List<GetInstanceAttachedDisk>
    List of disks attached to the instance. Structure is documented below.
    BootDisks List<GetInstanceBootDisk>
    The boot disk for the instance. Structure is documented below.
    CanIpForward bool
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    ConfidentialInstanceConfigs List<GetInstanceConfidentialInstanceConfig>
    CpuPlatform string
    The CPU platform used by this instance.
    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<GetInstanceGuestAccelerator>
    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.
    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.
    MetadataStartupScript string
    MinCpuPlatform string
    The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
    NetworkInterfaces List<GetInstanceNetworkInterface>
    The networks attached to the instance. Structure is documented below.
    NetworkPerformanceConfigs List<GetInstanceNetworkPerformanceConfig>
    The network performance configuration setting for the instance, if set. Structure is documented below.
    Params List<GetInstanceParam>
    PulumiLabels Dictionary<string, string>
    ReservationAffinities List<GetInstanceReservationAffinity>
    ResourcePolicies List<string>
    Schedulings List<GetInstanceScheduling>
    The scheduling strategy being used by the instance. Structure is documented below
    ScratchDisks List<GetInstanceScratchDisk>
    The scratch disks attached to the instance. Structure is documented below.
    ServiceAccounts List<GetInstanceServiceAccount>
    The service account to attach to the instance. Structure is documented below.
    ShieldedInstanceConfigs List<GetInstanceShieldedInstanceConfig>
    The shielded vm config being used by the instance. Structure is documented below.
    Tags List<string>
    The list of tags attached to the instance.
    TagsFingerprint string
    The unique fingerprint of the tags.
    Name string
    Project string
    SelfLink string
    The URI of the created resource.
    Zone string
    AdvancedMachineFeatures []GetInstanceAdvancedMachineFeature
    AllowStoppingForUpdate bool
    AttachedDisks []GetInstanceAttachedDisk
    List of disks attached to the instance. Structure is documented below.
    BootDisks []GetInstanceBootDisk
    The boot disk for the instance. Structure is documented below.
    CanIpForward bool
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    ConfidentialInstanceConfigs []GetInstanceConfidentialInstanceConfig
    CpuPlatform string
    The CPU platform used by this instance.
    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 []GetInstanceGuestAccelerator
    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.
    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.
    MetadataStartupScript string
    MinCpuPlatform string
    The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
    NetworkInterfaces []GetInstanceNetworkInterface
    The networks attached to the instance. Structure is documented below.
    NetworkPerformanceConfigs []GetInstanceNetworkPerformanceConfig
    The network performance configuration setting for the instance, if set. Structure is documented below.
    Params []GetInstanceParam
    PulumiLabels map[string]string
    ReservationAffinities []GetInstanceReservationAffinity
    ResourcePolicies []string
    Schedulings []GetInstanceScheduling
    The scheduling strategy being used by the instance. Structure is documented below
    ScratchDisks []GetInstanceScratchDisk
    The scratch disks attached to the instance. Structure is documented below.
    ServiceAccounts []GetInstanceServiceAccount
    The service account to attach to the instance. Structure is documented below.
    ShieldedInstanceConfigs []GetInstanceShieldedInstanceConfig
    The shielded vm config being used by the instance. Structure is documented below.
    Tags []string
    The list of tags attached to the instance.
    TagsFingerprint string
    The unique fingerprint of the tags.
    Name string
    Project string
    SelfLink string
    The URI of the created resource.
    Zone string
    advancedMachineFeatures List<GetInstanceAdvancedMachineFeature>
    allowStoppingForUpdate Boolean
    attachedDisks List<GetInstanceAttachedDisk>
    List of disks attached to the instance. Structure is documented below.
    bootDisks List<GetInstanceBootDisk>
    The boot disk for the instance. Structure is documented below.
    canIpForward Boolean
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    confidentialInstanceConfigs List<GetInstanceConfidentialInstanceConfig>
    cpuPlatform String
    The CPU platform used by this instance.
    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<GetInstanceGuestAccelerator>
    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.
    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.
    metadataStartupScript String
    minCpuPlatform String
    The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
    networkInterfaces List<GetInstanceNetworkInterface>
    The networks attached to the instance. Structure is documented below.
    networkPerformanceConfigs List<GetInstanceNetworkPerformanceConfig>
    The network performance configuration setting for the instance, if set. Structure is documented below.
    params List<GetInstanceParam>
    pulumiLabels Map<String,String>
    reservationAffinities List<GetInstanceReservationAffinity>
    resourcePolicies List<String>
    schedulings List<GetInstanceScheduling>
    The scheduling strategy being used by the instance. Structure is documented below
    scratchDisks List<GetInstanceScratchDisk>
    The scratch disks attached to the instance. Structure is documented below.
    serviceAccounts List<GetInstanceServiceAccount>
    The service account to attach to the instance. Structure is documented below.
    shieldedInstanceConfigs List<GetInstanceShieldedInstanceConfig>
    The shielded vm config being used by the instance. Structure is documented below.
    tags List<String>
    The list of tags attached to the instance.
    tagsFingerprint String
    The unique fingerprint of the tags.
    name String
    project String
    selfLink String
    The URI of the created resource.
    zone String
    advancedMachineFeatures GetInstanceAdvancedMachineFeature[]
    allowStoppingForUpdate boolean
    attachedDisks GetInstanceAttachedDisk[]
    List of disks attached to the instance. Structure is documented below.
    bootDisks GetInstanceBootDisk[]
    The boot disk for the instance. Structure is documented below.
    canIpForward boolean
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    confidentialInstanceConfigs GetInstanceConfidentialInstanceConfig[]
    cpuPlatform string
    The CPU platform used by this instance.
    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 GetInstanceGuestAccelerator[]
    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.
    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.
    metadataStartupScript string
    minCpuPlatform string
    The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
    networkInterfaces GetInstanceNetworkInterface[]
    The networks attached to the instance. Structure is documented below.
    networkPerformanceConfigs GetInstanceNetworkPerformanceConfig[]
    The network performance configuration setting for the instance, if set. Structure is documented below.
    params GetInstanceParam[]
    pulumiLabels {[key: string]: string}
    reservationAffinities GetInstanceReservationAffinity[]
    resourcePolicies string[]
    schedulings GetInstanceScheduling[]
    The scheduling strategy being used by the instance. Structure is documented below
    scratchDisks GetInstanceScratchDisk[]
    The scratch disks attached to the instance. Structure is documented below.
    serviceAccounts GetInstanceServiceAccount[]
    The service account to attach to the instance. Structure is documented below.
    shieldedInstanceConfigs GetInstanceShieldedInstanceConfig[]
    The shielded vm config being used by the instance. Structure is documented below.
    tags string[]
    The list of tags attached to the instance.
    tagsFingerprint string
    The unique fingerprint of the tags.
    name string
    project string
    selfLink string
    The URI of the created resource.
    zone string
    advanced_machine_features Sequence[GetInstanceAdvancedMachineFeature]
    allow_stopping_for_update bool
    attached_disks Sequence[GetInstanceAttachedDisk]
    List of disks attached to the instance. Structure is documented below.
    boot_disks Sequence[GetInstanceBootDisk]
    The boot disk for the instance. Structure is documented below.
    can_ip_forward bool
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    confidential_instance_configs Sequence[GetInstanceConfidentialInstanceConfig]
    cpu_platform str
    The CPU platform used by this instance.
    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[GetInstanceGuestAccelerator]
    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.
    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_script str
    min_cpu_platform str
    The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
    network_interfaces Sequence[GetInstanceNetworkInterface]
    The networks attached to the instance. Structure is documented below.
    network_performance_configs Sequence[GetInstanceNetworkPerformanceConfig]
    The network performance configuration setting for the instance, if set. Structure is documented below.
    params Sequence[GetInstanceParam]
    pulumi_labels Mapping[str, str]
    reservation_affinities Sequence[GetInstanceReservationAffinity]
    resource_policies Sequence[str]
    schedulings Sequence[GetInstanceScheduling]
    The scheduling strategy being used by the instance. Structure is documented below
    scratch_disks Sequence[GetInstanceScratchDisk]
    The scratch disks attached to the instance. Structure is documented below.
    service_accounts Sequence[GetInstanceServiceAccount]
    The service account to attach to the instance. Structure is documented below.
    shielded_instance_configs Sequence[GetInstanceShieldedInstanceConfig]
    The shielded vm config being used by the instance. Structure is documented below.
    tags Sequence[str]
    The list of tags attached to the instance.
    tags_fingerprint str
    The unique fingerprint of the tags.
    name str
    project str
    self_link str
    The URI of the created resource.
    zone str
    advancedMachineFeatures List<Property Map>
    allowStoppingForUpdate Boolean
    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.
    canIpForward Boolean
    Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
    confidentialInstanceConfigs List<Property Map>
    cpuPlatform String
    The CPU platform used by this instance.
    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.
    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.
    metadataStartupScript String
    minCpuPlatform String
    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.
    networkPerformanceConfigs List<Property Map>
    The network performance configuration setting for the instance, if set. Structure is documented below.
    params List<Property Map>
    pulumiLabels Map<String>
    reservationAffinities List<Property Map>
    resourcePolicies List<String>
    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.
    shieldedInstanceConfigs List<Property Map>
    The shielded vm config being used by the instance. Structure is documented below.
    tags List<String>
    The list of tags attached to the instance.
    tagsFingerprint String
    The unique fingerprint of the tags.
    name String
    project String
    selfLink String
    The URI of the created resource.
    zone String

    Supporting Types

    GetInstanceAdvancedMachineFeature

    EnableNestedVirtualization bool
    Whether to enable nested virtualization or not.
    ThreadsPerCore int
    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.
    VisibleCoreCount int
    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.
    EnableNestedVirtualization bool
    Whether to enable nested virtualization or not.
    ThreadsPerCore int
    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.
    VisibleCoreCount int
    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.
    enableNestedVirtualization Boolean
    Whether to enable nested virtualization or not.
    threadsPerCore Integer
    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.
    visibleCoreCount Integer
    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.
    enableNestedVirtualization boolean
    Whether to enable nested virtualization or not.
    threadsPerCore number
    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.
    visibleCoreCount number
    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_virtualization bool
    Whether to enable nested virtualization or not.
    threads_per_core int
    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.
    visible_core_count int
    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.
    enableNestedVirtualization Boolean
    Whether to enable nested virtualization or not.
    threadsPerCore Number
    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.
    visibleCoreCount Number
    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/
    DiskEncryptionKeyRaw string
    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.
    DiskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    KmsKeySelfLink string
    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 name or self_link of the disk attached to this instance.
    DeviceName string
    Name with which the attached disk is accessible under /dev/disk/by-id/
    DiskEncryptionKeyRaw string
    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.
    DiskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    KmsKeySelfLink string
    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 name or self_link of the disk attached to this instance.
    deviceName String
    Name with which the attached disk is accessible under /dev/disk/by-id/
    diskEncryptionKeyRaw String
    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.
    diskEncryptionKeySha256 String
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    kmsKeySelfLink String
    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 name or self_link of the disk attached to this instance.
    deviceName string
    Name with which the attached disk is accessible under /dev/disk/by-id/
    diskEncryptionKeyRaw string
    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.
    diskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    kmsKeySelfLink string
    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 name or 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_key_raw str
    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_key_sha256 str
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    kms_key_self_link str
    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 name or self_link of the disk attached to this instance.
    deviceName String
    Name with which the attached disk is accessible under /dev/disk/by-id/
    diskEncryptionKeyRaw String
    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.
    diskEncryptionKeySha256 String
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    kmsKeySelfLink String
    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 name or 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/
    DiskEncryptionKeyRaw string
    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.
    DiskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    InitializeParams List<GetInstanceBootDiskInitializeParam>
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    KmsKeySelfLink string
    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 name or 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/
    DiskEncryptionKeyRaw string
    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.
    DiskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    InitializeParams []GetInstanceBootDiskInitializeParam
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    KmsKeySelfLink string
    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 name or 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/
    diskEncryptionKeyRaw String
    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.
    diskEncryptionKeySha256 String
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    initializeParams List<GetInstanceBootDiskInitializeParam>
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    kmsKeySelfLink String
    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 name or 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/
    diskEncryptionKeyRaw string
    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.
    diskEncryptionKeySha256 string
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    initializeParams GetInstanceBootDiskInitializeParam[]
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    kmsKeySelfLink string
    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 name or 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_key_raw str
    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_key_sha256 str
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    initialize_params Sequence[GetInstanceBootDiskInitializeParam]
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    kms_key_self_link str
    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 name or 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/
    diskEncryptionKeyRaw String
    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.
    diskEncryptionKeySha256 String
    The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.
    initializeParams List<Property Map>
    Parameters with which a disk was created alongside the instance. Structure is documented below.
    kmsKeySelfLink String
    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 name or self_link of the disk attached to this instance.

    GetInstanceBootDiskInitializeParam

    EnableConfidentialCompute bool
    A flag to enable confidential compute mode on boot disk
    Image string
    The image from which this disk was initialised.
    Labels Dictionary<string, object>
    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.
    ResourceManagerTags Dictionary<string, object>
    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.
    Size int
    The size of the image in gigabytes.
    Type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    EnableConfidentialCompute bool
    A flag to enable confidential compute mode on boot disk
    Image string
    The image from which this disk was initialised.
    Labels map[string]interface{}
    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.
    ResourceManagerTags map[string]interface{}
    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.
    Size int
    The size of the image in gigabytes.
    Type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    enableConfidentialCompute Boolean
    A flag to enable confidential compute mode on boot disk
    image String
    The image from which this disk was initialised.
    labels Map<String,Object>
    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.
    resourceManagerTags Map<String,Object>
    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.
    size Integer
    The size of the image in gigabytes.
    type String
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    enableConfidentialCompute boolean
    A flag to enable confidential compute mode on boot disk
    image string
    The image from which this disk was initialised.
    labels {[key: string]: any}
    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.
    resourceManagerTags {[key: string]: any}
    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.
    size number
    The size of the image in gigabytes.
    type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    enable_confidential_compute bool
    A flag to enable confidential compute mode on boot disk
    image str
    The image from which this disk was initialised.
    labels Mapping[str, Any]
    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.
    resource_manager_tags Mapping[str, Any]
    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.
    size int
    The size of the image in gigabytes.
    type str
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    enableConfidentialCompute Boolean
    A flag to enable confidential compute mode on boot disk
    image String
    The image from which this disk was initialised.
    labels Map<Any>
    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.
    resourceManagerTags Map<Any>
    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.
    size Number
    The size of the image in gigabytes.
    type String
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.

    GetInstanceConfidentialInstanceConfig

    ConfidentialInstanceType string
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    EnableConfidentialCompute bool
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
    ConfidentialInstanceType string
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    EnableConfidentialCompute bool
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
    confidentialInstanceType String
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    enableConfidentialCompute Boolean
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
    confidentialInstanceType string
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    enableConfidentialCompute boolean
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
    confidential_instance_type str
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    enable_confidential_compute bool
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
    confidentialInstanceType String
    Specifies which confidential computing technology to use. This could be one of the following values: SEV, SEV_SNP. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
    enableConfidentialCompute Boolean
    Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release

    GetInstanceGuestAccelerator

    Count int
    The number of the guest accelerator cards exposed to this instance.
    Type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    Count int
    The number of the guest accelerator cards exposed to this instance.
    Type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    count Integer
    The number of the guest accelerator cards exposed to this instance.
    type String
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    count number
    The number of the guest accelerator cards exposed to this instance.
    type string
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    count int
    The number of the guest accelerator cards exposed to this instance.
    type str
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.
    count Number
    The number of the guest accelerator cards exposed to this instance.
    type String
    The accelerator type resource exposed to this instance. E.g. nvidia-tesla-k80.

    GetInstanceNetworkInterface

    AccessConfigs List<GetInstanceNetworkInterfaceAccessConfig>
    Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
    AliasIpRanges List<GetInstanceNetworkInterfaceAliasIpRange>
    An array of alias IP ranges for this network interface. Structure documented below.
    InternalIpv6PrefixLength int
    The prefix length of the primary internal IPv6 range.
    Ipv6AccessConfigs List<GetInstanceNetworkInterfaceIpv6AccessConfig>
    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 name or self_link must be provided.
    Network string
    The name or self_link of the network attached to this interface.
    NetworkAttachment string
    Beta The URL of the network attachment to this interface.
    NetworkIp string
    The private IP address assigned to the instance.
    NicType string
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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 []GetInstanceNetworkInterfaceAccessConfig
    Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
    AliasIpRanges []GetInstanceNetworkInterfaceAliasIpRange
    An array of alias IP ranges for this network interface. Structure documented below.
    InternalIpv6PrefixLength int
    The prefix length of the primary internal IPv6 range.
    Ipv6AccessConfigs []GetInstanceNetworkInterfaceIpv6AccessConfig
    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 name or self_link must be provided.
    Network string
    The name or self_link of the network attached to this interface.
    NetworkAttachment string
    Beta The URL of the network attachment to this interface.
    NetworkIp string
    The private IP address assigned to the instance.
    NicType string
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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<GetInstanceNetworkInterfaceAccessConfig>
    Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
    aliasIpRanges List<GetInstanceNetworkInterfaceAliasIpRange>
    An array of alias IP ranges for this network interface. Structure documented below.
    internalIpv6PrefixLength Integer
    The prefix length of the primary internal IPv6 range.
    ipv6AccessConfigs List<GetInstanceNetworkInterfaceIpv6AccessConfig>
    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 name or self_link must be provided.
    network String
    The name or self_link of the network attached to this interface.
    networkAttachment String
    Beta The URL of the network attachment to this interface.
    networkIp String
    The private IP address assigned to the instance.
    nicType String
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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 GetInstanceNetworkInterfaceAccessConfig[]
    Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
    aliasIpRanges GetInstanceNetworkInterfaceAliasIpRange[]
    An array of alias IP ranges for this network interface. Structure documented below.
    internalIpv6PrefixLength number
    The prefix length of the primary internal IPv6 range.
    ipv6AccessConfigs GetInstanceNetworkInterfaceIpv6AccessConfig[]
    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 name or self_link must be provided.
    network string
    The name or self_link of the network attached to this interface.
    networkAttachment string
    Beta The URL of the network attachment to this interface.
    networkIp string
    The private IP address assigned to the instance.
    nicType string
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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[GetInstanceNetworkInterfaceAccessConfig]
    Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
    alias_ip_ranges Sequence[GetInstanceNetworkInterfaceAliasIpRange]
    An array of alias IP ranges for this network interface. Structure documented below.
    internal_ipv6_prefix_length int
    The prefix length of the primary internal IPv6 range.
    ipv6_access_configs Sequence[GetInstanceNetworkInterfaceIpv6AccessConfig]
    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_type str
    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 name or self_link must be provided.
    network str
    The name or self_link of the network attached to this interface.
    network_attachment str
    Beta The URL of the network attachment to this interface.
    network_ip str
    The private IP address assigned to the instance.
    nic_type str
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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.
    aliasIpRanges List<Property Map>
    An array of alias IP ranges for this network interface. Structure documented below.
    internalIpv6PrefixLength Number
    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 name or self_link must be provided.
    network String
    The name or self_link of the network attached to this interface.
    networkAttachment String
    Beta The URL of the network attachment to this interface.
    networkIp String
    The private IP address assigned to the instance.
    nicType String
    The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    NetworkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    PublicPtrDomainName string
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    NetworkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    PublicPtrDomainName string
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    networkTier String
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName String
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    networkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName string
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    network_tier str
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    public_ptr_domain_name str
    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
    The IP address that is be 1:1 mapped to the instance's network ip.
    networkTier String
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName String
    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

    IpCidrRange string
    The IP CIDR range represented by this alias IP range.
    SubnetworkRangeName string
    The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
    IpCidrRange string
    The IP CIDR range represented by this alias IP range.
    SubnetworkRangeName string
    The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
    ipCidrRange String
    The IP CIDR range represented by this alias IP range.
    subnetworkRangeName String
    The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
    ipCidrRange string
    The IP CIDR range represented by this alias IP range.
    subnetworkRangeName string
    The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
    ip_cidr_range str
    The IP CIDR range represented by this alias IP range.
    subnetwork_range_name str
    The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
    ipCidrRange String
    The IP CIDR range represented by this alias IP range.
    subnetworkRangeName String
    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.
    ExternalIpv6PrefixLength string
    The prefix length of the external IPv6 range.
    Name string
    The name of the instance. One of name or self_link must be provided.
    NetworkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    PublicPtrDomainName string
    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.
    ExternalIpv6PrefixLength string
    The prefix length of the external IPv6 range.
    Name string
    The name of the instance. One of name or self_link must be provided.
    NetworkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    PublicPtrDomainName string
    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.
    externalIpv6PrefixLength String
    The prefix length of the external IPv6 range.
    name String
    The name of the instance. One of name or self_link must be provided.
    networkTier String
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName String
    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.
    externalIpv6PrefixLength string
    The prefix length of the external IPv6 range.
    name string
    The name of the instance. One of name or self_link must be provided.
    networkTier string
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName string
    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_prefix_length str
    The prefix length of the external IPv6 range.
    name str
    The name of the instance. One of name or self_link must be provided.
    network_tier str
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    public_ptr_domain_name str
    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.
    externalIpv6PrefixLength String
    The prefix length of the external IPv6 range.
    name String
    The name of the instance. One of name or self_link must be provided.
    networkTier String
    The [networking tier][network-tier] used for configuring this instance. One of PREMIUM or STANDARD.
    publicPtrDomainName String
    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

    TotalEgressBandwidthTier string
    The egress bandwidth tier for the instance.
    TotalEgressBandwidthTier string
    The egress bandwidth tier for the instance.
    totalEgressBandwidthTier String
    The egress bandwidth tier for the instance.
    totalEgressBandwidthTier string
    The egress bandwidth tier for the instance.
    total_egress_bandwidth_tier str
    The egress bandwidth tier for the instance.
    totalEgressBandwidthTier String
    The egress bandwidth tier for the instance.

    GetInstanceParam

    ResourceManagerTags Dictionary<string, object>
    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.
    ResourceManagerTags map[string]interface{}
    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.
    resourceManagerTags Map<String,Object>
    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.
    resourceManagerTags {[key: string]: any}
    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_manager_tags Mapping[str, Any]
    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.
    resourceManagerTags Map<Any>
    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<GetInstanceReservationAffinitySpecificReservation>
    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 []GetInstanceReservationAffinitySpecificReservation
    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<GetInstanceReservationAffinitySpecificReservation>
    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 GetInstanceReservationAffinitySpecificReservation[]
    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[GetInstanceReservationAffinitySpecificReservation]
    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 []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 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 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).
    InstanceTerminationAction string
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    LocalSsdRecoveryTimeouts List<GetInstanceSchedulingLocalSsdRecoveryTimeout>
    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
    MaxRunDurations List<GetInstanceSchedulingMaxRunDuration>
    The timeout for new network connections to hosts.
    MinNodeCpus int
    NodeAffinities List<GetInstanceSchedulingNodeAffinity>
    Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
    OnHostMaintenance string
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    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).
    InstanceTerminationAction string
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    LocalSsdRecoveryTimeouts []GetInstanceSchedulingLocalSsdRecoveryTimeout
    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
    MaxRunDurations []GetInstanceSchedulingMaxRunDuration
    The timeout for new network connections to hosts.
    MinNodeCpus int
    NodeAffinities []GetInstanceSchedulingNodeAffinity
    Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
    OnHostMaintenance string
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    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).
    instanceTerminationAction String
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    localSsdRecoveryTimeouts List<GetInstanceSchedulingLocalSsdRecoveryTimeout>
    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
    maxRunDurations List<GetInstanceSchedulingMaxRunDuration>
    The timeout for new network connections to hosts.
    minNodeCpus Integer
    nodeAffinities List<GetInstanceSchedulingNodeAffinity>
    Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
    onHostMaintenance String
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    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).
    instanceTerminationAction string
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    localSsdRecoveryTimeouts GetInstanceSchedulingLocalSsdRecoveryTimeout[]
    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
    maxRunDurations GetInstanceSchedulingMaxRunDuration[]
    The timeout for new network connections to hosts.
    minNodeCpus number
    nodeAffinities GetInstanceSchedulingNodeAffinity[]
    Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
    onHostMaintenance string
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    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).
    instance_termination_action str
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    local_ssd_recovery_timeouts Sequence[GetInstanceSchedulingLocalSsdRecoveryTimeout]
    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_durations Sequence[GetInstanceSchedulingMaxRunDuration]
    The timeout for new network connections to hosts.
    min_node_cpus int
    node_affinities Sequence[GetInstanceSchedulingNodeAffinity]
    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_maintenance str
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    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).
    instanceTerminationAction String
    Describe the type of termination action for SPOT VM. Can be STOP or DELETE. Read more on here
    localSsdRecoveryTimeouts List<Property Map>
    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
    maxRunDurations List<Property Map>
    The timeout for new network connections to hosts.
    minNodeCpus Number
    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.
    onHostMaintenance String
    Describes maintenance behavior for the instance. One of MIGRATE or TERMINATE, for more info, read here
    preemptible Boolean
    Whether the instance is preemptible.
    provisioningModel String
    Describe the type of preemptible VM.

    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

    Key string
    Operator string
    Values List<string>
    Key string
    Operator string
    Values []string
    key String
    operator String
    values List<String>
    key string
    operator string
    values string[]
    key str
    operator str
    values Sequence[str]
    key String
    operator String
    values List<String>

    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 SCSI or NVME.
    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 SCSI or NVME.
    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 SCSI or NVME.
    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 SCSI or NVME.
    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 SCSI or NVME.
    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 SCSI or NVME.
    size Number
    The size of the image in gigabytes.

    GetInstanceServiceAccount

    Email string
    The service account e-mail address.
    Scopes List<string>
    A list of service scopes.
    Email string
    The service account e-mail address.
    Scopes []string
    A list of service scopes.
    email String
    The service account e-mail address.
    scopes List<String>
    A list of service scopes.
    email string
    The service account e-mail address.
    scopes string[]
    A list of service scopes.
    email str
    The service account e-mail address.
    scopes Sequence[str]
    A list of service scopes.
    email String
    The service account e-mail address.
    scopes List<String>
    A list of service scopes.

    GetInstanceShieldedInstanceConfig

    EnableIntegrityMonitoring bool
    • Whether integrity monitoring is enabled for the instance.
    EnableSecureBoot bool
    • Whether secure boot is enabled for the instance.
    EnableVtpm bool
    • Whether the instance uses vTPM.
    EnableIntegrityMonitoring bool
    • Whether integrity monitoring is enabled for the instance.
    EnableSecureBoot bool
    • Whether secure boot is enabled for the instance.
    EnableVtpm bool
    • Whether the instance uses vTPM.
    enableIntegrityMonitoring Boolean
    • Whether integrity monitoring is enabled for the instance.
    enableSecureBoot Boolean
    • Whether secure boot is enabled for the instance.
    enableVtpm Boolean
    • Whether the instance uses vTPM.
    enableIntegrityMonitoring boolean
    • Whether integrity monitoring is enabled for the instance.
    enableSecureBoot boolean
    • Whether secure boot is enabled for the instance.
    enableVtpm boolean
    • Whether the instance uses vTPM.
    enable_integrity_monitoring bool
    • Whether integrity monitoring is enabled for the instance.
    enable_secure_boot bool
    • Whether secure boot is enabled for the instance.
    enable_vtpm bool
    • Whether the instance uses vTPM.
    enableIntegrityMonitoring Boolean
    • Whether integrity monitoring is enabled for the instance.
    enableSecureBoot Boolean
    • 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-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.16.0 published on Wednesday, Mar 27, 2024 by Pulumi