Delen via


ArmComputeModelFactory.DedicatedHostInstanceView Method

Definition

Initializes a new instance of DedicatedHostInstanceView.

public static Azure.ResourceManager.Compute.Models.DedicatedHostInstanceView DedicatedHostInstanceView (string assetId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm> availableCapacityAllocatableVms = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default);
static member DedicatedHostInstanceView : string * seq<Azure.ResourceManager.Compute.Models.DedicatedHostAllocatableVm> * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> -> Azure.ResourceManager.Compute.Models.DedicatedHostInstanceView
Public Shared Function DedicatedHostInstanceView (Optional assetId As String = Nothing, Optional availableCapacityAllocatableVms As IEnumerable(Of DedicatedHostAllocatableVm) = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing) As DedicatedHostInstanceView

Parameters

assetId
String

Specifies the unique id of the dedicated physical machine on which the dedicated host resides.

availableCapacityAllocatableVms
IEnumerable<DedicatedHostAllocatableVm>

Unutilized capacity of the dedicated host.

statuses
IEnumerable<InstanceViewStatus>

The resource status information.

Returns

A new DedicatedHostInstanceView instance for mocking.

Applies to