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.

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.