servicenow_business_services
Creates, updates, deletes, gets or lists a servicenow_business_services resource.
Overview
| Name | servicenow_business_services |
| Type | Resource |
| Id | datadog.integrations.servicenow_business_services |
Fields
The following fields are returned by SELECT queries:
- list_service_now_business_services
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | Unique identifier for the ServiceNow business service (example: 65b3341b-0680-47f9-a6d4-134db45c603e) |
attributes | object | Attributes of a ServiceNow business service |
type | string | Type identifier for ServiceNow business service resources (business_services) (example: business_services) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_now_business_services | select | instance_id | Get all business services for a ServiceNow instance. |
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 |
|---|---|---|
instance_id | string (uuid) | The ID of the ServiceNow instance (example: 65b3341b-0680-47f9-a6d4-134db45c603e) |
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
SELECT examples
- list_service_now_business_services
Get all business services for a ServiceNow instance.
SELECT
id,
attributes,
type
FROM datadog.integrations.servicenow_business_services
WHERE instance_id = '{{ instance_id }}' -- required
;