Class ComputeRegionDiskConfig.Jsii$Proxy

    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: ComputeRegionDiskConfig
        Name of the resource.

        Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#name ComputeRegionDisk#name}

        Specified by:
        getName in interface ComputeRegionDiskConfig
      • getReplicaZones

        public final List<String> getReplicaZones()
        Description copied from interface: ComputeRegionDiskConfig
        URLs of the zones where the disk should be replicated to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#replica_zones ComputeRegionDisk#replica_zones}

        Specified by:
        getReplicaZones in interface ComputeRegionDiskConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeRegionDiskConfig
        An optional description of this resource. Provide this property when you create the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#description ComputeRegionDisk#description}

        Specified by:
        getDescription in interface ComputeRegionDiskConfig
      • getGuestOsFeatures

        public final Object getGuestOsFeatures()
        Description copied from interface: ComputeRegionDiskConfig
        guest_os_features block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#guest_os_features ComputeRegionDisk#guest_os_features}

        Specified by:
        getGuestOsFeatures in interface ComputeRegionDiskConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeRegionDiskConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#id ComputeRegionDisk#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:
        getId in interface ComputeRegionDiskConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeRegionDiskConfig
        Labels to apply to this disk. A list of key->value pairs.

        **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#labels ComputeRegionDisk#labels}

        Specified by:
        getLabels in interface ComputeRegionDiskConfig
      • getLicenses

        public final List<String> getLicenses()
        Description copied from interface: ComputeRegionDiskConfig
        Any applicable license URI.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#licenses ComputeRegionDisk#licenses}

        Specified by:
        getLicenses in interface ComputeRegionDiskConfig
      • getPhysicalBlockSizeBytes

        public final Number getPhysicalBlockSizeBytes()
        Description copied from interface: ComputeRegionDiskConfig
        Physical block size of the persistent disk, in bytes.

        If not present in a request, a default value is used. Currently supported sizes are 4096 and 16384, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#physical_block_size_bytes ComputeRegionDisk#physical_block_size_bytes}

        Specified by:
        getPhysicalBlockSizeBytes in interface ComputeRegionDiskConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeRegionDiskConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#project ComputeRegionDisk#project}.
        Specified by:
        getProject in interface ComputeRegionDiskConfig
      • getRegion

        public final String getRegion()
        Description copied from interface: ComputeRegionDiskConfig
        A reference to the region where the disk resides.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#region ComputeRegionDisk#region}

        Specified by:
        getRegion in interface ComputeRegionDiskConfig
      • getSize

        public final Number getSize()
        Description copied from interface: ComputeRegionDiskConfig
        Size of the persistent disk, specified in GB.

        You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk. If you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must not be less than the size of the sourceImage or the size of the snapshot. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#size ComputeRegionDisk#size}

        Specified by:
        getSize in interface ComputeRegionDiskConfig
      • getSnapshot

        public final String getSnapshot()
        Description copied from interface: ComputeRegionDiskConfig
        The source snapshot used to create this disk.

        You can provide this as a partial or full URL to the resource. For example, the following are valid values: * 'https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot' * 'projects/project/global/snapshots/snapshot' * 'global/snapshots/snapshot' * 'snapshot' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#snapshot ComputeRegionDisk#snapshot}

        Specified by:
        getSnapshot in interface ComputeRegionDiskConfig
      • getSourceDisk

        public final String getSourceDisk()
        Description copied from interface: ComputeRegionDiskConfig
        The source disk used to create this disk.

        You can provide this as a partial or full URL to the resource. For example, the following are valid values: * https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks/{disk} * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/disks/{disk} * projects/{project}/zones/{zone}/disks/{disk} * projects/{project}/regions/{region}/disks/{disk} * zones/{zone}/disks/{disk} * regions/{region}/disks/{disk} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#source_disk ComputeRegionDisk#source_disk}

        Specified by:
        getSourceDisk in interface ComputeRegionDiskConfig
      • getType

        public final String getType()
        Description copied from interface: ComputeRegionDiskConfig
        URL of the disk type resource describing which disk type to use to create the disk.

        Provide this when creating the disk. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk#type ComputeRegionDisk#type}

        Specified by:
        getType in interface ComputeRegionDiskConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object