Share via


SiteRecoveryJobProperties Class

Definition

Job custom data details.

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

Properties

ActivityId

The activity id.

AllowedActions

The Allowed action the job.

CustomDetails

The custom job details like test failover job details. Please note SiteRecoveryJobDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AsrJobDetails, ExportJobDetails, FailoverJobDetails, SwitchProtectionJobDetails and TestFailoverJobDetails.

EndOn

The end time.

Errors

The errors.

FriendlyName

The DisplayName.

ScenarioName

The ScenarioName.

StartOn

The start time.

State

The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.

StateDescription

The description of the state of the Job. For e.g. - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.

TargetInstanceType

The type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.

TargetObjectId

The affected Object Id.

TargetObjectName

The name of the affected object.

Tasks

The tasks.

Explicit Interface Implementations

IJsonModel<SiteRecoveryJobProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SiteRecoveryJobProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SiteRecoveryJobProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SiteRecoveryJobProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SiteRecoveryJobProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to