Skip to content

Commit 211e712

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit deca7ae2 of spec repo
1 parent e7a3ab5 commit 211e712

12 files changed

+14005
-3926
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-06-23 18:04:04.442444",
8-
"spec_repo_commit": "9a201ac7"
7+
"regenerated": "2025-06-23 19:20:50.401994",
8+
"spec_repo_commit": "deca7ae2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-06-23 18:04:13.803432",
13-
"spec_repo_commit": "9a201ac7"
12+
"regenerated": "2025-06-23 19:20:59.736023",
13+
"spec_repo_commit": "deca7ae2"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,6 +1755,97 @@ menu:
17551755
url: /api/latest/monitors/
17561756
identifier: monitors
17571757
generated: true
1758+
- name: Validate an existing monitor user template
1759+
url: '#validate-an-existing-monitor-user-template'
1760+
identifier: monitors-validate-an-existing-monitor-user-template
1761+
parent: monitors
1762+
generated: true
1763+
params:
1764+
versions:
1765+
- v2
1766+
operationids:
1767+
- ValidateExistingMonitorUserTemplate
1768+
unstable:
1769+
- v2
1770+
order: 25
1771+
- name: Update a monitor user template to a new version
1772+
url: '#update-a-monitor-user-template-to-a-new-version'
1773+
identifier: monitors-update-a-monitor-user-template-to-a-new-version
1774+
parent: monitors
1775+
generated: true
1776+
params:
1777+
versions:
1778+
- v2
1779+
operationids:
1780+
- UpdateMonitorUserTemplate
1781+
unstable:
1782+
- v2
1783+
order: 22
1784+
- name: Get a monitor user template
1785+
url: '#get-a-monitor-user-template'
1786+
identifier: monitors-get-a-monitor-user-template
1787+
parent: monitors
1788+
generated: true
1789+
params:
1790+
versions:
1791+
- v2
1792+
operationids:
1793+
- GetMonitorUserTemplate
1794+
unstable:
1795+
- v2
1796+
order: 19
1797+
- name: Delete a monitor user template
1798+
url: '#delete-a-monitor-user-template'
1799+
identifier: monitors-delete-a-monitor-user-template
1800+
parent: monitors
1801+
generated: true
1802+
params:
1803+
versions:
1804+
- v2
1805+
operationids:
1806+
- DeleteMonitorUserTemplate
1807+
unstable:
1808+
- v2
1809+
order: 23
1810+
- name: Validate a monitor user template
1811+
url: '#validate-a-monitor-user-template'
1812+
identifier: monitors-validate-a-monitor-user-template
1813+
parent: monitors
1814+
generated: true
1815+
params:
1816+
versions:
1817+
- v2
1818+
operationids:
1819+
- ValidateMonitorUserTemplate
1820+
unstable:
1821+
- v2
1822+
order: 24
1823+
- name: Create a monitor user template
1824+
url: '#create-a-monitor-user-template'
1825+
identifier: monitors-create-a-monitor-user-template
1826+
parent: monitors
1827+
generated: true
1828+
params:
1829+
versions:
1830+
- v2
1831+
operationids:
1832+
- CreateMonitorUserTemplate
1833+
unstable:
1834+
- v2
1835+
order: 21
1836+
- name: Get all monitor user templates
1837+
url: '#get-all-monitor-user-templates'
1838+
identifier: monitors-get-all-monitor-user-templates
1839+
parent: monitors
1840+
generated: true
1841+
params:
1842+
versions:
1843+
- v2
1844+
operationids:
1845+
- ListMonitorUserTemplates
1846+
unstable:
1847+
- v2
1848+
order: 20
17581849
- name: Edit a monitor configuration policy
17591850
url: '#edit-a-monitor-configuration-policy'
17601851
identifier: monitors-edit-a-monitor-configuration-policy

content/en/api/v2/monitors/examples.json

