Share via


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

IWithProximityPlacementGroup 接口

定义

虚拟机定义的阶段,允许设置虚拟机规模集应分配到的邻近放置组的相关信息。

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

方法

WithLatestLinuxImage(String, String, String)

指定将市场 Linux 映像的最新版本用作虚拟机的 OS。

(继承自 IWithOS)
WithLatestWindowsImage(String, String, String)

指定应将最新版本的市场 Windows 映像用作虚拟机的 OS。

(继承自 IWithOS)
WithLinuxCustomImage(String)

指定要用作虚拟机 OS 的 Linux 自定义映像的资源 ID。

(继承自 IWithOS)
WithLinuxGalleryImageVersion(String)

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

(继承自 IWithOSBeta)
WithNewProximityPlacementGroup(String, ProximityPlacementGroupType)

使用指定名称创建新的邻近放置组,然后将其添加到 VM

WithPopularLinuxImage(KnownLinuxVirtualMachineImage)

指定要用于虚拟机 OS 的已知市场 Linux 映像。

(继承自 IWithOS)
WithPopularWindowsImage(KnownWindowsVirtualMachineImage)

指定要用于虚拟机 OS 的已知市场 Windows 映像。

(继承自 IWithOS)
WithProximityPlacementGroup(String)

设置虚拟机规模集应分配到的邻近放置组的相关信息。

WithSpecializedOSDisk(IDisk, OperatingSystemTypes)

指定要附加到虚拟机的专用操作系统托管磁盘。

(继承自 IWithOS)
WithSpecializedOSUnmanagedDisk(String, OperatingSystemTypes)

指定要附加到虚拟机的专用操作系统非托管磁盘。

(继承自 IWithOS)
WithSpecificLinuxImageVersion(ImageReference)

指定要用作虚拟机 OS 的市场位置 Linux 映像的版本。

(继承自 IWithOS)
WithSpecificWindowsImageVersion(ImageReference)

指定要用作虚拟机 OS 的市场 Windows 映像的版本。

(继承自 IWithOS)
WithStoredLinuxImage(String)

指定要用于虚拟机 OS 的用户 (通用) Linux 映像。

(继承自 IWithOS)
WithStoredWindowsImage(String)

指定要用于虚拟机 OS 的用户 (通用) Windows 映像。

(继承自 IWithOS)
WithWindowsCustomImage(String)

指定要用作虚拟机 OS 的 Windows 自定义映像的资源 ID。

(继承自 IWithOS)
WithWindowsGalleryImageVersion(String)

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

(继承自 IWithOSBeta)

适用于