Class ComputeInstanceTemplateConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceTemplateConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceTemplateConfig
@Stability(Stable) @Internal public static final class ComputeInstanceTemplateConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceTemplateConfig
An implementation forComputeInstanceTemplateConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_instance_template.ComputeInstanceTemplateConfig
ComputeInstanceTemplateConfig.Builder, ComputeInstanceTemplateConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceTemplateConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ComputeInstanceTemplateAdvancedMachineFeaturesgetAdvancedMachineFeatures()advanced_machine_features block.ObjectgetCanIpForward()Whether to allow sending and receiving of packets with non-matching source or destination IPs.ComputeInstanceTemplateConfidentialInstanceConfiggetConfidentialInstanceConfig()confidential_instance_config block.ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A brief description of this resource.ObjectgetDisk()disk block.com.hashicorp.cdktf.ITerraformIteratorgetForEach()ObjectgetGuestAccelerator()guest_accelerator block.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#id ComputeInstanceTemplate#id}.StringgetInstanceDescription()A description of the instance.Map<String,String>getLabels()A set of key/value label pairs to assign to instances created from this template.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetMachineType()The machine type to create.Map<String,String>getMetadata()Metadata key/value pairs to make available from within instances created from this template.StringgetMetadataStartupScript()An alternative to using the startup-script metadata key, mostly to match the compute_instance resource.StringgetMinCpuPlatform()Specifies a minimum CPU platform.StringgetName()The name of the instance template.StringgetNamePrefix()Creates a unique name beginning with the specified prefix.ObjectgetNetworkInterface()network_interface block.ComputeInstanceTemplateNetworkPerformanceConfiggetNetworkPerformanceConfig()network_performance_config block.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()StringgetRegion()An instance template is a global resource that is not bound to a zone or a region.ComputeInstanceTemplateReservationAffinitygetReservationAffinity()reservation_affinity block.Map<String,String>getResourceManagerTags()A map of resource manager tags.List<String>getResourcePolicies()A list of self_links of resource policies to attach to the instance.ComputeInstanceTemplateSchedulinggetScheduling()scheduling block.ComputeInstanceTemplateServiceAccountgetServiceAccount()service_account block.ComputeInstanceTemplateShieldedInstanceConfiggetShieldedInstanceConfig()shielded_instance_config block.List<String>getTags()Tags to attach to the instance.ComputeInstanceTemplateTimeoutsgetTimeouts()timeouts block.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeInstanceTemplateConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceTemplateConfig.Builder.
-
-
Method Detail
-
getDisk
public final Object getDisk()
Description copied from interface:ComputeInstanceTemplateConfigdisk block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#disk ComputeInstanceTemplate#disk}
- Specified by:
getDiskin interfaceComputeInstanceTemplateConfig
-
getMachineType
public final String getMachineType()
Description copied from interface:ComputeInstanceTemplateConfigThe 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_instance_template#machine_type ComputeInstanceTemplate#machine_type}
- Specified by:
getMachineTypein interfaceComputeInstanceTemplateConfig
-
getAdvancedMachineFeatures
public final ComputeInstanceTemplateAdvancedMachineFeatures getAdvancedMachineFeatures()
Description copied from interface:ComputeInstanceTemplateConfigadvanced_machine_features block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#advanced_machine_features ComputeInstanceTemplate#advanced_machine_features}
- Specified by:
getAdvancedMachineFeaturesin interfaceComputeInstanceTemplateConfig
-
getCanIpForward
public final Object getCanIpForward()
Description copied from interface:ComputeInstanceTemplateConfigWhether 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_instance_template#can_ip_forward ComputeInstanceTemplate#can_ip_forward}
- Specified by:
getCanIpForwardin interfaceComputeInstanceTemplateConfig
-
getConfidentialInstanceConfig
public final ComputeInstanceTemplateConfidentialInstanceConfig getConfidentialInstanceConfig()
Description copied from interface:ComputeInstanceTemplateConfigconfidential_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#confidential_instance_config ComputeInstanceTemplate#confidential_instance_config}
- Specified by:
getConfidentialInstanceConfigin interfaceComputeInstanceTemplateConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeInstanceTemplateConfigA brief description of this resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#description ComputeInstanceTemplate#description}
- Specified by:
getDescriptionin interfaceComputeInstanceTemplateConfig
-
getGuestAccelerator
public final Object getGuestAccelerator()
Description copied from interface:ComputeInstanceTemplateConfigguest_accelerator block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#guest_accelerator ComputeInstanceTemplate#guest_accelerator}
- Specified by:
getGuestAcceleratorin interfaceComputeInstanceTemplateConfig
-
getId
public final String getId()
Description copied from interface:ComputeInstanceTemplateConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#id ComputeInstanceTemplate#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:
getIdin interfaceComputeInstanceTemplateConfig
-
getInstanceDescription
public final String getInstanceDescription()
Description copied from interface:ComputeInstanceTemplateConfigA description of the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#instance_description ComputeInstanceTemplate#instance_description}
- Specified by:
getInstanceDescriptionin interfaceComputeInstanceTemplateConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:ComputeInstanceTemplateConfigA 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_instance_template#labels ComputeInstanceTemplate#labels}
- Specified by:
getLabelsin interfaceComputeInstanceTemplateConfig
-
getMetadata
public final Map<String,String> getMetadata()
Description copied from interface:ComputeInstanceTemplateConfigMetadata 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_instance_template#metadata ComputeInstanceTemplate#metadata}
- Specified by:
getMetadatain interfaceComputeInstanceTemplateConfig
-
getMetadataStartupScript
public final String getMetadataStartupScript()
Description copied from interface:ComputeInstanceTemplateConfigAn 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_instance_template#metadata_startup_script ComputeInstanceTemplate#metadata_startup_script}
- Specified by:
getMetadataStartupScriptin interfaceComputeInstanceTemplateConfig
-
getMinCpuPlatform
public final String getMinCpuPlatform()
Description copied from interface:ComputeInstanceTemplateConfigSpecifies 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_instance_template#min_cpu_platform ComputeInstanceTemplate#min_cpu_platform}
- Specified by:
getMinCpuPlatformin interfaceComputeInstanceTemplateConfig
-
getName
public final String getName()
Description copied from interface:ComputeInstanceTemplateConfigThe 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_instance_template#name ComputeInstanceTemplate#name}
- Specified by:
getNamein interfaceComputeInstanceTemplateConfig
-
getNamePrefix
public final String getNamePrefix()
Description copied from interface:ComputeInstanceTemplateConfigCreates 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_instance_template#name_prefix ComputeInstanceTemplate#name_prefix}
- Specified by:
getNamePrefixin interfaceComputeInstanceTemplateConfig
-
getNetworkInterface
public final Object getNetworkInterface()
Description copied from interface:ComputeInstanceTemplateConfignetwork_interface block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#network_interface ComputeInstanceTemplate#network_interface}
- Specified by:
getNetworkInterfacein interfaceComputeInstanceTemplateConfig
-
getNetworkPerformanceConfig
public final ComputeInstanceTemplateNetworkPerformanceConfig getNetworkPerformanceConfig()
Description copied from interface:ComputeInstanceTemplateConfignetwork_performance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#network_performance_config ComputeInstanceTemplate#network_performance_config}
- Specified by:
getNetworkPerformanceConfigin interfaceComputeInstanceTemplateConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeInstanceTemplateConfigThe 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_instance_template#project ComputeInstanceTemplate#project}
- Specified by:
getProjectin interfaceComputeInstanceTemplateConfig
-
getRegion
public final String getRegion()
Description copied from interface:ComputeInstanceTemplateConfigAn instance template is a global resource that is not bound to a zone or a region.However, you can still specify some regional resources in an instance template, which restricts the template to the region where that resource resides. For example, a custom subnetwork resource is tied to a specific region. Defaults to the region of the Provider if no value is given. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#region ComputeInstanceTemplate#region}
- Specified by:
getRegionin interfaceComputeInstanceTemplateConfig
-
getReservationAffinity
public final ComputeInstanceTemplateReservationAffinity getReservationAffinity()
Description copied from interface:ComputeInstanceTemplateConfigreservation_affinity block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#reservation_affinity ComputeInstanceTemplate#reservation_affinity}
- Specified by:
getReservationAffinityin interfaceComputeInstanceTemplateConfig
-
getResourceManagerTags
public final Map<String,String> getResourceManagerTags()
Description copied from interface:ComputeInstanceTemplateConfigA 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_instance_template#resource_manager_tags ComputeInstanceTemplate#resource_manager_tags}
- Specified by:
getResourceManagerTagsin interfaceComputeInstanceTemplateConfig
-
getResourcePolicies
public final List<String> getResourcePolicies()
Description copied from interface:ComputeInstanceTemplateConfigA 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_template#resource_policies ComputeInstanceTemplate#resource_policies}
- Specified by:
getResourcePoliciesin interfaceComputeInstanceTemplateConfig
-
getScheduling
public final ComputeInstanceTemplateScheduling getScheduling()
Description copied from interface:ComputeInstanceTemplateConfigscheduling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#scheduling ComputeInstanceTemplate#scheduling}
- Specified by:
getSchedulingin interfaceComputeInstanceTemplateConfig
-
getServiceAccount
public final ComputeInstanceTemplateServiceAccount getServiceAccount()
Description copied from interface:ComputeInstanceTemplateConfigservice_account block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#service_account ComputeInstanceTemplate#service_account}
- Specified by:
getServiceAccountin interfaceComputeInstanceTemplateConfig
-
getShieldedInstanceConfig
public final ComputeInstanceTemplateShieldedInstanceConfig getShieldedInstanceConfig()
Description copied from interface:ComputeInstanceTemplateConfigshielded_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#shielded_instance_config ComputeInstanceTemplate#shielded_instance_config}
- Specified by:
getShieldedInstanceConfigin interfaceComputeInstanceTemplateConfig
-
getTags
public final List<String> getTags()
Description copied from interface:ComputeInstanceTemplateConfigTags to attach to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#tags ComputeInstanceTemplate#tags}
- Specified by:
getTagsin interfaceComputeInstanceTemplateConfig
-
getTimeouts
public final ComputeInstanceTemplateTimeouts getTimeouts()
Description copied from interface:ComputeInstanceTemplateConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#timeouts ComputeInstanceTemplate#timeouts}
- Specified by:
getTimeoutsin interfaceComputeInstanceTemplateConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-