Class ComputePerInstanceConfigPreservedStateDisk.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_per_instance_config.ComputePerInstanceConfigPreservedStateDisk.Jsii$Proxy
-
- All Implemented Interfaces:
ComputePerInstanceConfigPreservedStateDisk,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputePerInstanceConfigPreservedStateDisk
@Stability(Stable) @Internal public static final class ComputePerInstanceConfigPreservedStateDisk.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputePerInstanceConfigPreservedStateDisk
An implementation forComputePerInstanceConfigPreservedStateDisk
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_per_instance_config.ComputePerInstanceConfigPreservedStateDisk
ComputePerInstanceConfigPreservedStateDisk.Builder, ComputePerInstanceConfigPreservedStateDisk.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputePerInstanceConfigPreservedStateDisk.Builder builder)Constructor that initializes the object based on literal property values passed by theComputePerInstanceConfigPreservedStateDisk.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetDeleteRule()A value that prescribes what should happen to the stateful disk when the VM instance is deleted.StringgetDeviceName()A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.StringgetMode()The mode of the disk.StringgetSource()The URI of an existing persistent disk to attach under the specified device-name in the format 'projects/project-id/zones/zone/disks/disk-name'.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputePerInstanceConfigPreservedStateDisk.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputePerInstanceConfigPreservedStateDisk.Builder.
-
-
Method Detail
-
getDeviceName
public final String getDeviceName()
Description copied from interface:ComputePerInstanceConfigPreservedStateDiskA unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#device_name ComputePerInstanceConfig#device_name}
- Specified by:
getDeviceNamein interfaceComputePerInstanceConfigPreservedStateDisk
-
getSource
public final String getSource()
Description copied from interface:ComputePerInstanceConfigPreservedStateDiskThe URI of an existing persistent disk to attach under the specified device-name in the format 'projects/project-id/zones/zone/disks/disk-name'.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#source ComputePerInstanceConfig#source}
- Specified by:
getSourcein interfaceComputePerInstanceConfigPreservedStateDisk
-
getDeleteRule
public final String getDeleteRule()
Description copied from interface:ComputePerInstanceConfigPreservedStateDiskA value that prescribes what should happen to the stateful disk when the VM instance is deleted.The available options are 'NEVER' and 'ON_PERMANENT_INSTANCE_DELETION'. 'NEVER' - detach the disk when the VM is deleted, but do not delete the disk. 'ON_PERMANENT_INSTANCE_DELETION' will delete the stateful disk when the VM is permanently deleted from the instance group. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#delete_rule ComputePerInstanceConfig#delete_rule}
- Specified by:
getDeleteRulein interfaceComputePerInstanceConfigPreservedStateDisk
-
getMode
public final String getMode()
Description copied from interface:ComputePerInstanceConfigPreservedStateDiskThe mode of the disk. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_per_instance_config#mode ComputePerInstanceConfig#mode}
- Specified by:
getModein interfaceComputePerInstanceConfigPreservedStateDisk
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-