Show / Hide Table of Contents

Class InstanceTemplateDisk

Inheritance
System.Object
InstanceTemplateDisk
Inherited Members
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.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class InstanceTemplateDisk

Fields

View Source

AutoDelete

Whether or not the disk should be auto-deleted. This defaults to true.

Declaration
public readonly bool? AutoDelete
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

Boot

Indicates that this is a boot disk.

Declaration
public readonly bool? Boot
Field Value
Type Description
System.Nullable<System.Boolean>
View Source

DeviceName

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.

Declaration
public readonly string DeviceName
Field Value
Type Description
System.String
View Source

DiskEncryptionKey

Encrypts or decrypts a disk using a customer-supplied encryption key.

Declaration
public readonly InstanceTemplateDiskDiskEncryptionKey DiskEncryptionKey
Field Value
Type Description
InstanceTemplateDiskDiskEncryptionKey
View Source

DiskName

Name of the disk. When not provided, this defaults to the name of the instance.

Declaration
public readonly string DiskName
Field Value
Type Description
System.String
View Source

DiskSizeGb

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.

Declaration
public readonly int? DiskSizeGb
Field Value
Type Description
System.Nullable<System.Int32>
View Source

DiskType

The GCE disk type. Can be either &quot;pd-ssd&quot;, &quot;local-ssd&quot;, or &quot;pd-standard&quot;.

Declaration
public readonly string DiskType
Field Value
Type Description
System.String
View Source

Interface

Specifies the disk interface to use for attaching this disk.

Declaration
public readonly string Interface
Field Value
Type Description
System.String
View Source

Labels

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

Declaration
public readonly ImmutableDictionary<string, string> Labels
Field Value
Type Description
System.Collections.Immutable.ImmutableDictionary<System.String, System.String>
View Source

Mode

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.

Declaration
public readonly string Mode
Field Value
Type Description
System.String
View Source

Source

The name (not self_link) of the disk (such as those managed by gcp.compute.Disk) to attach.

Note: Either source or source_image is required when creating a new instance except for when creating a local SSD. Check the API docs for details.

Declaration
public readonly string Source
Field Value
Type Description
System.String
View Source

SourceImage

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 source or source_image is required when creating a new instance except for when creating a local SSD. Check the API docs for details.

Declaration
public readonly string SourceImage
Field Value
Type Description
System.String
View Source

Type

The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.

Declaration
public readonly string Type
Field Value
Type Description
System.String
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.