business_services
Creates, updates, deletes, gets or lists a business_services
resource.
Overview
Name | business_services |
Type | Resource |
Id | pagerduty.service_dependencies.business_services |
Fields
The following fields are returned by SELECT
queries:
- get_business_service_service_dependencies
An array of service relationships.
Name | Datatype | Description |
---|---|---|
id | string | |
dependent_service | object | The reference to the service that is dependent on the Business Service. |
supporting_service | object | The reference to the service that supports the Business Service. |
type | string |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_business_service_service_dependencies | select | id | Accept , Content-Type | Get all immediate dependencies of any Business Service. Business Services model capabilities that span multiple technical services and that may be owned by several different teams. For more information see the API Concepts Document Scoped OAuth requires: services.read |
_get_business_service_service_dependencies | exec | id | Accept , Content-Type | Get all immediate dependencies of any Business Service. Business Services model capabilities that span multiple technical services and that may be owned by several different teams. For more information see the API Concepts Document Scoped OAuth requires: services.read |
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 the resource. |
Accept | string | The Accept header is used as a versioning header. |
Content-Type | string |
SELECT
examples
- get_business_service_service_dependencies
Get all immediate dependencies of any Business Service.
Business Services model capabilities that span multiple technical services and that may be owned by several different teams.
For more information see the API Concepts Document
Scoped OAuth requires: services.read
SELECT
id,
dependent_service,
supporting_service,
type
FROM pagerduty.service_dependencies.business_services
WHERE id = '{{ id }}' -- required
AND Accept = '{{ Accept }}'
AND Content-Type = '{{ Content-Type }}'
;
Lifecycle Methods
- _get_business_service_service_dependencies
Get all immediate dependencies of any Business Service.
Business Services model capabilities that span multiple technical services and that may be owned by several different teams.
For more information see the API Concepts Document
Scoped OAuth requires: services.read
EXEC pagerduty.service_dependencies.business_services._get_business_service_service_dependencies
@id='{{ id }}' --required,
@Accept='{{ Accept }}',
@Content-Type='{{ Content-Type }}'
;