ArmComputeModelFactory.VirtualMachineStatusCodeCount Method

Definition

Initializes a new instance of VirtualMachineStatusCodeCount.

public static Azure.ResourceManager.Compute.Models.VirtualMachineStatusCodeCount VirtualMachineStatusCodeCount (string code = default, int? count = default);
static member VirtualMachineStatusCodeCount : string * Nullable<int> -> Azure.ResourceManager.Compute.Models.VirtualMachineStatusCodeCount
Public Shared Function VirtualMachineStatusCodeCount (Optional code As String = Nothing, Optional count As Nullable(Of Integer) = Nothing) As VirtualMachineStatusCodeCount

Parameters

code
String

The instance view status code.

count
Nullable<Int32>

The number of instances having a particular status code.

Returns

A new VirtualMachineStatusCodeCount instance for mocking.

Applies to