Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Method and Description |
---|---|
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. |
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setAutoDelete(Boolean autoDelete)
Sets whether the disk should auto-delete when the instance to which it's attached is
deleted.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setDiskName(String diskName)
Sets the name to be assigned to the disk.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setDiskSizeGb(Long diskSizeGb)
Sets the size of the persistent disk, in GB.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setDiskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.setSourceImage(ImageId sourceImage)
Sets the identity of the source image used to create the disk.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.toBuilder()
Returns a builder for the current configuration.
|
Copyright © 2019 Google LLC. All rights reserved.