Skip to main content

services_active

Creates, updates, deletes, gets or lists a services_active resource.

Overview

Nameservices_active
TypeResource
Idpagerduty.event_orchestrations.services_active

Fields

The following fields are returned by SELECT queries:

An object with the active status.

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_orch_active_statusselectservice_idAccept, Content-TypeGet a Service Orchestration's active status.

A Service Orchestration allows you to set an active status based on whether an event will be evaluated against a service orchestration path (true) or service ruleset (false).

For more information see the API Concepts Document

Scoped OAuth requires: services.read
_get_orch_active_statusexecservice_idAccept, Content-TypeGet a Service Orchestration's active status.

A Service Orchestration allows you to set an active status based on whether an event will be evaluated against a service orchestration path (true) or service ruleset (false).

For more information see the API Concepts Document

Scoped OAuth requires: services.read
update_orch_active_statusexecservice_idAccept, Content-TypeUpdate a Service Orchestration's active status.

A Service Orchestration allows you to set an active status based on whether an event will be evaluated against a service orchestration path (true) or service ruleset (false).

For more information see the API Concepts Document

Scoped OAuth requires: services.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.

NameDatatypeDescription
service_idstringThe service ID
AcceptstringThe Accept header is used as a versioning header.
Content-Typestring

SELECT examples

Get a Service Orchestration's active status.

A Service Orchestration allows you to set an active status based on whether an event will be evaluated against a service orchestration path (true) or service ruleset (false).

For more information see the API Concepts Document

Scoped OAuth requires: services.read

SELECT
*
FROM pagerduty.event_orchestrations.services_active
WHERE service_id = '{{ service_id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;

Lifecycle Methods

Get a Service Orchestration's active status.

A Service Orchestration allows you to set an active status based on whether an event will be evaluated against a service orchestration path (true) or service ruleset (false).

For more information see the API Concepts Document

Scoped OAuth requires: services.read

EXEC pagerduty.event_orchestrations.services_active._get_orch_active_status 
@service_id='{{ service_id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;