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
With |
withWindowsFromDisk(Disk sourceDisk)
Specifies a source Windows OS managed disk. |
abstract
With |
withWindowsFromDisk(String sourceDiskId)
Specifies a source Windows OS managed disk. |
abstract
With |
withWindowsFromSnapshot(Snapshot sourceSnapshot)
Specifies a source Windows OS managed snapshot. |
abstract
With |
withWindowsFromSnapshot(String sourceSnapshotId)
Specifies a source Windows OS managed snapshot. |
abstract
With |
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:
Returns:
withWindowsFromDisk
public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromDisk(String sourceDiskId)
Specifies a source Windows OS managed disk.
Parameters:
Returns:
withWindowsFromSnapshot
public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)
Specifies a source Windows OS managed snapshot.
Parameters:
Returns:
withWindowsFromSnapshot
public abstract Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(String sourceSnapshotId)
Specifies a source Windows OS managed snapshot.
Parameters:
Returns:
withWindowsFromVhd
public abstract Disk.DefinitionStages.WithStorageAccount withWindowsFromVhd(String vhdUrl)
Specifies a source specialized or generalized Windows OS VHD.
Parameters:
Returns:
Applies to
Azure SDK for Java