Share via


CurrentScenarioDetails Class

Definition

Current scenario details of the protected entity.

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

Constructors

CurrentScenarioDetails()

Initializes a new instance of CurrentScenarioDetails.

Properties

JobId

ARM Id of the job being executed.

ScenarioName

Scenario name.

StartOn

Start time of the workflow.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CurrentScenarioDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CurrentScenarioDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CurrentScenarioDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CurrentScenarioDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CurrentScenarioDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to