Class ComputeImageConfig.Jsii$Proxy

  • All Implemented Interfaces:
    ComputeImageConfig, com.hashicorp.cdktf.TerraformMetaArguments, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    ComputeImageConfig

    @Stability(Stable)
    @Internal
    public static final class ComputeImageConfig.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements ComputeImageConfig
    An implementation for ComputeImageConfig
    • 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: ComputeImageConfig
        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_image#name ComputeImage#name}

        Specified by:
        getName in interface ComputeImageConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeImageConfig
        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_image#description ComputeImage#description}

        Specified by:
        getDescription in interface ComputeImageConfig
      • getDiskSizeGb

        public final Number getDiskSizeGb()
        Description copied from interface: ComputeImageConfig
        Size of the image when restored onto a persistent disk (in GB).

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#disk_size_gb ComputeImage#disk_size_gb}

        Specified by:
        getDiskSizeGb in interface ComputeImageConfig
      • getFamily

        public final String getFamily()
        Description copied from interface: ComputeImageConfig
        The name of the image family to which this image belongs.

        You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#family ComputeImage#family}

        Specified by:
        getFamily in interface ComputeImageConfig
      • getGuestOsFeatures

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

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

        Specified by:
        getGuestOsFeatures in interface ComputeImageConfig
      • getId

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

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeImageConfig
        Labels to apply to this Image.

        **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_image#labels ComputeImage#labels}

        Specified by:
        getLabels in interface ComputeImageConfig
      • getLicenses

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

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

        Specified by:
        getLicenses in interface ComputeImageConfig
      • getProject

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

        public final ComputeImageRawDisk getRawDisk()
        Description copied from interface: ComputeImageConfig
        raw_disk block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#raw_disk ComputeImage#raw_disk}

        Specified by:
        getRawDisk in interface ComputeImageConfig
      • getSourceDisk

        public final String getSourceDisk()
        Description copied from interface: ComputeImageConfig
        The source disk to create this image based on.

        You must provide either this property or the rawDisk.source property but not both to create an image. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#source_disk ComputeImage#source_disk}

        Specified by:
        getSourceDisk in interface ComputeImageConfig
      • getSourceImage

        public final String getSourceImage()
        Description copied from interface: ComputeImageConfig
        URL of the source image used to create this image.

        In order to create an image, you must provide the full or partial URL of one of the following: * The selfLink URL * This property * The rawDisk.source URL * The sourceDisk URL Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#source_image ComputeImage#source_image}

        Specified by:
        getSourceImage in interface ComputeImageConfig
      • getSourceSnapshot

        public final String getSourceSnapshot()
        Description copied from interface: ComputeImageConfig
        URL of the source snapshot used to create this image.

        In order to create an image, you must provide the full or partial URL of one of the following: * The selfLink URL * This property * The sourceImage URL * The rawDisk.source URL * The sourceDisk URL Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#source_snapshot ComputeImage#source_snapshot}

        Specified by:
        getSourceSnapshot in interface ComputeImageConfig
      • getStorageLocations

        public final List<String> getStorageLocations()
        Description copied from interface: ComputeImageConfig
        Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#storage_locations ComputeImage#storage_locations}

        Specified by:
        getStorageLocations in interface ComputeImageConfig
      • getTimeouts

        public final ComputeImageTimeouts getTimeouts()
        Description copied from interface: ComputeImageConfig
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#timeouts ComputeImage#timeouts}

        Specified by:
        getTimeouts in interface ComputeImageConfig
      • 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