次の方法で共有


Disk.DefinitionStages.WithWindowsDiskSource Interface

public interface WithWindowsDiskSource

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

Method Summary

Modifier and Type Method and Description
Disk.DefinitionStages.WithCreateAndSize withWindowsFromDisk(Disk sourceDisk)

Specifies a source Windows OS managed disk.

Disk.DefinitionStages.WithCreateAndSize withWindowsFromDisk(String sourceDiskId)

Specifies a source Windows OS managed disk.

Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies a source Windows OS managed snapshot.

Disk.DefinitionStages.WithCreateAndSize withWindowsFromSnapshot(String sourceSnapshotId)

Specifies a source Windows OS managed snapshot.

Disk.DefinitionStages.WithCreateAndSize withWindowsFromVhd(String vhdUrl)

Specifies a source specialized or generalized Windows OS VHD.

Method Details

withWindowsFromDisk

public 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 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 WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)

Specifies a source Windows OS managed snapshot.

Parameters:

sourceSnapshot - source snapshot

Returns:

the next stage of the definition

withWindowsFromSnapshot

public 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 WithCreateAndSize 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