Compartilhar via


ArmRecoveryServicesModelFactory.VaultUpgradeDetails Method

Definition

Initializes a new instance of VaultUpgradeDetails.

public static Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeDetails VaultUpgradeDetails (string operationId = default, DateTimeOffset? startOn = default, DateTimeOffset? lastUpdatedOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeState? status = default, string message = default, Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeTriggerType? triggerType = default, Azure.Core.ResourceIdentifier upgradedResourceId = default, Azure.Core.ResourceIdentifier previousResourceId = default);
static member VaultUpgradeDetails : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeState> * string * Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeTriggerType> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeDetails
Public Shared Function VaultUpgradeDetails (Optional operationId As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of VaultUpgradeState) = Nothing, Optional message As String = Nothing, Optional triggerType As Nullable(Of VaultUpgradeTriggerType) = Nothing, Optional upgradedResourceId As ResourceIdentifier = Nothing, Optional previousResourceId As ResourceIdentifier = Nothing) As VaultUpgradeDetails

Parameters

operationId
String

ID of the vault upgrade operation.

startOn
Nullable<DateTimeOffset>

UTC time at which the upgrade operation has started.

lastUpdatedOn
Nullable<DateTimeOffset>

UTC time at which the upgrade operation status was last updated.

endOn
Nullable<DateTimeOffset>

UTC time at which the upgrade operation has ended.

status
Nullable<VaultUpgradeState>

Status of the vault upgrade operation.

message
String

Message to the user containing information about the upgrade operation.

triggerType
Nullable<VaultUpgradeTriggerType>

The way the vault upgrade was triggered.

upgradedResourceId
ResourceIdentifier

Resource ID of the upgraded vault.

previousResourceId
ResourceIdentifier

Resource ID of the vault before the upgrade.

Returns

A new VaultUpgradeDetails instance for mocking.

Applies to