Package version:

Job custom data details.

interface JobProperties {
    activityId?: string;
    allowedActions?: string[];
    customDetails?: JobDetailsUnion;
    endTime?: any;
    errors?: JobErrorDetails[];
    friendlyName?: string;
    scenarioName?: string;
    startTime?: any;
    state?: string;
    stateDescription?: string;
    targetInstanceType?: string;
    targetObjectId?: string;
    targetObjectName?: string;
    tasks?: ASRTask[];
}

Properties

activityId?: string

The activity id.

allowedActions?: string[]

The Allowed action the job.

customDetails?: JobDetailsUnion

The custom job details like test failover job details.

endTime?: any

The end time.

errors?: JobErrorDetails[]

The errors.

friendlyName?: string

The DisplayName.

scenarioName?: string

The ScenarioName.

startTime?: any

The start time.

state?: string

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

stateDescription?: string

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

targetInstanceType?: string

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

targetObjectId?: string

The affected Object Id.

targetObjectName?: string

The name of the affected object.

tasks?: ASRTask[]

The tasks.