Interface Disk.DefinitionStages.WithLinuxDiskSource

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

public static interface Disk.DefinitionStages.WithLinuxDiskSource
The stage of the managed disk definition allowing to choose Linux OS source.
  • Method Details

    • withLinuxFromDisk

      Disk.DefinitionStages.WithCreateAndSize withLinuxFromDisk(String sourceDiskId)
      Specifies the source Linux OS managed disk.
      Parameters:
      sourceDiskId - source managed disk resource ID
      Returns:
      the next stage of the definition
    • withLinuxFromDisk

      Disk.DefinitionStages.WithCreateAndSize withLinuxFromDisk(Disk sourceDisk)
      Specifies the source Linux OS managed disk.
      Parameters:
      sourceDisk - source managed disk
      Returns:
      the next stage of the definition
    • withLinuxFromSnapshot

      Disk.DefinitionStages.WithCreateAndSize withLinuxFromSnapshot(String sourceSnapshotId)
      Specifies the source Linux OS managed snapshot.
      Parameters:
      sourceSnapshotId - snapshot resource ID
      Returns:
      the next stage of the definition
    • withLinuxFromSnapshot

      Disk.DefinitionStages.WithCreateAndSize withLinuxFromSnapshot(Snapshot sourceSnapshot)
      Specifies the source Linux OS managed snapshot.
      Parameters:
      sourceSnapshot - source snapshot
      Returns:
      the next stage of the definition
    • withLinuxFromVhd

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