共用方式為


Job Constructors

Definition

Overloads

Job()

Initializes a new instance of the Job class.

Job(JobInput, IList<JobOutput>, String, String, String, DateTime, JobState, String, DateTime, Nullable<Priority>, IDictionary<String, String>, Nullable<DateTime>, Nullable<DateTime>, SystemData)

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(JobInput, IList<JobOutput>, String, String, String, DateTime, JobState, String, DateTime, Nullable<Priority>, IDictionary<String, String>, Nullable<DateTime>, Nullable<DateTime>, SystemData)

Initializes a new instance of the Job class.

public Job (Microsoft.Azure.Management.Media.Models.JobInput input, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.JobOutput> outputs, string id = default, string name = default, string type = default, DateTime created = default, Microsoft.Azure.Management.Media.Models.JobState state = default, string description = default, DateTime lastModified = default, Microsoft.Azure.Management.Media.Models.Priority? priority = default, System.Collections.Generic.IDictionary<string,string> correlationData = default, DateTime? startTime = default, DateTime? endTime = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.Job : Microsoft.Azure.Management.Media.Models.JobInput * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.JobOutput> * string * string * string * DateTime * Microsoft.Azure.Management.Media.Models.JobState * string * DateTime * Nullable<Microsoft.Azure.Management.Media.Models.Priority> * System.Collections.Generic.IDictionary<string, string> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.Job
Public Sub New (input As JobInput, outputs As IList(Of JobOutput), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional created As DateTime = Nothing, Optional state As JobState = Nothing, Optional description As String = Nothing, Optional lastModified As DateTime = Nothing, Optional priority As Nullable(Of Priority) = Nothing, Optional correlationData As IDictionary(Of String, String) = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional systemData As SystemData = Nothing)

Parameters

input
JobInput

The inputs for the Job.

outputs
IList<JobOutput>

The outputs for the Job.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

created
DateTime

The UTC date and time when the customer has created the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.

state
JobState

The current state of the job. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'

description
String

Optional customer supplied description of the Job.

lastModified
DateTime

The UTC date and time when the customer has last updated the Job, in 'YYYY-MM-DDThh:mm:ssZ' format.

priority
Nullable<Priority>

Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal. Possible values include: 'Low', 'Normal', 'High'

correlationData
IDictionary<String,String>

Customer provided key, value pairs that will be returned in Job and JobOutput state events.

startTime
Nullable<DateTime>

The UTC date and time at which this Job began processing.

endTime
Nullable<DateTime>

The UTC date and time at which this Job finished processing.

systemData
SystemData

The system metadata relating to this resource.

Applies to