Sdílet prostřednictvím


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryAgentDetails Method

Definition

Initializes a new instance of SiteRecoveryAgentDetails.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDetails SiteRecoveryAgentDetails (string agentId = default, string machineId = default, string biosId = default, string fqdn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDiskDetails> disks = default);
static member SiteRecoveryAgentDetails : string * string * string * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDiskDetails> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentDetails
Public Shared Function SiteRecoveryAgentDetails (Optional agentId As String = Nothing, Optional machineId As String = Nothing, Optional biosId As String = Nothing, Optional fqdn As String = Nothing, Optional disks As IEnumerable(Of SiteRecoveryAgentDiskDetails) = Nothing) As SiteRecoveryAgentDetails

Parameters

agentId
String

The Id of the agent running on the server.

machineId
String

The Id of the machine to which the agent is registered.

biosId
String

The machine BIOS Id.

fqdn
String

The machine FQDN.

Returns

A new SiteRecoveryAgentDetails instance for mocking.

Applies to