Interface ComputeInstanceTemplateScheduling
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeInstanceTemplateScheduling.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.568Z") @Stability(Stable) public interface ComputeInstanceTemplateScheduling extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeInstanceTemplateScheduling.BuilderA builder forComputeInstanceTemplateSchedulingstatic classComputeInstanceTemplateScheduling.Jsii$ProxyAn implementation forComputeInstanceTemplateScheduling
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeInstanceTemplateScheduling.Builderbuilder()default ObjectgetAutomaticRestart()Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).default StringgetInstanceTerminationAction()Specifies the action GCE should take when SPOT VM is preempted.default ObjectgetLocalSsdRecoveryTimeout()local_ssd_recovery_timeout block.default ComputeInstanceTemplateSchedulingMaxRunDurationgetMaxRunDuration()max_run_duration block.default NumbergetMinNodeCpus()Minimum number of cpus for the instance.default ObjectgetNodeAffinities()node_affinities block.default StringgetOnHostMaintenance()Defines the maintenance behavior for this instance.default ComputeInstanceTemplateSchedulingOnInstanceStopActiongetOnInstanceStopAction()on_instance_stop_action block.default ObjectgetPreemptible()Allows instance to be preempted.default StringgetProvisioningModel()Whether the instance is spot.
-
-
-
Method Detail
-
getAutomaticRestart
@Stability(Stable) @Nullable default Object getAutomaticRestart()
Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user).This defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#automatic_restart ComputeInstanceTemplate#automatic_restart}
-
getInstanceTerminationAction
@Stability(Stable) @Nullable default String getInstanceTerminationAction()
Specifies the action GCE should take when SPOT VM is preempted.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#instance_termination_action ComputeInstanceTemplate#instance_termination_action}
-
getLocalSsdRecoveryTimeout
@Stability(Stable) @Nullable default Object getLocalSsdRecoveryTimeout()
local_ssd_recovery_timeout block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#local_ssd_recovery_timeout ComputeInstanceTemplate#local_ssd_recovery_timeout}
-
getMaxRunDuration
@Stability(Stable) @Nullable default ComputeInstanceTemplateSchedulingMaxRunDuration getMaxRunDuration()
max_run_duration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#max_run_duration ComputeInstanceTemplate#max_run_duration}
-
getMinNodeCpus
@Stability(Stable) @Nullable default Number getMinNodeCpus()
Minimum number of cpus for the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#min_node_cpus ComputeInstanceTemplate#min_node_cpus}
-
getNodeAffinities
@Stability(Stable) @Nullable default Object getNodeAffinities()
node_affinities block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#node_affinities ComputeInstanceTemplate#node_affinities}
-
getOnHostMaintenance
@Stability(Stable) @Nullable default String getOnHostMaintenance()
Defines the maintenance behavior for this instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#on_host_maintenance ComputeInstanceTemplate#on_host_maintenance}
-
getOnInstanceStopAction
@Stability(Stable) @Nullable default ComputeInstanceTemplateSchedulingOnInstanceStopAction getOnInstanceStopAction()
on_instance_stop_action block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#on_instance_stop_action ComputeInstanceTemplate#on_instance_stop_action}
-
getPreemptible
@Stability(Stable) @Nullable default Object getPreemptible()
Allows instance to be preempted. This defaults to false.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#preemptible ComputeInstanceTemplate#preemptible}
-
getProvisioningModel
@Stability(Stable) @Nullable default String getProvisioningModel()
Whether the instance is spot. If this is set as SPOT.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_template#provisioning_model ComputeInstanceTemplate#provisioning_model}
-
builder
@Stability(Stable) static ComputeInstanceTemplateScheduling.Builder builder()
-
-