Interface ComputeInstanceFromTemplateConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    All Known Implementing Classes:
    ComputeInstanceFromTemplateConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.492Z")
    @Stability(Stable)
    public interface ComputeInstanceFromTemplateConfig
    extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
    • Method Detail

      • getName

        @Stability(Stable)
        @NotNull
        String getName()
        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}

      • getSourceInstanceTemplate

        @Stability(Stable)
        @NotNull
        String getSourceInstanceTemplate()
        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}

      • getAdvancedMachineFeatures

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateAdvancedMachineFeatures getAdvancedMachineFeatures()
        advanced_machine_features block.

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

      • getAllowStoppingForUpdate

        @Stability(Stable)
        @Nullable
        default Object getAllowStoppingForUpdate()
        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}

      • getAttachedDisk

        @Stability(Stable)
        @Nullable
        default Object getAttachedDisk()
        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}

      • getBootDisk

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateBootDisk getBootDisk()
        boot_disk block.

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

      • getCanIpForward

        @Stability(Stable)
        @Nullable
        default Object getCanIpForward()
        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}

      • getConfidentialInstanceConfig

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateConfidentialInstanceConfig getConfidentialInstanceConfig()
        confidential_instance_config block.

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

      • getDeletionProtection

        @Stability(Stable)
        @Nullable
        default Object getDeletionProtection()
        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}

      • getDescription

        @Stability(Stable)
        @Nullable
        default String getDescription()
        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}

      • getDesiredStatus

        @Stability(Stable)
        @Nullable
        default String getDesiredStatus()
        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}

      • getEnableDisplay

        @Stability(Stable)
        @Nullable
        default Object getEnableDisplay()
        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}

      • getGuestAccelerator

        @Stability(Stable)
        @Nullable
        default Object getGuestAccelerator()
        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}

      • getHostname

        @Stability(Stable)
        @Nullable
        default String getHostname()
        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}

      • getId

        @Stability(Stable)
        @Nullable
        default String getId()
        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.

      • getLabels

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getLabels()
        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}

      • getMachineType

        @Stability(Stable)
        @Nullable
        default String getMachineType()
        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}

      • getMetadata

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getMetadata()
        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}

      • getMetadataStartupScript

        @Stability(Stable)
        @Nullable
        default String getMetadataStartupScript()
        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}

      • getMinCpuPlatform

        @Stability(Stable)
        @Nullable
        default String getMinCpuPlatform()
        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}

      • getNetworkInterface

        @Stability(Stable)
        @Nullable
        default Object getNetworkInterface()
        network_interface block.

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

      • getNetworkPerformanceConfig

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateNetworkPerformanceConfig getNetworkPerformanceConfig()
        network_performance_config block.

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

      • getParams

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateParams getParams()
        params block.

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

      • getProject

        @Stability(Stable)
        @Nullable
        default String getProject()
        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}

      • getReservationAffinity

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateReservationAffinity getReservationAffinity()
        reservation_affinity block.

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

      • getResourcePolicies

        @Stability(Stable)
        @Nullable
        default List<String> getResourcePolicies()
        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}

      • getScheduling

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateScheduling getScheduling()
        scheduling block.

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

      • getScratchDisk

        @Stability(Stable)
        @Nullable
        default Object getScratchDisk()
        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}

      • getServiceAccount

        @Stability(Stable)
        @Nullable
        default Object getServiceAccount()
        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}

      • getShieldedInstanceConfig

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateShieldedInstanceConfig getShieldedInstanceConfig()
        shielded_instance_config block.

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

      • getTags

        @Stability(Stable)
        @Nullable
        default List<String> getTags()
        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}

      • getTimeouts

        @Stability(Stable)
        @Nullable
        default ComputeInstanceFromTemplateTimeouts getTimeouts()
        timeouts block.

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

      • getZone

        @Stability(Stable)
        @Nullable
        default String getZone()
        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}