Class ComputeInstanceConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstanceConfig.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeInstanceConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeInstanceConfig
@Stability(Stable) @Internal public static final class ComputeInstanceConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeInstanceConfig
An implementation forComputeInstanceConfig
-
-
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.ComputeInstanceConfig
ComputeInstanceConfig.Builder, ComputeInstanceConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeInstanceConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeInstanceConfig.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)ComputeInstanceAdvancedMachineFeaturesgetAdvancedMachineFeatures()advanced_machine_features block.ObjectgetAllowStoppingForUpdate()If true, allows Terraform to stop the instance to update its properties.ObjectgetAttachedDisk()attached_disk block.ComputeInstanceBootDiskgetBootDisk()boot_disk block.ObjectgetCanIpForward()Whether sending and receiving of packets with non-matching source or destination IPs is allowed.ComputeInstanceConfidentialInstanceConfiggetConfidentialInstanceConfig()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#id ComputeInstance#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.ComputeInstanceNetworkPerformanceConfiggetNetworkPerformanceConfig()network_performance_config block.ComputeInstanceParamsgetParams()params block.StringgetProject()The ID of the project in which the resource belongs.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()ComputeInstanceReservationAffinitygetReservationAffinity()reservation_affinity block.List<String>getResourcePolicies()A list of self_links of resource policies to attach to the instance.ComputeInstanceSchedulinggetScheduling()scheduling block.ObjectgetScratchDisk()scratch_disk block.ComputeInstanceServiceAccountgetServiceAccount()service_account block.ComputeInstanceShieldedInstanceConfiggetShieldedInstanceConfig()shielded_instance_config block.List<String>getTags()The list of tags attached to the instance.ComputeInstanceTimeoutsgetTimeouts()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(ComputeInstanceConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeInstanceConfig.Builder.
-
-
Method Detail
-
getBootDisk
public final ComputeInstanceBootDisk getBootDisk()
Description copied from interface:ComputeInstanceConfigboot_disk block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#boot_disk ComputeInstance#boot_disk}
- Specified by:
getBootDiskin interfaceComputeInstanceConfig
-
getMachineType
public final String getMachineType()
Description copied from interface:ComputeInstanceConfigThe machine type to create.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#machine_type ComputeInstance#machine_type}
- Specified by:
getMachineTypein interfaceComputeInstanceConfig
-
getName
public final String getName()
Description copied from interface:ComputeInstanceConfigThe 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#name ComputeInstance#name}
- Specified by:
getNamein interfaceComputeInstanceConfig
-
getNetworkInterface
public final Object getNetworkInterface()
Description copied from interface:ComputeInstanceConfignetwork_interface block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#network_interface ComputeInstance#network_interface}
- Specified by:
getNetworkInterfacein interfaceComputeInstanceConfig
-
getAdvancedMachineFeatures
public final ComputeInstanceAdvancedMachineFeatures getAdvancedMachineFeatures()
Description copied from interface:ComputeInstanceConfigadvanced_machine_features block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#advanced_machine_features ComputeInstance#advanced_machine_features}
- Specified by:
getAdvancedMachineFeaturesin interfaceComputeInstanceConfig
-
getAllowStoppingForUpdate
public final Object getAllowStoppingForUpdate()
Description copied from interface:ComputeInstanceConfigIf 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#allow_stopping_for_update ComputeInstance#allow_stopping_for_update}
- Specified by:
getAllowStoppingForUpdatein interfaceComputeInstanceConfig
-
getAttachedDisk
public final Object getAttachedDisk()
Description copied from interface:ComputeInstanceConfigattached_disk block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#attached_disk ComputeInstance#attached_disk}
- Specified by:
getAttachedDiskin interfaceComputeInstanceConfig
-
getCanIpForward
public final Object getCanIpForward()
Description copied from interface:ComputeInstanceConfigWhether 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#can_ip_forward ComputeInstance#can_ip_forward}
- Specified by:
getCanIpForwardin interfaceComputeInstanceConfig
-
getConfidentialInstanceConfig
public final ComputeInstanceConfidentialInstanceConfig getConfidentialInstanceConfig()
Description copied from interface:ComputeInstanceConfigconfidential_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#confidential_instance_config ComputeInstance#confidential_instance_config}
- Specified by:
getConfidentialInstanceConfigin interfaceComputeInstanceConfig
-
getDeletionProtection
public final Object getDeletionProtection()
Description copied from interface:ComputeInstanceConfigWhether 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#deletion_protection ComputeInstance#deletion_protection}
- Specified by:
getDeletionProtectionin interfaceComputeInstanceConfig
-
getDescription
public final String getDescription()
Description copied from interface:ComputeInstanceConfigA brief description of the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#description ComputeInstance#description}
- Specified by:
getDescriptionin interfaceComputeInstanceConfig
-
getDesiredStatus
public final String getDesiredStatus()
Description copied from interface:ComputeInstanceConfigDesired 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#desired_status ComputeInstance#desired_status}
- Specified by:
getDesiredStatusin interfaceComputeInstanceConfig
-
getEnableDisplay
public final Object getEnableDisplay()
Description copied from interface:ComputeInstanceConfigWhether 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#enable_display ComputeInstance#enable_display}
- Specified by:
getEnableDisplayin interfaceComputeInstanceConfig
-
getGuestAccelerator
public final Object getGuestAccelerator()
Description copied from interface:ComputeInstanceConfigList 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#guest_accelerator ComputeInstance#guest_accelerator}
- Specified by:
getGuestAcceleratorin interfaceComputeInstanceConfig
-
getHostname
public final String getHostname()
Description copied from interface:ComputeInstanceConfigA 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#hostname ComputeInstance#hostname}
- Specified by:
getHostnamein interfaceComputeInstanceConfig
-
getId
public final String getId()
Description copied from interface:ComputeInstanceConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#id ComputeInstance#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 interfaceComputeInstanceConfig
-
getLabels
public final Map<String,String> getLabels()
Description copied from interface:ComputeInstanceConfigA 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#labels ComputeInstance#labels}
- Specified by:
getLabelsin interfaceComputeInstanceConfig
-
getMetadata
public final Map<String,String> getMetadata()
Description copied from interface:ComputeInstanceConfigMetadata 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#metadata ComputeInstance#metadata}
- Specified by:
getMetadatain interfaceComputeInstanceConfig
-
getMetadataStartupScript
public final String getMetadataStartupScript()
Description copied from interface:ComputeInstanceConfigMetadata 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#metadata_startup_script ComputeInstance#metadata_startup_script}
- Specified by:
getMetadataStartupScriptin interfaceComputeInstanceConfig
-
getMinCpuPlatform
public final String getMinCpuPlatform()
Description copied from interface:ComputeInstanceConfigThe 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#min_cpu_platform ComputeInstance#min_cpu_platform}
- Specified by:
getMinCpuPlatformin interfaceComputeInstanceConfig
-
getNetworkPerformanceConfig
public final ComputeInstanceNetworkPerformanceConfig getNetworkPerformanceConfig()
Description copied from interface:ComputeInstanceConfignetwork_performance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#network_performance_config ComputeInstance#network_performance_config}
- Specified by:
getNetworkPerformanceConfigin interfaceComputeInstanceConfig
-
getParams
public final ComputeInstanceParams getParams()
Description copied from interface:ComputeInstanceConfigparams block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#params ComputeInstance#params}
- Specified by:
getParamsin interfaceComputeInstanceConfig
-
getProject
public final String getProject()
Description copied from interface:ComputeInstanceConfigThe 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#project ComputeInstance#project}
- Specified by:
getProjectin interfaceComputeInstanceConfig
-
getReservationAffinity
public final ComputeInstanceReservationAffinity getReservationAffinity()
Description copied from interface:ComputeInstanceConfigreservation_affinity block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#reservation_affinity ComputeInstance#reservation_affinity}
- Specified by:
getReservationAffinityin interfaceComputeInstanceConfig
-
getResourcePolicies
public final List<String> getResourcePolicies()
Description copied from interface:ComputeInstanceConfigA 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#resource_policies ComputeInstance#resource_policies}
- Specified by:
getResourcePoliciesin interfaceComputeInstanceConfig
-
getScheduling
public final ComputeInstanceScheduling getScheduling()
Description copied from interface:ComputeInstanceConfigscheduling block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#scheduling ComputeInstance#scheduling}
- Specified by:
getSchedulingin interfaceComputeInstanceConfig
-
getScratchDisk
public final Object getScratchDisk()
Description copied from interface:ComputeInstanceConfigscratch_disk block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#scratch_disk ComputeInstance#scratch_disk}
- Specified by:
getScratchDiskin interfaceComputeInstanceConfig
-
getServiceAccount
public final ComputeInstanceServiceAccount getServiceAccount()
Description copied from interface:ComputeInstanceConfigservice_account block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#service_account ComputeInstance#service_account}
- Specified by:
getServiceAccountin interfaceComputeInstanceConfig
-
getShieldedInstanceConfig
public final ComputeInstanceShieldedInstanceConfig getShieldedInstanceConfig()
Description copied from interface:ComputeInstanceConfigshielded_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#shielded_instance_config ComputeInstance#shielded_instance_config}
- Specified by:
getShieldedInstanceConfigin interfaceComputeInstanceConfig
-
getTags
public final List<String> getTags()
Description copied from interface:ComputeInstanceConfigThe 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#tags ComputeInstance#tags}
- Specified by:
getTagsin interfaceComputeInstanceConfig
-
getTimeouts
public final ComputeInstanceTimeouts getTimeouts()
Description copied from interface:ComputeInstanceConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#timeouts ComputeInstance#timeouts}
- Specified by:
getTimeoutsin interfaceComputeInstanceConfig
-
getZone
public final String getZone()
Description copied from interface:ComputeInstanceConfigThe 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#zone ComputeInstance#zone}
- Specified by:
getZonein interfaceComputeInstanceConfig
-
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
-
-