Share via


Job Class

Definition

Definition of the job.

public class Job
[Microsoft.Rest.Serialization.JsonTransformation]
public class Job : Microsoft.Azure.Management.Automation.Models.ProxyResource
type Job = class
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Job = class
    inherit ProxyResource
Public Class Job
Public Class Job
Inherits ProxyResource
Inheritance
Job
Inheritance
Attributes

Constructors

Job()

Initializes a new instance of the Job class.

Job(String, String, String, RunbookAssociationProperty, String, String, Guid, DateTimeOffset, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IDictionary<String,String>, String)

Initializes a new instance of the Job class.

Properties

CreationTime

Gets or sets the creation time of the job.

EndTime

Gets or sets the end time of the job.

Exception

Gets or sets the exception of the job.

Id
Id

Gets fully qualified resource Id for the resource

(Inherited from Resource)
JobId

Gets or sets the id of the job.

LastModifiedTime

Gets or sets the last modified time of the job.

LastStatusModifiedTime

Gets or sets the last status modified time of the job.

Name

Gets the name of the resource

(Inherited from Resource)
Parameters

Gets or sets the parameters of the job.

Properties
ProvisioningState

Gets or sets the current provisioning state of the job. Possible values include: 'Failed', 'Succeeded', 'Suspended', 'Processing'

Runbook

Gets or sets the runbook.

RunOn

Gets or sets the runOn which specifies the group name where the job is to be executed.

StartedBy

Gets or sets the job started by.

StartTime

Gets or sets the start time of the job.

Status

Gets or sets the status of the job. Possible values include: 'New', 'Activating', 'Running', 'Completed', 'Failed', 'Stopped', 'Blocked', 'Suspended', 'Disconnected', 'Suspending', 'Stopping', 'Resuming', 'Removing'

StatusDetails

Gets or sets the status details of the job.

Type

Gets the type of the resource.

(Inherited from Resource)

Applies to