monitors_default_keys
Creates, updates, deletes, gets or lists a monitors_default_keys
resource.
Overview
Name | monitors_default_keys |
Type | Resource |
Id | azure_isv.datadog.monitors_default_keys |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
name | string | The name of the API key. |
created | string | The time of creation of the API key. |
createdBy | string | The user that created the API key. |
key | string | The value of the API key. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , 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.
Name | Datatype | Description |
---|---|---|
monitorName | string | Monitor resource name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
Success
SELECT
name,
created,
createdBy,
key
FROM azure_isv.datadog.monitors_default_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;