Skip to main content

priority_thresholds

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

Overview

Namepriority_thresholds
TypeResource
Idpagerduty.business_services.priority_thresholds

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
orderinteger

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_business_service_priority_thresholdsselectX-EARLY-ACCESSAcceptRetrieves the priority threshold information for an account. Currently, there is a global_threshold that can be set for the account. Incidents that have a priority meeting or exceeding this threshold will be considered impacting on any Business Service that depends on the Service to which the Incident belongs.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
delete_business_service_priority_thresholdsdeleteX-EARLY-ACCESSAcceptClears the Priority Threshold for the account. If the priority threshold is cleared, any Incident with a Priority set will be able to impact Business Services.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
_get_business_service_priority_thresholdsexecX-EARLY-ACCESSAcceptRetrieves the priority threshold information for an account. Currently, there is a global_threshold that can be set for the account. Incidents that have a priority meeting or exceeding this threshold will be considered impacting on any Business Service that depends on the Service to which the Incident belongs.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.
put_business_service_priority_thresholdsexecX-EARLY-ACCESS, global_thresholdAcceptSet the Account-level priority threshold for Business Service.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

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
X-EARLY-ACCESSstringThis header indicates that this API endpoint is UNDER CONSTRUCTION and may change at any time. You MUST pass in this header with the value business-impact-early-access. Do not use this endpoint in production, as it may change!
AcceptstringThe Accept header is used as a versioning header.

SELECT examples

Retrieves the priority threshold information for an account. Currently, there is a global_threshold that can be set for the account. Incidents that have a priority meeting or exceeding this threshold will be considered impacting on any Business Service that depends on the Service to which the Incident belongs.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

SELECT
id,
order
FROM pagerduty.business_services.priority_thresholds
WHERE X-EARLY-ACCESS = '{{ X-EARLY-ACCESS }}' -- required
AND Accept = '{{ Accept }}'
;

DELETE examples

Clears the Priority Threshold for the account. If the priority threshold is cleared, any Incident with a Priority set will be able to impact Business Services.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

DELETE FROM pagerduty.business_services.priority_thresholds
WHERE X-EARLY-ACCESS = '{{ X-EARLY-ACCESS }}' --required
AND Accept = '{{ Accept }}'
;

Lifecycle Methods

Retrieves the priority threshold information for an account. Currently, there is a global_threshold that can be set for the account. Incidents that have a priority meeting or exceeding this threshold will be considered impacting on any Business Service that depends on the Service to which the Incident belongs.

<!-- theme: warning -->
> ### Early Access
> This endpoint is in Early Access and may change at any time. You must pass in the X-EARLY-ACCESS header to access it.

EXEC pagerduty.business_services.priority_thresholds._get_business_service_priority_thresholds 
@X-EARLY-ACCESS='{{ X-EARLY-ACCESS }}' --required,
@Accept='{{ Accept }}'
;