Class ComputeAttachedDiskConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_attached_disk.ComputeAttachedDiskConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeAttachedDiskConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeAttachedDiskConfig
@Stability(Stable) @Internal public static final class ComputeAttachedDiskConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeAttachedDiskConfig
An implementation forComputeAttachedDiskConfig
-
-
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_attached_disk.ComputeAttachedDiskConfig
ComputeAttachedDiskConfig.Builder, ComputeAttachedDiskConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeAttachedDiskConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeAttachedDiskConfig.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)ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDeviceName()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.StringgetDisk()name or self_link of the disk that will be attached.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#id ComputeAttachedDisk#id}.StringgetInstance()name or self_link of the compute instance that the disk will be attached to.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetMode()The mode in which to attach this disk, either READ_WRITE or READ_ONLY.StringgetProject()The project that the referenced compute instance is a part of.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ComputeAttachedDiskTimeoutsgetTimeouts()timeouts block.StringgetZone()The zone that the referenced compute instance is located within.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(ComputeAttachedDiskConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeAttachedDiskConfig.Builder.
-
-
Method Detail
-
getDisk
public final String getDisk()
Description copied from interface:ComputeAttachedDiskConfigname or self_link of the disk that will be attached.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#disk ComputeAttachedDisk#disk}
- Specified by:
getDiskin interfaceComputeAttachedDiskConfig
-
getInstance
public final String getInstance()
Description copied from interface:ComputeAttachedDiskConfigname 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#instance ComputeAttachedDisk#instance}
- Specified by:
getInstancein interfaceComputeAttachedDiskConfig
-
getDeviceName
public final String getDeviceName()
Description copied from interface:ComputeAttachedDiskConfigSpecifies 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. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#device_name ComputeAttachedDisk#device_name}
- Specified by:
getDeviceNamein interfaceComputeAttachedDiskConfig
-
getId
public final String getId()
Description copied from interface:ComputeAttachedDiskConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#id ComputeAttachedDisk#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceComputeAttachedDiskConfig
-
getMode
public final String getMode()
Description copied from interface:ComputeAttachedDiskConfigThe 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#mode ComputeAttachedDisk#mode}
- Specified by:
getModein interfaceComputeAttachedDiskConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeAttachedDiskConfigThe 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#project ComputeAttachedDisk#project}
- Specified by:
getProjectin interfaceComputeAttachedDiskConfig
-
getTimeouts
public final ComputeAttachedDiskTimeouts getTimeouts()
Description copied from interface:ComputeAttachedDiskConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#timeouts ComputeAttachedDisk#timeouts}
- Specified by:
getTimeoutsin interfaceComputeAttachedDiskConfig
-
getZone
public final String getZone()
Description copied from interface:ComputeAttachedDiskConfigThe 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_attached_disk#zone ComputeAttachedDisk#zone}
- Specified by:
getZonein interfaceComputeAttachedDiskConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-