Compartilhar via


ArmStandbyPoolModelFactory.StandbyVirtualMachineInstanceCountSummary Method

Definition

Initializes a new instance of StandbyVirtualMachineInstanceCountSummary.

public static Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachineInstanceCountSummary StandbyVirtualMachineInstanceCountSummary (long? zone = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StandbyPool.Models.PoolResourceStateCount> instanceCountsByState = default);
static member StandbyVirtualMachineInstanceCountSummary : Nullable<int64> * seq<Azure.ResourceManager.StandbyPool.Models.PoolResourceStateCount> -> Azure.ResourceManager.StandbyPool.Models.StandbyVirtualMachineInstanceCountSummary
Public Shared Function StandbyVirtualMachineInstanceCountSummary (Optional zone As Nullable(Of Long) = Nothing, Optional instanceCountsByState As IEnumerable(Of PoolResourceStateCount) = Nothing) As StandbyVirtualMachineInstanceCountSummary

Parameters

zone
Nullable<Int64>

The zone that the provided counts are in. This is null if zones are not enabled on the attached VMSS.

instanceCountsByState
IEnumerable<PoolResourceStateCount>

The count of pooled resources in each state for the given zone.

Returns

A new StandbyVirtualMachineInstanceCountSummary instance for mocking.

Applies to