Udostępnij za pośrednictwem


Job Class

Definition

A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid.

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

Constructors

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.

Properties

CorrelationData

Gets or sets customer provided key, value pairs that will be returned in Job and JobOutput state events.

Created

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

Description

Gets or sets optional customer supplied description of the Job.

EndTime

Gets the UTC date and time at which this Job finished processing.

Id

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

(Inherited from Resource)
Input

Gets or sets the inputs for the Job.

LastModified

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

Name

Gets the name of the resource

(Inherited from Resource)
Outputs

Gets or sets the outputs for the Job.

Priority

Gets or sets 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'

StartTime

Gets the UTC date and time at which this Job began processing.

State

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

SystemData

Gets the system metadata relating to this resource.

Type

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

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to