Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithOS 接口

定义

允许指定操作系统映像的虚拟机规模集定义的阶段。

public interface IWithOS : Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithOSBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithOS = interface
    interface IWithOSBeta
    interface IBeta
Public Interface IWithOS
Implements IBeta, IWithOSBeta
派生
实现

方法

WithLatestLinuxImage(String, String, String)

指定应使用最新版本的市场 Linux 映像。

WithLatestWindowsImage(String, String, String)

指定应使用指定市场 Windows 映像的最新版本。

WithLinuxCustomImage(String)

指定要使用的 Linux 自定义映像的 ID。

WithLinuxGalleryImageVersion(String)

指定要用作虚拟机规模集 OS 的 Linux 库映像版本的资源 ID。

(继承自 IWithOSBeta)
WithPopularLinuxImage(KnownLinuxVirtualMachineImage)

指定用作虚拟机操作系统的已知市场 Linux 映像。

WithPopularWindowsImage(KnownWindowsVirtualMachineImage)

指定用作规模集中虚拟机操作系统的已知市场 Windows 映像。

WithSpecificLinuxImageVersion(ImageReference)

指定应使用的市场 Linux 映像的特定版本。

WithSpecificWindowsImageVersion(ImageReference)

指定需要使用市场 Windows 映像的特定版本。

WithStoredLinuxImage(String)

指定用户 (用作虚拟机操作系统的自定义) Linux 映像。

WithStoredWindowsImage(String)

指定要用作规模集中虚拟机操作系统的用户 (自定义) Windows 映像。

WithWindowsCustomImage(String)

指定要使用的 Windows 自定义映像的 ID。

WithWindowsGalleryImageVersion(String)

指定要用作虚拟机规模集 OS 的 Windows 库映像版本的资源 ID。

(继承自 IWithOSBeta)

适用于