Share via


ArmComputeModelFactory.CapacityReservationInstanceView Method

Definition

Initializes a new instance of CapacityReservationInstanceView.

public static Azure.ResourceManager.Compute.Models.CapacityReservationInstanceView CapacityReservationInstanceView (Azure.ResourceManager.Compute.Models.CapacityReservationUtilization utilizationInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.InstanceViewStatus> statuses = default);
static member CapacityReservationInstanceView : Azure.ResourceManager.Compute.Models.CapacityReservationUtilization * seq<Azure.ResourceManager.Compute.Models.InstanceViewStatus> -> Azure.ResourceManager.Compute.Models.CapacityReservationInstanceView
Public Shared Function CapacityReservationInstanceView (Optional utilizationInfo As CapacityReservationUtilization = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing) As CapacityReservationInstanceView

Parameters

utilizationInfo
CapacityReservationUtilization

Unutilized capacity of the capacity reservation.

statuses
IEnumerable<InstanceViewStatus>

The resource status information.

Returns

A new CapacityReservationInstanceView instance for mocking.

Applies to