Share via


JobContext

The JobContext entity represents represents the context of a runbook job in System Management Automation. The JobContexts collection includes all of the job contexts in the local System Management Automation environment.

Inheritance Hierarchy

Orchestrator.ResourceModel
  JobContext

Supported HTTP Verbs

Create (POST) Read (GET) Update (PUT) Delete (DELETE)

False

True

False

False

Entity Properties

For more information about how the properties of an entity interact with HTTP operations, see Service Management Automation Web Service Fundamentals.

Name Create (PUT) Read (GET) Update (POST) Delete (DELETE) Type Nullable Description

JobContextID

            -

      Optional*

            -

            -

Edm.Guid

False

Key Property

The unique identifier of the job context.

RunbookVersionID

            -

      Optional

            -

            -

Edm.Guid

False

The unique identifier of the runbook version.

ScheduleID

            -

      Optional

            -

            -

Edm.Guid

True

The unique identifier of the schedule.

TenantID

            -

      Optional

            -

            -

Edm.Guid

False

The unique identifier of the tenant that manages the System Management Automation service.

 

Note

*Direct access to the entity requires the key property JobContextID. This property is not required to simply enumerate the JobContexts collection.

Relationships

For more information about how the relationships of an entity are used, see Service Management Automation Web Service Fundamentals.

Name Relationship Type From Property To Entity To Property

RunbookVersion

One

RunbookVersionID

RunbookVersion

RunbookVersionID

JobParameters

Many

JobContextID

JobParameter

JobContextID

Schedule

One or None

ScheduleID

Schedule

ScheduleID

Examples

Examples of supported data operations are available in the JobContexts collection topic.

See Also

Concepts

JobContexts