Interface Disk.DefinitionStages.WithWindowsDiskSource

All Known Subinterfaces:
Disk.Definition, Disk.DefinitionStages.WithDiskSource
Enclosing interface:
Disk.DefinitionStages

public static interface Disk.DefinitionStages.WithWindowsDiskSource
The stage of a managed disk definition allowing to choose a Windows OS source.
  • Method Details

    • withWindowsFromDisk

      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
    • withWindowsFromDisk

      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
    • withWindowsFromSnapshot

      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
    • withWindowsFromSnapshot

      Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)
      Specifies a source Windows OS managed snapshot.
      Parameters:
      sourceSnapshot - source snapshot
      Returns:
      the next stage of the definition
    • withWindowsFromVhd

      Specifies a source specialized or generalized Windows OS VHD.
      Parameters:
      vhdUrl - the source VHD URL
      Returns:
      the next stage of the definition