Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
com.google.cloud.compute.deprecated.testing |
A testing helper for Google Compute Engine.
|
Modifier and Type | Method and Description |
---|---|
ImageId |
ImageInfo.getImageId()
Returns the image identity.
|
ImageId |
ImageDiskConfiguration.getSourceImage()
Returns the identity of the source image used to create the disk.
|
ImageId |
AttachedDisk.CreateDiskConfiguration.getSourceImage()
Returns the identity of the source image used to create the disk.
|
static ImageId |
ImageId.of(String image)
Returns an image identity given the image name.
|
static ImageId |
ImageId.of(String project,
String image)
Returns an image identity given project and image names.
|
Modifier and Type | Method and Description |
---|---|
DeprecationStatus<ImageId> |
ImageInfo.getDeprecationStatus()
Returns the deprecation status of the image.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Compute.deleteImage(ImageId image,
Compute.OperationOption... options)
Deletes the requested image.
|
Operation |
Compute.deprecate(ImageId image,
DeprecationStatus<ImageId> deprecationStatus,
Compute.OperationOption... options)
Deprecates the requested image.
|
Image |
Compute.getImage(ImageId imageId,
Compute.ImageOption... options)
Returns the requested image or
null if not found. |
static ImageDiskConfiguration.Builder |
ImageDiskConfiguration.newBuilder(ImageId imageId)
Returns a builder for an
ImageDiskConfiguration object given the image identity. |
static AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.newBuilder(ImageId sourceImage)
Returns a builder for a
CreateDiskConfiguration object given the source image that
will be used to create the disk. |
static ImageInfo.Builder |
ImageInfo.newBuilder(ImageId imageId,
ImageConfiguration configuration)
Returns a builder for an
ImageInfo object given the image identity and an image
configuration. |
static ImageDiskConfiguration |
ImageDiskConfiguration.of(ImageId imageId)
Returns an
ImageDiskConfiguration object given the image identity. |
static AttachedDisk.CreateDiskConfiguration |
AttachedDisk.CreateDiskConfiguration.of(ImageId sourceImage)
Returns a
CreateDiskConfiguration object given the source image that will be used to
create the disk. |
static ImageInfo |
ImageInfo.of(ImageId imageId,
ImageConfiguration configuration)
Returns an
ImageInfo object given the image identity and an image configuration. |
abstract ImageInfo.Builder |
ImageInfo.Builder.setImageId(ImageId imageId)
Sets the image identity.
|
Image.Builder |
Image.Builder.setImageId(ImageId imageId) |
ImageDiskConfiguration.Builder |
ImageDiskConfiguration.Builder.setSourceImage(ImageId sourceImage)
Sets the identity of the source image used to create the disk.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setSourceImage(ImageId sourceImage)
Sets the identity of the source image used to create the disk.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Image.deprecate(DeprecationStatus<ImageId> deprecationStatus,
Compute.OperationOption... options)
Deprecates this image.
|
Operation |
Compute.deprecate(ImageId image,
DeprecationStatus<ImageId> deprecationStatus,
Compute.OperationOption... options)
Deprecates the requested image.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceCleaner.add(ImageId imageId) |
Copyright © 2019 Google LLC. All rights reserved.