Delen via


JobProperties Class

Definition

Job custom data details.

public class JobProperties
type JobProperties = class
Public Class JobProperties
Inheritance
JobProperties

Constructors

JobProperties()

Initializes a new instance of the JobProperties class.

JobProperties(String, String, String, String, String, IList<ASRTask>, IList<JobErrorDetails>, Nullable<DateTime>, Nullable<DateTime>, IList<String>, String, String, String, JobDetails)

Initializes a new instance of the JobProperties class.

Properties

ActivityId

Gets or sets the activity id.

AllowedActions

Gets or sets the Allowed action the job.

CustomDetails

Gets or sets the custom job details like test failover job details.

EndTime

Gets or sets the end time.

Errors

Gets or sets the errors.

FriendlyName

Gets or sets the DisplayName.

ScenarioName

Gets or sets the ScenarioName.

StartTime

Gets or sets the start time.

State

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

StateDescription

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

TargetInstanceType

Gets or sets the type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.

TargetObjectId

Gets or sets the affected Object Id.

TargetObjectName

Gets or sets the name of the affected object.

Tasks

Gets or sets the tasks.

Applies to