Class ComputeAttachedDiskConfig.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

      • getDisk

        public final String getDisk()
        Description copied from interface: ComputeAttachedDiskConfig
        name 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:
        getDisk in interface ComputeAttachedDiskConfig
      • getInstance

        public final String getInstance()
        Description copied from interface: ComputeAttachedDiskConfig
        name 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:
        getInstance in interface ComputeAttachedDiskConfig
      • getDeviceName

        public final String getDeviceName()
        Description copied from interface: ComputeAttachedDiskConfig
        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. 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:
        getDeviceName in interface ComputeAttachedDiskConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeAttachedDiskConfig
        Docs 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:
        getId in interface ComputeAttachedDiskConfig
      • getMode

        public final String getMode()
        Description copied from interface: ComputeAttachedDiskConfig
        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. 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:
        getMode in interface ComputeAttachedDiskConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeAttachedDiskConfig
        The 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:
        getProject in interface ComputeAttachedDiskConfig
      • getZone

        public final String getZone()
        Description copied from interface: ComputeAttachedDiskConfig
        The 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:
        getZone in interface ComputeAttachedDiskConfig
      • 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