Lines changed: 621 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"description": "A description.",
5+
"monitor_definition": {
6+
"message": "A msg.",
7+
"name": "A name example-monitor",
8+
"query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100",
9+
"type": "query alert"
10+
},
11+
"tags": [
12+
"integration:Azure"
13+
],
14+
"template_variables": [
15+
{
16+
"available_values": [
17+
"value1",
18+
"value2"
19+
],
20+
"defaults": [
21+
"defaultValue"
22+
],
23+
"name": "regionName",
24+
"tag_key": "datacenter"
25+
}
26+
],
27+
"title": "Postgres DB example-monitor"
28+
},
29+
"type": "monitor-user-template"
30+
}
31+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"description": "A description.",
5+
"monitor_definition": {
6+
"message": "A msg.",
7+
"name": "A name example-monitor",
8+
"query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100",
9+
"type": "query alert"
10+
},
11+
"tags": [
12+
"integration:Azure"
13+
],
14+
"template_variables": [
15+
{
16+
"available_values": [
17+
"value1",
18+
"value2"
19+
],
20+
"defaults": [
21+
"defaultValue"
22+
],
23+
"name": "regionName",
24+
"tag_key": "datacenter"
25+
}
26+
],
27+
"title": "Postgres DB example-monitor"
28+
},
29+
"id": "00000000-0000-1234-0000-000000000000",
30+
"type": "monitor-user-template"
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"description": "A description.",
5+
"monitor_definition": {
6+
"message": "A msg.",
7+
"name": "A name example-monitor",
8+
"query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100",
9+
"type": "query alert"
10+
},
11+
"tags": [
12+
"integration:Azure"
13+
],
14+
"template_variables": [
15+
{
16+
"available_values": [
17+
"value1",
18+
"value2"
19+
],
20+
"defaults": [
21+
"defaultValue"
22+
],
23+
"name": "regionName",
24+
"tag_key": "datacenter"
25+
}
26+
],
27+
"title": "Postgres DB example-monitor"
28+
},
29+
"id": "00000000-0000-1234-0000-000000000000",
30+
"type": "monitor-user-template"
31+
}
32+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"description": "A description.",
5+
"monitor_definition": {
6+
"message": "A msg.",
7+
"name": "A name example-monitor",
8+
"query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100",
9+
"type": "query alert"
10+
},
11+
"tags": [
12+
"integration:Azure"
13+
],
14+
"template_variables": [
15+
{
16+
"available_values": [
17+
"value1",
18+
"value2"
19+
],
20+
"defaults": [
21+
"defaultValue"
22+
],
23+
"name": "regionName",
24+
"tag_key": "datacenter"
25+
}
26+
],
27+
"title": "Postgres DB example-monitor"
28+
},
29+
"type": "monitor-user-template"
30+
}
31+
}

data/api/v2/CodeExamples.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,13 @@
850850
"description": "Create a monitor notification rule returns \"OK\" response"
851851
}
852852
],
853+
"CreateMonitorUserTemplate": [
854+
{
855+
"group": "monitors",
856+
"suffix": "",
857+
"description": "Create a monitor user template returns \"OK\" response"
858+
}
859+
],
853860
"UpdateMonitorConfigPolicy": [
854861
{
855862
"group": "monitors",
@@ -864,6 +871,27 @@
864871
"description": "Update a monitor notification rule returns \"OK\" response"
865872
}
866873
],
874+
"UpdateMonitorUserTemplate": [
875+
{
876+
"group": "monitors",
877+
"suffix": "",
878+
"description": "Update a monitor user template to a new version returns \"OK\" response"
879+
}
880+
],
881+
"ValidateMonitorUserTemplate": [
882+
{
883+
"group": "monitors",
884+
"suffix": "",
885+
"description": "Validate a monitor user template returns \"OK\" response"
886+
}
887+
],
888+
"ValidateExistingMonitorUserTemplate": [
889+
{
890+
"group": "monitors",
891+
"suffix": "",
892+
"description": "Validate an existing monitor user template returns \"OK\" response"
893+
}
894+
],
867895
"UpdateDeviceUserTags": [
868896
{
869897
"group": "network_device_monitoring",

0 commit comments

Comments
 (0)