Partilhar via


ArmRecoveryServicesSiteRecoveryModelFactory.MasterTargetServer Método

Definição

Inicializa uma nova instância de MasterTargetServer.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MasterTargetServer MasterTargetServer (string id = default, System.Net.IPAddress ipAddress = default, string name = default, string osType = default, string agentVersion = default, DateTimeOffset? lastHeartbeatReceivedOn = default, string versionStatus = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRetentionVolume> retentionVolumes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDataStore> dataStores = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> validationErrors = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> healthErrors = default, int? diskCount = default, string osVersion = default, DateTimeOffset? agentExpireOn = default, string marsAgentVersion = default, DateTimeOffset? marsAgentExpireOn = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails agentVersionDetails = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails marsAgentVersionDetails = default);
static member MasterTargetServer : string * System.Net.IPAddress * string * string * string * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryRetentionVolume> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDataStore> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * seq<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryHealthError> * Nullable<int> * string * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MasterTargetServer
Public Shared Function MasterTargetServer (Optional id As String = Nothing, Optional ipAddress As IPAddress = Nothing, Optional name As String = Nothing, Optional osType As String = Nothing, Optional agentVersion As String = Nothing, Optional lastHeartbeatReceivedOn As Nullable(Of DateTimeOffset) = Nothing, Optional versionStatus As String = Nothing, Optional retentionVolumes As IEnumerable(Of SiteRecoveryRetentionVolume) = Nothing, Optional dataStores As IEnumerable(Of SiteRecoveryDataStore) = Nothing, Optional validationErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional healthErrors As IEnumerable(Of SiteRecoveryHealthError) = Nothing, Optional diskCount As Nullable(Of Integer) = Nothing, Optional osVersion As String = Nothing, Optional agentExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional marsAgentVersion As String = Nothing, Optional marsAgentExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional agentVersionDetails As SiteRecoveryVersionDetails = Nothing, Optional marsAgentVersionDetails As SiteRecoveryVersionDetails = Nothing) As MasterTargetServer

Parâmetros

id
String

A ID do servidor.

ipAddress
IPAddress

O endereço IP do servidor.

name
String

O nome do servidor.

osType
String

O tipo de sistema operacional do servidor.

agentVersion
String

A versão do componente scout no servidor.

lastHeartbeatReceivedOn
Nullable<DateTimeOffset>

A última pulsação recebida do servidor.

versionStatus
String

Versão status.

retentionVolumes
IEnumerable<SiteRecoveryRetentionVolume>

Os volumes de retenção do servidor de destino mestre.

dataStores
IEnumerable<SiteRecoveryDataStore>

A lista de armazenamentos de dados na malha.

validationErrors
IEnumerable<SiteRecoveryHealthError>

Erros de validação.

healthErrors
IEnumerable<SiteRecoveryHealthError>

Erros de integridade.

diskCount
Nullable<Int32>

Contagem de discos do destino master.

osVersion
String

Versão do sistema operacional do destino master.

agentExpireOn
Nullable<DateTimeOffset>

Data de expiração do agente.

marsAgentVersion
String

Versão do agente do MARS.

marsAgentExpireOn
Nullable<DateTimeOffset>

Data de expiração do agente MARS.

agentVersionDetails
SiteRecoveryVersionDetails

Detalhes da versão do agente.

marsAgentVersionDetails
SiteRecoveryVersionDetails

Detalhes da versão do agente mars.

Retornos

Uma nova MasterTargetServer instância para simulação.

Aplica-se a