DiskCreateOption

enum DiskCreateOption : Enum<DiskCreateOption> , ConvertibleToJava<DiskCreateOption>

This enumerates the possible sources of a disk's creation.

Entries

Link copied to clipboard

Create an empty data disk of a size given by diskSizeGB.

Link copied to clipboard

Disk will be attached to a VM.

Link copied to clipboard

Create a new disk from a platform image specified by the given imageReference or galleryImageReference.

Link copied to clipboard

Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId.

Link copied to clipboard

Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId.

Link copied to clipboard

Create a new disk by copying from a backup recovery point.

Link copied to clipboard

Create a new disk by obtaining a write token and using it to directly upload the contents of the disk.

Link copied to clipboard

Create a new disk by using a deep copy process, where the resource creation is considered complete only after all data has been copied from the source.

Link copied to clipboard

Similar to Import create option. Create a new Trusted Launch VM or Confidential VM supported disk by importing additional blob for VM guest state specified by securityDataUri in storage account specified by storageAccountId

Link copied to clipboard

Similar to Upload create option. Create a new Trusted Launch VM or Confidential VM supported disk and upload using write token in both disk and VM guest state

Link copied to clipboard

Create a new disk by exporting from elastic san volume snapshot

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: DiskCreateOption
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): DiskCreateOption
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.