Compartilhar via


ArmRecoveryServicesDataReplicationModelFactory.DataReplicationProtectedItemProperties Método

Definição

Inicializa uma nova instância de DataReplicationProtectedItemProperties.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties DataReplicationProtectedItemProperties (string policyName = default, string replicationExtensionName = default, string correlationId = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState? provisioningState = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectionState? protectionState = default, string protectionStateDescription = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTestFailoverState? testFailoverState = default, string testFailoverStateDescription = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationResynchronizationState? resynchronizationState = default, string fabricObjectId = default, string fabricObjectName = default, string sourceFabricProviderId = default, string targetFabricProviderId = default, string fabricId = default, string targetFabricId = default, string draId = default, string targetDraId = default, bool? isResyncRequired = default, DateTimeOffset? lastSuccessfulPlannedFailoverOn = default, DateTimeOffset? lastSuccessfulUnplannedFailoverOn = default, DateTimeOffset? lastSuccessfulTestFailoverOn = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties currentJob = default, System.Collections.Generic.IEnumerable<string> allowedJobs = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties lastFailedEnableProtectionJob = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties lastFailedPlannedFailoverJob = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties lastTestFailoverJob = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthStatus? replicationHealth = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> healthErrors = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemModelCustomProperties customProperties = default);
static member DataReplicationProtectedItemProperties : string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProvisioningState> * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectionState> * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTestFailoverState> * string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationResynchronizationState> * string * string * string * string * string * string * string * string * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties * seq<string> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemJobProperties * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthStatus> * seq<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationHealthErrorInfo> * Azure.ResourceManager.RecoveryServicesDataReplication.Models.ProtectedItemModelCustomProperties -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationProtectedItemProperties
Public Shared Function DataReplicationProtectedItemProperties (Optional policyName As String = Nothing, Optional replicationExtensionName As String = Nothing, Optional correlationId As String = Nothing, Optional provisioningState As Nullable(Of DataReplicationProvisioningState) = Nothing, Optional protectionState As Nullable(Of DataReplicationProtectionState) = Nothing, Optional protectionStateDescription As String = Nothing, Optional testFailoverState As Nullable(Of DataReplicationTestFailoverState) = Nothing, Optional testFailoverStateDescription As String = Nothing, Optional resynchronizationState As Nullable(Of DataReplicationResynchronizationState) = Nothing, Optional fabricObjectId As String = Nothing, Optional fabricObjectName As String = Nothing, Optional sourceFabricProviderId As String = Nothing, Optional targetFabricProviderId As String = Nothing, Optional fabricId As String = Nothing, Optional targetFabricId As String = Nothing, Optional draId As String = Nothing, Optional targetDraId As String = Nothing, Optional isResyncRequired As Nullable(Of Boolean) = Nothing, Optional lastSuccessfulPlannedFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastSuccessfulUnplannedFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastSuccessfulTestFailoverOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentJob As ProtectedItemJobProperties = Nothing, Optional allowedJobs As IEnumerable(Of String) = Nothing, Optional lastFailedEnableProtectionJob As ProtectedItemJobProperties = Nothing, Optional lastFailedPlannedFailoverJob As ProtectedItemJobProperties = Nothing, Optional lastTestFailoverJob As ProtectedItemJobProperties = Nothing, Optional replicationHealth As Nullable(Of DataReplicationHealthStatus) = Nothing, Optional healthErrors As IEnumerable(Of DataReplicationHealthErrorInfo) = Nothing, Optional customProperties As ProtectedItemModelCustomProperties = Nothing) As DataReplicationProtectedItemProperties

Parâmetros

policyName
String

Obtém ou define o nome da política.

replicationExtensionName
String

Obtém ou define o nome da extensão de replicação.

correlationId
String

Obtém ou define a ID de correlação de item protegido.

provisioningState
Nullable<DataReplicationProvisioningState>

Obtém ou define o estado de provisionamento do Dra.

protectionState
Nullable<DataReplicationProtectionState>

Obtém ou define o estado de proteção.

protectionStateDescription
String

Obtém ou define a descrição do estado de proteção.

testFailoverState
Nullable<DataReplicationTestFailoverState>

Obtém ou define o estado de failover de teste.

testFailoverStateDescription
String

Obtém ou define a descrição do estado de failover de teste.

resynchronizationState
Nullable<DataReplicationResynchronizationState>

Obtém ou define o estado de ressincronização.

fabricObjectId
String

Obtém ou define a ID do objeto fabric.

fabricObjectName
String

Obtém ou define o nome do objeto de malha.

sourceFabricProviderId
String

Obtém ou define a ID do provedor de malha de origem.

targetFabricProviderId
String

Obtém ou define a ID do provedor de malha de destino.

fabricId
String

Obtém ou define a ID da malha.

targetFabricId
String

Obtém ou define a ID da malha de destino.

draId
String

Obtém ou define a ID do DRA.

targetDraId
String

Obtém ou define a ID de DRA de destino.

isResyncRequired
Nullable<Boolean>

Obtém ou define um valor que indica se a ressincronização é necessária ou não.

lastSuccessfulPlannedFailoverOn
Nullable<DateTimeOffset>

Obtém ou define a hora da última recuperação panejada bem-sucedida.

lastSuccessfulUnplannedFailoverOn
Nullable<DateTimeOffset>

Obtém ou define o último tempo de failover não planejado bem-sucedido.

lastSuccessfulTestFailoverOn
Nullable<DateTimeOffset>

Obtém ou define o último tempo de failover de teste bem-sucedido.

currentJob
ProtectedItemJobProperties

Propriedades do trabalho de item protegido.

allowedJobs
IEnumerable<String>

Obtém ou define os cenários permitidos no item protegido.

lastFailedEnableProtectionJob
ProtectedItemJobProperties

Propriedades do trabalho de item protegido.

lastFailedPlannedFailoverJob
ProtectedItemJobProperties

Propriedades do trabalho de item protegido.

lastTestFailoverJob
ProtectedItemJobProperties

Propriedades do trabalho de item protegido.

replicationHealth
Nullable<DataReplicationHealthStatus>

Obtém ou define a integridade de replicação de item protegido.

healthErrors
IEnumerable<DataReplicationHealthErrorInfo>

Obtém ou define a lista de erros de integridade.

customProperties
ProtectedItemModelCustomProperties

Propriedades personalizadas do modelo de item protegido. ProtectedItemModelCustomProperties Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem HyperVToAzStackHciProtectedItemModelCustomPropertiese VMwareToAzStackHciProtectedItemModelCustomPropertiesGeneralProtectedItemModelCustomProperties .

Retornos

Uma nova DataReplicationProtectedItemProperties instância para zombar.

Aplica-se a