Job Constructors

Definition

Overloads

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.

Job()

Initializes a new instance of the Job class.

public Job ();
Public Sub New ()

Applies to

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.

public Job (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Automation.Models.RunbookAssociationProperty runbook = default, string startedBy = default, string runOn = default, Guid jobId = default, DateTimeOffset creationTime = default, string status = default, string statusDetails = default, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string exception = default, DateTimeOffset? lastModifiedTime = default, DateTimeOffset? lastStatusModifiedTime = default, System.Collections.Generic.IDictionary<string,string> parameters = default, string provisioningState = default);
new Microsoft.Azure.Management.Automation.Models.Job : string * string * string * Microsoft.Azure.Management.Automation.Models.RunbookAssociationProperty * string * string * Guid * DateTimeOffset * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.Automation.Models.Job
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional runbook As RunbookAssociationProperty = Nothing, Optional startedBy As String = Nothing, Optional runOn As String = Nothing, Optional jobId As Guid = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional status As String = Nothing, Optional statusDetails As String = Nothing, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional exception As String = Nothing, Optional lastModifiedTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastStatusModifiedTime As Nullable(Of DateTimeOffset) = Nothing, Optional parameters As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource

name
String

The name of the resource

type
String

The type of the resource.

runbook
RunbookAssociationProperty

Gets or sets the runbook.

startedBy
String

Gets or sets the job started by.

runOn
String

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

jobId
Guid

Gets or sets the id of the job.

creationTime
DateTimeOffset

Gets or sets the creation time of the job.

status
String

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
String

Gets or sets the status details of the job.

startTime
Nullable<DateTimeOffset>

Gets or sets the start time of the job.

endTime
Nullable<DateTimeOffset>

Gets or sets the end time of the job.

exception
String

Gets or sets the exception of the job.

lastModifiedTime
Nullable<DateTimeOffset>

Gets or sets the last modified time of the job.

lastStatusModifiedTime
Nullable<DateTimeOffset>

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

parameters
IDictionary<String,String>

Gets or sets the parameters of the job.

provisioningState
String

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

Applies to