Package | Description |
---|---|
com.google.api.services.compute | |
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
Compute.Instances.SetScheduling |
Compute.Instances.setScheduling(String project,
String zone,
String instance,
Scheduling content)
Sets an instance's scheduling options.
|
Constructor and Description |
---|
SetScheduling(String project,
String zone,
String instance,
Scheduling content)
Sets an instance's scheduling options.
|
Modifier and Type | Method and Description |
---|---|
Scheduling |
Scheduling.clone() |
Scheduling |
Instance.getScheduling()
Sets the scheduling options for this instance.
|
Scheduling |
SourceInstanceProperties.getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
Scheduling |
InstanceProperties.getScheduling()
Specifies the scheduling options for the instances that are created from these properties.
|
Scheduling |
Scheduling.set(String fieldName,
Object value) |
Scheduling |
Scheduling.setAutomaticRestart(Boolean automaticRestart)
Specifies whether the instance should be automatically restarted if it is terminated by Compute
Engine (not terminated by a user).
|
Scheduling |
Scheduling.setInstanceTerminationAction(String instanceTerminationAction)
Specifies the termination action for the instance.
|
Scheduling |
Scheduling.setLocalSsdRecoveryTimeout(Duration localSsdRecoveryTimeout)
Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd
state is attempted.
|
Scheduling |
Scheduling.setLocationHint(String locationHint)
An opaque location hint used to place the instance close to other resources.
|
Scheduling |
Scheduling.setMaxRunDuration(Duration maxRunDuration)
Specifies the max run duration for the given instance.
|
Scheduling |
Scheduling.setMinNodeCpus(Integer minNodeCpus)
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant
node.
|
Scheduling |
Scheduling.setNodeAffinities(List<SchedulingNodeAffinity> nodeAffinities)
A set of node affinity and anti-affinity configurations.
|
Scheduling |
Scheduling.setOnHostMaintenance(String onHostMaintenance)
Defines the maintenance behavior for this instance.
|
Scheduling |
Scheduling.setOnInstanceStopAction(SchedulingOnInstanceStopAction onInstanceStopAction) |
Scheduling |
Scheduling.setPreemptible(Boolean preemptible)
Defines whether the instance is preemptible.
|
Scheduling |
Scheduling.setProvisioningModel(String provisioningModel)
Specifies the provisioning model of the instance.
|
Scheduling |
Scheduling.setTerminationTime(String terminationTime)
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format.
|
Modifier and Type | Method and Description |
---|---|
Instance |
Instance.setScheduling(Scheduling scheduling)
Sets the scheduling options for this instance.
|
SourceInstanceProperties |
SourceInstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from this machine image.
|
InstanceProperties |
InstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from these properties.
|
Copyright © 2011–2024 Google. All rights reserved.