Class AttachedDiskState
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class AttachedDiskState : ResourceArgs
Constructors
View SourceAttachedDiskState()
Declaration
public AttachedDiskState()
Properties
View SourceDeviceName
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> |
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> |
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> |
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> |
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> |
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> |