共用方式為


JobRequest Class

Definition

Job input

public class JobRequest
type JobRequest = class
Public Class JobRequest
Inheritance
JobRequest

Constructors

JobRequest()

Properties

CloudToDeviceMethod

Required if jobType is cloudToDeviceMethod. The method type and parameters.

JobId

Job identifier

JobType

Required. The type of job to execute.

MaxExecutionTimeInSeconds

Max execution time in seconds (ttl duration)

QueryCondition

Required if jobType is updateTwin or cloudToDeviceMethod. Condition for device query to get devices to execute the job on

StartTime

ISO 8601 date time to start the job

UpdateTwin

Required if jobType is updateTwin. The Update Twin tags and desired properties.

Applies to