Show / Hide Table of Contents

Class AttachedDiskState

Inheritance
System.Object
InputArgs
ResourceArgs
AttachedDiskState
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 AttachedDiskState : ResourceArgs

Constructors

View Source

AttachedDiskState()

Declaration
public AttachedDiskState()

Properties

View Source

DeviceName

Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance.

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

Disk

name or self_link of the disk that will be attached.

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

Instance

name or self_link of the compute instance that the disk will be attached to. If the self_link is provided then zone and project are extracted from the self link. If only the name is used then zone and project must be defined as properties on the resource or provider.

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

Mode

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.

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

Project

The project that the referenced compute instance is a part of. If instance is referenced by its self_link the project defined in the link will take precedence.

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

Zone

The zone that the referenced compute instance is located within. If instance is referenced by its self_link the zone defined in the link will take precedence.

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