Show / Hide Table of Contents

Class InstanceTemplateState

Inheritance
System.Object
InputArgs
ResourceArgs
InstanceTemplateState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceTemplateState : ResourceArgs

Constructors

View Source

InstanceTemplateState()

Declaration
public InstanceTemplateState()

Properties

View Source

CanIpForward

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

Declaration
public Input<bool> CanIpForward { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Description

A brief description of this resource.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Disks

Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.

Declaration
public InputList<InstanceTemplateDiskGetArgs> Disks { get; set; }
Property Value
Type Description
InputList<InstanceTemplateDiskGetArgs>
View Source

EnableDisplay

Enable Virtual Displays on this instance. Note: allow_stopping_for_update must be set to true in order to update this field.

Declaration
public Input<bool> EnableDisplay { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

GuestAccelerators

List of the type and count of accelerator cards attached to the instance. Structure documented below.

Declaration
public InputList<InstanceTemplateGuestAcceleratorGetArgs> GuestAccelerators { get; set; }
Property Value
Type Description
InputList<InstanceTemplateGuestAcceleratorGetArgs>
View Source

InstanceDescription

A brief description to use for instances created from this template.

Declaration
public Input<string> InstanceDescription { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Labels

A set of key/value label pairs to assign to instances created from this template,

Declaration
public InputMap<string> Labels { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

MachineType

The machine type to create.

Declaration
public Input<string> MachineType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Metadata

Metadata key/value pairs to make available from within instances created from this template.

Declaration
public InputMap<object> Metadata { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

MetadataFingerprint

The unique fingerprint of the metadata.

Declaration
public Input<string> MetadataFingerprint { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MetadataStartupScript

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.

Declaration
public Input<string> MetadataStartupScript { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MinCpuPlatform

Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here.

Declaration
public Input<string> MinCpuPlatform { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NamePrefix

Creates a unique name beginning with the specified prefix. Conflicts with name.

Declaration
public Input<string> NamePrefix { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NetworkInterfaces

Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.

Declaration
public InputList<InstanceTemplateNetworkInterfaceGetArgs> NetworkInterfaces { get; set; }
Property Value
Type Description
InputList<InstanceTemplateNetworkInterfaceGetArgs>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Region

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 subnetwork resource is tied to a specific region. Defaults to the region of the Provider if no value is given.

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Scheduling

The scheduling strategy to use. More details about this configuration option are detailed below.

Declaration
public Input<InstanceTemplateSchedulingGetArgs> Scheduling { get; set; }
Property Value
Type Description
Input<InstanceTemplateSchedulingGetArgs>
View Source

SelfLink

The URI of the created resource.

Declaration
public Input<string> SelfLink { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ServiceAccount

Service account to attach to the instance. Structure is documented below.

Declaration
public Input<InstanceTemplateServiceAccountGetArgs> ServiceAccount { get; set; }
Property Value
Type Description
Input<InstanceTemplateServiceAccountGetArgs>
View Source

ShieldedInstanceConfig

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_config can only be used with boot images with shielded vm support. See the complete list here.

Declaration
public Input<InstanceTemplateShieldedInstanceConfigGetArgs> ShieldedInstanceConfig { get; set; }
Property Value
Type Description
Input<InstanceTemplateShieldedInstanceConfigGetArgs>
View Source

Tags

Tags to attach to the instance.

Declaration
public InputList<string> Tags { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

TagsFingerprint

The unique fingerprint of the tags.

Declaration
public Input<string> TagsFingerprint { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.