Show / Hide Table of Contents

    Class JobExecution

    An execution of a job

    Inheritance
    Object
    Resource
    ProxyResource
    JobExecution
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class JobExecution : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    JobExecution()

    Initializes a new instance of the JobExecution class.

    Declaration
    public JobExecution ();

    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.

    Declaration
    public JobExecution (string id = null, string name = null, string type = null, Nullable<int> jobVersion = null, string stepName = null, Nullable<int> stepId = null, Nullable<Guid> jobExecutionId = null, string lifecycle = null, string provisioningState = null, Nullable<DateTime> createTime = null, Nullable<DateTime> startTime = null, Nullable<DateTime> endTime = null, Nullable<int> currentAttempts = null, Nullable<DateTime> currentAttemptStartTime = null, string lastMessage = null, Microsoft.Azure.Management.Sql.Models.JobExecutionTarget target = null);
    Parameters
    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    Nullable<Int32> jobVersion

    The job version number.

    String stepName

    The job step name.

    Nullable<Int32> stepId

    The job step id.

    Nullable<Guid> jobExecutionId

    The unique identifier of the job execution.

    String lifecycle

    The detailed state of the job execution. Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', 'Skipped'

    String provisioningState

    The ARM provisioning state of the job execution. Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'

    Nullable<DateTime> createTime

    The time that the job execution was created.

    Nullable<DateTime> startTime

    The time that the job execution started.

    Nullable<DateTime> endTime

    The time that the job execution completed.

    Nullable<Int32> currentAttempts

    Number of times the job execution has been attempted.

    Nullable<DateTime> currentAttemptStartTime

    Start time of the current attempt.

    String lastMessage

    The last status or error message.

    JobExecutionTarget target

    The target that this execution is executed on.

    Properties

    CreateTime

    Gets the time that the job execution was created.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.createTime")]
    public Nullable<DateTime> CreateTime { get; }
    Property Value
    Nullable<DateTime>

    CurrentAttempts

    Gets or sets number of times the job execution has been attempted.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.currentAttempts")]
    public Nullable<int> CurrentAttempts { get; set; }
    Property Value
    Nullable<Int32>

    CurrentAttemptStartTime

    Gets start time of the current attempt.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.currentAttemptStartTime")]
    public Nullable<DateTime> CurrentAttemptStartTime { get; }
    Property Value
    Nullable<DateTime>

    EndTime

    Gets the time that the job execution completed.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.endTime")]
    public Nullable<DateTime> EndTime { get; }
    Property Value
    Nullable<DateTime>

    JobExecutionId

    Gets the unique identifier of the job execution.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.jobExecutionId")]
    public Nullable<Guid> JobExecutionId { get; }
    Property Value
    Nullable<Guid>

    JobVersion

    Gets the job version number.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.jobVersion")]
    public Nullable<int> JobVersion { get; }
    Property Value
    Nullable<Int32>

    LastMessage

    Gets the last status or error message.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.lastMessage")]
    public string LastMessage { get; }
    Property Value
    String

    Lifecycle

    Gets the detailed state of the job execution. Possible values include: 'Created', 'InProgress', 'WaitingForChildJobExecutions', 'WaitingForRetry', 'Succeeded', 'SucceededWithSkipped', 'Failed', 'TimedOut', 'Canceled', 'Skipped'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.lifecycle")]
    public string Lifecycle { get; }
    Property Value
    String

    ProvisioningState

    Gets the ARM provisioning state of the job execution. Possible values include: 'Created', 'InProgress', 'Succeeded', 'Failed', 'Canceled'

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.provisioningState")]
    public string ProvisioningState { get; }
    Property Value
    String

    StartTime

    Gets the time that the job execution started.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.startTime")]
    public Nullable<DateTime> StartTime { get; }
    Property Value
    Nullable<DateTime>

    StepId

    Gets the job step id.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.stepId")]
    public Nullable<int> StepId { get; }
    Property Value
    Nullable<Int32>

    StepName

    Gets the job step name.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.stepName")]
    public string StepName { get; }
    Property Value
    String

    Target

    Gets the target that this execution is executed on.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.target")]
    public Microsoft.Azure.Management.Sql.Models.JobExecutionTarget Target { get; }
    Property Value
    JobExecutionTarget

    Back to top Azure SDK for Net