Skip to main content

monitors_api_keys

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

Overview

Namemonitors_api_keys
TypeResource
Idazure_isv.datadog.monitors_api_keys

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the API key.
createdstringThe time of creation of the API key.
createdBystringThe user that created the API key.
keystringThe value of the API key.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, monitorName

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
monitorNamestringMonitor resource name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Success

SELECT
name,
created,
createdBy,
key
FROM azure_isv.datadog.monitors_api_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;