Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.ReplicationAgentDetails Method

Definition

Initializes a new instance of ReplicationAgentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationAgentDetails ReplicationAgentDetails (string id = default, string name = default, string biosId = default, Azure.Core.ResourceIdentifier fabricObjectId = default, string fqdn = default, string version = default, DateTimeOffset? lastHeartbeatUtc = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth? health = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default);
static member ReplicationAgentDetails : string * string * string * Azure.Core.ResourceIdentifier * string * string * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationAgentDetails
Public Shared Function ReplicationAgentDetails (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 lastHeartbeatUtc As Nullable(Of DateTimeOffset) = Nothing, Optional health As Nullable(Of SiteRecoveryProtectionHealth) = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing) As ReplicationAgentDetails

Parameters

id
String

The replication agent Id.

name
String

The replication agent name.

biosId
String

The replication agent Bios Id.

fabricObjectId
ResourceIdentifier

The fabric object Id.

fqdn
String

The replication agent Fqdn.

version
String

The version.

lastHeartbeatUtc
Nullable<DateTimeOffset>

The last heartbeat received from the replication agent.

health
Nullable<SiteRecoveryProtectionHealth>

The health of the replication agent.

healthErrors
IEnumerable<SiteRecoveryHealthError>

The health errors.

Returns

A new ReplicationAgentDetails instance for mocking.

Applies to