다음을 통해 공유


IWithOSDiskImageSource.WithLinuxFromSnapshot Method

Definition

Overloads

WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

WithLinuxFromSnapshot(ISnapshot, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

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

Parameters

sourceSnapshot
ISnapshot

Source snapshot resource.

osState
OperatingSystemStateTypes

Operating system state.

Returns

Applies to

WithLinuxFromSnapshot(String, OperatingSystemStateTypes)

Specifies the Linux source snapshot for the OS disk image.

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

Parameters

sourceSnapshotId
String

Source snapshot resource ID.

osState
OperatingSystemStateTypes

Operating system state.

Returns

Applies to