Share via


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