Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.compute.getInstance
Explore with Pulumi AI
Get information about a VM instance resource within GCE. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const appserver = gcp.compute.getInstance({
name: "primary-application-server",
zone: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp
appserver = gcp.compute.get_instance(name="primary-application-server",
zone="us-central1-a")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/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
orself_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 neitherself_link
norproject
are provided, the provider project is used. - Self
Link string - The self link of the instance. One of
name
orself_link
must be provided. - Zone string
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
- Name string
- The name of the instance. One of
name
orself_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 neitherself_link
norproject
are provided, the provider project is used. - Self
Link string - The self link of the instance. One of
name
orself_link
must be provided. - Zone string
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
- name String
- The name of the instance. One of
name
orself_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 neitherself_link
norproject
are provided, the provider project is used. - self
Link String - The self link of the instance. One of
name
orself_link
must be provided. - zone String
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
- name string
- The name of the instance. One of
name
orself_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 neitherself_link
norproject
are provided, the provider project is used. - self
Link string - The self link of the instance. One of
name
orself_link
must be provided. - zone string
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
- name str
- The name of the instance. One of
name
orself_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 neitherself_link
norproject
are provided, the provider project is used. - self_
link str - The self link of the instance. One of
name
orself_link
must be provided. - zone str
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
- name String
- The name of the instance. One of
name
orself_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 neitherself_link
norproject
are provided, the provider project is used. - self
Link String - The self link of the instance. One of
name
orself_link
must be provided. - zone String
- The zone of the instance. If
self_link
is provided, this value is ignored. If neitherself_link
norzone
are provided, the provider zone is used.
getInstance Result
The following output properties are available:
- Advanced
Machine List<GetFeatures Instance Advanced Machine Feature> - Allow
Stopping boolFor Update - Attached
Disks List<GetInstance Attached Disk> - List of disks attached to the instance. Structure is documented below.
- Boot
Disks List<GetInstance Boot Disk> - The boot disk for the instance. Structure is documented below.
- Can
Ip boolForward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- Confidential
Instance List<GetConfigs Instance Confidential Instance Config> - Cpu
Platform string - The CPU platform used by this instance.
- Current
Status 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.`,
- Deletion
Protection bool - Whether deletion protection is enabled on this instance.
- Description string
- A brief description of the resource.
- Desired
Status string - Effective
Labels Dictionary<string, string> - Enable
Display bool - Whether the instance has virtual displays enabled.
- Guest
Accelerators List<GetInstance Guest Accelerator> - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- Hostname string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The server-assigned unique identifier of this instance.
- Label
Fingerprint string - The unique fingerprint of the labels.
- Labels Dictionary<string, string>
- A set of key/value label pairs assigned to the disk.
- Machine
Type string - The machine type to create.
- Metadata Dictionary<string, string>
- Metadata key/value pairs made available within the instance.
- Metadata
Fingerprint string - The unique fingerprint of the metadata.
- Metadata
Startup stringScript - Min
Cpu stringPlatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- Network
Interfaces List<GetInstance Network Interface> - The networks attached to the instance. Structure is documented below.
- Network
Performance List<GetConfigs Instance Network Performance Config> - The network performance configuration setting for the instance, if set. Structure is documented below.
- Params
List<Get
Instance Param> - Partner
Metadata Dictionary<string, string> - Pulumi
Labels Dictionary<string, string> - Reservation
Affinities List<GetInstance Reservation Affinity> - Resource
Policies List<string> - Schedulings
List<Get
Instance Scheduling> - The scheduling strategy being used by the instance. Structure is documented below
- Scratch
Disks List<GetInstance Scratch Disk> - The scratch disks attached to the instance. Structure is documented below.
- Service
Accounts List<GetInstance Service Account> - The service account to attach to the instance. Structure is documented below.
- Shielded
Instance List<GetConfigs Instance Shielded Instance Config> - The shielded vm config being used by the instance. Structure is documented below.
- List<string>
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- Name string
- Project string
- Self
Link string - The URI of the created resource.
- Zone string
- Advanced
Machine []GetFeatures Instance Advanced Machine Feature - Allow
Stopping boolFor Update - Attached
Disks []GetInstance Attached Disk - List of disks attached to the instance. Structure is documented below.
- Boot
Disks []GetInstance Boot Disk - The boot disk for the instance. Structure is documented below.
- Can
Ip boolForward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- Confidential
Instance []GetConfigs Instance Confidential Instance Config - Cpu
Platform string - The CPU platform used by this instance.
- Current
Status 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.`,
- Deletion
Protection bool - Whether deletion protection is enabled on this instance.
- Description string
- A brief description of the resource.
- Desired
Status string - Effective
Labels map[string]string - Enable
Display bool - Whether the instance has virtual displays enabled.
- Guest
Accelerators []GetInstance Guest Accelerator - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- Hostname string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - The server-assigned unique identifier of this instance.
- Label
Fingerprint string - The unique fingerprint of the labels.
- Labels map[string]string
- A set of key/value label pairs assigned to the disk.
- Machine
Type string - The machine type to create.
- Metadata map[string]string
- Metadata key/value pairs made available within the instance.
- Metadata
Fingerprint string - The unique fingerprint of the metadata.
- Metadata
Startup stringScript - Min
Cpu stringPlatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- Network
Interfaces []GetInstance Network Interface - The networks attached to the instance. Structure is documented below.
- Network
Performance []GetConfigs Instance Network Performance Config - The network performance configuration setting for the instance, if set. Structure is documented below.
- Params
[]Get
Instance Param - Partner
Metadata map[string]string - Pulumi
Labels map[string]string - Reservation
Affinities []GetInstance Reservation Affinity - Resource
Policies []string - Schedulings
[]Get
Instance Scheduling - The scheduling strategy being used by the instance. Structure is documented below
- Scratch
Disks []GetInstance Scratch Disk - The scratch disks attached to the instance. Structure is documented below.
- Service
Accounts []GetInstance Service Account - The service account to attach to the instance. Structure is documented below.
- Shielded
Instance []GetConfigs Instance Shielded Instance Config - The shielded vm config being used by the instance. Structure is documented below.
- []string
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- Name string
- Project string
- Self
Link string - The URI of the created resource.
- Zone string
- advanced
Machine List<GetFeatures Instance Advanced Machine Feature> - allow
Stopping BooleanFor Update - attached
Disks List<GetInstance Attached Disk> - List of disks attached to the instance. Structure is documented below.
- boot
Disks List<GetInstance Boot Disk> - The boot disk for the instance. Structure is documented below.
- can
Ip BooleanForward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidential
Instance List<GetConfigs Instance Confidential Instance Config> - cpu
Platform String - The CPU platform used by this instance.
- current
Status 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.`,
- deletion
Protection Boolean - Whether deletion protection is enabled on this instance.
- description String
- A brief description of the resource.
- desired
Status String - effective
Labels Map<String,String> - enable
Display Boolean - Whether the instance has virtual displays enabled.
- guest
Accelerators List<GetInstance Guest Accelerator> - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname String
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - The server-assigned unique identifier of this instance.
- label
Fingerprint String - The unique fingerprint of the labels.
- labels Map<String,String>
- A set of key/value label pairs assigned to the disk.
- machine
Type String - The machine type to create.
- metadata Map<String,String>
- Metadata key/value pairs made available within the instance.
- metadata
Fingerprint String - The unique fingerprint of the metadata.
- metadata
Startup StringScript - min
Cpu StringPlatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network
Interfaces List<GetInstance Network Interface> - The networks attached to the instance. Structure is documented below.
- network
Performance List<GetConfigs Instance Network Performance Config> - The network performance configuration setting for the instance, if set. Structure is documented below.
- params
List<Get
Instance Param> - partner
Metadata Map<String,String> - pulumi
Labels Map<String,String> - reservation
Affinities List<GetInstance Reservation Affinity> - resource
Policies List<String> - schedulings
List<Get
Instance Scheduling> - The scheduling strategy being used by the instance. Structure is documented below
- scratch
Disks List<GetInstance Scratch Disk> - The scratch disks attached to the instance. Structure is documented below.
- service
Accounts List<GetInstance Service Account> - The service account to attach to the instance. Structure is documented below.
- shielded
Instance List<GetConfigs Instance Shielded Instance Config> - The shielded vm config being used by the instance. Structure is documented below.
- List<String>
- The list of tags attached to the instance.
- String
- The unique fingerprint of the tags.
- name String
- project String
- self
Link String - The URI of the created resource.
- zone String
- advanced
Machine GetFeatures Instance Advanced Machine Feature[] - allow
Stopping booleanFor Update - attached
Disks GetInstance Attached Disk[] - List of disks attached to the instance. Structure is documented below.
- boot
Disks GetInstance Boot Disk[] - The boot disk for the instance. Structure is documented below.
- can
Ip booleanForward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidential
Instance GetConfigs Instance Confidential Instance Config[] - cpu
Platform string - The CPU platform used by this instance.
- current
Status 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.`,
- deletion
Protection boolean - Whether deletion protection is enabled on this instance.
- description string
- A brief description of the resource.
- desired
Status string - effective
Labels {[key: string]: string} - enable
Display boolean - Whether the instance has virtual displays enabled.
- guest
Accelerators GetInstance Guest Accelerator[] - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname string
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - The server-assigned unique identifier of this instance.
- label
Fingerprint string - The unique fingerprint of the labels.
- labels {[key: string]: string}
- A set of key/value label pairs assigned to the disk.
- machine
Type string - The machine type to create.
- metadata {[key: string]: string}
- Metadata key/value pairs made available within the instance.
- metadata
Fingerprint string - The unique fingerprint of the metadata.
- metadata
Startup stringScript - min
Cpu stringPlatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network
Interfaces GetInstance Network Interface[] - The networks attached to the instance. Structure is documented below.
- network
Performance GetConfigs Instance Network Performance Config[] - The network performance configuration setting for the instance, if set. Structure is documented below.
- params
Get
Instance Param[] - partner
Metadata {[key: string]: string} - pulumi
Labels {[key: string]: string} - reservation
Affinities GetInstance Reservation Affinity[] - resource
Policies string[] - schedulings
Get
Instance Scheduling[] - The scheduling strategy being used by the instance. Structure is documented below
- scratch
Disks GetInstance Scratch Disk[] - The scratch disks attached to the instance. Structure is documented below.
- service
Accounts GetInstance Service Account[] - The service account to attach to the instance. Structure is documented below.
- shielded
Instance GetConfigs Instance Shielded Instance Config[] - The shielded vm config being used by the instance. Structure is documented below.
- string[]
- The list of tags attached to the instance.
- string
- The unique fingerprint of the tags.
- name string
- project string
- self
Link string - The URI of the created resource.
- zone string
- advanced_
machine_ Sequence[Getfeatures Instance Advanced Machine Feature] - allow_
stopping_ boolfor_ update - attached_
disks Sequence[GetInstance Attached Disk] - List of disks attached to the instance. Structure is documented below.
- boot_
disks Sequence[GetInstance Boot Disk] - The boot disk for the instance. Structure is documented below.
- can_
ip_ boolforward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidential_
instance_ Sequence[Getconfigs Instance Confidential Instance Config] - cpu_
platform str - The CPU platform used by this instance.
- current_
status str - The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.`,
- deletion_
protection bool - Whether deletion protection is enabled on this instance.
- description str
- A brief description of the resource.
- desired_
status str - effective_
labels Mapping[str, str] - enable_
display bool - Whether the instance has virtual displays enabled.
- guest_
accelerators Sequence[GetInstance Guest Accelerator] - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - The server-assigned unique identifier of this instance.
- label_
fingerprint str - The unique fingerprint of the labels.
- labels Mapping[str, str]
- A set of key/value label pairs assigned to the disk.
- machine_
type str - The machine type to create.
- metadata Mapping[str, str]
- Metadata key/value pairs made available within the instance.
- metadata_
fingerprint str - The unique fingerprint of the metadata.
- metadata_
startup_ strscript - min_
cpu_ strplatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network_
interfaces Sequence[GetInstance Network Interface] - The networks attached to the instance. Structure is documented below.
- network_
performance_ Sequence[Getconfigs Instance Network Performance Config] - The network performance configuration setting for the instance, if set. Structure is documented below.
- params
Sequence[Get
Instance Param] - partner_
metadata Mapping[str, str] - pulumi_
labels Mapping[str, str] - reservation_
affinities Sequence[GetInstance Reservation Affinity] - resource_
policies Sequence[str] - schedulings
Sequence[Get
Instance Scheduling] - The scheduling strategy being used by the instance. Structure is documented below
- scratch_
disks Sequence[GetInstance Scratch Disk] - The scratch disks attached to the instance. Structure is documented below.
- service_
accounts Sequence[GetInstance Service Account] - The service account to attach to the instance. Structure is documented below.
- shielded_
instance_ Sequence[Getconfigs Instance Shielded Instance Config] - The shielded vm config being used by the instance. Structure is documented below.
- Sequence[str]
- The list of tags attached to the instance.
- str
- The unique fingerprint of the tags.
- name str
- project str
- self_
link str - The URI of the created resource.
- zone str
- advanced
Machine List<Property Map>Features - allow
Stopping BooleanFor Update - attached
Disks List<Property Map> - List of disks attached to the instance. Structure is documented below.
- boot
Disks List<Property Map> - The boot disk for the instance. Structure is documented below.
- can
Ip BooleanForward - Whether sending and receiving of packets with non-matching source or destination IPs is allowed.
- confidential
Instance List<Property Map>Configs - cpu
Platform String - The CPU platform used by this instance.
- current
Status 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.`,
- deletion
Protection Boolean - Whether deletion protection is enabled on this instance.
- description String
- A brief description of the resource.
- desired
Status String - effective
Labels Map<String> - enable
Display Boolean - Whether the instance has virtual displays enabled.
- guest
Accelerators 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.
- instance
Id String - The server-assigned unique identifier of this instance.
- label
Fingerprint String - The unique fingerprint of the labels.
- labels Map<String>
- A set of key/value label pairs assigned to the disk.
- machine
Type String - The machine type to create.
- metadata Map<String>
- Metadata key/value pairs made available within the instance.
- metadata
Fingerprint String - The unique fingerprint of the metadata.
- metadata
Startup StringScript - min
Cpu StringPlatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network
Interfaces List<Property Map> - The networks attached to the instance. Structure is documented below.
- network
Performance List<Property Map>Configs - The network performance configuration setting for the instance, if set. Structure is documented below.
- params List<Property Map>
- partner
Metadata Map<String> - pulumi
Labels Map<String> - reservation
Affinities List<Property Map> - resource
Policies List<String> - schedulings List<Property Map>
- The scheduling strategy being used by the instance. Structure is documented below
- scratch
Disks List<Property Map> - The scratch disks attached to the instance. Structure is documented below.
- service
Accounts List<Property Map> - The service account to attach to the instance. Structure is documented below.
- shielded
Instance List<Property Map>Configs - The shielded vm config being used by the instance. Structure is documented below.
- List<String>
- The list of tags attached to the instance.
- String
- The unique fingerprint of the tags.
- name String
- project String
- self
Link String - The URI of the created resource.
- zone String
Supporting Types
GetInstanceAdvancedMachineFeature
- Enable
Nested boolVirtualization - Whether to enable nested virtualization or not.
- Threads
Per intCore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- Visible
Core intCount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- Enable
Nested boolVirtualization - Whether to enable nested virtualization or not.
- Threads
Per intCore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- Visible
Core intCount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested BooleanVirtualization - Whether to enable nested virtualization or not.
- threads
Per IntegerCore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- visible
Core IntegerCount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested booleanVirtualization - Whether to enable nested virtualization or not.
- threads
Per numberCore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- visible
Core numberCount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable_
nested_ boolvirtualization - Whether to enable nested virtualization or not.
- threads_
per_ intcore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- visible_
core_ intcount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested BooleanVirtualization - Whether to enable nested virtualization or not.
- threads
Per NumberCore - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- visible
Core NumberCount - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
GetInstanceAttachedDisk
- Device
Name string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- Kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source string
- The name or self_link of the disk attached to this instance.
- Device
Name string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- Kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source string
- The name or self_link of the disk attached to this instance.
- device
Name String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption StringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption StringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kms
Key StringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source String
- The name or self_link of the disk attached to this instance.
- device
Name string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source string
- The 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_ strkey_ raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_
encryption_ strkey_ sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kms_
key_ strself_ link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode str
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source str
- The name or self_link of the disk attached to this instance.
- device
Name String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption StringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption StringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- kms
Key StringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source String
- The name or self_link of the disk attached to this instance.
GetInstanceBootDisk
- Auto
Delete bool - Whether the disk will be auto-deleted when the instance is deleted.
- Device
Name string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- Initialize
Params List<GetInstance Boot Disk Initialize Param> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- Kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source string
- The 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 string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- Initialize
Params []GetInstance Boot Disk Initialize Param - Parameters with which a disk was created alongside the instance. Structure is documented below.
- Kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source string
- The name or self_link of the disk attached to this instance.
- auto
Delete Boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption StringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption StringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initialize
Params List<GetInstance Boot Disk Initialize Param> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- kms
Key StringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source String
- The name or self_link of the disk attached to this instance.
- auto
Delete boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption stringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption stringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initialize
Params GetInstance Boot Disk Initialize Param[] - Parameters with which a disk was created alongside the instance. Structure is documented below.
- kms
Key stringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode string
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source string
- The 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_ strkey_ raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_
encryption_ strkey_ sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initialize_
params Sequence[GetInstance Boot Disk Initialize Param] - Parameters with which a disk was created alongside the instance. Structure is documented below.
- kms_
key_ strself_ link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode str
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source str
- The name or self_link of the disk attached to this instance.
- auto
Delete Boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption StringKey Raw - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption StringKey Sha256 - The RFC 4648 base64 encoded SHA-256 hash of the [customer-supplied encryption key] (https://cloud.google.com/compute/docs/disks/customer-supplied-encryption) that protects this resource.
- initialize
Params List<Property Map> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- kms
Key StringSelf Link - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode String
- Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source String
- The name or self_link of the disk attached to this instance.
GetInstanceBootDiskInitializeParam
- Enable
Confidential boolCompute - 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.
- 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.
- 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
.
- Enable
Confidential boolCompute - 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.
- 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.
- 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
.
- enable
Confidential BooleanCompute - 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.
- provisioned
Iops 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.
- provisioned
Throughput Integer - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Map<String,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
.
- enable
Confidential booleanCompute - 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.
- provisioned
Iops 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.
- provisioned
Throughput number - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- {[key: string]: 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_ boolcompute - 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.
- 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
.
- enable
Confidential BooleanCompute - 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.
- provisioned
Iops 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.
- provisioned
Throughput Number - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
- Map<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
- Confidential
Instance stringType - 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 boolCompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- Confidential
Instance stringType - 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 boolCompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance StringType - 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 BooleanCompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance stringType - 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 booleanCompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential_
instance_ strtype - 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_ boolcompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance StringType - 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 BooleanCompute - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
GetInstanceGuestAccelerator
GetInstanceNetworkInterface
- Access
Configs List<GetInstance Network Interface Access Config> - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- Alias
Ip List<GetRanges Instance Network Interface Alias Ip Range> - An array of alias IP ranges for this network interface. Structure documented below.
- Internal
Ipv6Prefix intLength - The prefix length of the primary internal IPv6 range.
- Ipv6Access
Configs List<GetInstance Network Interface Ipv6Access Config> - An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6Access
Type 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
orself_link
must be provided. - Network string
- The name or self_link of the network attached to this interface.
- Network
Attachment string - Beta The URL of the network attachment to this interface.
- Network
Ip string - The internal ip address of the instance, either manually or dynamically assigned.
- Nic
Type string - 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 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.
- Stack
Type 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.
- Subnetwork
Project string - The project in which the subnetwork belongs.
- Access
Configs []GetInstance Network Interface Access Config - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- Alias
Ip []GetRanges Instance Network Interface Alias Ip Range - An array of alias IP ranges for this network interface. Structure documented below.
- Internal
Ipv6Prefix intLength - The prefix length of the primary internal IPv6 range.
- Ipv6Access
Configs []GetInstance Network Interface Ipv6Access Config - An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6Access
Type 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
orself_link
must be provided. - Network string
- The name or self_link of the network attached to this interface.
- Network
Attachment string - Beta The URL of the network attachment to this interface.
- Network
Ip string - The internal ip address of the instance, either manually or dynamically assigned.
- Nic
Type string - 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 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.
- Stack
Type 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.
- Subnetwork
Project string - The project in which the subnetwork belongs.
- access
Configs List<GetInstance Network Interface Access Config> - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias
Ip List<GetRanges Instance Network Interface Alias Ip Range> - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix IntegerLength - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs List<GetInstance Network Interface Ipv6Access Config> - An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6Access
Type 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
orself_link
must be provided. - network String
- The name or self_link of the network attached to this interface.
- network
Attachment String - Beta The URL of the network attachment to this interface.
- network
Ip String - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type String - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
- queue
Count 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.
- security
Policy 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.
- stack
Type 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.
- subnetwork
Project String - The project in which the subnetwork belongs.
- access
Configs GetInstance Network Interface Access Config[] - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias
Ip GetRanges Instance Network Interface Alias Ip Range[] - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix numberLength - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs GetInstance Network Interface Ipv6Access Config[] - An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6Access
Type 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
orself_link
must be provided. - network string
- The name or self_link of the network attached to this interface.
- network
Attachment string - Beta The URL of the network attachment to this interface.
- network
Ip string - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type string - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
- queue
Count 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.
- security
Policy 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.
- stack
Type 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.
- subnetwork
Project string - The project in which the subnetwork belongs.
- access_
configs Sequence[GetInstance Network Interface Access Config] - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias_
ip_ Sequence[Getranges Instance Network Interface Alias Ip Range] - An array of alias IP ranges for this network interface. Structure documented below.
- internal_
ipv6_ intprefix_ length - The prefix length of the primary internal IPv6 range.
- ipv6_
access_ Sequence[Getconfigs Instance Network Interface Ipv6Access Config] - An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6_
access_ strtype - One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6_
address str - An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name str
- The name of the instance. One of
name
orself_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 internal ip address of the instance, either manually or dynamically assigned.
- nic_
type str - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
- 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.
- access
Configs List<Property Map> - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias
Ip List<Property Map>Ranges - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix NumberLength - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs 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.
- ipv6Access
Type 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
orself_link
must be provided. - network String
- The name or self_link of the network attached to this interface.
- network
Attachment String - Beta The URL of the network attachment to this interface.
- network
Ip String - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type String - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET
- queue
Count 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.
- security
Policy 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.
- stack
Type 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.
- subnetwork
Project String - The project in which the subnetwork belongs.
GetInstanceNetworkInterfaceAccessConfig
- Nat
Ip string - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - Network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- Security
Policy 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 string - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - Network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- Security
Policy 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 String - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - network
Tier String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr StringDomain Name - The DNS domain name for the public PTR record.
- security
Policy 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 string - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- security
Policy string - A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- nat_
ip str - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - network_
tier str - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public_
ptr_ strdomain_ name - The DNS domain name for the public PTR record.
- security_
policy str - A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- nat
Ip String - If the instance has an access config, either the given external ip (in the
nat_ip
field) or the ephemeral (generated) ip (if you didn't provide one). - network
Tier String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr StringDomain Name - The DNS domain name for the public PTR record.
- security
Policy 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
- Ip
Cidr stringRange - The IP CIDR range represented by this alias IP range.
- Subnetwork
Range stringName - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- Ip
Cidr stringRange - The IP CIDR range represented by this alias IP range.
- Subnetwork
Range stringName - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr StringRange - The IP CIDR range represented by this alias IP range.
- subnetwork
Range StringName - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr stringRange - The IP CIDR range represented by this alias IP range.
- subnetwork
Range stringName - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip_
cidr_ strrange - The IP CIDR range represented by this alias IP range.
- subnetwork_
range_ strname - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr StringRange - The IP CIDR range represented by this alias IP range.
- subnetwork
Range StringName - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
GetInstanceNetworkInterfaceIpv6AccessConfig
- External
Ipv6 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.
- External
Ipv6Prefix stringLength - The prefix length of the external IPv6 range.
- Name string
- The name of the instance. One of
name
orself_link
must be provided. - Network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- Security
Policy 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 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.
- External
Ipv6Prefix stringLength - The prefix length of the external IPv6 range.
- Name string
- The name of the instance. One of
name
orself_link
must be provided. - Network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- Security
Policy 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 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.
- external
Ipv6Prefix StringLength - The prefix length of the external IPv6 range.
- name String
- The name of the instance. One of
name
orself_link
must be provided. - network
Tier String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr StringDomain Name - The DNS domain name for the public PTR record.
- security
Policy 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 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.
- external
Ipv6Prefix stringLength - The prefix length of the external IPv6 range.
- name string
- The name of the instance. One of
name
orself_link
must be provided. - network
Tier string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr stringDomain Name - The DNS domain name for the public PTR record.
- security
Policy string - A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- external_
ipv6 str - The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- external_
ipv6_ strprefix_ length - The prefix length of the external IPv6 range.
- name str
- The name of the instance. One of
name
orself_link
must be provided. - network_
tier str - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public_
ptr_ strdomain_ name - The DNS domain name for the public PTR record.
- security_
policy str - A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
- external
Ipv6 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.
- external
Ipv6Prefix StringLength - The prefix length of the external IPv6 range.
- name String
- The name of the instance. One of
name
orself_link
must be provided. - network
Tier String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr StringDomain Name - The DNS domain name for the public PTR record.
- security
Policy 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
- Total
Egress stringBandwidth Tier - The egress bandwidth tier for the instance.
- Total
Egress stringBandwidth Tier - The egress bandwidth tier for the instance.
- total
Egress StringBandwidth Tier - The egress bandwidth tier for the instance.
- total
Egress stringBandwidth Tier - The egress bandwidth tier for the instance.
- total_
egress_ strbandwidth_ tier - The egress bandwidth tier for the instance.
- total
Egress StringBandwidth Tier - The egress bandwidth tier for the instance.
GetInstanceParam
- 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.
- 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.
- 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.
- {[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.
- 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.
- 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
- Specific
Reservations List<GetInstance Reservation Affinity Specific Reservation> - Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- Specific
Reservations []GetInstance Reservation Affinity Specific Reservation - Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations List<GetInstance Reservation Affinity Specific Reservation> - Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations GetInstance Reservation Affinity Specific Reservation[] - Specifies the label selector for the reservation to use.
- type string
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific_
reservations Sequence[GetInstance Reservation Affinity Specific Reservation] - Specifies the label selector for the reservation to use.
- type str
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations List<Property Map> - Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
GetInstanceReservationAffinitySpecificReservation
- Key string
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- Values List<string>
- Corresponds to the label values of a reservation resource.
- key String
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values List<String>
- Corresponds to the label values of a reservation resource.
- key str
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values Sequence[str]
- Corresponds to the label values of a reservation resource.
- key String
- Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify compute.googleapis.com/reservation-name as the key and specify the name of your reservation as the only value.
- values List<String>
- Corresponds to the label values of a reservation resource.
GetInstanceScheduling
- Automatic
Restart bool - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- Instance
Termination stringAction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - Local
Ssd List<GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout> - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- Maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- Max
Run List<GetDurations Instance Scheduling Max Run Duration> - The timeout for new network connections to hosts.
- Min
Node intCpus - Node
Affinities List<GetInstance Scheduling Node Affinity> - Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- On
Host stringMaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - On
Instance List<GetStop Actions Instance Scheduling On Instance Stop Action> - Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Whether the instance is preemptible.
- Provisioning
Model 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 stringAction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - Local
Ssd []GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- Maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- Max
Run []GetDurations Instance Scheduling Max Run Duration - The timeout for new network connections to hosts.
- Min
Node intCpus - Node
Affinities []GetInstance Scheduling Node Affinity - Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- On
Host stringMaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - On
Instance []GetStop Actions Instance Scheduling On Instance Stop Action - Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Whether the instance is preemptible.
- Provisioning
Model string - Describe the type of preemptible VM.
- automatic
Restart Boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- instance
Termination StringAction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd List<GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout> - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance
Interval String - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run List<GetDurations Instance Scheduling Max Run Duration> - The timeout for new network connections to hosts.
- min
Node IntegerCpus - node
Affinities List<GetInstance Scheduling Node Affinity> - Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- on
Host StringMaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance List<GetStop Actions Instance Scheduling On Instance Stop Action> - Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Whether the instance is preemptible.
- provisioning
Model String - Describe the type of preemptible VM.
- automatic
Restart boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- instance
Termination stringAction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd GetRecovery Timeouts Instance Scheduling Local Ssd Recovery Timeout[] - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance
Interval string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run GetDurations Instance Scheduling Max Run Duration[] - The timeout for new network connections to hosts.
- min
Node numberCpus - node
Affinities GetInstance Scheduling Node Affinity[] - Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- on
Host stringMaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance GetStop Actions Instance Scheduling On Instance Stop Action[] - Defines the behaviour for instances with the instance_termination_action.
- preemptible boolean
- Whether the instance is preemptible.
- provisioning
Model 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_ straction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local_
ssd_ Sequence[Getrecovery_ timeouts Instance Scheduling Local Ssd Recovery Timeout] - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance_
interval str - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max_
run_ Sequence[Getdurations Instance Scheduling Max Run Duration] - The timeout for new network connections to hosts.
- min_
node_ intcpus - node_
affinities Sequence[GetInstance Scheduling Node Affinity] - Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems.
- on_
host_ strmaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on_
instance_ Sequence[Getstop_ actions Instance Scheduling On Instance Stop Action] - Defines the behaviour for instances with the instance_termination_action.
- preemptible bool
- Whether the instance is preemptible.
- provisioning_
model str - Describe the type of preemptible VM.
- automatic
Restart Boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- instance
Termination StringAction - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd List<Property Map>Recovery Timeouts - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance
Interval String - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run List<Property Map>Durations - The timeout for new network connections to hosts.
- min
Node NumberCpus - node
Affinities 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.
- on
Host StringMaintenance - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance List<Property Map>Stop Actions - Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Whether the instance is preemptible.
- provisioning
Model 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
GetInstanceSchedulingOnInstanceStopAction
- Discard
Local boolSsd - If true, the contents of any attached Local SSD disks will be discarded.
- Discard
Local boolSsd - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local BooleanSsd - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local booleanSsd - If true, the contents of any attached Local SSD disks will be discarded.
- discard_
local_ boolssd - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local BooleanSsd - If true, the contents of any attached Local SSD disks will be discarded.
GetInstanceScratchDisk
- Device
Name 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
orNVME
. - Size int
- The size of the image in gigabytes.
- Device
Name 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
orNVME
. - Size int
- The size of the image in gigabytes.
- device
Name 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
orNVME
. - size Integer
- The size of the image in gigabytes.
- device
Name 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
orNVME
. - 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
orNVME
. - size int
- The size of the image in gigabytes.
- device
Name 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
orNVME
. - size Number
- The size of the image in gigabytes.
GetInstanceServiceAccount
GetInstanceShieldedInstanceConfig
- Enable
Integrity boolMonitoring - Whether integrity monitoring is enabled for the instance.
- Enable
Secure boolBoot - Whether secure boot is enabled for the instance.
- Enable
Vtpm bool - Whether the instance uses vTPM.
- Enable
Integrity boolMonitoring - Whether integrity monitoring is enabled for the instance.
- Enable
Secure boolBoot - Whether secure boot is enabled for the instance.
- Enable
Vtpm bool - Whether the instance uses vTPM.
- enable
Integrity BooleanMonitoring - Whether integrity monitoring is enabled for the instance.
- enable
Secure BooleanBoot - Whether secure boot is enabled for the instance.
- enable
Vtpm Boolean - Whether the instance uses vTPM.
- enable
Integrity booleanMonitoring - Whether integrity monitoring is enabled for the instance.
- enable
Secure booleanBoot - Whether secure boot is enabled for the instance.
- enable
Vtpm boolean - Whether the instance uses vTPM.
- enable_
integrity_ boolmonitoring - Whether integrity monitoring is enabled for the instance.
- enable_
secure_ boolboot - Whether secure boot is enabled for the instance.
- enable_
vtpm bool - Whether the instance uses vTPM.
- enable
Integrity BooleanMonitoring - Whether integrity monitoring is enabled for the instance.
- enable
Secure BooleanBoot - Whether secure boot is enabled for the instance.
- enable
Vtpm 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.