Class InstanceTemplate
Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class InstanceTemplate : IDirectResponseSchema
Properties
CreationTimestamp
[Output Only] The creation timestamp for this instance template in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
[Output Only] A unique identifier for this instance template. The server defines this identifier.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> |
Kind
[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters
long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular
expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all
following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be
a dash.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Properties
The instance properties for this instance template.
Declaration
[JsonProperty("properties")]
public virtual InstanceProperties Properties { get; set; }
Property Value
| Type | Description |
|---|---|
| InstanceProperties |
SelfLink
[Output Only] The URL for this instance template. The server defines this URL.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SourceInstance
The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance
Declaration
[JsonProperty("sourceInstance")]
public virtual string SourceInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SourceInstanceParams
The source instance params to use to create this instance template.
Declaration
[JsonProperty("sourceInstanceParams")]
public virtual SourceInstanceParams SourceInstanceParams { get; set; }
Property Value
| Type | Description |
|---|---|
| SourceInstanceParams |