CreationData Class

Definition

Data used when creating a disk.

public class CreationData
type CreationData = class
Public Class CreationData
Inheritance
System.Object
CreationData

Constructors

CreationData()

Initializes a new instance of the CreationData class.

Properties

CreateOption

Gets or sets this enumerates the possible sources of a disk's creation. Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy'

ImageReference

Gets or sets disk source information.

SourceResourceId

Gets or sets if createOption is Copy, this is the ARM id of the source snapshot or disk.

SourceUri

Gets or sets if createOption is Import, this is the URI of a blob to be imported into a managed disk.

StorageAccountId

Gets or sets if createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription

Methods

Validate()

Validate the object.

Applies to