ArmRecoveryServicesDataReplicationModelFactory.DataReplicationTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- taskName
- String
Gets or sets the task name.
- state
- Nullable<DataReplicationTaskState>
Gets or sets the task state.
- startOn
- Nullable<DateTimeOffset>
Gets or sets the start time.
- endOn
- Nullable<DateTimeOffset>
Gets or sets the end time.
- customInstanceType
- String
Task model custom properties.
- childrenWorkflows
- IEnumerable<DataReplicationWorkflowData>
Gets or sets the list of children workflow models.
Returns
A new DataReplicationTask instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET