Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi
gcp.compute.getInstance
Explore with Pulumi AI
Get information about a VM instance resource within GCE. For more information see the official documentation and API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const appserver = gcp.compute.getInstance({
name: "primary-application-server",
zone: "us-central1-a",
});
import pulumi
import pulumi_gcp as gcp
appserver = gcp.compute.get_instance(name="primary-application-server",
zone="us-central1-a")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := compute.LookupInstance(ctx, &compute.LookupInstanceArgs{
Name: pulumi.StringRef("primary-application-server"),
Zone: pulumi.StringRef("us-central1-a"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var appserver = Gcp.Compute.GetInstance.Invoke(new()
{
Name = "primary-application-server",
Zone = "us-central1-a",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var appserver = ComputeFunctions.getInstance(GetInstanceArgs.builder()
.name("primary-application-server")
.zone("us-central1-a")
.build());
}
}
variables:
appserver:
fn::invoke:
function: gcp:compute:getInstance
arguments:
name: primary-application-server
zone: us-central1-a
Using getInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(name: Optional[str] = None,
project: Optional[str] = None,
self_link: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(name: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
self_link: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
function: gcp:compute/getInstance:getInstance
arguments:
# arguments 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.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- Key
Revocation stringAction Type - Action to be taken when a customer's encryption key is revoked.
- 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> - A list of self_links to resource policies attached to the selected
boot_disk
- 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.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- Key
Revocation stringAction Type - Action to be taken when a customer's encryption key is revoked.
- 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 - A list of self_links to resource policies attached to the selected
boot_disk
- 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.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- 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.
- key
Revocation StringAction Type - Action to be taken when a customer's encryption key is revoked.
- 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> - A list of self_links to resource policies attached to the selected
boot_disk
- 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.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- 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.
- key
Revocation stringAction Type - Action to be taken when a customer's encryption key is revoked.
- 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[] - A list of self_links to resource policies attached to the selected
boot_disk
- 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.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- current_
status str - The current status of the instance. This could be one of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
- deletion_
protection bool - Whether deletion protection is enabled on this instance.
- description str
- A brief description of the resource.
- desired_
status str - effective_
labels Mapping[str, str] - enable_
display bool - Whether the instance has virtual displays enabled.
- guest_
accelerators Sequence[GetInstance Guest Accelerator] - List of the type and count of accelerator cards attached to the instance. Structure is documented below.
- hostname str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - The server-assigned unique identifier of this instance.
- key_
revocation_ straction_ type - Action to be taken when a customer's encryption key is revoked.
- label_
fingerprint str - The unique fingerprint of the labels.
- labels Mapping[str, str]
- A set of key/value label pairs assigned to the disk.
- machine_
type str - The machine type to create.
- metadata Mapping[str, str]
- Metadata key/value pairs made available within the instance.
- metadata_
fingerprint str - The unique fingerprint of the metadata.
- metadata_
startup_ strscript - min_
cpu_ strplatform - The minimum CPU platform specified for the VM instance. Set to "AUTOMATIC" to remove a previously-set value.
- network_
interfaces Sequence[GetInstance Network Interface] - The networks attached to the instance. Structure is documented below.
- network_
performance_ Sequence[Getconfigs Instance Network Performance Config] - The network performance configuration setting for the instance, if set. Structure is documented below.
- params
Sequence[Get
Instance Param] - partner_
metadata Mapping[str, str] - pulumi_
labels Mapping[str, str] - reservation_
affinities Sequence[GetInstance Reservation Affinity] - resource_
policies Sequence[str] - A list of self_links to resource policies attached to the selected
boot_disk
- schedulings
Sequence[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.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- 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.
- key
Revocation StringAction Type - Action to be taken when a customer's encryption key is revoked.
- 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> - A list of self_links to resource policies attached to the selected
boot_disk
- schedulings List<Property Map>
- The scheduling strategy being used by the instance. Structure is documented below
- 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 Virtualization This property is required. bool - Whether to enable nested virtualization or not.
- Enable
Uefi Networking This property is required. bool - Whether to enable UEFI networking for the instance.
- Performance
Monitoring Unit This property is required. string - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- Threads
Per Core This property is required. int - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- Turbo
Mode This property is required. string - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- Visible
Core Count This property is required. int - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- Enable
Nested Virtualization This property is required. bool - Whether to enable nested virtualization or not.
- Enable
Uefi Networking This property is required. bool - Whether to enable UEFI networking for the instance.
- Performance
Monitoring Unit This property is required. string - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- Threads
Per Core This property is required. int - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- Turbo
Mode This property is required. string - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- Visible
Core Count This property is required. int - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested Virtualization This property is required. Boolean - Whether to enable nested virtualization or not.
- enable
Uefi Networking This property is required. Boolean - Whether to enable UEFI networking for the instance.
- performance
Monitoring Unit This property is required. String - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads
Per Core This property is required. Integer - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo
Mode This property is required. String - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible
Core Count This property is required. Integer - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested Virtualization This property is required. boolean - Whether to enable nested virtualization or not.
- enable
Uefi Networking This property is required. boolean - Whether to enable UEFI networking for the instance.
- performance
Monitoring Unit This property is required. string - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads
Per Core This property is required. number - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo
Mode This property is required. string - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible
Core Count This property is required. number - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable_
nested_ virtualization This property is required. bool - Whether to enable nested virtualization or not.
- enable_
uefi_ networking This property is required. bool - Whether to enable UEFI networking for the instance.
- performance_
monitoring_ unit This property is required. str - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads_
per_ core This property is required. int - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo_
mode This property is required. str - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible_
core_ count This property is required. int - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable
Nested Virtualization This property is required. Boolean - Whether to enable nested virtualization or not.
- enable
Uefi Networking This property is required. Boolean - Whether to enable UEFI networking for the instance.
- performance
Monitoring Unit This property is required. String - The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads
Per Core This property is required. Number - The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo
Mode This property is required. String - Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible
Core Count This property is required. Number - The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
GetInstanceAttachedDisk
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption Key Sha256 This property is required. string - 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 Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source
This property is required. string - The self_link of the disk attached to this instance.
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption Key Sha256 This property is required. string - 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 Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source
This property is required. string - The self_link of the disk attached to this instance.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. String - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. String - 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 Self Link This property is required. String - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. String - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. String - The self_link of the disk attached to this instance.
- device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. string - 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 Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. string - The self_link of the disk attached to this instance.
- device_
name This property is required. str - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk_
encryption_ key_ raw This property is required. str - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_
encryption_ key_ sha256 This property is required. str - 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_ self_ link This property is required. str - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. str - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. str - The self_link of the disk attached to this instance.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. String - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. String - 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 Self Link This property is required. String - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. String - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. String - The self_link of the disk attached to this instance.
GetInstanceBootDisk
- Auto
Delete This property is required. bool - Whether the disk will be auto-deleted when the instance is deleted.
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption Key Sha256 This property is required. string - 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 This property is required. List<GetInstance Boot Disk Initialize Param> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- Interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - Kms
Key Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source
This property is required. string - The self_link of the disk attached to this instance.
- Auto
Delete This property is required. bool - Whether the disk will be auto-deleted when the instance is deleted.
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Disk
Encryption Key Sha256 This property is required. string - 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 This property is required. []GetInstance Boot Disk Initialize Param - Parameters with which a disk was created alongside the instance. Structure is documented below.
- Interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - Kms
Key Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- Mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - Source
This property is required. string - The self_link of the disk attached to this instance.
- auto
Delete This property is required. Boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. String - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. String - 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 This property is required. List<GetInstance Boot Disk Initialize Param> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface_
This property is required. String - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - kms
Key Self Link This property is required. String - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. String - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. String - The self_link of the disk attached to this instance.
- auto
Delete This property is required. boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. string - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. string - 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 This property is required. GetInstance Boot Disk Initialize Param[] - Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - kms
Key Self Link This property is required. string - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. string - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. string - The self_link of the disk attached to this instance.
- auto_
delete This property is required. bool - Whether the disk will be auto-deleted when the instance is deleted.
- device_
name This property is required. str - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk_
encryption_ key_ raw This property is required. str - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk_
encryption_ key_ sha256 This property is required. str - 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 This property is required. Sequence[GetInstance Boot Disk Initialize Param] - Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface
This property is required. str - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - kms_
key_ self_ link This property is required. str - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. str - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. str - The self_link of the disk attached to this instance.
- auto
Delete This property is required. Boolean - Whether the disk will be auto-deleted when the instance is deleted.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- disk
Encryption Key Raw This property is required. String - A 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- disk
Encryption Key Sha256 This property is required. String - 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 This property is required. List<Property Map> - Parameters with which a disk was created alongside the instance. Structure is documented below.
- interface
This property is required. String - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - kms
Key Self Link This property is required. String - The self_link of the encryption key that is stored in Google Cloud KMS to encrypt this disk. Only one of kms_key_self_link and disk_encryption_key_raw may be set.
- mode
This property is required. String - Read/write mode for the disk. One of
"READ_ONLY"
or"READ_WRITE"
. - source
This property is required. String - The self_link of the disk attached to this instance.
GetInstanceBootDiskInitializeParam
- Enable
Confidential Compute This property is required. bool - A flag to enable confidential compute mode on boot disk
- Image
This property is required. string - The image from which this disk was initialised.
- Labels
This property is required. Dictionary<string, string> - A set of key/value label pairs assigned to the disk.
- Provisioned
Iops This property is required. 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 This property is required. int - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. Dictionary<string, string>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- Resource
Policies This property is required. List<string> - A list of self_links to resource policies attached to the selected
boot_disk
- Size
This property is required. int - The size of the image in gigabytes.
- Storage
Pool This property is required. string - The URL of the storage pool in which the new disk is created
- Type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- Enable
Confidential Compute This property is required. bool - A flag to enable confidential compute mode on boot disk
- Image
This property is required. string - The image from which this disk was initialised.
- Labels
This property is required. map[string]string - A set of key/value label pairs assigned to the disk.
- Provisioned
Iops This property is required. 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 This property is required. int - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. map[string]string- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- Resource
Policies This property is required. []string - A list of self_links to resource policies attached to the selected
boot_disk
- Size
This property is required. int - The size of the image in gigabytes.
- Storage
Pool This property is required. string - The URL of the storage pool in which the new disk is created
- Type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- enable
Confidential Compute This property is required. Boolean - A flag to enable confidential compute mode on boot disk
- image
This property is required. String - The image from which this disk was initialised.
- labels
This property is required. Map<String,String> - A set of key/value label pairs assigned to the disk.
- provisioned
Iops This property is required. 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 This property is required. Integer - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. Map<String,String>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource
Policies This property is required. List<String> - A list of self_links to resource policies attached to the selected
boot_disk
- size
This property is required. Integer - The size of the image in gigabytes.
- storage
Pool This property is required. String - The URL of the storage pool in which the new disk is created
- type
This property is required. String - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- enable
Confidential Compute This property is required. boolean - A flag to enable confidential compute mode on boot disk
- image
This property is required. string - The image from which this disk was initialised.
- labels
This property is required. {[key: string]: string} - A set of key/value label pairs assigned to the disk.
- provisioned
Iops This property is required. 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 This property is required. number - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. {[key: string]: string}- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource
Policies This property is required. string[] - A list of self_links to resource policies attached to the selected
boot_disk
- size
This property is required. number - The size of the image in gigabytes.
- storage
Pool This property is required. string - The URL of the storage pool in which the new disk is created
- type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- enable_
confidential_ compute This property is required. bool - A flag to enable confidential compute mode on boot disk
- image
This property is required. str - The image from which this disk was initialised.
- labels
This property is required. Mapping[str, str] - A set of key/value label pairs assigned to the disk.
- provisioned_
iops This property is required. 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 This property is required. int - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. Mapping[str, str]- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource_
policies This property is required. Sequence[str] - A list of self_links to resource policies attached to the selected
boot_disk
- size
This property is required. int - The size of the image in gigabytes.
- storage_
pool This property is required. str - The URL of the storage pool in which the new disk is created
- type
This property is required. str - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- enable
Confidential Compute This property is required. Boolean - A flag to enable confidential compute mode on boot disk
- image
This property is required. String - The image from which this disk was initialised.
- labels
This property is required. Map<String> - A set of key/value label pairs assigned to the disk.
- provisioned
Iops This property is required. 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 This property is required. Number - Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle.
This property is required. Map<String>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource
Policies This property is required. List<String> - A list of self_links to resource policies attached to the selected
boot_disk
- size
This property is required. Number - The size of the image in gigabytes.
- storage
Pool This property is required. String - The URL of the storage pool in which the new disk is created
- type
This property is required. String - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
GetInstanceConfidentialInstanceConfig
- Confidential
Instance Type This property is required. string - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- Enable
Confidential Compute This property is required. bool - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- Confidential
Instance Type This property is required. string - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- Enable
Confidential Compute This property is required. bool - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance Type This property is required. String - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable
Confidential Compute This property is required. Boolean - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance Type This property is required. string - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable
Confidential Compute This property is required. boolean - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential_
instance_ type This property is required. str - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable_
confidential_ compute This property is required. bool - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
- confidential
Instance Type This property is required. String - The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable
Confidential Compute This property is required. Boolean - Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release
GetInstanceGuestAccelerator
GetInstanceNetworkInterface
- Access
Configs This property is required. 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 Ranges This property is required. List<GetInstance Network Interface Alias Ip Range> - An array of alias IP ranges for this network interface. Structure documented below.
- Internal
Ipv6Prefix Length This property is required. int - The prefix length of the primary internal IPv6 range.
- Ipv6Access
Configs This property is required. 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 This property is required. 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
This property is required. 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
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - Network
This property is required. string - The name or self_link of the network attached to this interface.
- Network
Attachment This property is required. string - The URL of the network attachment to this interface.
- Network
Ip This property is required. string - The internal ip address of the instance, either manually or dynamically assigned.
- Nic
Type This property is required. string - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- Queue
Count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. string - The name or self_link of the subnetwork attached to this interface.
- Subnetwork
Project This property is required. string - The project in which the subnetwork belongs.
- Access
Configs This property is required. []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 Ranges This property is required. []GetInstance Network Interface Alias Ip Range - An array of alias IP ranges for this network interface. Structure documented below.
- Internal
Ipv6Prefix Length This property is required. int - The prefix length of the primary internal IPv6 range.
- Ipv6Access
Configs This property is required. []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 This property is required. 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
This property is required. 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
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - Network
This property is required. string - The name or self_link of the network attached to this interface.
- Network
Attachment This property is required. string - The URL of the network attachment to this interface.
- Network
Ip This property is required. string - The internal ip address of the instance, either manually or dynamically assigned.
- Nic
Type This property is required. string - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- Queue
Count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. string - The name or self_link of the subnetwork attached to this interface.
- Subnetwork
Project This property is required. string - The project in which the subnetwork belongs.
- access
Configs This property is required. 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 Ranges This property is required. List<GetInstance Network Interface Alias Ip Range> - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix Length This property is required. Integer - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs This property is required. 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 This property is required. 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
This property is required. 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
This property is required. String - The name of the instance. One of
name
orself_link
must be provided. - network
This property is required. String - The name or self_link of the network attached to this interface.
- network
Attachment This property is required. String - The URL of the network attachment to this interface.
- network
Ip This property is required. String - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type This property is required. String - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queue
Count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. String - The name or self_link of the subnetwork attached to this interface.
- subnetwork
Project This property is required. String - The project in which the subnetwork belongs.
- access
Configs This property is required. 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 Ranges This property is required. GetInstance Network Interface Alias Ip Range[] - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix Length This property is required. number - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs This property is required. 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 This property is required. 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
This property is required. 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
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - network
This property is required. string - The name or self_link of the network attached to this interface.
- network
Attachment This property is required. string - The URL of the network attachment to this interface.
- network
Ip This property is required. string - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type This property is required. string - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queue
Count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. string - The name or self_link of the subnetwork attached to this interface.
- subnetwork
Project This property is required. string - The project in which the subnetwork belongs.
- access_
configs This property is required. 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_ ranges This property is required. Sequence[GetInstance Network Interface Alias Ip Range] - An array of alias IP ranges for this network interface. Structure documented below.
- internal_
ipv6_ prefix_ length This property is required. int - The prefix length of the primary internal IPv6 range.
- ipv6_
access_ configs This property is required. Sequence[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.
- ipv6_
access_ type This property is required. str - One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6_
address This property is required. 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
This property is required. str - The name of the instance. One of
name
orself_link
must be provided. - network
This property is required. str - The name or self_link of the network attached to this interface.
- network_
attachment This property is required. str - The URL of the network attachment to this interface.
- network_
ip This property is required. str - The internal ip address of the instance, either manually or dynamically assigned.
- nic_
type This property is required. str - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queue_
count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. str - The name or self_link of the subnetwork attached to this interface.
- subnetwork_
project This property is required. str - The project in which the subnetwork belongs.
- access
Configs This property is required. List<Property Map> - Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
- alias
Ip Ranges This property is required. List<Property Map> - An array of alias IP ranges for this network interface. Structure documented below.
- internal
Ipv6Prefix Length This property is required. Number - The prefix length of the primary internal IPv6 range.
- ipv6Access
Configs This property is required. 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 This property is required. 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
This property is required. 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
This property is required. String - The name of the instance. One of
name
orself_link
must be provided. - network
This property is required. String - The name or self_link of the network attached to this interface.
- network
Attachment This property is required. String - The URL of the network attachment to this interface.
- network
Ip This property is required. String - The internal ip address of the instance, either manually or dynamically assigned.
- nic
Type This property is required. String - The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, and IRDMA
- queue
Count This property is required. 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 This property is required. 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 This property is required. 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
This property is required. String - The name or self_link of the subnetwork attached to this interface.
- subnetwork
Project This property is required. String - The project in which the subnetwork belongs.
GetInstanceNetworkInterfaceAccessConfig
- Nat
Ip This property is required. 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 This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- Security
Policy This property is required. 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 This property is required. 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 This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- Security
Policy This property is required. 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 This property is required. 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 This property is required. String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. String - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 This property is required. 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 This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 This property is required. 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 This property is required. str - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public_
ptr_ domain_ name This property is required. str - The DNS domain name for the public PTR record.
- security_
policy This property is required. 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 This property is required. 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 This property is required. String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. String - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 Range This property is required. string - The IP CIDR range represented by this alias IP range.
- Subnetwork
Range Name This property is required. string - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- Ip
Cidr Range This property is required. string - The IP CIDR range represented by this alias IP range.
- Subnetwork
Range Name This property is required. string - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr Range This property is required. String - The IP CIDR range represented by this alias IP range.
- subnetwork
Range Name This property is required. String - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr Range This property is required. string - The IP CIDR range represented by this alias IP range.
- subnetwork
Range Name This property is required. string - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip_
cidr_ range This property is required. str - The IP CIDR range represented by this alias IP range.
- subnetwork_
range_ name This property is required. str - The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range.
- ip
Cidr Range This property is required. String - The IP CIDR range represented by this alias IP range.
- subnetwork
Range Name This property is required. String - 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 This property is required. 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 Length This property is required. string - The prefix length of the external IPv6 range.
- Name
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - Network
Tier This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- Security
Policy This property is required. 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 This property is required. 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 Length This property is required. string - The prefix length of the external IPv6 range.
- Name
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - Network
Tier This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - Public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- Security
Policy This property is required. 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 This property is required. 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 Length This property is required. String - The prefix length of the external IPv6 range.
- name
This property is required. String - The name of the instance. One of
name
orself_link
must be provided. - network
Tier This property is required. String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. String - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 This property is required. 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 Length This property is required. string - The prefix length of the external IPv6 range.
- name
This property is required. string - The name of the instance. One of
name
orself_link
must be provided. - network
Tier This property is required. string - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. string - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 This property is required. str - The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.
- external_
ipv6_ prefix_ length This property is required. str - The prefix length of the external IPv6 range.
- name
This property is required. str - The name of the instance. One of
name
orself_link
must be provided. - network_
tier This property is required. str - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public_
ptr_ domain_ name This property is required. str - The DNS domain name for the public PTR record.
- security_
policy This property is required. 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 This property is required. 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 Length This property is required. String - The prefix length of the external IPv6 range.
- name
This property is required. String - The name of the instance. One of
name
orself_link
must be provided. - network
Tier This property is required. String - The [networking tier][network-tier] used for configuring this instance. One of
PREMIUM
orSTANDARD
. - public
Ptr Domain Name This property is required. String - The DNS domain name for the public PTR record.
- security
Policy This property is required. 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 Bandwidth Tier This property is required. string - The egress bandwidth tier for the instance.
- Total
Egress Bandwidth Tier This property is required. string - The egress bandwidth tier for the instance.
- total
Egress Bandwidth Tier This property is required. String - The egress bandwidth tier for the instance.
- total
Egress Bandwidth Tier This property is required. string - The egress bandwidth tier for the instance.
- total_
egress_ bandwidth_ tier This property is required. str - The egress bandwidth tier for the instance.
- total
Egress Bandwidth Tier This property is required. String - The egress bandwidth tier for the instance.
GetInstanceParam
This property is required. Dictionary<string, string>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
This property is required. map[string]string- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
This property is required. Map<String,String>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
This property is required. {[key: string]: string}- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
This property is required. Mapping[str, str]- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
This property is required. Map<String>- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
GetInstanceReservationAffinity
- Specific
Reservations This property is required. List<GetInstance Reservation Affinity Specific Reservation> - Specifies the label selector for the reservation to use.
- Type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- Specific
Reservations This property is required. []GetInstance Reservation Affinity Specific Reservation - Specifies the label selector for the reservation to use.
- Type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations This property is required. List<GetInstance Reservation Affinity Specific Reservation> - Specifies the label selector for the reservation to use.
- type
This property is required. String - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations This property is required. GetInstance Reservation Affinity Specific Reservation[] - Specifies the label selector for the reservation to use.
- type
This property is required. string - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific_
reservations This property is required. Sequence[GetInstance Reservation Affinity Specific Reservation] - Specifies the label selector for the reservation to use.
- type
This property is required. str - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
- specific
Reservations This property is required. List<Property Map> - Specifies the label selector for the reservation to use.
- type
This property is required. String - The accelerator type resource exposed to this instance. E.g.
nvidia-tesla-k80
.
GetInstanceReservationAffinitySpecificReservation
- Key
This property is required. 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
This property is required. List<string> - Corresponds to the label values of a reservation resource.
- Key
This property is required. 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
This property is required. []string - Corresponds to the label values of a reservation resource.
- key
This property is required. 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
This property is required. List<String> - Corresponds to the label values of a reservation resource.
- key
This property is required. 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
This property is required. string[] - Corresponds to the label values of a reservation resource.
- key
This property is required. 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
This property is required. Sequence[str] - Corresponds to the label values of a reservation resource.
- key
This property is required. 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
This property is required. List<String> - Corresponds to the label values of a reservation resource.
GetInstanceScheduling
- Automatic
Restart This property is required. bool - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- Availability
Domain This property is required. int - Specifies the availability domain, which this instance should be scheduled on.
- Graceful
Shutdowns This property is required. List<GetInstance Scheduling Graceful Shutdown> - Settings for the instance to perform a graceful shutdown.
- Host
Error Timeout Seconds This property is required. int - Beta Time in seconds for host error detection.
- Instance
Termination Action This property is required. string - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - Local
Ssd Recovery Timeouts This property is required. List<GetInstance 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 This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- Max
Run Durations This property is required. List<GetInstance Scheduling Max Run Duration> - The timeout for new network connections to hosts.
- Min
Node Cpus This property is required. int - Node
Affinities This property is required. 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 Maintenance This property is required. string - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - On
Instance Stop Actions This property is required. List<GetInstance Scheduling On Instance Stop Action> - Defines the behaviour for instances with the instance_termination_action.
- Preemptible
This property is required. bool - Whether the instance is preemptible.
- Provisioning
Model This property is required. string - Describe the type of preemptible VM.
- Termination
Time This property is required. string - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
- Automatic
Restart This property is required. bool - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- Availability
Domain This property is required. int - Specifies the availability domain, which this instance should be scheduled on.
- Graceful
Shutdowns This property is required. []GetInstance Scheduling Graceful Shutdown - Settings for the instance to perform a graceful shutdown.
- Host
Error Timeout Seconds This property is required. int - Beta Time in seconds for host error detection.
- Instance
Termination Action This property is required. string - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - Local
Ssd Recovery Timeouts This property is required. []GetInstance 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 This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- Max
Run Durations This property is required. []GetInstance Scheduling Max Run Duration - The timeout for new network connections to hosts.
- Min
Node Cpus This property is required. int - Node
Affinities This property is required. []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 Maintenance This property is required. string - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - On
Instance Stop Actions This property is required. []GetInstance Scheduling On Instance Stop Action - Defines the behaviour for instances with the instance_termination_action.
- Preemptible
This property is required. bool - Whether the instance is preemptible.
- Provisioning
Model This property is required. string - Describe the type of preemptible VM.
- Termination
Time This property is required. string - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
- automatic
Restart This property is required. Boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availability
Domain This property is required. Integer - Specifies the availability domain, which this instance should be scheduled on.
- graceful
Shutdowns This property is required. List<GetInstance Scheduling Graceful Shutdown> - Settings for the instance to perform a graceful shutdown.
- host
Error Timeout Seconds This property is required. Integer - Beta Time in seconds for host error detection.
- instance
Termination Action This property is required. String - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd Recovery Timeouts This property is required. List<GetInstance 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 This property is required. String - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run Durations This property is required. List<GetInstance Scheduling Max Run Duration> - The timeout for new network connections to hosts.
- min
Node Cpus This property is required. Integer - node
Affinities This property is required. 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 Maintenance This property is required. String - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance Stop Actions This property is required. List<GetInstance Scheduling On Instance Stop Action> - Defines the behaviour for instances with the instance_termination_action.
- preemptible
This property is required. Boolean - Whether the instance is preemptible.
- provisioning
Model This property is required. String - Describe the type of preemptible VM.
- termination
Time This property is required. String - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
- automatic
Restart This property is required. boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availability
Domain This property is required. number - Specifies the availability domain, which this instance should be scheduled on.
- graceful
Shutdowns This property is required. GetInstance Scheduling Graceful Shutdown[] - Settings for the instance to perform a graceful shutdown.
- host
Error Timeout Seconds This property is required. number - Beta Time in seconds for host error detection.
- instance
Termination Action This property is required. string - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd Recovery Timeouts This property is required. GetInstance 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 This property is required. string - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run Durations This property is required. GetInstance Scheduling Max Run Duration[] - The timeout for new network connections to hosts.
- min
Node Cpus This property is required. number - node
Affinities This property is required. 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 Maintenance This property is required. string - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance Stop Actions This property is required. GetInstance Scheduling On Instance Stop Action[] - Defines the behaviour for instances with the instance_termination_action.
- preemptible
This property is required. boolean - Whether the instance is preemptible.
- provisioning
Model This property is required. string - Describe the type of preemptible VM.
- termination
Time This property is required. string - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
- automatic_
restart This property is required. bool - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availability_
domain This property is required. int - Specifies the availability domain, which this instance should be scheduled on.
- graceful_
shutdowns This property is required. Sequence[GetInstance Scheduling Graceful Shutdown] - Settings for the instance to perform a graceful shutdown.
- host_
error_ timeout_ seconds This property is required. int - Beta Time in seconds for host error detection.
- instance_
termination_ action This property is required. str - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local_
ssd_ recovery_ timeouts This property is required. Sequence[GetInstance 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 This property is required. str - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max_
run_ durations This property is required. Sequence[GetInstance Scheduling Max Run Duration] - The timeout for new network connections to hosts.
- min_
node_ cpus This property is required. int - node_
affinities This property is required. 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_ maintenance This property is required. str - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on_
instance_ stop_ actions This property is required. Sequence[GetInstance Scheduling On Instance Stop Action] - Defines the behaviour for instances with the instance_termination_action.
- preemptible
This property is required. bool - Whether the instance is preemptible.
- provisioning_
model This property is required. str - Describe the type of preemptible VM.
- termination_
time This property is required. str - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
- automatic
Restart This property is required. Boolean - Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
- availability
Domain This property is required. Number - Specifies the availability domain, which this instance should be scheduled on.
- graceful
Shutdowns This property is required. List<Property Map> - Settings for the instance to perform a graceful shutdown.
- host
Error Timeout Seconds This property is required. Number - Beta Time in seconds for host error detection.
- instance
Termination Action This property is required. String - Describe the type of termination action for
SPOT
VM. Can beSTOP
orDELETE
. Read more on here - local
Ssd Recovery Timeouts This property is required. List<Property Map> - Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance
Interval This property is required. String - Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max
Run Durations This property is required. List<Property Map> - The timeout for new network connections to hosts.
- min
Node Cpus This property is required. Number - node
Affinities This property is required. 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 Maintenance This property is required. String - Describes maintenance behavior for the
instance. One of
MIGRATE
orTERMINATE
, for more info, read here - on
Instance Stop Actions This property is required. List<Property Map> - Defines the behaviour for instances with the instance_termination_action.
- preemptible
This property is required. Boolean - Whether the instance is preemptible.
- provisioning
Model This property is required. String - Describe the type of preemptible VM.
- termination
Time This property is required. String - Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
GetInstanceSchedulingGracefulShutdown
- Enabled
This property is required. bool - Opts-in for graceful shutdown.
- Max
Durations This property is required. List<GetInstance Scheduling Graceful Shutdown Max Duration> - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- Enabled
This property is required. bool - Opts-in for graceful shutdown.
- Max
Durations This property is required. []GetInstance Scheduling Graceful Shutdown Max Duration - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled
This property is required. Boolean - Opts-in for graceful shutdown.
- max
Durations This property is required. List<GetInstance Scheduling Graceful Shutdown Max Duration> - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled
This property is required. boolean - Opts-in for graceful shutdown.
- max
Durations This property is required. GetInstance Scheduling Graceful Shutdown Max Duration[] - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled
This property is required. bool - Opts-in for graceful shutdown.
- max_
durations This property is required. Sequence[GetInstance Scheduling Graceful Shutdown Max Duration] - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled
This property is required. Boolean - Opts-in for graceful shutdown.
- max
Durations This property is required. List<Property Map> - The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
GetInstanceSchedulingGracefulShutdownMaxDuration
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos
This property is required. 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
This property is required. Integer - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos
This property is required. 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
This property is required. number - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos
This property is required. 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
This property is required. Number - Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
GetInstanceSchedulingLocalSsdRecoveryTimeout
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. Integer - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. number - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. Number - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceSchedulingMaxRunDuration
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. Integer - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. number - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. int - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos
This property is required. 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
This property is required. Number - Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceSchedulingNodeAffinity
GetInstanceSchedulingOnInstanceStopAction
- Discard
Local Ssd This property is required. bool - If true, the contents of any attached Local SSD disks will be discarded.
- Discard
Local Ssd This property is required. bool - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local Ssd This property is required. Boolean - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local Ssd This property is required. boolean - If true, the contents of any attached Local SSD disks will be discarded.
- discard_
local_ ssd This property is required. bool - If true, the contents of any attached Local SSD disks will be discarded.
- discard
Local Ssd This property is required. Boolean - If true, the contents of any attached Local SSD disks will be discarded.
GetInstanceScratchDisk
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - Size
This property is required. int - The size of the image in gigabytes.
- Device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- Interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - Size
This property is required. int - The size of the image in gigabytes.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- interface_
This property is required. String - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - size
This property is required. Integer - The size of the image in gigabytes.
- device
Name This property is required. string - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- interface
This property is required. string - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - size
This property is required. number - The size of the image in gigabytes.
- device_
name This property is required. str - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- interface
This property is required. str - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - size
This property is required. int - The size of the image in gigabytes.
- device
Name This property is required. String - Name with which the attached disk is accessible
under
/dev/disk/by-id/
- interface
This property is required. String - The disk interface used for attaching this disk. One of
SCSI
orNVME
. - size
This property is required. Number - The size of the image in gigabytes.
GetInstanceServiceAccount
GetInstanceShieldedInstanceConfig
- Enable
Integrity Monitoring This property is required. bool - Whether integrity monitoring is enabled for the instance.
- Enable
Secure Boot This property is required. bool - Whether secure boot is enabled for the instance.
- Enable
Vtpm This property is required. bool - Whether the instance uses vTPM.
- Enable
Integrity Monitoring This property is required. bool - Whether integrity monitoring is enabled for the instance.
- Enable
Secure Boot This property is required. bool - Whether secure boot is enabled for the instance.
- Enable
Vtpm This property is required. bool - Whether the instance uses vTPM.
- enable
Integrity Monitoring This property is required. Boolean - Whether integrity monitoring is enabled for the instance.
- enable
Secure Boot This property is required. Boolean - Whether secure boot is enabled for the instance.
- enable
Vtpm This property is required. Boolean - Whether the instance uses vTPM.
- enable
Integrity Monitoring This property is required. boolean - Whether integrity monitoring is enabled for the instance.
- enable
Secure Boot This property is required. boolean - Whether secure boot is enabled for the instance.
- enable
Vtpm This property is required. boolean - Whether the instance uses vTPM.
- enable_
integrity_ monitoring This property is required. bool - Whether integrity monitoring is enabled for the instance.
- enable_
secure_ boot This property is required. bool - Whether secure boot is enabled for the instance.
- enable_
vtpm This property is required. bool - Whether the instance uses vTPM.
- enable
Integrity Monitoring This property is required. Boolean - Whether integrity monitoring is enabled for the instance.
- enable
Secure Boot This property is required. Boolean - Whether secure boot is enabled for the instance.
- enable
Vtpm This property is required. 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.