global
Creates, updates, deletes, gets or lists a global
resource.
Overview
Name | global |
Type | Resource |
Id | pagerduty.event_orchestrations.global |
Fields
The following fields are returned by SELECT
queries:
- get_orch_path_global
The Global Orchestration Rules object.
Name | Datatype | Description |
---|---|---|
catch_all |
| When none of the rules match an event, the event will be routed according to the catch_all settings. |
parent |
| |
sets |
| You must define at least a "start" set, but you can also define any number of additional sets that are routed to by other rules to form a directional graph. |
type |
| Indicates that these are a set of "global" rules. (default: global) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_orch_path_global | select | id | Accept , Content-Type | Get the Global Orchestration for an Event Orchestration. Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this Orchestration for further processing. For more information see the API Concepts Document Scoped OAuth requires: event_orchestrations.read |
_get_orch_path_global | exec | id | Accept , Content-Type | Get the Global Orchestration for an Event Orchestration. Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this Orchestration for further processing. For more information see the API Concepts Document Scoped OAuth requires: event_orchestrations.read |
update_orch_path_global | exec | id , orchestration_path | Accept , Content-Type | Update the Global Orchestration for an Event Orchestration. Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this 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_global
Get the Global Orchestration for an Event Orchestration.
Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this 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.global
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;
Lifecycle Methods
- _get_orch_path_global
- update_orch_path_global
Get the Global Orchestration for an Event Orchestration.
Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this Orchestration for further processing.
For more information see the API Concepts Document
Scoped OAuth requires: event_orchestrations.read
EXEC pagerduty.event_orchestrations.global._get_orch_path_global
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;
Update the Global Orchestration for an Event Orchestration.
Global Orchestration Rules allows you to create a set of Event Rules. These rules evaluate against all Events sent to an Event Orchestration. When a matching rule is found, it can modify and enhance the event and can route the event to another set of Global Rules within this Orchestration for further processing.
For more information see the API Concepts Document
Scoped OAuth requires: event_orchestrations.write
EXEC pagerduty.event_orchestrations.global.update_orch_path_global
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
@@json=
'{
"orchestration_path": "{{ orchestration_path }}"
}'
;