IWithOSDiskImageSource.WithWindowsFromDisk Método

Definição

Sobrecargas

WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Especifica o disco gerenciado de origem do Windows para a imagem de disco do sistema operacional.

WithWindowsFromDisk(String, OperatingSystemStateTypes)

Especifica o disco gerenciado de origem do Windows para a imagem de disco do sistema operacional.

WithWindowsFromDisk(IDisk, OperatingSystemStateTypes)

Especifica o disco gerenciado de origem do Windows para a imagem de disco do sistema operacional.

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

Parâmetros

sourceManagedDisk
IDisk

Disco gerenciado de origem.

osState
OperatingSystemStateTypes

Estado do sistema operacional.

Retornos

Aplica-se a

WithWindowsFromDisk(String, OperatingSystemStateTypes)

Especifica o disco gerenciado de origem do Windows para a imagem de disco do sistema operacional.

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

Parâmetros

sourceManagedDiskId
String

ID do recurso de disco gerenciado de origem.

osState
OperatingSystemStateTypes

Estado do sistema operacional.

Retornos

Aplica-se a