AttachedDiskState class
Input properties used for looking up and filtering AttachedDisk resources.
Constructors
-
AttachedDiskState({Input<
String?> ? deletionPolicy, Input<String?> ? deviceName, Input<String?> ? disk, Input<String?> ? instance, Input<String?> ? interface, Input<String?> ? mode, Input<String?> ? project, Input<String?> ? zone}) -
Creates a new AttachedDiskState.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".deviceNameSpecifies a unique device name of your choice that isdisknameorselfLinkof the disk that will be attached.instancenameorselfLinkof the compute instance that the disk will be attached to.interfaceThe disk interface used for attaching this disk.modeThe mode in which to attach this disk, either READ_WRITE orprojectThe project that the referenced compute instance is a part of. Ifinstanceis referenced by itszoneThe zone that the referenced compute instance is located within. Ifinstanceis referenced by itsconst -
AttachedDiskState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
deviceName
→ Input<
String?> ? -
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.
final
-
disk
→ Input<
String?> ? -
nameorselfLinkof the disk that will be attached.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
instance
→ Input<
String?> ? -
nameorselfLinkof the compute instance that the disk will be attached to. If theselfLinkis provided thenzoneandprojectare extracted from the self link. If only the name is used thenzoneandprojectmust be defined as properties on the resource or provider.final -
interface
→ Input<
String?> ? -
The disk interface used for attaching this disk.
final
-
mode
→ Input<
String?> ? -
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.
final
-
project
→ Input<
String?> ? -
The project that the referenced compute instance is a part of. If
instanceis referenced by itsselfLinkthe project defined in the link will take precedence.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
zone
→ Input<
String?> ? -
The zone that the referenced compute instance is located within. If
instanceis referenced by itsselfLinkthe zone defined in the link will take precedence.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited