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

ArmComputeModelFactory.DedicatedHostAllocatableVm Method

Definition

Initializes a new instance of DedicatedHostAllocatableVm.

public static Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm DedicatedHostAllocatableVm(string vmSize = default, double? count = default);
static member DedicatedHostAllocatableVm : string * Nullable<double> -> Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm
Public Shared Function DedicatedHostAllocatableVm (Optional vmSize As String = Nothing, Optional count As Nullable(Of Double) = Nothing) As DedicatedHostAllocatableVm

Parameters

vmSize
String

VM size in terms of which the unutilized capacity is represented.

count
Nullable<Double>

Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.

Returns

A new DedicatedHostAllocatableVm instance for mocking.

Applies to