共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryDraDetails Method

Definition

Initializes a new instance of SiteRecoveryDraDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDraDetails SiteRecoveryDraDetails (string id = default, string name = default, string biosId = default, string version = default, DateTimeOffset? lastHeartbeatReceivedOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth? health = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default, int? forwardProtectedItemCount = default, int? reverseProtectedItemCount = default);
static member SiteRecoveryDraDetails : string * string * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDraDetails
Public Shared Function SiteRecoveryDraDetails (Optional id As String = Nothing, Optional name As String = Nothing, Optional biosId As String = Nothing, Optional version As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional health As Nullable(Of SiteRecoveryProtectionHealth) = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional forwardProtectedItemCount As Nullable(Of Integer) = Nothing, Optional reverseProtectedItemCount As Nullable(Of Integer) = Nothing) As SiteRecoveryDraDetails

Parameters

id
String

The DRA Id.

name
String

The DRA name.

biosId
String

The DRA Bios Id.

version
String

The version.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The last heartbeat received from the DRA.

healthErrors
IEnumerable<SiteRecoveryHealthError>

The health errors.

forwardProtectedItemCount
Nullable<Int32>

The count of protected items which are protected in forward direction.

reverseProtectedItemCount
Nullable<Int32>

The count of protected items which are protected in reverse direction.

Returns

A new SiteRecoveryDraDetails instance for mocking.

Applies to