Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Method and Description |
---|---|
DiskTypeId |
AttachedDisk.CreateDiskConfiguration.getDiskType()
Returns the identity of the disk type.
|
DiskTypeId |
AttachedDisk.ScratchDiskConfiguration.getDiskType()
Returns the identity of the disk type for the scratch disk to attach.
|
DiskTypeId |
DiskConfiguration.getDiskType()
Returns the identity of the disk type.
|
DiskTypeId |
DiskType.getDiskTypeId()
Returns the disk type's identity.
|
static DiskTypeId |
DiskTypeId.of(String zone,
String type)
Returns a disk type identity given the zone and disk type names.
|
static DiskTypeId |
DiskTypeId.of(String project,
String zone,
String type)
Returns a disk type identity given project disk, zone and disk type names.
|
static DiskTypeId |
DiskTypeId.of(ZoneId zoneId,
String type)
Returns a disk type identity given the zone identity and the disk type name.
|
Modifier and Type | Method and Description |
---|---|
DeprecationStatus<DiskTypeId> |
DiskType.getDeprecationStatus()
Returns the deprecation status of the disk type.
|
Modifier and Type | Method and Description |
---|---|
DiskType |
Compute.getDiskType(DiskTypeId diskTypeId,
Compute.DiskTypeOption... options)
Returns the requested disk type or
null if not found. |
static AttachedDisk.ScratchDiskConfiguration.Builder |
AttachedDisk.ScratchDiskConfiguration.newBuilder(DiskTypeId diskType)
Returns a builder for
ScratchDiskConfiguration objects given the disk type identity. |
static StandardDiskConfiguration |
StandardDiskConfiguration.of(DiskTypeId diskType)
Returns a
StandardDiskConfiguration object given the disk type. |
static AttachedDisk.ScratchDiskConfiguration |
AttachedDisk.ScratchDiskConfiguration.of(DiskTypeId diskType)
Returns a
ScratchDiskConfiguration object given the disk type identity. |
static StandardDiskConfiguration |
StandardDiskConfiguration.of(DiskTypeId diskType,
long sizeGb)
Returns a
StandardDiskConfiguration object given the disk type and size in GB. |
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setDiskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
AttachedDisk.ScratchDiskConfiguration.Builder |
AttachedDisk.ScratchDiskConfiguration.Builder.setDiskType(DiskTypeId diskType)
Sets the identity of the disk type for the scratch disk to attach.
|
B |
DiskConfiguration.Builder.setDiskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
Copyright © 2019 Google LLC. All rights reserved.