Class ComputeInstanceFromTemplateConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance_from_template.ComputeInstanceFromTemplateConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceFromTemplateConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceFromTemplateConfig
@Stability(Stable) @Internal public static final class ComputeInstanceFromTemplateConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceFromTemplateConfig
An implementation forComputeInstanceFromTemplateConfig
-
-
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_from_template.ComputeInstanceFromTemplateConfig
ComputeInstanceFromTemplateConfig.Builder, ComputeInstanceFromTemplateConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceFromTemplateConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceFromTemplateConfig.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)ComputeInstanceFromTemplateAdvancedMachineFeaturesgetAdvancedMachineFeatures()advanced_machine_features block.ObjectgetAllowStoppingForUpdate()If true, allows Terraform to stop the instance to update its properties.ObjectgetAttachedDisk()List of disks attached to the instance.ComputeInstanceFromTemplateBootDiskgetBootDisk()boot_disk block.ObjectgetCanIpForward()Whether sending and receiving of packets with non-matching source or destination IPs is allowed.ComputeInstanceFromTemplateConfidentialInstanceConfiggetConfidentialInstanceConfig()confidential_instance_config block.ObjectgetConnection()ObjectgetCount()ObjectgetDeletionProtection()Whether deletion protection is enabled on this instance.List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A brief description of the resource.StringgetDesiredStatus()Desired status of the instance.ObjectgetEnableDisplay()Whether the instance has virtual displays enabled.com.hashicorp.cdktf.ITerraformIteratorgetForEach()ObjectgetGuestAccelerator()List of the type and count of accelerator cards attached to the instance.StringgetHostname()A custom hostname for the instance.StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#id ComputeInstanceFromTemplate#id}.Map<String,String>getLabels()A set of key/value label pairs assigned to the instance.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()StringgetMachineType()The machine type to create.Map<String,String>getMetadata()Metadata key/value pairs made available within the instance.StringgetMetadataStartupScript()Metadata startup scripts made available within the instance.StringgetMinCpuPlatform()The minimum CPU platform specified for the VM instance.StringgetName()The name of the instance.ObjectgetNetworkInterface()network_interface block.ComputeInstanceFromTemplateNetworkPerformanceConfiggetNetworkPerformanceConfig()network_performance_config block.ComputeInstanceFromTemplateParamsgetParams()params block.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ComputeInstanceFromTemplateReservationAffinitygetReservationAffinity()reservation_affinity block.List<String>getResourcePolicies()A list of self_links of resource policies to attach to the instance.ComputeInstanceFromTemplateSchedulinggetScheduling()scheduling block.ObjectgetScratchDisk()The scratch disks attached to the instance.ObjectgetServiceAccount()The service account to attach to the instance.ComputeInstanceFromTemplateShieldedInstanceConfiggetShieldedInstanceConfig()shielded_instance_config block.StringgetSourceInstanceTemplate()Name or self link of an instance template to create the instance based on.List<String>getTags()The list of tags attached to the instance.ComputeInstanceFromTemplateTimeoutsgetTimeouts()timeouts block.StringgetZone()The zone of the instance.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(ComputeInstanceFromTemplateConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceFromTemplateConfig.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:ComputeInstanceFromTemplateConfigThe name of the instance. One of name or self_link must be provided.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#name ComputeInstanceFromTemplate#name}
- Specified by:
getNamein interfaceComputeInstanceFromTemplateConfig
-
getSourceInstanceTemplate
public final String getSourceInstanceTemplate()
Description copied from interface:ComputeInstanceFromTemplateConfigName or self link of an instance template to create the instance based on.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#source_instance_template ComputeInstanceFromTemplate#source_instance_template}
- Specified by:
getSourceInstanceTemplatein interfaceComputeInstanceFromTemplateConfig
-
getAdvancedMachineFeatures
public final ComputeInstanceFromTemplateAdvancedMachineFeatures getAdvancedMachineFeatures()
Description copied from interface:ComputeInstanceFromTemplateConfigadvanced_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}
- Specified by:
getAdvancedMachineFeaturesin interfaceComputeInstanceFromTemplateConfig
-
getAllowStoppingForUpdate
public final Object getAllowStoppingForUpdate()
Description copied from interface:ComputeInstanceFromTemplateConfigIf true, allows Terraform to stop the instance to update its properties.If you try to update a property that requires stopping the instance without setting this field, the update will fail. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#allow_stopping_for_update ComputeInstanceFromTemplate#allow_stopping_for_update}
- Specified by:
getAllowStoppingForUpdatein interfaceComputeInstanceFromTemplateConfig
-
getAttachedDisk
public final Object getAttachedDisk()
Description copied from interface:ComputeInstanceFromTemplateConfigList of disks attached to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#attached_disk ComputeInstanceFromTemplate#attached_disk}
- Specified by:
getAttachedDiskin interfaceComputeInstanceFromTemplateConfig
-
getBootDisk
public final ComputeInstanceFromTemplateBootDisk getBootDisk()
Description copied from interface:ComputeInstanceFromTemplateConfigboot_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}
- Specified by:
getBootDiskin interfaceComputeInstanceFromTemplateConfig
-
getCanIpForward
public final Object getCanIpForward()
Description copied from interface:ComputeInstanceFromTemplateConfigWhether sending and receiving of packets with non-matching source or destination IPs is allowed.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#can_ip_forward ComputeInstanceFromTemplate#can_ip_forward}
- Specified by:
getCanIpForwardin interfaceComputeInstanceFromTemplateConfig
-
getConfidentialInstanceConfig
public final ComputeInstanceFromTemplateConfidentialInstanceConfig getConfidentialInstanceConfig()
Description copied from interface:ComputeInstanceFromTemplateConfigconfidential_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}
- Specified by:
getConfidentialInstanceConfigin interfaceComputeInstanceFromTemplateConfig
-
getDeletionProtection
public final Object getDeletionProtection()
Description copied from interface:ComputeInstanceFromTemplateConfigWhether deletion protection is enabled on this instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#deletion_protection ComputeInstanceFromTemplate#deletion_protection}
- Specified by:
getDeletionProtectionin interfaceComputeInstanceFromTemplateConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeInstanceFromTemplateConfigA brief description of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#description ComputeInstanceFromTemplate#description}
- Specified by:
getDescriptionin interfaceComputeInstanceFromTemplateConfig
-
getDesiredStatus
public final String getDesiredStatus()
Description copied from interface:ComputeInstanceFromTemplateConfigDesired status of the instance. Either "RUNNING" or "TERMINATED".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#desired_status ComputeInstanceFromTemplate#desired_status}
- Specified by:
getDesiredStatusin interfaceComputeInstanceFromTemplateConfig
-
getEnableDisplay
public final Object getEnableDisplay()
Description copied from interface:ComputeInstanceFromTemplateConfigWhether the instance has virtual displays enabled.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#enable_display ComputeInstanceFromTemplate#enable_display}
- Specified by:
getEnableDisplayin interfaceComputeInstanceFromTemplateConfig
-
getGuestAccelerator
public final Object getGuestAccelerator()
Description copied from interface:ComputeInstanceFromTemplateConfigList of the type and count of accelerator cards attached to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#guest_accelerator ComputeInstanceFromTemplate#guest_accelerator}
- Specified by:
getGuestAcceleratorin interfaceComputeInstanceFromTemplateConfig
-
getHostname
public final String getHostname()
Description copied from interface:ComputeInstanceFromTemplateConfigA custom hostname for the instance.Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression [a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D), concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#hostname ComputeInstanceFromTemplate#hostname}
- Specified by:
getHostnamein interfaceComputeInstanceFromTemplateConfig
-
getId
public final String getId()
Description copied from interface:ComputeInstanceFromTemplateConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#id ComputeInstanceFromTemplate#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceComputeInstanceFromTemplateConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:ComputeInstanceFromTemplateConfigA set of key/value label pairs assigned to the instance.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#labels ComputeInstanceFromTemplate#labels}
- Specified by:
getLabelsin interfaceComputeInstanceFromTemplateConfig
-
getMachineType
public final String getMachineType()
Description copied from interface:ComputeInstanceFromTemplateConfigThe machine type to create.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#machine_type ComputeInstanceFromTemplate#machine_type}
- Specified by:
getMachineTypein interfaceComputeInstanceFromTemplateConfig
-
getMetadata
public final Map<String,String> getMetadata()
Description copied from interface:ComputeInstanceFromTemplateConfigMetadata key/value pairs made available within the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#metadata ComputeInstanceFromTemplate#metadata}
- Specified by:
getMetadatain interfaceComputeInstanceFromTemplateConfig
-
getMetadataStartupScript
public final String getMetadataStartupScript()
Description copied from interface:ComputeInstanceFromTemplateConfigMetadata startup scripts made available within the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#metadata_startup_script ComputeInstanceFromTemplate#metadata_startup_script}
- Specified by:
getMetadataStartupScriptin interfaceComputeInstanceFromTemplateConfig
-
getMinCpuPlatform
public final String getMinCpuPlatform()
Description copied from interface:ComputeInstanceFromTemplateConfigThe minimum CPU platform specified for the VM instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#min_cpu_platform ComputeInstanceFromTemplate#min_cpu_platform}
- Specified by:
getMinCpuPlatformin interfaceComputeInstanceFromTemplateConfig
-
getNetworkInterface
public final Object getNetworkInterface()
Description copied from interface:ComputeInstanceFromTemplateConfignetwork_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}
- Specified by:
getNetworkInterfacein interfaceComputeInstanceFromTemplateConfig
-
getNetworkPerformanceConfig
public final ComputeInstanceFromTemplateNetworkPerformanceConfig getNetworkPerformanceConfig()
Description copied from interface:ComputeInstanceFromTemplateConfignetwork_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}
- Specified by:
getNetworkPerformanceConfigin interfaceComputeInstanceFromTemplateConfig
-
getParams
public final ComputeInstanceFromTemplateParams getParams()
Description copied from interface:ComputeInstanceFromTemplateConfigparams 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}
- Specified by:
getParamsin interfaceComputeInstanceFromTemplateConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeInstanceFromTemplateConfigThe ID of the project in which the resource belongs.If self_link is provided, this value is ignored. If neither self_link nor project are provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#project ComputeInstanceFromTemplate#project}
- Specified by:
getProjectin interfaceComputeInstanceFromTemplateConfig
-
getReservationAffinity
public final ComputeInstanceFromTemplateReservationAffinity getReservationAffinity()
Description copied from interface:ComputeInstanceFromTemplateConfigreservation_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}
- Specified by:
getReservationAffinityin interfaceComputeInstanceFromTemplateConfig
-
getResourcePolicies
public final List<String> getResourcePolicies()
Description copied from interface:ComputeInstanceFromTemplateConfigA list of self_links of resource policies to attach to the instance.Currently a max of 1 resource policy is supported. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#resource_policies ComputeInstanceFromTemplate#resource_policies}
- Specified by:
getResourcePoliciesin interfaceComputeInstanceFromTemplateConfig
-
getScheduling
public final ComputeInstanceFromTemplateScheduling getScheduling()
Description copied from interface:ComputeInstanceFromTemplateConfigscheduling 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}
- Specified by:
getSchedulingin interfaceComputeInstanceFromTemplateConfig
-
getScratchDisk
public final Object getScratchDisk()
Description copied from interface:ComputeInstanceFromTemplateConfigThe scratch disks attached to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#scratch_disk ComputeInstanceFromTemplate#scratch_disk}
- Specified by:
getScratchDiskin interfaceComputeInstanceFromTemplateConfig
-
getServiceAccount
public final Object getServiceAccount()
Description copied from interface:ComputeInstanceFromTemplateConfigThe service account to attach to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#service_account ComputeInstanceFromTemplate#service_account}
- Specified by:
getServiceAccountin interfaceComputeInstanceFromTemplateConfig
-
getShieldedInstanceConfig
public final ComputeInstanceFromTemplateShieldedInstanceConfig getShieldedInstanceConfig()
Description copied from interface:ComputeInstanceFromTemplateConfigshielded_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}
- Specified by:
getShieldedInstanceConfigin interfaceComputeInstanceFromTemplateConfig
-
getTags
public final List<String> getTags()
Description copied from interface:ComputeInstanceFromTemplateConfigThe list of tags attached to the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#tags ComputeInstanceFromTemplate#tags}
- Specified by:
getTagsin interfaceComputeInstanceFromTemplateConfig
-
getTimeouts
public final ComputeInstanceFromTemplateTimeouts getTimeouts()
Description copied from interface:ComputeInstanceFromTemplateConfigtimeouts 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}
- Specified by:
getTimeoutsin interfaceComputeInstanceFromTemplateConfig
-
getZone
public final String getZone()
Description copied from interface:ComputeInstanceFromTemplateConfigThe zone of the instance.If self_link is provided, this value is ignored. If neither self_link nor zone are provided, the provider zone is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#zone ComputeInstanceFromTemplate#zone}
- Specified by:
getZonein interfaceComputeInstanceFromTemplateConfig
-
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
-
-