UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

821 lines 105 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ComputeRegionInstanceTemplateConfig extends cdktf.TerraformMetaArguments { /** * Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#can_ip_forward ComputeRegionInstanceTemplate#can_ip_forward} */ readonly canIpForward?: boolean | cdktf.IResolvable; /** * A brief description of this resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#description ComputeRegionInstanceTemplate#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#id ComputeRegionInstanceTemplate#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. */ readonly id?: string; /** * A description of the instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#instance_description ComputeRegionInstanceTemplate#instance_description} */ readonly instanceDescription?: string; /** * Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the default. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#key_revocation_action_type ComputeRegionInstanceTemplate#key_revocation_action_type} */ readonly keyRevocationActionType?: string; /** * A set of key/value label pairs to assign to instances created from this template, * * **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/6.13.0/docs/resources/compute_region_instance_template#labels ComputeRegionInstanceTemplate#labels} */ readonly labels?: { [key: string]: string; }; /** * The machine type to create. To create a machine with a custom type (such as extended memory), format the value like custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#machine_type ComputeRegionInstanceTemplate#machine_type} */ readonly machineType: string; /** * Metadata key/value pairs to make available from within instances created from this template. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#metadata ComputeRegionInstanceTemplate#metadata} */ readonly metadata?: { [key: string]: string; }; /** * An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#metadata_startup_script ComputeRegionInstanceTemplate#metadata_startup_script} */ readonly metadataStartupScript?: string; /** * Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#min_cpu_platform ComputeRegionInstanceTemplate#min_cpu_platform} */ readonly minCpuPlatform?: string; /** * The name of the instance template. If you leave this blank, Terraform will auto-generate a unique name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#name ComputeRegionInstanceTemplate#name} */ readonly name?: string; /** * Creates a unique name beginning with the specified prefix. Conflicts with name. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#name_prefix ComputeRegionInstanceTemplate#name_prefix} */ readonly namePrefix?: string; /** * The ID of the project in which the resource belongs. If it is not provided, the provider project is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#project ComputeRegionInstanceTemplate#project} */ readonly project?: string; /** * The region in which the instance template is located. If it is not provided, the provider region is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#region ComputeRegionInstanceTemplate#region} */ readonly region?: string; /** * A map of resource manager tags. * Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#resource_manager_tags ComputeRegionInstanceTemplate#resource_manager_tags} */ readonly resourceManagerTags?: { [key: string]: string; }; /** * 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/6.13.0/docs/resources/compute_region_instance_template#resource_policies ComputeRegionInstanceTemplate#resource_policies} */ readonly resourcePolicies?: string[]; /** * Tags to attach to the instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#tags ComputeRegionInstanceTemplate#tags} */ readonly tags?: string[]; /** * advanced_machine_features block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#advanced_machine_features ComputeRegionInstanceTemplate#advanced_machine_features} */ readonly advancedMachineFeatures?: ComputeRegionInstanceTemplateAdvancedMachineFeatures; /** * confidential_instance_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#confidential_instance_config ComputeRegionInstanceTemplate#confidential_instance_config} */ readonly confidentialInstanceConfig?: ComputeRegionInstanceTemplateConfidentialInstanceConfig; /** * disk block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#disk ComputeRegionInstanceTemplate#disk} */ readonly disk: ComputeRegionInstanceTemplateDisk[] | cdktf.IResolvable; /** * guest_accelerator block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#guest_accelerator ComputeRegionInstanceTemplate#guest_accelerator} */ readonly guestAccelerator?: ComputeRegionInstanceTemplateGuestAccelerator[] | cdktf.IResolvable; /** * network_interface block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#network_interface ComputeRegionInstanceTemplate#network_interface} */ readonly networkInterface?: ComputeRegionInstanceTemplateNetworkInterface[] | cdktf.IResolvable; /** * network_performance_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#network_performance_config ComputeRegionInstanceTemplate#network_performance_config} */ readonly networkPerformanceConfig?: ComputeRegionInstanceTemplateNetworkPerformanceConfig; /** * reservation_affinity block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#reservation_affinity ComputeRegionInstanceTemplate#reservation_affinity} */ readonly reservationAffinity?: ComputeRegionInstanceTemplateReservationAffinity; /** * scheduling block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#scheduling ComputeRegionInstanceTemplate#scheduling} */ readonly scheduling?: ComputeRegionInstanceTemplateScheduling; /** * service_account block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#service_account ComputeRegionInstanceTemplate#service_account} */ readonly serviceAccount?: ComputeRegionInstanceTemplateServiceAccount; /** * shielded_instance_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#shielded_instance_config ComputeRegionInstanceTemplate#shielded_instance_config} */ readonly shieldedInstanceConfig?: ComputeRegionInstanceTemplateShieldedInstanceConfig; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#timeouts ComputeRegionInstanceTemplate#timeouts} */ readonly timeouts?: ComputeRegionInstanceTemplateTimeouts; } export interface ComputeRegionInstanceTemplateAdvancedMachineFeatures { /** * Whether to enable nested virtualization or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#enable_nested_virtualization ComputeRegionInstanceTemplate#enable_nested_virtualization} */ readonly enableNestedVirtualization?: boolean | cdktf.IResolvable; /** * Whether to enable UEFI networking or not. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#enable_uefi_networking ComputeRegionInstanceTemplate#enable_uefi_networking} */ readonly enableUefiNetworking?: boolean | cdktf.IResolvable; /** * The PMU is a hardware component within the CPU core that monitors how the processor runs code. Valid values for the level of PMU are "STANDARD", "ENHANCED", and "ARCHITECTURAL". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#performance_monitoring_unit ComputeRegionInstanceTemplate#performance_monitoring_unit} */ readonly performanceMonitoringUnit?: string; /** * The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#threads_per_core ComputeRegionInstanceTemplate#threads_per_core} */ readonly threadsPerCore?: number; /** * Turbo frequency mode to use for the instance. Currently supported modes is "ALL_CORE_MAX". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#turbo_mode ComputeRegionInstanceTemplate#turbo_mode} */ readonly turboMode?: string; /** * The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance\'s nominal CPU count and the underlying platform\'s SMT width. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#visible_core_count ComputeRegionInstanceTemplate#visible_core_count} */ readonly visibleCoreCount?: number; } export declare function computeRegionInstanceTemplateAdvancedMachineFeaturesToTerraform(struct?: ComputeRegionInstanceTemplateAdvancedMachineFeaturesOutputReference | ComputeRegionInstanceTemplateAdvancedMachineFeatures): any; export declare function computeRegionInstanceTemplateAdvancedMachineFeaturesToHclTerraform(struct?: ComputeRegionInstanceTemplateAdvancedMachineFeaturesOutputReference | ComputeRegionInstanceTemplateAdvancedMachineFeatures): any; export declare class ComputeRegionInstanceTemplateAdvancedMachineFeaturesOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ComputeRegionInstanceTemplateAdvancedMachineFeatures | undefined; set internalValue(value: ComputeRegionInstanceTemplateAdvancedMachineFeatures | undefined); private _enableNestedVirtualization?; get enableNestedVirtualization(): boolean | cdktf.IResolvable; set enableNestedVirtualization(value: boolean | cdktf.IResolvable); resetEnableNestedVirtualization(): void; get enableNestedVirtualizationInput(): boolean | cdktf.IResolvable | undefined; private _enableUefiNetworking?; get enableUefiNetworking(): boolean | cdktf.IResolvable; set enableUefiNetworking(value: boolean | cdktf.IResolvable); resetEnableUefiNetworking(): void; get enableUefiNetworkingInput(): boolean | cdktf.IResolvable | undefined; private _performanceMonitoringUnit?; get performanceMonitoringUnit(): string; set performanceMonitoringUnit(value: string); resetPerformanceMonitoringUnit(): void; get performanceMonitoringUnitInput(): string | undefined; private _threadsPerCore?; get threadsPerCore(): number; set threadsPerCore(value: number); resetThreadsPerCore(): void; get threadsPerCoreInput(): number | undefined; private _turboMode?; get turboMode(): string; set turboMode(value: string); resetTurboMode(): void; get turboModeInput(): string | undefined; private _visibleCoreCount?; get visibleCoreCount(): number; set visibleCoreCount(value: number); resetVisibleCoreCount(): void; get visibleCoreCountInput(): number | undefined; } export interface ComputeRegionInstanceTemplateConfidentialInstanceConfig { /** * * The confidential computing technology the instance uses. * SEV is an AMD feature. TDX is an Intel feature. One of the following * values is required: SEV, SEV_SNP, TDX. If SEV_SNP, min_cpu_platform = * "AMD Milan" is currently required. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#confidential_instance_type ComputeRegionInstanceTemplate#confidential_instance_type} */ readonly confidentialInstanceType?: string; /** * Defines whether the instance should have confidential compute enabled. Field will be deprecated in a future release. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#enable_confidential_compute ComputeRegionInstanceTemplate#enable_confidential_compute} */ readonly enableConfidentialCompute?: boolean | cdktf.IResolvable; } export declare function computeRegionInstanceTemplateConfidentialInstanceConfigToTerraform(struct?: ComputeRegionInstanceTemplateConfidentialInstanceConfigOutputReference | ComputeRegionInstanceTemplateConfidentialInstanceConfig): any; export declare function computeRegionInstanceTemplateConfidentialInstanceConfigToHclTerraform(struct?: ComputeRegionInstanceTemplateConfidentialInstanceConfigOutputReference | ComputeRegionInstanceTemplateConfidentialInstanceConfig): any; export declare class ComputeRegionInstanceTemplateConfidentialInstanceConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ComputeRegionInstanceTemplateConfidentialInstanceConfig | undefined; set internalValue(value: ComputeRegionInstanceTemplateConfidentialInstanceConfig | undefined); private _confidentialInstanceType?; get confidentialInstanceType(): string; set confidentialInstanceType(value: string); resetConfidentialInstanceType(): void; get confidentialInstanceTypeInput(): string | undefined; private _enableConfidentialCompute?; get enableConfidentialCompute(): boolean | cdktf.IResolvable; set enableConfidentialCompute(value: boolean | cdktf.IResolvable); resetEnableConfidentialCompute(): void; get enableConfidentialComputeInput(): boolean | cdktf.IResolvable | undefined; } export interface ComputeRegionInstanceTemplateDiskDiskEncryptionKey { /** * The self link of the encryption key that is stored in Google Cloud KMS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#kms_key_self_link ComputeRegionInstanceTemplate#kms_key_self_link} */ readonly kmsKeySelfLink: string; } export declare function computeRegionInstanceTemplateDiskDiskEncryptionKeyToTerraform(struct?: ComputeRegionInstanceTemplateDiskDiskEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskDiskEncryptionKey): any; export declare function computeRegionInstanceTemplateDiskDiskEncryptionKeyToHclTerraform(struct?: ComputeRegionInstanceTemplateDiskDiskEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskDiskEncryptionKey): any; export declare class ComputeRegionInstanceTemplateDiskDiskEncryptionKeyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ComputeRegionInstanceTemplateDiskDiskEncryptionKey | undefined; set internalValue(value: ComputeRegionInstanceTemplateDiskDiskEncryptionKey | undefined); private _kmsKeySelfLink?; get kmsKeySelfLink(): string; set kmsKeySelfLink(value: string); get kmsKeySelfLinkInput(): string | undefined; } export interface ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey { /** * The self link of the encryption key that is stored in * Google Cloud KMS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#kms_key_self_link ComputeRegionInstanceTemplate#kms_key_self_link} */ readonly kmsKeySelfLink: string; /** * The service account being used for the encryption * request for the given KMS key. If absent, the Compute * Engine default service account is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#kms_key_service_account ComputeRegionInstanceTemplate#kms_key_service_account} */ readonly kmsKeyServiceAccount?: string; } export declare function computeRegionInstanceTemplateDiskSourceImageEncryptionKeyToTerraform(struct?: ComputeRegionInstanceTemplateDiskSourceImageEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey): any; export declare function computeRegionInstanceTemplateDiskSourceImageEncryptionKeyToHclTerraform(struct?: ComputeRegionInstanceTemplateDiskSourceImageEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey): any; export declare class ComputeRegionInstanceTemplateDiskSourceImageEncryptionKeyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey | undefined; set internalValue(value: ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey | undefined); private _kmsKeySelfLink?; get kmsKeySelfLink(): string; set kmsKeySelfLink(value: string); get kmsKeySelfLinkInput(): string | undefined; private _kmsKeyServiceAccount?; get kmsKeyServiceAccount(): string; set kmsKeyServiceAccount(value: string); resetKmsKeyServiceAccount(): void; get kmsKeyServiceAccountInput(): string | undefined; } export interface ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey { /** * The self link of the encryption key that is stored in * Google Cloud KMS. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#kms_key_self_link ComputeRegionInstanceTemplate#kms_key_self_link} */ readonly kmsKeySelfLink: string; /** * The service account being used for the encryption * request for the given KMS key. If absent, the Compute * Engine default service account is used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#kms_key_service_account ComputeRegionInstanceTemplate#kms_key_service_account} */ readonly kmsKeyServiceAccount?: string; } export declare function computeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyToTerraform(struct?: ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey): any; export declare function computeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyToHclTerraform(struct?: ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference | ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey): any; export declare class ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey | undefined; set internalValue(value: ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey | undefined); private _kmsKeySelfLink?; get kmsKeySelfLink(): string; set kmsKeySelfLink(value: string); get kmsKeySelfLinkInput(): string | undefined; private _kmsKeyServiceAccount?; get kmsKeyServiceAccount(): string; set kmsKeyServiceAccount(value: string); resetKmsKeyServiceAccount(): void; get kmsKeyServiceAccountInput(): string | undefined; } export interface ComputeRegionInstanceTemplateDisk { /** * Whether or not the disk should be auto-deleted. This defaults to true. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#auto_delete ComputeRegionInstanceTemplate#auto_delete} */ readonly autoDelete?: boolean | cdktf.IResolvable; /** * Indicates that this is a boot disk. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#boot ComputeRegionInstanceTemplate#boot} */ readonly boot?: boolean | cdktf.IResolvable; /** * A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#device_name ComputeRegionInstanceTemplate#device_name} */ readonly deviceName?: string; /** * Name of the disk. When not provided, this defaults to the name of the instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#disk_name ComputeRegionInstanceTemplate#disk_name} */ readonly diskName?: string; /** * The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be one of 375 or 3000 GB, with a default of 375 GB. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#disk_size_gb ComputeRegionInstanceTemplate#disk_size_gb} */ readonly diskSizeGb?: number; /** * The Google Compute Engine disk type. Such as "pd-ssd", "local-ssd", "pd-balanced" or "pd-standard". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#disk_type ComputeRegionInstanceTemplate#disk_type} */ readonly diskType?: string; /** * Specifies the disk interface to use for attaching this disk. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#interface ComputeRegionInstanceTemplate#interface} */ readonly interface?: string; /** * A set of key/value label pairs to assign to disks, * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#labels ComputeRegionInstanceTemplate#labels} */ readonly labels?: { [key: string]: string; }; /** * The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#mode ComputeRegionInstanceTemplate#mode} */ readonly mode?: string; /** * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. For more details, see the [Extreme persistent disk documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk) or the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks) depending on the selected disk_type. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#provisioned_iops ComputeRegionInstanceTemplate#provisioned_iops} */ readonly provisionedIops?: number; /** * Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the [Hyperdisk documentation](https://cloud.google.com/compute/docs/disks/hyperdisks). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#provisioned_throughput ComputeRegionInstanceTemplate#provisioned_throughput} */ readonly provisionedThroughput?: number; /** * A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#resource_manager_tags ComputeRegionInstanceTemplate#resource_manager_tags} */ readonly resourceManagerTags?: { [key: string]: string; }; /** * A list (short name or id) of resource policies to attach to this disk. Currently a max of 1 resource policy is supported. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#resource_policies ComputeRegionInstanceTemplate#resource_policies} */ readonly resourcePolicies?: string[]; /** * The name (not self_link) of the disk (such as those managed by google_compute_disk) to attach. ~> Note: Either source or source_image is required when creating a new instance except for when creating a local SSD. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#source ComputeRegionInstanceTemplate#source} */ readonly source?: string; /** * The image from which to initialize this disk. This can be one of: the image's self_link, projects/{project}/global/images/{image}, projects/{project}/global/images/family/{family}, global/images/{image}, global/images/family/{family}, family/{family}, {project}/{family}, {project}/{image}, {family}, or {image}. ~> Note: Either source or source_image is required when creating a new instance except for when creating a local SSD. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#source_image ComputeRegionInstanceTemplate#source_image} */ readonly sourceImage?: string; /** * The source snapshot to create this disk. When creating * a new instance, one of initializeParams.sourceSnapshot, * initializeParams.sourceImage, or disks.source is * required except for local SSD. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#source_snapshot ComputeRegionInstanceTemplate#source_snapshot} */ readonly sourceSnapshot?: string; /** * The type of Google Compute Engine disk, can be either "SCRATCH" or "PERSISTENT". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#type ComputeRegionInstanceTemplate#type} */ readonly type?: string; /** * disk_encryption_key block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#disk_encryption_key ComputeRegionInstanceTemplate#disk_encryption_key} */ readonly diskEncryptionKey?: ComputeRegionInstanceTemplateDiskDiskEncryptionKey; /** * source_image_encryption_key block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#source_image_encryption_key ComputeRegionInstanceTemplate#source_image_encryption_key} */ readonly sourceImageEncryptionKey?: ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey; /** * source_snapshot_encryption_key block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#source_snapshot_encryption_key ComputeRegionInstanceTemplate#source_snapshot_encryption_key} */ readonly sourceSnapshotEncryptionKey?: ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey; } export declare function computeRegionInstanceTemplateDiskToTerraform(struct?: ComputeRegionInstanceTemplateDisk | cdktf.IResolvable): any; export declare function computeRegionInstanceTemplateDiskToHclTerraform(struct?: ComputeRegionInstanceTemplateDisk | cdktf.IResolvable): any; export declare class ComputeRegionInstanceTemplateDiskOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ComputeRegionInstanceTemplateDisk | cdktf.IResolvable | undefined; set internalValue(value: ComputeRegionInstanceTemplateDisk | cdktf.IResolvable | undefined); private _autoDelete?; get autoDelete(): boolean | cdktf.IResolvable; set autoDelete(value: boolean | cdktf.IResolvable); resetAutoDelete(): void; get autoDeleteInput(): boolean | cdktf.IResolvable | undefined; private _boot?; get boot(): boolean | cdktf.IResolvable; set boot(value: boolean | cdktf.IResolvable); resetBoot(): void; get bootInput(): boolean | cdktf.IResolvable | undefined; private _deviceName?; get deviceName(): string; set deviceName(value: string); resetDeviceName(): void; get deviceNameInput(): string | undefined; private _diskName?; get diskName(): string; set diskName(value: string); resetDiskName(): void; get diskNameInput(): string | undefined; private _diskSizeGb?; get diskSizeGb(): number; set diskSizeGb(value: number); resetDiskSizeGb(): void; get diskSizeGbInput(): number | undefined; private _diskType?; get diskType(): string; set diskType(value: string); resetDiskType(): void; get diskTypeInput(): string | undefined; private _interface?; get interface(): string; set interface(value: string); resetInterface(): void; get interfaceInput(): string | undefined; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; } | undefined; private _mode?; get mode(): string; set mode(value: string); resetMode(): void; get modeInput(): string | undefined; private _provisionedIops?; get provisionedIops(): number; set provisionedIops(value: number); resetProvisionedIops(): void; get provisionedIopsInput(): number | undefined; private _provisionedThroughput?; get provisionedThroughput(): number; set provisionedThroughput(value: number); resetProvisionedThroughput(): void; get provisionedThroughputInput(): number | undefined; private _resourceManagerTags?; get resourceManagerTags(): { [key: string]: string; }; set resourceManagerTags(value: { [key: string]: string; }); resetResourceManagerTags(): void; get resourceManagerTagsInput(): { [key: string]: string; } | undefined; private _resourcePolicies?; get resourcePolicies(): string[]; set resourcePolicies(value: string[]); resetResourcePolicies(): void; get resourcePoliciesInput(): string[] | undefined; private _source?; get source(): string; set source(value: string); resetSource(): void; get sourceInput(): string | undefined; private _sourceImage?; get sourceImage(): string; set sourceImage(value: string); resetSourceImage(): void; get sourceImageInput(): string | undefined; private _sourceSnapshot?; get sourceSnapshot(): string; set sourceSnapshot(value: string); resetSourceSnapshot(): void; get sourceSnapshotInput(): string | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; private _diskEncryptionKey; get diskEncryptionKey(): ComputeRegionInstanceTemplateDiskDiskEncryptionKeyOutputReference; putDiskEncryptionKey(value: ComputeRegionInstanceTemplateDiskDiskEncryptionKey): void; resetDiskEncryptionKey(): void; get diskEncryptionKeyInput(): ComputeRegionInstanceTemplateDiskDiskEncryptionKey | undefined; private _sourceImageEncryptionKey; get sourceImageEncryptionKey(): ComputeRegionInstanceTemplateDiskSourceImageEncryptionKeyOutputReference; putSourceImageEncryptionKey(value: ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey): void; resetSourceImageEncryptionKey(): void; get sourceImageEncryptionKeyInput(): ComputeRegionInstanceTemplateDiskSourceImageEncryptionKey | undefined; private _sourceSnapshotEncryptionKey; get sourceSnapshotEncryptionKey(): ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKeyOutputReference; putSourceSnapshotEncryptionKey(value: ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey): void; resetSourceSnapshotEncryptionKey(): void; get sourceSnapshotEncryptionKeyInput(): ComputeRegionInstanceTemplateDiskSourceSnapshotEncryptionKey | undefined; } export declare class ComputeRegionInstanceTemplateDiskList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ComputeRegionInstanceTemplateDisk[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ComputeRegionInstanceTemplateDiskOutputReference; } export interface ComputeRegionInstanceTemplateGuestAccelerator { /** * The number of the guest accelerator cards exposed to this instance. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#count ComputeRegionInstanceTemplate#count} */ readonly count: number; /** * The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#type ComputeRegionInstanceTemplate#type} */ readonly type: string; } export declare function computeRegionInstanceTemplateGuestAcceleratorToTerraform(struct?: ComputeRegionInstanceTemplateGuestAccelerator | cdktf.IResolvable): any; export declare function computeRegionInstanceTemplateGuestAcceleratorToHclTerraform(struct?: ComputeRegionInstanceTemplateGuestAccelerator | cdktf.IResolvable): any; export declare class ComputeRegionInstanceTemplateGuestAcceleratorOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ComputeRegionInstanceTemplateGuestAccelerator | cdktf.IResolvable | undefined; set internalValue(value: ComputeRegionInstanceTemplateGuestAccelerator | cdktf.IResolvable | undefined); private _count?; get count(): number; set count(value: number); get countInput(): number | undefined; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; } export declare class ComputeRegionInstanceTemplateGuestAcceleratorList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ComputeRegionInstanceTemplateGuestAccelerator[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ComputeRegionInstanceTemplateGuestAcceleratorOutputReference; } export interface ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig { /** * The IP address that will be 1:1 mapped to the instance's network ip. If not given, one will be generated. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#nat_ip ComputeRegionInstanceTemplate#nat_ip} */ readonly natIp?: string; /** * The networking tier used for configuring this instance template. This field can take the following values: PREMIUM, STANDARD, FIXED_STANDARD. If this field is not specified, it is assumed to be PREMIUM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#network_tier ComputeRegionInstanceTemplate#network_tier} */ readonly networkTier?: string; } export declare function computeRegionInstanceTemplateNetworkInterfaceAccessConfigToTerraform(struct?: ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig | cdktf.IResolvable): any; export declare function computeRegionInstanceTemplateNetworkInterfaceAccessConfigToHclTerraform(struct?: ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig | cdktf.IResolvable): any; export declare class ComputeRegionInstanceTemplateNetworkInterfaceAccessConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig | cdktf.IResolvable | undefined; set internalValue(value: ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig | cdktf.IResolvable | undefined); private _natIp?; get natIp(): string; set natIp(value: string); resetNatIp(): void; get natIpInput(): string | undefined; private _networkTier?; get networkTier(): string; set networkTier(value: string); resetNetworkTier(): void; get networkTierInput(): string | undefined; get publicPtrDomainName(): string; } export declare class ComputeRegionInstanceTemplateNetworkInterfaceAccessConfigList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: ComputeRegionInstanceTemplateNetworkInterfaceAccessConfig[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): ComputeRegionInstanceTemplateNetworkInterfaceAccessConfigOutputReference; } export interface ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRange { /** * The IP CIDR range represented by this alias IP range. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. At the time of writing only a netmask (e.g. /24) may be supplied, with a CIDR format resulting in an API error. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#ip_cidr_range ComputeRegionInstanceTemplate#ip_cidr_range} */ readonly ipCidrRange: string; /** * The subnetwork secondary range name specifying the secondary range from which to allocate the IP CIDR range for this alias IP range. If left unspecified, the primary range of the subnetwork will be used. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_region_instance_template#subnetwork_range_name ComputeRegionInstanceTemplate#subnetwork_range_name} */ readonly subnetworkRangeName?: string; } export declare function computeRegionInstanceTemplateNetworkInterfaceAliasIpRangeToTerraform(struct?: ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRange | cdktf.IResolvable): any; export declare function computeRegionInstanceTemplateNetworkInterfaceAliasIpRangeToHclTerraform(struct?: ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRange | cdktf.IResolvable): any; export declare class ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRangeOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRange | cdktf.IResolvable | undefined; set internalValue(value: ComputeRegionInstanceTemplateNetworkInterfaceAliasIpRange | cdktf.IResolvable | undefined); private _ipCidrRange?; get ipCidrRange(): string; set ipCidrRange(value: string); get ipCidrRangeInput(): string | undefined; private _subnetworkR