/
Monitors_Create.json
88 lines (88 loc) · 2.46 KB
/
Monitors_Create.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"parameters": {
"api-version": "2023-01-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "myMonitor",
"requestBody": {
"name": "myMonitor",
"sku": {
"name": "free_Monthly"
},
"properties": {
"monitoringStatus": "Enabled",
"datadogOrganizationProperties": {
"name": "myOrg",
"id": "myOrg123",
"subscription": "pro",
"linkingAuthCode": "someAuthCode",
"linkingClientId": "00000000-0000-0000-0000-000000000000",
"enterpriseAppId": "00000000-0000-0000-0000-000000000000",
"cspm": false
},
"userInfo": {
"name": "Alice",
"emailAddress": "alice@microsoft.com",
"phoneNumber": "123-456-7890"
}
},
"tags": {
"Environment": "Dev"
},
"location": "West US"
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
"name": "myMonitor",
"type": "Microsoft.Datadog/monitors",
"sku": {
"name": "free_Monthly"
},
"properties": {
"provisioningState": "Succeeded",
"monitoringStatus": "Enabled",
"datadogOrganizationProperties": {
"name": "myOrg",
"id": "myOrg123",
"linkingAuthCode": null,
"linkingClientId": null,
"enterpriseAppId": null
},
"liftrResourceCategory": "MonitorLogs",
"liftrResourcePreference": 1
},
"tags": {
"Environment": "Dev"
},
"location": "West US"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/monitors/myMonitor",
"name": "myMonitor",
"type": "Microsoft.Datadog/monitors",
"sku": {
"name": "free_Monthly"
},
"properties": {
"provisioningState": "Accepted",
"monitoringStatus": "Enabled",
"datadogOrganizationProperties": {
"name": "myOrg",
"id": "myOrg123"
},
"liftrResourceCategory": "MonitorLogs",
"liftrResourcePreference": 1
},
"tags": {
"Environment": "Dev"
},
"location": "West US"
}
}
}
}