Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CreationData

Package version

Data used when creating a disk.

Hierarchy

  • CreationData

Index

Properties

createOption

createOption: DiskCreateOption

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

Optional galleryImageReference

galleryImageReference: ImageDiskReference

Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.

Optional imageReference

imageReference: ImageDiskReference

Disk source information.

Optional logicalSectorSize

logicalSectorSize: undefined | number

Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.

Optional sourceResourceId

sourceResourceId: undefined | string

If createOption is Copy, this is the ARM id of the source snapshot or disk.

Optional sourceUniqueId

sourceUniqueId: undefined | string

If 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.

Optional sourceUri

sourceUri: undefined | string

If createOption is Import, this is the URI of a blob to be imported into a managed disk.

Optional storageAccountId

storageAccountId: undefined | string

Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.

Optional uploadSizeBytes

uploadSizeBytes: undefined | number

If 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).

Generated using TypeDoc