Compartilhar via


ArmRecoveryServicesDataReplicationModelFactory.DataReplicationTask Método

Definição

Inicializa uma nova instância de DataReplicationTask.

public static Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask DataReplicationTask (string taskName = default, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTaskState? state = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string customInstanceType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationWorkflowData> childrenWorkflows = default);
static member DataReplicationTask : string * Nullable<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTaskState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationWorkflowData> -> Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask
Public Shared Function DataReplicationTask (Optional taskName As String = Nothing, Optional state As Nullable(Of DataReplicationTaskState) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional customInstanceType As String = Nothing, Optional childrenWorkflows As IEnumerable(Of DataReplicationWorkflowData) = Nothing) As DataReplicationTask

Parâmetros

taskName
String

Obtém ou define o nome da tarefa.

state
Nullable<DataReplicationTaskState>

Obtém ou define o estado da tarefa.

startOn
Nullable<DateTimeOffset>

Obtém ou define a hora de início.

endOn
Nullable<DateTimeOffset>

Obtém ou define a hora de término.

customInstanceType
String

Propriedades personalizadas do modelo de tarefa.

childrenWorkflows
IEnumerable<DataReplicationWorkflowData>

Obtém ou define a lista de modelos de fluxo de trabalho filhos.

Retornos

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

Aplica-se a