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 |
InstanceProperties.getScheduling()
Specifies the scheduling options for the instances that are created from these properties.
|
Scheduling |
Instance.getScheduling()
Sets the scheduling options for this instance.
|
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.setLocationHint(String locationHint)
An opaque location hint used to place the instance close to other resources.
|
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.setPreemptible(Boolean preemptible)
Defines whether the instance is preemptible.
|
Modifier and Type | Method and Description |
---|---|
InstanceProperties |
InstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from these properties.
|
Instance |
Instance.setScheduling(Scheduling scheduling)
Sets the scheduling options for this instance.
|
Copyright © 2011–2021 Google. All rights reserved.