Partager via


IWithOSDiskImageSource.WithWindowsFromDisk Méthode

Définition

Surcharges

WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Spécifie le disque managé source Windows pour l’image disque du système d’exploitation.

WithWindowsFromDisk(String, OperatingSystemStateTypes)

Spécifie le disque managé source Windows pour l’image disque du système d’exploitation.

WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Spécifie le disque managé source Windows pour l’image disque du système d’exploitation.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromDisk (Microsoft.Azure.Management.Compute.Fluent.IDisk sourceManagedDisk, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromDisk : Microsoft.Azure.Management.Compute.Fluent.IDisk * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromDisk (sourceManagedDisk As IDisk, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings

Paramètres

sourceManagedDisk
IDisk

Disque managé source.

osState
OperatingSystemStateTypes

État du système d’exploitation.

Retours

S’applique à

WithWindowsFromDisk(String, OperatingSystemStateTypes)

Spécifie le disque managé source Windows pour l’image disque du système d’exploitation.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings WithWindowsFromDisk (string sourceManagedDiskId, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState);
abstract member WithWindowsFromDisk : string * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.Definition.IWithCreateAndDataDiskImageOSDiskSettings
Public Function WithWindowsFromDisk (sourceManagedDiskId As String, osState As OperatingSystemStateTypes) As IWithCreateAndDataDiskImageOSDiskSettings

Paramètres

sourceManagedDiskId
String

ID de ressource de disque managé source.

osState
OperatingSystemStateTypes

État du système d’exploitation.

Retours

S’applique à