Delen via


IWithDataDiskSource Interface

Definition

The stage of the managed disk definition allowing to choose data source.

public interface IWithDataDiskSource : Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDataDiskFromDisk, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDataDiskFromSnapshot, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDataDiskFromUpload, Microsoft.Azure.Management.Compute.Fluent.Disk.Definition.IWithDataDiskFromVhd
type IWithDataDiskSource = interface
    interface IWithDataDiskFromVhd
    interface IWithDataDiskFromUpload
    interface IWithDataDiskFromDisk
    interface IWithDataDiskFromSnapshot
Public Interface IWithDataDiskSource
Implements IWithDataDiskFromDisk, IWithDataDiskFromSnapshot, IWithDataDiskFromUpload, IWithDataDiskFromVhd
Derived
Implements

Methods

FromDisk(IDisk)

Specifies the source data managed disk.

(Inherited from IWithDataDiskFromDisk)
FromDisk(String)

Specifies the ID of source data managed disk.

(Inherited from IWithDataDiskFromDisk)
FromSnapshot(ISnapshot)

Specifies the source data managed snapshot.

(Inherited from IWithDataDiskFromSnapshot)
FromSnapshot(String)

Specifies the source data managed snapshot.

(Inherited from IWithDataDiskFromSnapshot)
FromVhd(String)

Specifies the source data VHD.

(Inherited from IWithDataDiskFromVhd)
WithSizeInGB(Int32)

Specifies the disk size for an empty disk.

WithUploadSizeInMB(Nullable<Int64>)

Gets or sets if createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20 (20 MiB) and 33554432 bytes (32 TiB).

(Inherited from IWithDataDiskFromUpload)

Applies to