Skip to content

Commit 91885e6

Browse files
authored
[Datadog] Add 2021-03-01 stable version (#13330)
* [Datadog] Add 2021-03-01 stable version * Update readme * Fix * Update * Fix * Update * Prettier * Revert preview version * Update versions * Update * Add validation for monitor resource name * Fix LintDiff * Revert
1 parent f3913de commit 91885e6

29 files changed

+2807
-4
lines changed

specification/datadog/resource-manager/Microsoft.Datadog/stable/2021-03-01/datadog.json

Lines changed: 1984 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"createdBy": "[email protected]",
12+
"name": "<API_KEY_NAME>",
13+
"key": "1111111111111111aaaaaaaaaaaaaaaa",
14+
"created": "2019-04-05 09:20:30"
15+
}
16+
}
17+
}
18+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"createdBy": "[email protected]",
14+
"name": "<API_KEY_NAME>",
15+
"key": "1111111111111111aaaaaaaaaaaaaaaa",
16+
"created": "2019-04-05 09:20:30"
17+
},
18+
{
19+
"createdBy": "[email protected]",
20+
"name": "<API_KEY_NAME_2>",
21+
"key": "2111111111111111aaaaaaaaaaaaaaaa",
22+
"created": "2019-04-05 09:19:53"
23+
}
24+
],
25+
"nextLink": null
26+
}
27+
}
28+
}
29+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"requestBody": {
8+
"key": "1111111111111111aaaaaaaaaaaaaaaa"
9+
}
10+
},
11+
"responses": {
12+
"200": {}
13+
}
14+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "vm1",
14+
"aliases": [
15+
"vm1",
16+
"65f2dd83-95ae-4f56-b6aa-a5dafc05f4cd"
17+
],
18+
"apps": [
19+
"ntp",
20+
"agent"
21+
],
22+
"meta": {
23+
"agentVersion": "7.19.2",
24+
"installMethod": {
25+
"tool": "install_script",
26+
"toolVersion": "install_script",
27+
"installerVersion": "install_script-1.0.0"
28+
},
29+
"logsAgent": {
30+
"transport": ""
31+
}
32+
}
33+
},
34+
{
35+
"name": "vm2",
36+
"aliases": [
37+
"vm2",
38+
"df631d9a-8178-4580-bf60-c697a5e8df4d"
39+
],
40+
"apps": [
41+
"infra",
42+
"agent"
43+
],
44+
"meta": {
45+
"agentVersion": "7.18.1",
46+
"installMethod": {
47+
"tool": "install_script",
48+
"toolVersion": "install_script",
49+
"installerVersion": "install_script-1.0.0"
50+
},
51+
"logsAgent": {
52+
"transport": "HTTP"
53+
}
54+
}
55+
}
56+
],
57+
"nextLink": null
58+
}
59+
}
60+
}
61+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Datadog/monitors/myMonitor"
14+
}
15+
]
16+
}
17+
}
18+
}
19+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"requestBody": {
6+
"properties": {
7+
"accepted": true
8+
}
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/default",
15+
"name": "default",
16+
"type": "Microsoft.Datadog/agreements",
17+
"properties": {
18+
"publisher": "pubid1",
19+
"product": "offid1",
20+
"plan": "planid1",
21+
"licenseTextLink": "test.licenseLink1",
22+
"privacyPolicyLink": "test.privacyPolicyLink1",
23+
"retrieveDatetime": "2017-08-15T11:33:07.12132Z",
24+
"signature": "ASDFSDAFWEFASDGWERLWER",
25+
"accepted": true
26+
}
27+
}
28+
}
29+
}
30+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/id1",
12+
"name": "planid1",
13+
"type": "Microsoft.Datadog/agreements",
14+
"properties": {
15+
"publisher": "pubid1",
16+
"product": "offid1",
17+
"plan": "planid1",
18+
"licenseTextLink": "test.licenseLink1",
19+
"privacyPolicyLink": "test.privacyPolicyLink1",
20+
"retrieveDatetime": "2017-08-15T11:33:07.12132Z",
21+
"signature": "ASDFSDAFWEFASDGWERLWER",
22+
"accepted": false
23+
}
24+
},
25+
{
26+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Datadog/agreements/id2",
27+
"name": "planid2",
28+
"type": "Microsoft.Datadog/agreements",
29+
"properties": {
30+
"publisher": "pubid2",
31+
"product": "offid2",
32+
"plan": "planid2",
33+
"licenseTextLink": "test.licenseLin2k",
34+
"privacyPolicyLink": "test.privacyPolicyLink2",
35+
"retrieveDatetime": "2017-08-14T11:33:07.12132Z",
36+
"signature": "ASDFSDAFWEFASDGWERLWER",
37+
"accepted": false
38+
}
39+
}
40+
],
41+
"nextLink": null
42+
}
43+
}
44+
}
45+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVault",
14+
"sendingMetrics": true,
15+
"reasonForMetricsStatus": "CapturedByRules",
16+
"sendingLogs": true,
17+
"reasonForLogsStatus": "CapturedByRules"
18+
}
19+
]
20+
}
21+
}
22+
}
23+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"requestBody": {
8+
"name": "myMonitor",
9+
"sku": {
10+
"name": "free_Monthly"
11+
},
12+
"properties": {
13+
"monitoringStatus": "Enabled",
14+
"datadogOrganizationProperties": {
15+
"name": "myOrg",
16+
"subscription": "pro",
17+
"linkingAuthCode": "someAuthCode",
18+
"linkingClientId": "00000000-0000-0000-0000-000000000000",
19+
"enterpriseAppId": "00000000-0000-0000-0000-000000000000"
20+
},
21+
"userInfo": {
22+
"name": "Alice",
23+
"emailAddress": "[email protected]",
24+
"phoneNumber": "123-456-7890"
25+
}
26+
},
27+
"tags": {
28+
"Environment": "Dev"
29+
},
30+
"location": "West US"
31+
}
32+
},
33+
"responses": {
34+
"200": {
35+
"body": {
36+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
37+
"name": "myMonitor",
38+
"type": "Microsoft.Datadog/monitors",
39+
"sku": {
40+
"name": "free_Monthly"
41+
},
42+
"properties": {
43+
"provisioningState": "Succeeded",
44+
"monitoringStatus": "Enabled",
45+
"datadogOrganizationProperties": {
46+
"name": "myOrg",
47+
"id": "myOrg123",
48+
"linkingAuthCode": null,
49+
"linkingClientId": null,
50+
"enterpriseAppId": null
51+
},
52+
"liftrResourceCategory": "MonitorLogs",
53+
"liftrResourcePreference": 1
54+
},
55+
"tags": {
56+
"Environment": "Dev"
57+
},
58+
"location": "West US"
59+
}
60+
},
61+
"201": {
62+
"body": {
63+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
64+
"name": "myMonitor",
65+
"type": "Microsoft.Datadog/monitors",
66+
"sku": {
67+
"name": "free_Monthly"
68+
},
69+
"properties": {
70+
"provisioningState": "Accepted",
71+
"monitoringStatus": "Enabled",
72+
"datadogOrganizationProperties": {
73+
"name": "myOrg",
74+
"id": "myOrg123"
75+
},
76+
"liftrResourceCategory": "MonitorLogs",
77+
"liftrResourcePreference": 1
78+
},
79+
"tags": {
80+
"Environment": "Dev"
81+
},
82+
"location": "West US"
83+
}
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)