Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Method and Description |
---|---|
MachineTypeId |
InstanceInfo.getMachineType()
Returns the machine type identity.
|
MachineTypeId |
MachineType.getMachineTypeId()
Returns the machine type's identity.
|
static MachineTypeId |
MachineTypeId.of(String zone,
String type)
Returns a machine type identity given the zone and type names.
|
static MachineTypeId |
MachineTypeId.of(String project,
String zone,
String type)
Returns a machine type identity given project, zone and type names.
|
Modifier and Type | Method and Description |
---|---|
DeprecationStatus<MachineTypeId> |
MachineType.getDeprecationStatus()
Returns the deprecation status of the machine type.
|
Modifier and Type | Method and Description |
---|---|
MachineType |
Compute.getMachineType(MachineTypeId machineTypeId,
Compute.MachineTypeOption... options)
Returns the requested machine type or
null if not found. |
static InstanceInfo.Builder |
InstanceInfo.newBuilder(InstanceId instanceId,
MachineTypeId machineType)
Returns a builder for an
InstanceInfo object given the instance identity and the
machine type. |
static InstanceInfo |
InstanceInfo.of(InstanceId instanceId,
MachineTypeId machineType,
AttachedDisk disk,
NetworkInterface networkInterface)
Returns an
InstanceInfo object given the instance identity, the machine type, a disk to
attach to the instance and a network interface. |
Operation |
Compute.setMachineType(InstanceId instance,
MachineTypeId machineType,
Compute.OperationOption... options)
Sets the machine type for the provided instance.
|
Instance.Builder |
Instance.Builder.setMachineType(MachineTypeId machineType) |
abstract InstanceInfo.Builder |
InstanceInfo.Builder.setMachineType(MachineTypeId machineType)
Sets the machine type identity.
|
InstanceInfo.Builder |
InstanceInfo.BuilderImpl.setMachineType(MachineTypeId machineType) |
Operation |
Instance.setMachineType(MachineTypeId machineType,
Compute.OperationOption... options)
Sets the machine type for this instance.
|
Copyright © 2019 Google LLC. All rights reserved.