gcp.compute.getInstanceTemplate
Explore with Pulumi AI
Note: Global instance templates can be used in any region. To lower the impact of outages outside your region and gain data residency within your region, use google_compute_region_instance_template.
Get information about a VM instance template resource within GCE. For more information see the official documentation and API.
Using getInstanceTemplate
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 getInstanceTemplate(args: GetInstanceTemplateArgs, opts?: InvokeOptions): Promise<GetInstanceTemplateResult>
function getInstanceTemplateOutput(args: GetInstanceTemplateOutputArgs, opts?: InvokeOptions): Output<GetInstanceTemplateResult>def get_instance_template(filter: Optional[str] = None,
                          most_recent: Optional[bool] = None,
                          name: Optional[str] = None,
                          project: Optional[str] = None,
                          self_link_unique: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetInstanceTemplateResult
def get_instance_template_output(filter: Optional[pulumi.Input[str]] = None,
                          most_recent: Optional[pulumi.Input[bool]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          project: Optional[pulumi.Input[str]] = None,
                          self_link_unique: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTemplateResult]func LookupInstanceTemplate(ctx *Context, args *LookupInstanceTemplateArgs, opts ...InvokeOption) (*LookupInstanceTemplateResult, error)
func LookupInstanceTemplateOutput(ctx *Context, args *LookupInstanceTemplateOutputArgs, opts ...InvokeOption) LookupInstanceTemplateResultOutput> Note: This function is named LookupInstanceTemplate in the Go SDK.
public static class GetInstanceTemplate 
{
    public static Task<GetInstanceTemplateResult> InvokeAsync(GetInstanceTemplateArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceTemplateResult> Invoke(GetInstanceTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceTemplateResult> getInstanceTemplate(GetInstanceTemplateArgs args, InvokeOptions options)
public static Output<GetInstanceTemplateResult> getInstanceTemplate(GetInstanceTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:compute/getInstanceTemplate:getInstanceTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filter string
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- MostRecent bool
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- Project string
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- SelfLink stringUnique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
- Filter string
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- MostRecent bool
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- Project string
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- SelfLink stringUnique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
- filter String
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- mostRecent Boolean
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- project String
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- selfLink StringUnique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
- filter string
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- mostRecent boolean
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- project string
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- selfLink stringUnique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
- filter str
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- most_recent bool
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- name str
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- project str
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- self_link_ strunique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
- filter String
- A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent. One ofname,filterorself_link_uniquemust be provided.
- mostRecent Boolean
- If filteris provided, ensures the most recent template is returned when multiple instance templates match. One ofname,filterorself_link_uniquemust be provided.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- project String
- The ID of the project in which the resource belongs.
If projectis not provided, the provider project is used.
- selfLink StringUnique 
- The self_link_unique URI of the instance template. One of name,filterorself_link_uniquemust be provided.
getInstanceTemplate Result
The following output properties are available:
- AdvancedMachine List<GetFeatures Instance Template Advanced Machine Feature> 
- CanIp boolForward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- ConfidentialInstance List<GetConfigs Instance Template Confidential Instance Config> 
- Enable Confidential Mode on this VM. Structure is documented below
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- A brief description of this resource.
- Disks
List<GetInstance Template Disk> 
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- EffectiveLabels Dictionary<string, string>
- EnableDisplay bool
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- GuestAccelerators List<GetInstance Template Guest Accelerator> 
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceDescription string
- A brief description to use for instances created from this template.
- KeyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- Labels Dictionary<string, string>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- MachineType string
- The machine type to create.
- Metadata Dictionary<string, string>
- Metadata key/value pairs to make available from within instances created from this template.
- MetadataFingerprint string
- The unique fingerprint of the metadata.
- MetadataStartup stringScript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- MinCpu stringPlatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- NamePrefix string
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- NetworkInterfaces List<GetInstance Template Network Interface> 
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- NetworkPerformance List<GetConfigs Instance Template Network Performance Config> 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- PartnerMetadata Dictionary<string, string>
- PulumiLabels Dictionary<string, string>
- Region string
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- ReservationAffinities List<GetInstance Template Reservation Affinity> 
- Dictionary<string, string>
- ResourcePolicies List<string>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- Schedulings
List<GetInstance Template Scheduling> 
- The scheduling strategy to use. More details about this configuration option are detailed below.
- SelfLink string
- The URI of the created resource.
- ServiceAccounts List<GetInstance Template Service Account> 
- Service account to attach to the instance. Structure is documented below.
- ShieldedInstance List<GetConfigs Instance Template Shielded Instance Config> 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- List<string>
- Tags to attach to the instance.
- string
- The unique fingerprint of the tags.
- Filter string
- MostRecent bool
- Name string
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- SelfLink stringUnique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
- AdvancedMachine []GetFeatures Instance Template Advanced Machine Feature 
- CanIp boolForward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- ConfidentialInstance []GetConfigs Instance Template Confidential Instance Config 
- Enable Confidential Mode on this VM. Structure is documented below
- CreationTimestamp string
- Creation timestamp in RFC3339 text format.
- Description string
- A brief description of this resource.
- Disks
[]GetInstance Template Disk 
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- EffectiveLabels map[string]string
- EnableDisplay bool
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- GuestAccelerators []GetInstance Template Guest Accelerator 
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceDescription string
- A brief description to use for instances created from this template.
- KeyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- Labels map[string]string
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- MachineType string
- The machine type to create.
- Metadata map[string]string
- Metadata key/value pairs to make available from within instances created from this template.
- MetadataFingerprint string
- The unique fingerprint of the metadata.
- MetadataStartup stringScript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- MinCpu stringPlatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- NamePrefix string
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- NetworkInterfaces []GetInstance Template Network Interface 
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- NetworkPerformance []GetConfigs Instance Template Network Performance Config 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- PartnerMetadata map[string]string
- PulumiLabels map[string]string
- Region string
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- ReservationAffinities []GetInstance Template Reservation Affinity 
- map[string]string
- ResourcePolicies []string
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- Schedulings
[]GetInstance Template Scheduling 
- The scheduling strategy to use. More details about this configuration option are detailed below.
- SelfLink string
- The URI of the created resource.
- ServiceAccounts []GetInstance Template Service Account 
- Service account to attach to the instance. Structure is documented below.
- ShieldedInstance []GetConfigs Instance Template Shielded Instance Config 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- []string
- Tags to attach to the instance.
- string
- The unique fingerprint of the tags.
- Filter string
- MostRecent bool
- Name string
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- SelfLink stringUnique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
- advancedMachine List<GetFeatures Instance Template Advanced Machine Feature> 
- canIp BooleanForward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- confidentialInstance List<GetConfigs Instance Template Confidential Instance Config> 
- Enable Confidential Mode on this VM. Structure is documented below
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- A brief description of this resource.
- disks
List<GetInstance Template Disk> 
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- effectiveLabels Map<String,String>
- enableDisplay Boolean
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- guestAccelerators List<GetInstance Template Guest Accelerator> 
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceDescription String
- A brief description to use for instances created from this template.
- keyRevocation StringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labels Map<String,String>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- machineType String
- The machine type to create.
- metadata Map<String,String>
- Metadata key/value pairs to make available from within instances created from this template.
- metadataFingerprint String
- The unique fingerprint of the metadata.
- metadataStartup StringScript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- minCpu StringPlatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- namePrefix String
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- networkInterfaces List<GetInstance Template Network Interface> 
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- networkPerformance List<GetConfigs Instance Template Network Performance Config> 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- partnerMetadata Map<String,String>
- pulumiLabels Map<String,String>
- region String
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- reservationAffinities List<GetInstance Template Reservation Affinity> 
- Map<String,String>
- resourcePolicies List<String>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- schedulings
List<GetInstance Template Scheduling> 
- The scheduling strategy to use. More details about this configuration option are detailed below.
- selfLink String
- The URI of the created resource.
- serviceAccounts List<GetInstance Template Service Account> 
- Service account to attach to the instance. Structure is documented below.
- shieldedInstance List<GetConfigs Instance Template Shielded Instance Config> 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- List<String>
- Tags to attach to the instance.
- String
- The unique fingerprint of the tags.
- filter String
- mostRecent Boolean
- name String
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- selfLink StringUnique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
- advancedMachine GetFeatures Instance Template Advanced Machine Feature[] 
- canIp booleanForward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- confidentialInstance GetConfigs Instance Template Confidential Instance Config[] 
- Enable Confidential Mode on this VM. Structure is documented below
- creationTimestamp string
- Creation timestamp in RFC3339 text format.
- description string
- A brief description of this resource.
- disks
GetInstance Template Disk[] 
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- effectiveLabels {[key: string]: string}
- enableDisplay boolean
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- guestAccelerators GetInstance Template Guest Accelerator[] 
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- instanceDescription string
- A brief description to use for instances created from this template.
- keyRevocation stringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labels {[key: string]: string}
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- machineType string
- The machine type to create.
- metadata {[key: string]: string}
- Metadata key/value pairs to make available from within instances created from this template.
- metadataFingerprint string
- The unique fingerprint of the metadata.
- metadataStartup stringScript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- minCpu stringPlatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- namePrefix string
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- networkInterfaces GetInstance Template Network Interface[] 
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- networkPerformance GetConfigs Instance Template Network Performance Config[] 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- partnerMetadata {[key: string]: string}
- pulumiLabels {[key: string]: string}
- region string
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- reservationAffinities GetInstance Template Reservation Affinity[] 
- {[key: string]: string}
- resourcePolicies string[]
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- schedulings
GetInstance Template Scheduling[] 
- The scheduling strategy to use. More details about this configuration option are detailed below.
- selfLink string
- The URI of the created resource.
- serviceAccounts GetInstance Template Service Account[] 
- Service account to attach to the instance. Structure is documented below.
- shieldedInstance GetConfigs Instance Template Shielded Instance Config[] 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- string[]
- Tags to attach to the instance.
- string
- The unique fingerprint of the tags.
- filter string
- mostRecent boolean
- name string
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- selfLink stringUnique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
- advanced_machine_ Sequence[Getfeatures Instance Template Advanced Machine Feature] 
- can_ip_ boolforward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- confidential_instance_ Sequence[Getconfigs Instance Template Confidential Instance Config] 
- Enable Confidential Mode on this VM. Structure is documented below
- creation_timestamp str
- Creation timestamp in RFC3339 text format.
- description str
- A brief description of this resource.
- disks
Sequence[GetInstance Template Disk] 
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- effective_labels Mapping[str, str]
- enable_display bool
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- guest_accelerators Sequence[GetInstance Template Guest Accelerator] 
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_description str
- A brief description to use for instances created from this template.
- key_revocation_ straction_ type 
- Action to be taken when a customer's encryption key is revoked.
- labels Mapping[str, str]
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- machine_type str
- The machine type to create.
- metadata Mapping[str, str]
- Metadata key/value pairs to make available from within instances created from this template.
- metadata_fingerprint str
- The unique fingerprint of the metadata.
- metadata_startup_ strscript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- min_cpu_ strplatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- name_prefix str
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- network_interfaces Sequence[GetInstance Template Network Interface] 
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- network_performance_ Sequence[Getconfigs Instance Template Network Performance Config] 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- partner_metadata Mapping[str, str]
- pulumi_labels Mapping[str, str]
- region str
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- reservation_affinities Sequence[GetInstance Template Reservation Affinity] 
- Mapping[str, str]
- resource_policies Sequence[str]
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- schedulings
Sequence[GetInstance Template Scheduling] 
- The scheduling strategy to use. More details about this configuration option are detailed below.
- self_link str
- The URI of the created resource.
- service_accounts Sequence[GetInstance Template Service Account] 
- Service account to attach to the instance. Structure is documented below.
- shielded_instance_ Sequence[Getconfigs Instance Template Shielded Instance Config] 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- Sequence[str]
- Tags to attach to the instance.
- str
- The unique fingerprint of the tags.
- filter str
- most_recent bool
- name str
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self_link_ strunique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
- advancedMachine List<Property Map>Features 
- canIp BooleanForward 
- Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
- confidentialInstance List<Property Map>Configs 
- Enable Confidential Mode on this VM. Structure is documented below
- creationTimestamp String
- Creation timestamp in RFC3339 text format.
- description String
- A brief description of this resource.
- disks List<Property Map>
- Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
- effectiveLabels Map<String>
- enableDisplay Boolean
- Enable Virtual Displays on this instance.
Note: allow_stopping_for_updatemust be set to true in order to update this field.
- guestAccelerators List<Property Map>
- List of the type and count of accelerator cards attached to the instance. Structure documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceDescription String
- A brief description to use for instances created from this template.
- keyRevocation StringAction Type 
- Action to be taken when a customer's encryption key is revoked.
- labels Map<String>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- machineType String
- The machine type to create.
- metadata Map<String>
- Metadata key/value pairs to make available from within instances created from this template.
- metadataFingerprint String
- The unique fingerprint of the metadata.
- metadataStartup StringScript 
- An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
- minCpu StringPlatform 
- Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as
Intel HaswellorIntel Skylake. See the complete list here.
- namePrefix String
- Creates a unique name beginning with the specified
prefix. Conflicts with name.
- networkInterfaces List<Property Map>
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
- networkPerformance List<Property Map>Configs 
- The network performance configuration setting for the instance, if set. Structure is documented below.
- partnerMetadata Map<String>
- pulumiLabels Map<String>
- region String
- An instance template is a global resource that is not
bound to a zone or a region. However, you can still specify some regional
resources in an instance template, which restricts the template to the
region where that resource resides. For example, a custom subnetworkresource is tied to a specific region. Defaults to the region of the Provider if no value is given.
- reservationAffinities List<Property Map>
- Map<String>
- resourcePolicies List<String>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- schedulings List<Property Map>
- The scheduling strategy to use. More details about this configuration option are detailed below.
- selfLink String
- The URI of the created resource.
- serviceAccounts List<Property Map>
- Service account to attach to the instance. Structure is documented below.
- shieldedInstance List<Property Map>Configs 
- Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.
Note: shielded_instance_configcan only be used with boot images with shielded vm support. See the complete list here.
- List<String>
- Tags to attach to the instance.
- String
- The unique fingerprint of the tags.
- filter String
- mostRecent Boolean
- name String
- The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- selfLink StringUnique 
- A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.
Supporting Types
GetInstanceTemplateAdvancedMachineFeature     
- EnableNested boolVirtualization 
- Whether to enable nested virtualization or not.
- EnableUefi boolNetworking 
- Whether to enable UEFI networking or not.
- PerformanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- ThreadsPer intCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- TurboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- VisibleCore intCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- EnableNested boolVirtualization 
- Whether to enable nested virtualization or not.
- EnableUefi boolNetworking 
- Whether to enable UEFI networking or not.
- PerformanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- ThreadsPer intCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- TurboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- VisibleCore intCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested BooleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi BooleanNetworking 
- Whether to enable UEFI networking or not.
- performanceMonitoring StringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer IntegerCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode String
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore IntegerCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested booleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi booleanNetworking 
- Whether to enable UEFI networking or not.
- performanceMonitoring stringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer numberCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode string
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore numberCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enable_nested_ boolvirtualization 
- Whether to enable nested virtualization or not.
- enable_uefi_ boolnetworking 
- Whether to enable UEFI networking or not.
- performance_monitoring_ strunit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threads_per_ intcore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turbo_mode str
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visible_core_ intcount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
- enableNested BooleanVirtualization 
- Whether to enable nested virtualization or not.
- enableUefi BooleanNetworking 
- Whether to enable UEFI networking or not.
- performanceMonitoring StringUnit 
- The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL".
- threadsPer NumberCore 
- The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.
- turboMode String
- Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX".
- visibleCore NumberCount 
- The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.
GetInstanceTemplateConfidentialInstanceConfig     
- ConfidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- EnableConfidential boolCompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
- ConfidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- EnableConfidential boolCompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
- confidentialInstance StringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential BooleanCompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
- confidentialInstance stringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential booleanCompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
- confidential_instance_ strtype 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enable_confidential_ boolcompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
- confidentialInstance StringType 
- The confidential computing technology the instance uses. SEV is an AMD feature. TDX is an Intel feature. One of the following values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = "AMD Milan" is currently required.
- enableConfidential BooleanCompute 
- Defines whether the instance should have confidential compute enabled. on_host_maintenancehas to be set to TERMINATE or this will fail to create the VM.
GetInstanceTemplateDisk   
- AutoDelete bool
- Whether or not the disk should be auto-deleted. This defaults to true.
- Boot bool
- Indicates that this is a boot disk.
- DeviceName string
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- DiskEncryption List<GetKeys Instance Template Disk Disk Encryption Key> 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- DiskName string
- Name of the disk. When not provided, this defaults to the name of the instance.
- DiskSize intGb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- DiskType string
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- Interface string
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- Labels Dictionary<string, string>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- Mode string
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- ProvisionedIops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- ProvisionedThroughput int
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- Dictionary<string, string>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- ResourcePolicies List<string>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- Source string
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- SourceImage string
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- SourceImage List<GetEncryption Keys Instance Template Disk Source Image Encryption Key> 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- SourceSnapshot string
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- SourceSnapshot List<GetEncryption Keys Instance Template Disk Source Snapshot Encryption Key> 
- The customer-supplied encryption key of the source snapshot.
- Type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- AutoDelete bool
- Whether or not the disk should be auto-deleted. This defaults to true.
- Boot bool
- Indicates that this is a boot disk.
- DeviceName string
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- DiskEncryption []GetKeys Instance Template Disk Disk Encryption Key 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- DiskName string
- Name of the disk. When not provided, this defaults to the name of the instance.
- DiskSize intGb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- DiskType string
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- Interface string
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- Labels map[string]string
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- Mode string
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- ProvisionedIops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- ProvisionedThroughput int
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- map[string]string
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- ResourcePolicies []string
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- Source string
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- SourceImage string
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- SourceImage []GetEncryption Keys Instance Template Disk Source Image Encryption Key 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- SourceSnapshot string
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- SourceSnapshot []GetEncryption Keys Instance Template Disk Source Snapshot Encryption Key 
- The customer-supplied encryption key of the source snapshot.
- Type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- autoDelete Boolean
- Whether or not the disk should be auto-deleted. This defaults to true.
- boot Boolean
- Indicates that this is a boot disk.
- deviceName String
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- diskEncryption List<GetKeys Instance Template Disk Disk Encryption Key> 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- diskName String
- Name of the disk. When not provided, this defaults to the name of the instance.
- diskSize IntegerGb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- diskType String
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- interface_ String
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- labels Map<String,String>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- mode String
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- provisionedIops Integer
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- provisionedThroughput Integer
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- Map<String,String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies List<String>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- source String
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage String
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage List<GetEncryption Keys Instance Template Disk Source Image Encryption Key> 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- sourceSnapshot String
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- sourceSnapshot List<GetEncryption Keys Instance Template Disk Source Snapshot Encryption Key> 
- The customer-supplied encryption key of the source snapshot.
- type String
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- autoDelete boolean
- Whether or not the disk should be auto-deleted. This defaults to true.
- boot boolean
- Indicates that this is a boot disk.
- deviceName string
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- diskEncryption GetKeys Instance Template Disk Disk Encryption Key[] 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- diskName string
- Name of the disk. When not provided, this defaults to the name of the instance.
- diskSize numberGb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- diskType string
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- interface string
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- labels {[key: string]: string}
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- mode string
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- provisionedIops number
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- provisionedThroughput number
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- {[key: string]: string}
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies string[]
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- source string
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage string
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage GetEncryption Keys Instance Template Disk Source Image Encryption Key[] 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- sourceSnapshot string
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- sourceSnapshot GetEncryption Keys Instance Template Disk Source Snapshot Encryption Key[] 
- The customer-supplied encryption key of the source snapshot.
- type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- auto_delete bool
- Whether or not the disk should be auto-deleted. This defaults to true.
- boot bool
- Indicates that this is a boot disk.
- device_name str
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- disk_encryption_ Sequence[Getkeys Instance Template Disk Disk Encryption Key] 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- disk_name str
- Name of the disk. When not provided, this defaults to the name of the instance.
- disk_size_ intgb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- disk_type str
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- interface str
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- labels Mapping[str, str]
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- mode str
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- provisioned_iops int
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- provisioned_throughput int
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- Mapping[str, str]
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resource_policies Sequence[str]
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- source str
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- source_image str
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- source_image_ Sequence[Getencryption_ keys Instance Template Disk Source Image Encryption Key] 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- source_snapshot str
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- source_snapshot_ Sequence[Getencryption_ keys Instance Template Disk Source Snapshot Encryption Key] 
- The customer-supplied encryption key of the source snapshot.
- type str
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- autoDelete Boolean
- Whether or not the disk should be auto-deleted. This defaults to true.
- boot Boolean
- Indicates that this is a boot disk.
- deviceName String
- A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
- diskEncryption List<Property Map>Keys 
- Encrypts or decrypts a disk using a customer-supplied encryption key.
- diskName String
- Name of the disk. When not provided, this defaults to the name of the instance.
- diskSize NumberGb 
- The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be exactly 375GB.
- diskType String
- The GCE disk type. Such as "pd-ssd","local-ssd","pd-balanced"or"pd-standard".
- interface String
- Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI.
- labels Map<String>
- (Optional) A set of ket/value label pairs to assign to disk created from this template
- mode String
- The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
- provisionedIops Number
- Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.
- provisionedThroughput Number
- Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
- Map<String>
- A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.
- resourcePolicies List<String>
- (Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
- source String
- The name (not self_link) of the disk (such as those managed by - gcp.compute.Disk) to attach.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage String
- The image from which to initialize this disk. This can be one of: the image's - self_link,- projects/{project}/global/images/{image},- projects/{project}/global/images/family/{family},- global/images/{image},- global/images/family/{family},- family/{family},- {project}/{family},- {project}/{image},- {family}, or- {image}.- Note: Either - sourceor- source_imageis required in a disk block unless the disk type is- local-ssd. Check the API docs for details.
- sourceImage List<Property Map>Encryption Keys 
- The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. - Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. 
- sourceSnapshot String
- The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
- sourceSnapshot List<Property Map>Encryption Keys 
- The customer-supplied encryption key of the source snapshot.
- type String
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
GetInstanceTemplateDiskDiskEncryptionKey      
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kms_key_ strself_ link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
GetInstanceTemplateDiskSourceImageEncryptionKey       
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- KmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- KmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kms_key_ strself_ link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kms_key_ strservice_ account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
GetInstanceTemplateDiskSourceSnapshotEncryptionKey       
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- KmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- KmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- KmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey stringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey stringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kms_key_ strself_ link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kms_key_ strservice_ account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
- kmsKey StringSelf Link 
- The self link of the encryption key that is stored in Google Cloud KMS
- kmsKey StringService Account 
- The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.
GetInstanceTemplateGuestAccelerator    
GetInstanceTemplateNetworkInterface    
- AccessConfigs List<GetInstance Template Network Interface Access Config> 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- AliasIp List<GetRanges Instance Template Network Interface Alias Ip Range> 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- InternalIpv6Prefix intLength 
- The prefix length of the primary internal IPv6 range.
- Ipv6AccessConfigs List<GetInstance Template Network Interface Ipv6Access Config> 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- Ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- Network string
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- NetworkAttachment string
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- NetworkIp string
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- NicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- QueueCount int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- StackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- Subnetwork string
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- SubnetworkProject string
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
- AccessConfigs []GetInstance Template Network Interface Access Config 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- AliasIp []GetRanges Instance Template Network Interface Alias Ip Range 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- InternalIpv6Prefix intLength 
- The prefix length of the primary internal IPv6 range.
- Ipv6AccessConfigs []GetInstance Template Network Interface Ipv6Access Config 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- Ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- Ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- Network string
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- NetworkAttachment string
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- NetworkIp string
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- NicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- QueueCount int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- StackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- Subnetwork string
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- SubnetworkProject string
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
- accessConfigs List<GetInstance Template Network Interface Access Config> 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- aliasIp List<GetRanges Instance Template Network Interface Alias Ip Range> 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- internalIpv6Prefix IntegerLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs List<GetInstance Template Network Interface Ipv6Access Config> 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType String
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address String
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- network String
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- networkAttachment String
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- networkIp String
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- nicType String
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- queueCount Integer
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- stackType String
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork String
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- subnetworkProject String
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
- accessConfigs GetInstance Template Network Interface Access Config[] 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- aliasIp GetRanges Instance Template Network Interface Alias Ip Range[] 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- internalIpv6Prefix numberLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs GetInstance Template Network Interface Ipv6Access Config[] 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType string
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address string
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- network string
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- networkAttachment string
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- networkIp string
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- nicType string
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- queueCount number
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- stackType string
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork string
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- subnetworkProject string
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
- access_configs Sequence[GetInstance Template Network Interface Access Config] 
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- alias_ip_ Sequence[Getranges Instance Template Network Interface Alias Ip Range] 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- internal_ipv6_ intprefix_ length 
- The prefix length of the primary internal IPv6 range.
- ipv6_access_ Sequence[Getconfigs Instance Template Network Interface Ipv6Access Config] 
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6_access_ strtype 
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6_address str
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name str
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- network str
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- network_attachment str
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- network_ip str
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- nic_type str
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- queue_count int
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- stack_type str
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork str
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- subnetwork_project str
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
- accessConfigs List<Property Map>
- Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you are running the provider can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be repeated multiple times. Structure documented below.
- aliasIp List<Property Map>Ranges 
- An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.
- internalIpv6Prefix NumberLength 
- The prefix length of the primary internal IPv6 range.
- ipv6AccessConfigs List<Property Map>
- An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
- ipv6AccessType String
- One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
- ipv6Address String
- An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- network String
- The name or self_link of the network to attach this interface to.
Use networkattribute for Legacy or Auto subnetted networks andsubnetworkfor custom subnetted networks.
- networkAttachment String
- The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}.
- networkIp String
- The private IP address to assign to the instance. If empty, the address will be automatically assigned.
- nicType String
- The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, MRDMA, and IRDMA
- queueCount Number
- The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
- stackType String
- The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
- subnetwork String
- the name of the subnetwork to attach this interface
to. The subnetwork must exist in the same regionthis instance will be created in. Eithernetworkorsubnetworkmust be provided.
- subnetworkProject String
- The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.
GetInstanceTemplateNetworkInterfaceAccessConfig      
- NatIp string
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
- NatIp string
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- PublicPtr stringDomain Name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
- natIp String
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
- natIp string
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- networkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr stringDomain Name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
- nat_ip str
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- network_tier str
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- public_ptr_ strdomain_ name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
- natIp String
- The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr StringDomain Name 
- The DNS domain name for the public PTR record.The DNS domain name for the public PTR record.
GetInstanceTemplateNetworkInterfaceAliasIpRange       
- IpCidr stringRange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- SubnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
- IpCidr stringRange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- SubnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
- ipCidr StringRange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- subnetworkRange StringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
- ipCidr stringRange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- subnetworkRange stringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
- ip_cidr_ strrange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- subnetwork_range_ strname 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
- ipCidr StringRange 
- The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error.
- subnetworkRange StringName 
- The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used.
GetInstanceTemplateNetworkInterfaceIpv6AccessConfig      
- ExternalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- ExternalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- PublicPtr stringDomain Name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
- ExternalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- ExternalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- Name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- NetworkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- PublicPtr stringDomain Name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
- externalIpv6 String
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- externalIpv6Prefix StringLength 
- The prefix length of the external IPv6 range.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr StringDomain Name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
- externalIpv6 string
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- externalIpv6Prefix stringLength 
- The prefix length of the external IPv6 range.
- name string
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- networkTier string
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr stringDomain Name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
- external_ipv6 str
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- external_ipv6_ strprefix_ length 
- The prefix length of the external IPv6 range.
- name str
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- network_tier str
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- public_ptr_ strdomain_ name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
- externalIpv6 String
- The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically.
- externalIpv6Prefix StringLength 
- The prefix length of the external IPv6 range.
- name String
- The name of the instance template. One of name,filterorself_link_uniquemust be provided.
- networkTier String
- The [networking tier][network-tier] used for configuring this instance template. This field can take the following values: PREMIUM or STANDARD. If this field is not specified, it is assumed to be PREMIUM.
- publicPtr StringDomain Name 
- The domain name to be used when creating DNSv6 records for the external IPv6 ranges.
GetInstanceTemplateNetworkPerformanceConfig     
- TotalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- TotalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- totalEgress StringBandwidth Tier 
- The egress bandwidth tier for the instance.
- totalEgress stringBandwidth Tier 
- The egress bandwidth tier for the instance.
- total_egress_ strbandwidth_ tier 
- The egress bandwidth tier for the instance.
- totalEgress StringBandwidth Tier 
- The egress bandwidth tier for the instance.
GetInstanceTemplateReservationAffinity    
- SpecificReservations List<GetInstance Template Reservation Affinity Specific Reservation> 
- Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- SpecificReservations []GetInstance Template Reservation Affinity Specific Reservation 
- Specifies the label selector for the reservation to use.
- Type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- specificReservations List<GetInstance Template Reservation Affinity Specific Reservation> 
- Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- specificReservations GetInstance Template Reservation Affinity Specific Reservation[] 
- Specifies the label selector for the reservation to use.
- type string
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- specific_reservations Sequence[GetInstance Template Reservation Affinity Specific Reservation] 
- Specifies the label selector for the reservation to use.
- type str
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
- specificReservations List<Property Map>
- Specifies the label selector for the reservation to use.
- type String
- The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.
GetInstanceTemplateReservationAffinitySpecificReservation      
GetInstanceTemplateScheduling   
- AutomaticRestart bool
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- AvailabilityDomain int
- Specifies the availability domain, which this instance should be scheduled on.
- GracefulShutdowns List<GetInstance Template Scheduling Graceful Shutdown> 
- Settings for the instance to perform a graceful shutdown.
- HostError intTimeout Seconds 
- Beta Time in seconds for host error detection.
- InstanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- LocalSsd List<GetRecovery Timeouts Instance Template Scheduling Local Ssd Recovery Timeout> 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- MaxRun List<GetDurations Instance Template Scheduling Max Run Duration> 
- The timeout for new network connections to hosts.
- MinNode intCpus 
- Minimum number of cpus for the instance.
- NodeAffinities List<GetInstance Template 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. Read more on sole-tenant node creation here. Structure documented below.
- OnHost stringMaintenance 
- Defines the maintenance behavior for this instance.
- OnInstance List<GetStop Actions Instance Template Scheduling On Instance Stop Action> 
- Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Allows instance to be preempted. This defaults to false. Read more on this here.
- ProvisioningModel string
- Describe the type of preemptible VM.
- AutomaticRestart bool
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- AvailabilityDomain int
- Specifies the availability domain, which this instance should be scheduled on.
- GracefulShutdowns []GetInstance Template Scheduling Graceful Shutdown 
- Settings for the instance to perform a graceful shutdown.
- HostError intTimeout Seconds 
- Beta Time in seconds for host error detection.
- InstanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- LocalSsd []GetRecovery Timeouts Instance Template Scheduling Local Ssd Recovery Timeout 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- MaintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- MaxRun []GetDurations Instance Template Scheduling Max Run Duration 
- The timeout for new network connections to hosts.
- MinNode intCpus 
- Minimum number of cpus for the instance.
- NodeAffinities []GetInstance Template 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. Read more on sole-tenant node creation here. Structure documented below.
- OnHost stringMaintenance 
- Defines the maintenance behavior for this instance.
- OnInstance []GetStop Actions Instance Template Scheduling On Instance Stop Action 
- Defines the behaviour for instances with the instance_termination_action.
- Preemptible bool
- Allows instance to be preempted. This defaults to false. Read more on this here.
- ProvisioningModel string
- Describe the type of preemptible VM.
- automaticRestart Boolean
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- availabilityDomain Integer
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns List<GetInstance Template Scheduling Graceful Shutdown> 
- Settings for the instance to perform a graceful shutdown.
- hostError IntegerTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination StringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd List<GetRecovery Timeouts Instance Template Scheduling Local Ssd Recovery Timeout> 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun List<GetDurations Instance Template Scheduling Max Run Duration> 
- The timeout for new network connections to hosts.
- minNode IntegerCpus 
- Minimum number of cpus for the instance.
- nodeAffinities List<GetInstance Template 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. Read more on sole-tenant node creation here. Structure documented below.
- onHost StringMaintenance 
- Defines the maintenance behavior for this instance.
- onInstance List<GetStop Actions Instance Template Scheduling On Instance Stop Action> 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Allows instance to be preempted. This defaults to false. Read more on this here.
- provisioningModel String
- Describe the type of preemptible VM.
- automaticRestart boolean
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- availabilityDomain number
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns GetInstance Template Scheduling Graceful Shutdown[] 
- Settings for the instance to perform a graceful shutdown.
- hostError numberTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination stringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd GetRecovery Timeouts Instance Template Scheduling Local Ssd Recovery Timeout[] 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval string
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun GetDurations Instance Template Scheduling Max Run Duration[] 
- The timeout for new network connections to hosts.
- minNode numberCpus 
- Minimum number of cpus for the instance.
- nodeAffinities GetInstance Template 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. Read more on sole-tenant node creation here. Structure documented below.
- onHost stringMaintenance 
- Defines the maintenance behavior for this instance.
- onInstance GetStop Actions Instance Template Scheduling On Instance Stop Action[] 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible boolean
- Allows instance to be preempted. This defaults to false. Read more on this here.
- provisioningModel string
- Describe the type of preemptible VM.
- automatic_restart bool
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- availability_domain int
- Specifies the availability domain, which this instance should be scheduled on.
- graceful_shutdowns Sequence[GetInstance Template Scheduling Graceful Shutdown] 
- Settings for the instance to perform a graceful shutdown.
- host_error_ inttimeout_ seconds 
- Beta Time in seconds for host error detection.
- instance_termination_ straction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- local_ssd_ Sequence[Getrecovery_ timeouts Instance Template Scheduling Local Ssd Recovery Timeout] 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenance_interval str
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- max_run_ Sequence[Getdurations Instance Template Scheduling Max Run Duration] 
- The timeout for new network connections to hosts.
- min_node_ intcpus 
- Minimum number of cpus for the instance.
- node_affinities Sequence[GetInstance Template 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. Read more on sole-tenant node creation here. Structure documented below.
- on_host_ strmaintenance 
- Defines the maintenance behavior for this instance.
- on_instance_ Sequence[Getstop_ actions Instance Template Scheduling On Instance Stop Action] 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible bool
- Allows instance to be preempted. This defaults to false. Read more on this here.
- provisioning_model str
- Describe the type of preemptible VM.
- automaticRestart Boolean
- Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
- availabilityDomain Number
- Specifies the availability domain, which this instance should be scheduled on.
- gracefulShutdowns List<Property Map>
- Settings for the instance to perform a graceful shutdown.
- hostError NumberTimeout Seconds 
- Beta Time in seconds for host error detection.
- instanceTermination StringAction 
- Describe the type of termination action for SPOTVM. Can beSTOPorDELETE. Read more on here
- localSsd List<Property Map>Recovery Timeouts 
- Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.
- maintenanceInterval String
- Specifies the frequency of planned maintenance events. The accepted values are: PERIODIC
- maxRun List<Property Map>Durations 
- The timeout for new network connections to hosts.
- minNode NumberCpus 
- Minimum number of cpus for the instance.
- nodeAffinities List<Property Map>
- Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems. Read more on sole-tenant node creation here. Structure documented below.
- onHost StringMaintenance 
- Defines the maintenance behavior for this instance.
- onInstance List<Property Map>Stop Actions 
- Defines the behaviour for instances with the instance_termination_action.
- preemptible Boolean
- Allows instance to be preempted. This defaults to false. Read more on this here.
- provisioningModel String
- Describe the type of preemptible VM.
GetInstanceTemplateSchedulingGracefulShutdown     
- Enabled bool
- Opts-in for graceful shutdown.
- MaxDurations List<GetInstance Template Scheduling Graceful Shutdown Max Duration> 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- Enabled bool
- Opts-in for graceful shutdown.
- MaxDurations []GetInstance Template Scheduling Graceful Shutdown Max Duration 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled Boolean
- Opts-in for graceful shutdown.
- maxDurations List<GetInstance Template Scheduling Graceful Shutdown Max Duration> 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled boolean
- Opts-in for graceful shutdown.
- maxDurations GetInstance Template Scheduling Graceful Shutdown Max Duration[] 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled bool
- Opts-in for graceful shutdown.
- max_durations Sequence[GetInstance Template Scheduling Graceful Shutdown Max Duration] 
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
- enabled Boolean
- Opts-in for graceful shutdown.
- maxDurations List<Property Map>
- The time allotted for the instance to gracefully shut down. If the graceful shutdown isn't complete after this time, then the instance transitions to the STOPPING state.
GetInstanceTemplateSchedulingGracefulShutdownMaxDuration       
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. The value must be between 1 and 3600, which is 3,600 seconds (one hour).
GetInstanceTemplateSchedulingLocalSsdRecoveryTimeout       
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceTemplateSchedulingMaxRunDuration      
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Integer
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds int
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds Number
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive.
GetInstanceTemplateSchedulingNodeAffinity     
GetInstanceTemplateSchedulingOnInstanceStopAction       
- DiscardLocal boolSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- DiscardLocal boolSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal BooleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal booleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discard_local_ boolssd 
- If true, the contents of any attached Local SSD disks will be discarded.
- discardLocal BooleanSsd 
- If true, the contents of any attached Local SSD disks will be discarded.
GetInstanceTemplateServiceAccount    
- Email string
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- Scopes List<string>
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
- Email string
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- Scopes []string
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
- email String
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- scopes List<String>
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
- email string
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- scopes string[]
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
- email str
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- scopes Sequence[str]
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
- email String
- The service account e-mail address. If not given, the default Google Compute Engine service account is used.
- scopes List<String>
- A list of service scopes. Both OAuth2 URLs and gcloud
short names are supported. To allow full access to all Cloud APIs, use the
cloud-platformscope. See a complete list of scopes here.
GetInstanceTemplateShieldedInstanceConfig     
- EnableIntegrity boolMonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- EnableSecure boolBoot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- EnableVtpm bool
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
- EnableIntegrity boolMonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- EnableSecure boolBoot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- EnableVtpm bool
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
- enableIntegrity BooleanMonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- enableSecure BooleanBoot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- enableVtpm Boolean
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
- enableIntegrity booleanMonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- enableSecure booleanBoot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- enableVtpm boolean
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
- enable_integrity_ boolmonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- enable_secure_ boolboot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- enable_vtpm bool
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
- enableIntegrity BooleanMonitoring 
- Compare the most recent boot measurements to the integrity policy baseline and return a pair of pass/fail results depending on whether they match or not. Defaults to true.
 
- enableSecure BooleanBoot 
- Verify the digital signature of all boot components, and halt the boot process if signature verification fails. Defaults to false.
 
- enableVtpm Boolean
- Use a virtualized trusted platform module, which is a specialized computer chip you can use to encrypt objects like keys and certificates. Defaults to true.
 
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.