upsert_jobs
Creates, updates, deletes, gets or lists a upsert_jobs resource.
Overview
| Name | upsert_jobs |
| Type | Resource |
| Id | azure.communication_job_router.upsert_jobs |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
upsert_job | exec | job_id, endpoint | If-Unmodified-Since | Creates or updates a router job. Creates or updates a router job. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
job_id | string | Id of a job. Required. |
If-Unmodified-Since | string | The request should only proceed if the entity was not modified after this time. Default value is None. |
Lifecycle Methods
- upsert_job
Creates or updates a router job. Creates or updates a router job.
EXEC azure.communication_job_router.upsert_jobs.upsert_job
@job_id='{{ job_id }}' --required,
@endpoint='{{ endpoint }}' --required,
@If-Unmodified-Since='{{ If-Unmodified-Since }}'
@@json=
'{
"channelReference": "{{ channelReference }}",
"channelId": "{{ channelId }}",
"classificationPolicyId": "{{ classificationPolicyId }}",
"queueId": "{{ queueId }}",
"priority": {{ priority }},
"dispositionCode": "{{ dispositionCode }}",
"requestedWorkerSelectors": "{{ requestedWorkerSelectors }}",
"labels": "{{ labels }}",
"tags": "{{ tags }}",
"notes": "{{ notes }}",
"matchingMode": "{{ matchingMode }}"
}'
;