DiskCreateOptionTypes

enum DiskCreateOptionTypes : Enum<DiskCreateOptionTypes> , ConvertibleToJava<DiskCreateOptionTypes>

Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.

Entries

Link copied to clipboard

This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.

Link copied to clipboard

This value is used when creating an empty data disk.

Link copied to clipboard

This value is used when you are using a specialized disk to create the virtual machine.

Link copied to clipboard

This value is used to create a data disk from a snapshot or another disk.

Link copied to clipboard

This value is used to create a data disk from a disk restore point.

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: DiskCreateOptionTypes
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): DiskCreateOptionTypes
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.