Package version:
This enumerates the possible sources of a disk's creation.
OptionalelasticRequired if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot.
OptionalgalleryRequired if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
OptionalimageDisk source information for PIR or user images.
OptionallogicalLogical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
OptionalperformanceSet this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
OptionalprovisionedIf this field is set on a snapshot and createOption is CopyStart, the snapshot will be copied at a quicker speed.
OptionalsecurityIf createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
OptionalsourceIf createOption is Copy, this is the ARM id of the source snapshot or disk.
Optional ReadonlysourceIf this field is set, this is the unique id identifying the source of this resource. NOTE: This property will not be serialized. It can only be populated by the server.
OptionalsourceIf createOption is Import, this is the URI of a blob to be imported into a managed disk.
OptionalstorageRequired if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
OptionaluploadIf createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
Data used when creating a disk.