Share via


DataReplicationTask Class

Definition

Task model.

public class DataReplicationTask : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DataReplicationTask>
type DataReplicationTask = class
    interface IJsonModel<DataReplicationTask>
    interface IPersistableModel<DataReplicationTask>
Public Class DataReplicationTask
Implements IJsonModel(Of DataReplicationTask), IPersistableModel(Of DataReplicationTask)
Inheritance
DataReplicationTask
Implements

Properties

ChildrenJobs

Gets or sets the list of children job models.

ChildrenWorkflows

Gets or sets the list of children workflow models.

CustomInstanceType

Gets or sets the instance type.

EndOn

Gets or sets the end time.

StartOn

Gets or sets the start time.

State

Gets or sets the task state.

TaskName

Gets or sets the task name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataReplicationTask>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DataReplicationTask>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReplicationTask>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataReplicationTask>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DataReplicationTask>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to