Udostępnij za pośrednictwem


IDefinition<ParentT> Interface

Definition

The entirety of a data disk image definition.

public interface IDefinition<ParentT> : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithDiskLun<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithDiskSettings<ParentT>, Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithImageSource<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDiskLun<'ParentT>
    interface IWithImageSource<'ParentT>
    interface IWithDiskSettings<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithDiskLun(Of ParentT), IWithDiskSettings(Of ParentT), IWithImageSource(Of ParentT)

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
FromManagedDisk(IDisk)

Specifies the source managed disk for the data disk image.

(Inherited from IWithImageSource<ParentT>)
FromManagedDisk(String)

Specifies the source managed disk for the data disk image.

(Inherited from IWithImageSource<ParentT>)
FromSnapshot(String)

Specifies the source snapshot for the data disk image.

(Inherited from IWithImageSource<ParentT>)
FromVhd(String)

Specifies the source VHD for the data disk image.

(Inherited from IWithImageSource<ParentT>)
WithDiskCaching(CachingTypes)

Specifies the caching type for data disk.

(Inherited from IWithDiskSettings<ParentT>)
WithDiskSizeInGB(Int32)

Specifies the size in GB for data disk.

(Inherited from IWithDiskSettings<ParentT>)
WithLun(Int32)

Specifies the LUN for the data disk to be created from the disk image.

(Inherited from IWithDiskLun<ParentT>)

Applies to