Class ComputeInstanceFromTemplateConfig.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: ComputeInstanceFromTemplateConfig
        The name of the instance. One of name or self_link must be provided.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#name ComputeInstanceFromTemplate#name}

        Specified by:
        getName in interface ComputeInstanceFromTemplateConfig
      • getSourceInstanceTemplate

        public final String getSourceInstanceTemplate()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Name or self link of an instance template to create the instance based on.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#source_instance_template ComputeInstanceFromTemplate#source_instance_template}

        Specified by:
        getSourceInstanceTemplate in interface ComputeInstanceFromTemplateConfig
      • getAllowStoppingForUpdate

        public final Object getAllowStoppingForUpdate()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        If true, allows Terraform to stop the instance to update its properties.

        If you try to update a property that requires stopping the instance without setting this field, the update will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#allow_stopping_for_update ComputeInstanceFromTemplate#allow_stopping_for_update}

        Specified by:
        getAllowStoppingForUpdate in interface ComputeInstanceFromTemplateConfig
      • getAttachedDisk

        public final Object getAttachedDisk()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        List of disks attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#attached_disk ComputeInstanceFromTemplate#attached_disk}

        Specified by:
        getAttachedDisk in interface ComputeInstanceFromTemplateConfig
      • getCanIpForward

        public final Object getCanIpForward()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Whether sending and receiving of packets with non-matching source or destination IPs is allowed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#can_ip_forward ComputeInstanceFromTemplate#can_ip_forward}

        Specified by:
        getCanIpForward in interface ComputeInstanceFromTemplateConfig
      • getDeletionProtection

        public final Object getDeletionProtection()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Whether deletion protection is enabled on this instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#deletion_protection ComputeInstanceFromTemplate#deletion_protection}

        Specified by:
        getDeletionProtection in interface ComputeInstanceFromTemplateConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        A brief description of the resource.

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

        Specified by:
        getDescription in interface ComputeInstanceFromTemplateConfig
      • getDesiredStatus

        public final String getDesiredStatus()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Desired status of the instance. Either "RUNNING" or "TERMINATED".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#desired_status ComputeInstanceFromTemplate#desired_status}

        Specified by:
        getDesiredStatus in interface ComputeInstanceFromTemplateConfig
      • getEnableDisplay

        public final Object getEnableDisplay()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Whether the instance has virtual displays enabled.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#enable_display ComputeInstanceFromTemplate#enable_display}

        Specified by:
        getEnableDisplay in interface ComputeInstanceFromTemplateConfig
      • getGuestAccelerator

        public final Object getGuestAccelerator()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        List of the type and count of accelerator cards attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#guest_accelerator ComputeInstanceFromTemplate#guest_accelerator}

        Specified by:
        getGuestAccelerator in interface ComputeInstanceFromTemplateConfig
      • getHostname

        public final String getHostname()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        A custom hostname for the instance.

        Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression [a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D), concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#hostname ComputeInstanceFromTemplate#hostname}

        Specified by:
        getHostname in interface ComputeInstanceFromTemplateConfig
      • getId

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

        public final Map<String,​String> getLabels()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        A set of key/value label pairs assigned to the instance.

        **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_instance_from_template#labels ComputeInstanceFromTemplate#labels}

        Specified by:
        getLabels in interface ComputeInstanceFromTemplateConfig
      • getMachineType

        public final String getMachineType()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The machine type to create.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#machine_type ComputeInstanceFromTemplate#machine_type}

        Specified by:
        getMachineType in interface ComputeInstanceFromTemplateConfig
      • getMetadata

        public final Map<String,​String> getMetadata()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Metadata key/value pairs made available within the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#metadata ComputeInstanceFromTemplate#metadata}

        Specified by:
        getMetadata in interface ComputeInstanceFromTemplateConfig
      • getMetadataStartupScript

        public final String getMetadataStartupScript()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        Metadata startup scripts made available within the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#metadata_startup_script ComputeInstanceFromTemplate#metadata_startup_script}

        Specified by:
        getMetadataStartupScript in interface ComputeInstanceFromTemplateConfig
      • getMinCpuPlatform

        public final String getMinCpuPlatform()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The minimum CPU platform specified for the VM instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#min_cpu_platform ComputeInstanceFromTemplate#min_cpu_platform}

        Specified by:
        getMinCpuPlatform in interface ComputeInstanceFromTemplateConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The ID of the project in which the resource belongs.

        If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#project ComputeInstanceFromTemplate#project}

        Specified by:
        getProject in interface ComputeInstanceFromTemplateConfig
      • getResourcePolicies

        public final List<String> getResourcePolicies()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        A list of self_links of resource policies to attach to the instance.

        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_from_template#resource_policies ComputeInstanceFromTemplate#resource_policies}

        Specified by:
        getResourcePolicies in interface ComputeInstanceFromTemplateConfig
      • getScratchDisk

        public final Object getScratchDisk()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The scratch disks attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#scratch_disk ComputeInstanceFromTemplate#scratch_disk}

        Specified by:
        getScratchDisk in interface ComputeInstanceFromTemplateConfig
      • getServiceAccount

        public final Object getServiceAccount()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The service account to attach to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#service_account ComputeInstanceFromTemplate#service_account}

        Specified by:
        getServiceAccount in interface ComputeInstanceFromTemplateConfig
      • getTags

        public final List<String> getTags()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The list of tags attached to the instance.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#tags ComputeInstanceFromTemplate#tags}

        Specified by:
        getTags in interface ComputeInstanceFromTemplateConfig
      • getZone

        public final String getZone()
        Description copied from interface: ComputeInstanceFromTemplateConfig
        The zone of the instance.

        If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#zone ComputeInstanceFromTemplate#zone}

        Specified by:
        getZone in interface ComputeInstanceFromTemplateConfig
      • 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