Interface ComputeRegionInstanceTemplateConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeRegionInstanceTemplateConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.766Z") @Stability(Stable) public interface ComputeRegionInstanceTemplateConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeRegionInstanceTemplateConfig.BuilderA builder forComputeRegionInstanceTemplateConfigstatic classComputeRegionInstanceTemplateConfig.Jsii$ProxyAn implementation forComputeRegionInstanceTemplateConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeRegionInstanceTemplateConfig.Builderbuilder()default ComputeRegionInstanceTemplateAdvancedMachineFeaturesgetAdvancedMachineFeatures()advanced_machine_features block.default ObjectgetCanIpForward()Whether to allow sending and receiving of packets with non-matching source or destination IPs.default ComputeRegionInstanceTemplateConfidentialInstanceConfiggetConfidentialInstanceConfig()confidential_instance_config block.default StringgetDescription()A brief description of this resource.ObjectgetDisk()disk block.default ObjectgetGuestAccelerator()guest_accelerator block.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#id ComputeRegionInstanceTemplate#id}.default StringgetInstanceDescription()A description of the instance.default Map<String,String>getLabels()A set of key/value label pairs to assign to instances created from this template,.StringgetMachineType()The machine type to create.default Map<String,String>getMetadata()Metadata key/value pairs to make available from within instances created from this template.default StringgetMetadataStartupScript()An alternative to using the startup-script metadata key, mostly to match the compute_instance resource.default StringgetMinCpuPlatform()Specifies a minimum CPU platform.default StringgetName()The name of the instance template.default StringgetNamePrefix()Creates a unique name beginning with the specified prefix.default ObjectgetNetworkInterface()network_interface block.default ComputeRegionInstanceTemplateNetworkPerformanceConfiggetNetworkPerformanceConfig()network_performance_config block.default StringgetProject()The ID of the project in which the resource belongs.default StringgetRegion()The region in which the instance template is located.default ComputeRegionInstanceTemplateReservationAffinitygetReservationAffinity()reservation_affinity block.default Map<String,String>getResourceManagerTags()A map of resource manager tags.default List<String>getResourcePolicies()A list of self_links of resource policies to attach to the instance.default ComputeRegionInstanceTemplateSchedulinggetScheduling()scheduling block.default ComputeRegionInstanceTemplateServiceAccountgetServiceAccount()service_account block.default ComputeRegionInstanceTemplateShieldedInstanceConfiggetShieldedInstanceConfig()shielded_instance_config block.default List<String>getTags()Tags to attach to the instance.default ComputeRegionInstanceTemplateTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getDisk
@Stability(Stable) @NotNull Object getDisk()
disk block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#disk ComputeRegionInstanceTemplate#disk}
-
getMachineType
@Stability(Stable) @NotNull String getMachineType()
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/5.43.1/docs/resources/compute_region_instance_template#machine_type ComputeRegionInstanceTemplate#machine_type}
-
getAdvancedMachineFeatures
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateAdvancedMachineFeatures getAdvancedMachineFeatures()
advanced_machine_features block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#advanced_machine_features ComputeRegionInstanceTemplate#advanced_machine_features}
-
getCanIpForward
@Stability(Stable) @Nullable default Object getCanIpForward()
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/5.43.1/docs/resources/compute_region_instance_template#can_ip_forward ComputeRegionInstanceTemplate#can_ip_forward}
-
getConfidentialInstanceConfig
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateConfidentialInstanceConfig getConfidentialInstanceConfig()
confidential_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#confidential_instance_config ComputeRegionInstanceTemplate#confidential_instance_config}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
A brief description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#description ComputeRegionInstanceTemplate#description}
-
getGuestAccelerator
@Stability(Stable) @Nullable default Object getGuestAccelerator()
guest_accelerator block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#guest_accelerator ComputeRegionInstanceTemplate#guest_accelerator}
-
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_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.
-
getInstanceDescription
@Stability(Stable) @Nullable default String getInstanceDescription()
A description of the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#instance_description ComputeRegionInstanceTemplate#instance_description}
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
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/5.43.1/docs/resources/compute_region_instance_template#labels ComputeRegionInstanceTemplate#labels}
-
getMetadata
@Stability(Stable) @Nullable default Map<String,String> getMetadata()
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/5.43.1/docs/resources/compute_region_instance_template#metadata ComputeRegionInstanceTemplate#metadata}
-
getMetadataStartupScript
@Stability(Stable) @Nullable default String getMetadataStartupScript()
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/5.43.1/docs/resources/compute_region_instance_template#metadata_startup_script ComputeRegionInstanceTemplate#metadata_startup_script}
-
getMinCpuPlatform
@Stability(Stable) @Nullable default String getMinCpuPlatform()
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/5.43.1/docs/resources/compute_region_instance_template#min_cpu_platform ComputeRegionInstanceTemplate#min_cpu_platform}
-
getName
@Stability(Stable) @Nullable default String getName()
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/5.43.1/docs/resources/compute_region_instance_template#name ComputeRegionInstanceTemplate#name}
-
getNamePrefix
@Stability(Stable) @Nullable default String getNamePrefix()
Creates a unique name beginning with the specified prefix. Conflicts with name.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#name_prefix ComputeRegionInstanceTemplate#name_prefix}
-
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_region_instance_template#network_interface ComputeRegionInstanceTemplate#network_interface}
-
getNetworkPerformanceConfig
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateNetworkPerformanceConfig getNetworkPerformanceConfig()
network_performance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#network_performance_config ComputeRegionInstanceTemplate#network_performance_config}
-
getProject
@Stability(Stable) @Nullable default String getProject()
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/5.43.1/docs/resources/compute_region_instance_template#project ComputeRegionInstanceTemplate#project}
-
getRegion
@Stability(Stable) @Nullable default String getRegion()
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/5.43.1/docs/resources/compute_region_instance_template#region ComputeRegionInstanceTemplate#region}
-
getReservationAffinity
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateReservationAffinity getReservationAffinity()
reservation_affinity block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#reservation_affinity ComputeRegionInstanceTemplate#reservation_affinity}
-
getResourceManagerTags
@Stability(Stable) @Nullable default Map<String,String> getResourceManagerTags()
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/5.43.1/docs/resources/compute_region_instance_template#resource_manager_tags ComputeRegionInstanceTemplate#resource_manager_tags}
-
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_region_instance_template#resource_policies ComputeRegionInstanceTemplate#resource_policies}
-
getScheduling
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateScheduling getScheduling()
scheduling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#scheduling ComputeRegionInstanceTemplate#scheduling}
-
getServiceAccount
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateServiceAccount getServiceAccount()
service_account block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#service_account ComputeRegionInstanceTemplate#service_account}
-
getShieldedInstanceConfig
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateShieldedInstanceConfig getShieldedInstanceConfig()
shielded_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#shielded_instance_config ComputeRegionInstanceTemplate#shielded_instance_config}
-
getTags
@Stability(Stable) @Nullable default List<String> getTags()
Tags to attach to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#tags ComputeRegionInstanceTemplate#tags}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeRegionInstanceTemplateTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_template#timeouts ComputeRegionInstanceTemplate#timeouts}
-
builder
@Stability(Stable) static ComputeRegionInstanceTemplateConfig.Builder builder()
-
-