Delen via


ArmComputeModelFactory.UpgradeOperationHistoryStatus Method

Definition

Initializes a new instance of UpgradeOperationHistoryStatus.

public static Azure.ResourceManager.Compute.Models.UpgradeOperationHistoryStatus UpgradeOperationHistoryStatus (Azure.ResourceManager.Compute.Models.UpgradeState? code = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default);
static member UpgradeOperationHistoryStatus : Nullable<Azure.ResourceManager.Compute.Models.UpgradeState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Compute.Models.UpgradeOperationHistoryStatus
Public Shared Function UpgradeOperationHistoryStatus (Optional code As Nullable(Of UpgradeState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing) As UpgradeOperationHistoryStatus

Parameters

code
Nullable<UpgradeState>

Code indicating the current status of the upgrade.

startOn
Nullable<DateTimeOffset>

Start time of the upgrade.

endOn
Nullable<DateTimeOffset>

End time of the upgrade.

Returns

A new UpgradeOperationHistoryStatus instance for mocking.

Applies to