Udostępnij za pośrednictwem


ArmRecoveryServicesSiteRecoveryModelFactory.MarsAgentDetails Method

Definition

Initializes a new instance of MarsAgentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MarsAgentDetails MarsAgentDetails (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);
static member MarsAgentDetails : 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.MarsAgentDetails
Public Shared Function MarsAgentDetails (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) As MarsAgentDetails

Parameters

id
String

The Mars agent Id.

name
String

The Mars agent name.

biosId
String

The Mars agent Bios Id.

fabricObjectId
ResourceIdentifier

The fabric object Id.

fqdn
String

The Mars agent Fqdn.

version
String

The version.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

The last heartbeat received from the Mars agent.

health
Nullable<SiteRecoveryProtectionHealth>

The health of the Mars agent.

healthErrors
IEnumerable<SiteRecoveryHealthError>

The health errors.

Returns

A new MarsAgentDetails instance for mocking.

Applies to