JobNotificationSubscription

Contains information about the state of the job and the endpoint from which the notification is sent.

This type was added in Media Services version 2.1.

Note

Azure queue notification may have some delay.

JobNotificationSubscription Complex Type Properties

Property Type Description
TargetJobState

Required.
Edm.Int32 The state of the job that subscriber wants to get notifications about.

Valid values are:

- FinalStatesOnly = 1. The final states are: Finished, Canceled, and Error.
- AllStates = 2
Queued, Scheduled, Processing, Finished, Error, Canceled, Canceling.
- None = 0
If a job with JobNotificationSubscription.TargetJobState = None is submitted, the DataServiceRequestException exception is thrown with the following message “JobNotificationSubscription.TargetJobState must not be 0”.
NotificationEndPointId

Required.
Edm.String The id of the endpoint from which the subscriber receives notifications about the job state.

See Also

Job