共用方式為


IWithOS Interface

Definition

The stage of a virtual machine definition allowing to specify the operating system image.

public interface IWithOS : Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithOSBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithOS = interface
    interface IWithOSBeta
    interface IBeta
Public Interface IWithOS
Implements IBeta, IWithOSBeta
Derived
Implements

Methods

WithLatestLinuxImage(String, String, String)

Specifies that the latest version of a marketplace Linux image is to be used as the virtual machine's OS.

WithLatestWindowsImage(String, String, String)

Specifies that the latest version of a marketplace Windows image should to be used as the virtual machine's OS.

WithLinuxCustomImage(String)

Specifies the resource ID of a Linux custom image to be used as the virtual machines' OS.

WithLinuxGalleryImageVersion(String)

Specifies the resource ID of a Linux gallery image version to be used as the virtual machines' OS.

(Inherited from IWithOSBeta)
WithPopularLinuxImage(KnownLinuxVirtualMachineImage)

Specifies a known marketplace Linux image to be used for the virtual machine's OS.

WithPopularWindowsImage(KnownWindowsVirtualMachineImage)

Specifies a known marketplace Windows image to be used for the virtual machine's OS.

WithSpecializedOSDisk(IDisk, OperatingSystemTypes)

Specifies a specialized operating system managed disk to be attached to the virtual machine.

WithSpecializedOSUnmanagedDisk(String, OperatingSystemTypes)

Specifies a specialized operating system unmanaged disk to be attached to the virtual machine.

WithSpecificLinuxImageVersion(ImageReference)

Specifies a version of a market-place Linux image to be used as the virtual machine's OS.

WithSpecificWindowsImageVersion(ImageReference)

Specifies a version of a marketplace Windows image to be used as the virtual machine's OS.

WithStoredLinuxImage(String)

Specifies a user (generalized) Linux image to be used for the virtual machine's OS.

WithStoredWindowsImage(String)

Specifies the user (generalized) Windows image to be used for the virtual machine's OS.

WithWindowsCustomImage(String)

Specifies the resource ID of a Windows custom image to be used as the virtual machine's OS.

WithWindowsGalleryImageVersion(String)

Specifies the resource ID of a Windows gallery image version to be used as the virtual machine's OS.

(Inherited from IWithOSBeta)

Applies to