Freigeben über


ArmComputeModelFactory.UpgradeOperationHistoryStatus Methode

Definition

Initialisiert eine neue instance von 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

Parameter

code
Nullable<UpgradeState>

Code, der den aktuellen status des Upgrades angibt.

startOn
Nullable<DateTimeOffset>

Startzeit des Upgrades.

endOn
Nullable<DateTimeOffset>

Endzeit des Upgrades.

Gibt zurück

Eine neue UpgradeOperationHistoryStatus instance zum Mocking.

Gilt für: