Class ComputeInstanceTemplateDisk.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateDisk.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceTemplateDisk,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceTemplateDisk
@Stability(Stable) @Internal public static final class ComputeInstanceTemplateDisk.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceTemplateDisk
An implementation forComputeInstanceTemplateDisk
-
-
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_instance_template.ComputeInstanceTemplateDisk
ComputeInstanceTemplateDisk.Builder, ComputeInstanceTemplateDisk.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceTemplateDisk.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateDisk.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)ObjectgetAutoDelete()Whether or not the disk should be auto-deleted.ObjectgetBoot()Indicates that this is a boot disk.StringgetDeviceName()A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.ComputeInstanceTemplateDiskDiskEncryptionKeygetDiskEncryptionKey()disk_encryption_key block.StringgetDiskName()Name of the disk.NumbergetDiskSizeGb()The size of the image in gigabytes.StringgetDiskType()The Google Compute Engine disk type.StringgetInterfaceValue()Specifies the disk interface to use for attaching this disk.Map<String,String>getLabels()A set of key/value label pairs to assign to disks,.StringgetMode()The mode in which to attach this disk, either READ_WRITE or READ_ONLY.NumbergetProvisionedIops()Indicates how many IOPS to provision for the disk.Map<String,String>getResourceManagerTags()A map of resource manager tags.List<String>getResourcePolicies()A list (short name or id) of resource policies to attach to this disk.StringgetSource()The name (not self_link) of the disk (such as those managed by google_compute_disk) to attach.StringgetSourceImage()The image from which to initialize this disk.ComputeInstanceTemplateDiskSourceImageEncryptionKeygetSourceImageEncryptionKey()source_image_encryption_key block.StringgetSourceSnapshot()The source snapshot to create this disk.ComputeInstanceTemplateDiskSourceSnapshotEncryptionKeygetSourceSnapshotEncryptionKey()source_snapshot_encryption_key block.StringgetType()The type of Google Compute Engine disk, can be either "SCRATCH" or "PERSISTENT".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(ComputeInstanceTemplateDisk.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateDisk.Builder.
-
-
Method Detail
-
getAutoDelete
public final Object getAutoDelete()
Description copied from interface:ComputeInstanceTemplateDiskWhether or not the disk should be auto-deleted. This defaults to true.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#auto_delete ComputeInstanceTemplate#auto_delete}
- Specified by:
getAutoDeletein interfaceComputeInstanceTemplateDisk
-
getBoot
public final Object getBoot()
Description copied from interface:ComputeInstanceTemplateDiskIndicates that this is a boot disk.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#boot ComputeInstanceTemplate#boot}
- Specified by:
getBootin interfaceComputeInstanceTemplateDisk
-
getDeviceName
public final String getDeviceName()
Description copied from interface:ComputeInstanceTemplateDiskA unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance.If not specified, the server chooses a default device name to apply to this disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#device_name ComputeInstanceTemplate#device_name}
- Specified by:
getDeviceNamein interfaceComputeInstanceTemplateDisk
-
getDiskEncryptionKey
public final ComputeInstanceTemplateDiskDiskEncryptionKey getDiskEncryptionKey()
Description copied from interface:ComputeInstanceTemplateDiskdisk_encryption_key block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#disk_encryption_key ComputeInstanceTemplate#disk_encryption_key}
- Specified by:
getDiskEncryptionKeyin interfaceComputeInstanceTemplateDisk
-
getDiskName
public final String getDiskName()
Description copied from interface:ComputeInstanceTemplateDiskName of the disk. When not provided, this defaults to the name of the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#disk_name ComputeInstanceTemplate#disk_name}
- Specified by:
getDiskNamein interfaceComputeInstanceTemplateDisk
-
getDiskSizeGb
public final Number getDiskSizeGb()
Description copied from interface:ComputeInstanceTemplateDiskThe size of the image in gigabytes.If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be one of 375 or 3000 GB, with a default of 375 GB. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#disk_size_gb ComputeInstanceTemplate#disk_size_gb}
- Specified by:
getDiskSizeGbin interfaceComputeInstanceTemplateDisk
-
getDiskType
public final String getDiskType()
Description copied from interface:ComputeInstanceTemplateDiskThe Google Compute Engine disk type. Such as "pd-ssd", "local-ssd", "pd-balanced" or "pd-standard".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#disk_type ComputeInstanceTemplate#disk_type}
- Specified by:
getDiskTypein interfaceComputeInstanceTemplateDisk
-
getInterfaceValue
public final String getInterfaceValue()
Description copied from interface:ComputeInstanceTemplateDiskSpecifies the disk interface to use for attaching this disk.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#interface ComputeInstanceTemplate#interface}
- Specified by:
getInterfaceValuein interfaceComputeInstanceTemplateDisk
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:ComputeInstanceTemplateDiskA set of key/value label pairs to assign to disks,.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#labels ComputeInstanceTemplate#labels}
- Specified by:
getLabelsin interfaceComputeInstanceTemplateDisk
-
getMode
public final String getMode()
Description copied from interface:ComputeInstanceTemplateDiskThe mode in which to attach this disk, either READ_WRITE or READ_ONLY.If you are attaching or creating a boot disk, this must read-write mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#mode ComputeInstanceTemplate#mode}
- Specified by:
getModein interfaceComputeInstanceTemplateDisk
-
getProvisionedIops
public final Number getProvisionedIops()
Description copied from interface:ComputeInstanceTemplateDiskIndicates how many IOPS to provision for the disk.This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the [Extreme persistent disk documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#provisioned_iops ComputeInstanceTemplate#provisioned_iops}
- Specified by:
getProvisionedIopsin interfaceComputeInstanceTemplateDisk
-
getResourceManagerTags
public final Map<String,String> getResourceManagerTags()
Description copied from interface:ComputeInstanceTemplateDiskA map of resource manager tags.Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#resource_manager_tags ComputeInstanceTemplate#resource_manager_tags}
- Specified by:
getResourceManagerTagsin interfaceComputeInstanceTemplateDisk
-
getResourcePolicies
public final List<String> getResourcePolicies()
Description copied from interface:ComputeInstanceTemplateDiskA list (short name or id) of resource policies to attach to this disk.Currently a max of 1 resource policy is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#resource_policies ComputeInstanceTemplate#resource_policies}
- Specified by:
getResourcePoliciesin interfaceComputeInstanceTemplateDisk
-
getSource
public final String getSource()
Description copied from interface:ComputeInstanceTemplateDiskThe name (not self_link) of the disk (such as those managed by google_compute_disk) to attach.~> Note: Either source or source_image is required when creating a new instance except for when creating a local SSD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#source ComputeInstanceTemplate#source}
- Specified by:
getSourcein interfaceComputeInstanceTemplateDisk
-
getSourceImage
public final String getSourceImage()
Description copied from interface:ComputeInstanceTemplateDiskThe image from which to initialize this disk.This can be one of: the image's self_link, projects/{project}/global/images/{image}, projects/{project}/global/images/family/{family}, global/images/{image}, global/images/family/{family}, family/{family}, {project}/{family}, {project}/{image}, {family}, or {image}. ~> Note: Either source or source_image is required when creating a new instance except for when creating a local SSD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#source_image ComputeInstanceTemplate#source_image}
- Specified by:
getSourceImagein interfaceComputeInstanceTemplateDisk
-
getSourceImageEncryptionKey
public final ComputeInstanceTemplateDiskSourceImageEncryptionKey getSourceImageEncryptionKey()
Description copied from interface:ComputeInstanceTemplateDisksource_image_encryption_key block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#source_image_encryption_key ComputeInstanceTemplate#source_image_encryption_key}
- Specified by:
getSourceImageEncryptionKeyin interfaceComputeInstanceTemplateDisk
-
getSourceSnapshot
public final String getSourceSnapshot()
Description copied from interface:ComputeInstanceTemplateDiskThe source snapshot to create this disk.When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#source_snapshot ComputeInstanceTemplate#source_snapshot}
- Specified by:
getSourceSnapshotin interfaceComputeInstanceTemplateDisk
-
getSourceSnapshotEncryptionKey
public final ComputeInstanceTemplateDiskSourceSnapshotEncryptionKey getSourceSnapshotEncryptionKey()
Description copied from interface:ComputeInstanceTemplateDisksource_snapshot_encryption_key block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#source_snapshot_encryption_key ComputeInstanceTemplate#source_snapshot_encryption_key}
- Specified by:
getSourceSnapshotEncryptionKeyin interfaceComputeInstanceTemplateDisk
-
getType
public final String getType()
Description copied from interface:ComputeInstanceTemplateDiskThe type of Google Compute Engine disk, can be either "SCRATCH" or "PERSISTENT".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#type ComputeInstanceTemplate#type}
- Specified by:
getTypein interfaceComputeInstanceTemplateDisk
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-