다음을 통해 공유


Disk.DefinitionStages.WithWindowsDiskSource Interface

public static interface Disk.DefinitionStages.WithWindowsDiskSource

The stage of a managed disk definition allowing to choose a Windows OS source.

Method Summary

Modifier and Type Method and Description
abstract WithCreateAndSize withWindowsFromDisk(Disk sourceDisk)

Specifies a source Windows OS managed disk.

abstract WithCreateAndSize withWindowsFromDisk(String sourceDiskId)

Specifies a source Windows OS managed disk.

abstract WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies a source Windows OS managed snapshot.

abstract WithCreateAndSize withWindowsFromSnapshot(String sourceSnapshotId)

Specifies a source Windows OS managed snapshot.

abstract WithStorageAccount withWindowsFromVhd(String vhdUrl)

Specifies a source specialized or generalized Windows OS VHD.

Method Details

withWindowsFromDisk

public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromDisk(Disk sourceDisk)

Specifies a source Windows OS managed disk.

Parameters:

sourceDisk - source managed disk

Returns:

the next stage of the definition

withWindowsFromDisk

public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromDisk(String sourceDiskId)

Specifies a source Windows OS managed disk.

Parameters:

sourceDiskId - source managed disk resource ID

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies a source Windows OS managed snapshot.

Parameters:

sourceSnapshot - source snapshot

Returns:

the next stage of the definition

withWindowsFromSnapshot

public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(String sourceSnapshotId)

Specifies a source Windows OS managed snapshot.

Parameters:

sourceSnapshotId - snapshot resource ID

Returns:

the next stage of the definition

withWindowsFromVhd

public abstract Disk.DefinitionStages.WithStorageAccount withWindowsFromVhd(String vhdUrl)

Specifies a source specialized or generalized Windows OS VHD.

Parameters:

vhdUrl - the source VHD URL

Returns:

the next stage of the definition

Applies to