다음을 통해 공유


IWithOSDiskImageSource.WithLinuxFromDisk Method

Definition

Overloads

WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

WithLinuxFromDisk(String, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

WithLinuxFromDisk(IDisk, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

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

Parameters

sourceManagedDisk
IDisk

Source managed disk.

osState
OperatingSystemStateTypes

Operating system state.

Returns

Applies to

WithLinuxFromDisk(String, OperatingSystemStateTypes)

Specifies the Linux source managed disk for the OS disk image.

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

Parameters

sourceManagedDiskId
String

Source managed disk resource ID.

osState
OperatingSystemStateTypes

Operating system state.

Returns

Applies to