ArmComputeModelFactory.RollingUpgradeRunningStatus Method

Definition

Initializes a new instance of RollingUpgradeRunningStatus.

public static Azure.ResourceManager.Compute.Models.RollingUpgradeRunningStatus RollingUpgradeRunningStatus (Azure.ResourceManager.Compute.Models.RollingUpgradeStatusCode? code = default, DateTimeOffset? startOn = default, Azure.ResourceManager.Compute.Models.RollingUpgradeActionType? lastAction = default, DateTimeOffset? lastActionOn = default);
static member RollingUpgradeRunningStatus : Nullable<Azure.ResourceManager.Compute.Models.RollingUpgradeStatusCode> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.RollingUpgradeActionType> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Compute.Models.RollingUpgradeRunningStatus
Public Shared Function RollingUpgradeRunningStatus (Optional code As Nullable(Of RollingUpgradeStatusCode) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastAction As Nullable(Of RollingUpgradeActionType) = Nothing, Optional lastActionOn As Nullable(Of DateTimeOffset) = Nothing) As RollingUpgradeRunningStatus

Parameters

code
Nullable<RollingUpgradeStatusCode>

Code indicating the current status of the upgrade.

startOn
Nullable<DateTimeOffset>

Start time of the upgrade.

lastAction
Nullable<RollingUpgradeActionType>

The last action performed on the rolling upgrade.

lastActionOn
Nullable<DateTimeOffset>

Last action time of the upgrade.

Returns

A new RollingUpgradeRunningStatus instance for mocking.

Applies to