共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryVersionDetails Method

Definition

Initializes a new instance of SiteRecoveryVersionDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails SiteRecoveryVersionDetails (string version = default, DateTimeOffset? expireOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentVersionStatus? status = default);
static member SiteRecoveryVersionDetails : string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentVersionStatus> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails
Public Shared Function SiteRecoveryVersionDetails (Optional version As String = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of SiteRecoveryAgentVersionStatus) = Nothing) As SiteRecoveryVersionDetails

Parameters

version
String

The agent version.

expireOn
Nullable<DateTimeOffset>

Version expiry date.

status
Nullable<SiteRecoveryAgentVersionStatus>

A value indicating whether security update required.

Returns

A new SiteRecoveryVersionDetails instance for mocking.

Applies to