Dela via


ArmComputeModelFactory.RollingUpgradeProgressInfo Method

Definition

Initializes a new instance of RollingUpgradeProgressInfo.

public static Azure.ResourceManager.Compute.Models.RollingUpgradeProgressInfo RollingUpgradeProgressInfo (int? successfulInstanceCount = default, int? failedInstanceCount = default, int? inProgressInstanceCount = default, int? pendingInstanceCount = default);
static member RollingUpgradeProgressInfo : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Compute.Models.RollingUpgradeProgressInfo
Public Shared Function RollingUpgradeProgressInfo (Optional successfulInstanceCount As Nullable(Of Integer) = Nothing, Optional failedInstanceCount As Nullable(Of Integer) = Nothing, Optional inProgressInstanceCount As Nullable(Of Integer) = Nothing, Optional pendingInstanceCount As Nullable(Of Integer) = Nothing) As RollingUpgradeProgressInfo

Parameters

successfulInstanceCount
Nullable<Int32>

The number of instances that have been successfully upgraded.

failedInstanceCount
Nullable<Int32>

The number of instances that have failed to be upgraded successfully.

inProgressInstanceCount
Nullable<Int32>

The number of instances that are currently being upgraded.

pendingInstanceCount
Nullable<Int32>

The number of instances that have not yet begun to be upgraded.

Returns

A new RollingUpgradeProgressInfo instance for mocking.

Applies to