JobExecution 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
JobExecution() |
Initializes a new instance of the JobExecution class. |
JobExecution(String, String, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String, JobExecutionTarget) |
Initializes a new instance of the JobExecution class. |
JobExecution()
Initializes a new instance of the JobExecution class.
public JobExecution ();
Public Sub New ()
Applies to
JobExecution(String, String, String, Nullable<Int32>, String, Nullable<Int32>, Nullable<Guid>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<DateTime>, String, JobExecutionTarget)
Initializes a new instance of the JobExecution class.
public JobExecution (string id = default, string name = default, string type = default, int? jobVersion = default, string stepName = default, int? stepId = default, Guid? jobExecutionId = default, string lifecycle = default, string provisioningState = default, DateTime? createTime = default, DateTime? startTime = default, DateTime? endTime = default, int? currentAttempts = default, DateTime? currentAttemptStartTime = default, string lastMessage = default, Microsoft.Azure.Management.Sql.Models.JobExecutionTarget target = default);
new Microsoft.Azure.Management.Sql.Models.JobExecution : string * string * string * Nullable<int> * string * Nullable<int> * Nullable<Guid> * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Nullable<DateTime> * string * Microsoft.Azure.Management.Sql.Models.JobExecutionTarget -> Microsoft.Azure.Management.Sql.Models.JobExecution
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional jobVersion As Nullable(Of Integer) = Nothing, Optional stepName As String = Nothing, Optional stepId As Nullable(Of Integer) = Nothing, Optional jobExecutionId As Nullable(Of Guid) = Nothing, Optional lifecycle As String = Nothing, Optional provisioningState As String = Nothing, Optional createTime As Nullable(Of DateTime) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional currentAttempts As Nullable(Of Integer) = Nothing, Optional currentAttemptStartTime As Nullable(Of DateTime) = Nothing, Optional lastMessage As String = Nothing, Optional target As JobExecutionTarget = Nothing)
Parameters
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- stepName
- String
The job step name.
- lifecycle
- String
The detailed state of the job execution. Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', 'Skipped'
- provisioningState
- String
The ARM provisioning state of the job execution. Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'
- lastMessage
- String
The last status or error message.
- target
- JobExecutionTarget
The target that this execution is executed on.
Applies to
Azure SDK for .NET