Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration KnownDiskCreateOption

Package version

Known values of DiskCreateOption that the service accepts.

Index

Enumeration members

Attach

Attach: = "Attach"

Disk will be attached to a VM.

Copy

Copy: = "Copy"

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

Empty

Empty: = "Empty"

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

FromImage

FromImage: = "FromImage"

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

Import

Import: = "Import"

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

Restore

Restore: = "Restore"

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

Upload

Upload: = "Upload"

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

Generated using TypeDoc