Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Field and Description |
---|---|
static SchedulingOptions.Maintenance |
SchedulingOptions.Maintenance.MIGRATE
The default behavior for standard instances.
|
static SchedulingOptions.Maintenance |
SchedulingOptions.Maintenance.TERMINATE
The default and only possible behavior for preemptible instances.
|
Modifier and Type | Method and Description |
---|---|
SchedulingOptions.Maintenance |
SchedulingOptions.getMaintenance()
Returns the maintenance behavior for the instance.
|
static SchedulingOptions.Maintenance |
SchedulingOptions.Maintenance.valueOf(String constant)
Get the Maintenance for the given String constant, and allow unrecognized values.
|
static SchedulingOptions.Maintenance |
SchedulingOptions.Maintenance.valueOfStrict(String constant)
Get the Maintenance for the given String constant, and throw an exception if the constant is
not recognized.
|
static SchedulingOptions.Maintenance[] |
SchedulingOptions.Maintenance.values()
Return the known values for Maintenance.
|
Modifier and Type | Method and Description |
---|---|
static SchedulingOptions |
SchedulingOptions.standard(boolean automaticRestart,
SchedulingOptions.Maintenance maintenance)
Returns a
SchedulingOptions object for a standard instance. |
Copyright © 2019 Google LLC. All rights reserved.