JobProperties Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
JobProperties()
Initializes a new instance of the JobProperties class.
public JobProperties ();
Public Sub New ()
Applies to
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.
public JobProperties (string activityId = default, string scenarioName = default, string friendlyName = default, string state = default, string stateDescription = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ASRTask> tasks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobErrorDetails> errors = default, DateTime? startTime = default, DateTime? endTime = default, System.Collections.Generic.IList<string> allowedActions = default, string targetObjectId = default, string targetObjectName = default, string targetInstanceType = default, Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobDetails customDetails = default);
new Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobProperties : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.ASRTask> * System.Collections.Generic.IList<Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobErrorDetails> * Nullable<DateTime> * Nullable<DateTime> * System.Collections.Generic.IList<string> * string * string * string * Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobDetails -> Microsoft.Azure.Management.RecoveryServices.SiteRecovery.Models.JobProperties
Public Sub New (Optional activityId As String = Nothing, Optional scenarioName As String = Nothing, Optional friendlyName As String = Nothing, Optional state As String = Nothing, Optional stateDescription As String = Nothing, Optional tasks As IList(Of ASRTask) = Nothing, Optional errors As IList(Of JobErrorDetails) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional allowedActions As IList(Of String) = Nothing, Optional targetObjectId As String = Nothing, Optional targetObjectName As String = Nothing, Optional targetInstanceType As String = Nothing, Optional customDetails As JobDetails = Nothing)
Parameters
- activityId
- String
The activity id.
- scenarioName
- String
The ScenarioName.
- friendlyName
- String
The DisplayName.
- 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.
- errors
- IList<JobErrorDetails>
The errors.
- targetObjectId
- String
The affected Object Id.
- targetObjectName
- String
The name of the affected object.
- targetInstanceType
- String
The type of the affected object which is of Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType class.
- customDetails
- JobDetails
The custom job details like test failover job details.