Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.ReprotectAgentDetails Method

Definition

Initializes a new instance of ReprotectAgentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReprotectAgentDetails ReprotectAgentDetails (string id = default, string name = default, string biosId = default, Azure.Core.ResourceIdentifier fabricObjectId = default, string fqdn = 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? protectedItemCount = default, System.Collections.Generic.IEnumerable<string> accessibleDatastores = default, string vCenterId = default, DateTimeOffset? last = default);
static member ReprotectAgentDetails : string * string * string * Azure.Core.ResourceIdentifier * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<int> * seq<string> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReprotectAgentDetails
Public Shared Function ReprotectAgentDetails (Optional id As String = Nothing, Optional name As String = Nothing, Optional biosId As String = Nothing, Optional fabricObjectId As ResourceIdentifier = Nothing, Optional fqdn 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 protectedItemCount As Nullable(Of Integer) = Nothing, Optional accessibleDatastores As IEnumerable(Of String) = Nothing, Optional vCenterId As String = Nothing, Optional last As Nullable(Of DateTimeOffset) = Nothing) As ReprotectAgentDetails

Parameters

id
String

The reprotect agent Id.

name
String

The reprotect agent name.

biosId
String

The reprotect agent Bios Id.

fabricObjectId
ResourceIdentifier

The fabric object Id.

fqdn
String

The reprotect agent Fqdn.

version
String

The version.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The last heartbeat received from the reprotect agent.

health
Nullable<SiteRecoveryProtectionHealth>

The health of the reprotect agent.

healthErrors
IEnumerable<SiteRecoveryHealthError>

The health errors.

protectedItemCount
Nullable<Int32>

The protected item count.

accessibleDatastores
IEnumerable<String>

The list of accessible datastores fetched from discovery.

vCenterId
String

The Vcenter Id.

last
Nullable<DateTimeOffset>

The last time when SDS information discovered in SRS.

Returns

A new ReprotectAgentDetails instance for mocking.

Applies to