| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Method and Description |
|---|---|
DiskTypeId |
DiskConfiguration.diskType()
Returns the identity of the disk type.
|
DiskTypeId |
AttachedDisk.CreateDiskConfiguration.diskType()
Returns the identity of the disk type.
|
DiskTypeId |
AttachedDisk.ScratchDiskConfiguration.diskType()
Returns the identity of the disk type for the scratch disk to attach.
|
DiskTypeId |
DiskType.diskTypeId()
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.deprecationStatus()
Returns the deprecation status of the disk type.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachedDisk.ScratchDiskConfiguration.Builder |
AttachedDisk.ScratchDiskConfiguration.builder(DiskTypeId diskType)
Returns a builder for
ScratchDiskConfiguration objects given the disk type identity. |
B |
DiskConfiguration.Builder.diskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.diskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
AttachedDisk.ScratchDiskConfiguration.Builder |
AttachedDisk.ScratchDiskConfiguration.Builder.diskType(DiskTypeId diskType)
Sets the identity of the disk type for the scratch disk to attach.
|
DiskType |
Compute.getDiskType(DiskTypeId diskTypeId,
Compute.DiskTypeOption... options)
Returns the requested disk type or
null if not found. |
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. |
Copyright © 2016 Google. All rights reserved.