unrouted
Creates, updates, deletes, gets or lists an unrouted
resource.
Overview
Name | unrouted |
Type | Resource |
Id | pagerduty.event_orchestrations.unrouted |
Fields
The following fields are returned by SELECT
queries:
- get_orch_path_unrouted
The Unrouted Orchestration object.
Name | Datatype | Description |
---|---|---|
catch_all |
| |
parent |
| |
sets |
| An Unrouted Orchestration must contain at least a "start" set, but can contain any number of additional sets that are routed to by other rules to form a directional graph. |
type |
| Indicates that these are a "unrouted" type set of rules. (default: unrouted) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_orch_path_unrouted | select | id | Accept , Content-Type | Get a Global Event Orchestration's Rules for Unrouted events. An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service. The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing. For more information see the API Concepts Document Scoped OAuth requires: event_orchestrations.read |
_get_orch_path_unrouted | exec | id | Accept , Content-Type | Get a Global Event Orchestration's Rules for Unrouted events. An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service. The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing. For more information see the API Concepts Document Scoped OAuth requires: event_orchestrations.read |
update_orch_path_unrouted | exec | id , orchestration_path | Accept , Content-Type | Update a Global Event Orchestration's Rules for Unrouted events. An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service. The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing. For more information see the API Concepts Document Scoped OAuth requires: event_orchestrations.write |
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 |
---|---|---|
id | string | The ID of an Event Orchestration. |
Accept | string | The Accept header is used as a versioning header. |
Content-Type | string |
SELECT
examples
- get_orch_path_unrouted
Get a Global Event Orchestration's Rules for Unrouted events.
An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service.
The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing.
For more information see the API Concepts Document
Scoped OAuth requires: event_orchestrations.read
SELECT
catch_all,
parent,
sets,
type
FROM pagerduty.event_orchestrations.unrouted
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;
Lifecycle Methods
- _get_orch_path_unrouted
- update_orch_path_unrouted
Get a Global Event Orchestration's Rules for Unrouted events.
An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service.
The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing.
For more information see the API Concepts Document
Scoped OAuth requires: event_orchestrations.read
EXEC pagerduty.event_orchestrations.unrouted._get_orch_path_unrouted
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;
Update a Global Event Orchestration's Rules for Unrouted events.
An Unrouted Orchestration allows you to create a set of Event Rules that will be evaluated against all events that don't match any rules in the Global Orchestration's Router. Events that reach the Unrouted Orchestration will never be routed to a specific Service.
The Unrouted Orchestration evaluates Events sent to it against each of its rules, beginning with the rules in the "start" set. When a matching rule is found, it can modify and enhance the event and can route the event to another set of rules within this Unrouted Orchestration for further processing.
For more information see the API Concepts Document
Scoped OAuth requires: event_orchestrations.write
EXEC pagerduty.event_orchestrations.unrouted.update_orch_path_unrouted
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
@@json=
'{
"orchestration_path": "{{ orchestration_path }}"
}'
;