Skip to content

Commit dfd7afd

Browse files
Adding new version 2024-01-01-preview for updating monitor Properties (#27462)
* Base API commit * Changing version to new 2024-01-01-preview * Adding additional parameters to MonitorProperties and updating example * Updating readme.md
1 parent 68030f1 commit dfd7afd

File tree

49 files changed

+5782
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+5782
-1
lines changed

specification/newrelic/resource-manager/NewRelic.Observability/preview/2024-01-01-preview/NewRelic.json

Lines changed: 3432 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"operationId": "Accounts_List",
3+
"title": "Accounts_List_MaximumSet_Gen",
4+
"parameters": {
5+
"api-version": "2024-01-01-preview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"userEmail": "[email protected]",
8+
"location": "egh"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
16+
"properties": {
17+
"organizationId": "wvdclwi",
18+
"accountId": "igmdjq",
19+
"accountName": "accname",
20+
"region": "xnsylopqwcggudcln"
21+
}
22+
}
23+
],
24+
"nextLink": "http://testlink.com"
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"operationId": "Accounts_List",
3+
"title": "Accounts_List_MinimumSet_Gen",
4+
"parameters": {
5+
"api-version": "2024-01-01-preview",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"userEmail": "[email protected]",
8+
"location": "egh"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor"
16+
}
17+
]
18+
}
19+
}
20+
}
21+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"marketplaceSaasInfo": {
12+
"marketplaceSubscriptionId": "12345678-1234-1234-1234-123456789012",
13+
"marketplaceSubscriptionName": "AzNewRelic_b1190c8f",
14+
"marketplaceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/resources/AzNewRelic_b1190c8f",
15+
"marketplaceStatus": "Active",
16+
"billedAzureSubscriptionId": "00000000-0000-0000-0000-000000000000"
17+
},
18+
"partnerBillingEntity": {
19+
"organizationId": "1234567890",
20+
"organizationName": "NROrganizationName"
21+
}
22+
}
23+
}
24+
}
25+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"properties": {
14+
"accountName": "accountName",
15+
"accountId": "1156243",
16+
"azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
17+
"location": "West US 2"
18+
}
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
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/NewRelic.Observability/monitors/myMonitor"
14+
}
15+
]
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"configurationName": "default",
8+
"requestBody": {
9+
"properties": {
10+
"operation": "AddBegin",
11+
"monitoredSubscriptionList": [
12+
{
13+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
14+
"status": "Active",
15+
"tagRules": {
16+
"provisioningState": "Accepted",
17+
"logRules": {
18+
"sendAadLogs": "Enabled",
19+
"sendSubscriptionLogs": "Enabled",
20+
"sendActivityLogs": "Enabled",
21+
"filteringTags": [
22+
{
23+
"name": "saokgpjvdlorciqbjmjxazpee",
24+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
25+
"action": "Include"
26+
}
27+
]
28+
},
29+
"metricRules": {
30+
"userEmail": "[email protected]",
31+
"filteringTags": [
32+
{
33+
"name": "saokgpjvdlorciqbjmjxazpee",
34+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
35+
"action": "Include"
36+
}
37+
]
38+
}
39+
}
40+
},
41+
{
42+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
43+
"status": "Failed",
44+
"tagRules": {
45+
"provisioningState": "Accepted",
46+
"logRules": {
47+
"sendAadLogs": "Enabled",
48+
"sendSubscriptionLogs": "Enabled",
49+
"sendActivityLogs": "Enabled",
50+
"filteringTags": [
51+
{
52+
"name": "saokgpjvdlorciqbjmjxazpee",
53+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
54+
"action": "Include"
55+
}
56+
]
57+
},
58+
"metricRules": {
59+
"userEmail": "[email protected]",
60+
"filteringTags": [
61+
{
62+
"name": "saokgpjvdlorciqbjmjxazpee",
63+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
64+
"action": "Include"
65+
}
66+
]
67+
}
68+
}
69+
}
70+
]
71+
}
72+
}
73+
},
74+
"responses": {
75+
"200": {
76+
"body": {
77+
"name": "default",
78+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
79+
"type": "NewRelic.Observability/monitors/monitoredSubscriptions",
80+
"properties": {
81+
"monitoredSubscriptionList": [
82+
{
83+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
84+
"status": "Active",
85+
"tagRules": {
86+
"provisioningState": "Accepted",
87+
"logRules": {
88+
"sendAadLogs": "Enabled",
89+
"sendSubscriptionLogs": "Enabled",
90+
"sendActivityLogs": "Enabled",
91+
"filteringTags": [
92+
{
93+
"name": "saokgpjvdlorciqbjmjxazpee",
94+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
95+
"action": "Include"
96+
}
97+
]
98+
},
99+
"metricRules": {
100+
"userEmail": "[email protected]",
101+
"filteringTags": [
102+
{
103+
"name": "saokgpjvdlorciqbjmjxazpee",
104+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
105+
"action": "Include"
106+
}
107+
]
108+
}
109+
}
110+
},
111+
{
112+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
113+
"status": "Failed",
114+
"tagRules": {
115+
"provisioningState": "Accepted",
116+
"logRules": {
117+
"sendAadLogs": "Enabled",
118+
"sendSubscriptionLogs": "Enabled",
119+
"sendActivityLogs": "Enabled",
120+
"filteringTags": [
121+
{
122+
"name": "saokgpjvdlorciqbjmjxazpee",
123+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
124+
"action": "Include"
125+
}
126+
]
127+
},
128+
"metricRules": {
129+
"userEmail": "[email protected]",
130+
"filteringTags": [
131+
{
132+
"name": "saokgpjvdlorciqbjmjxazpee",
133+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
134+
"action": "Include"
135+
}
136+
]
137+
}
138+
}
139+
}
140+
]
141+
}
142+
}
143+
},
144+
"201": {
145+
"body": {
146+
"name": "default",
147+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/monitoredSubscriptions/default",
148+
"type": "NewRelic.Observability/monitors/monitoredSubscriptions",
149+
"properties": {
150+
"monitoredSubscriptionList": [
151+
{
152+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000",
153+
"status": "Active",
154+
"tagRules": {
155+
"provisioningState": "Accepted",
156+
"logRules": {
157+
"sendAadLogs": "Enabled",
158+
"sendSubscriptionLogs": "Enabled",
159+
"sendActivityLogs": "Enabled",
160+
"filteringTags": [
161+
{
162+
"name": "saokgpjvdlorciqbjmjxazpee",
163+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
164+
"action": "Include"
165+
}
166+
]
167+
},
168+
"metricRules": {
169+
"userEmail": "[email protected]",
170+
"filteringTags": [
171+
{
172+
"name": "saokgpjvdlorciqbjmjxazpee",
173+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
174+
"action": "Include"
175+
}
176+
]
177+
}
178+
}
179+
},
180+
{
181+
"subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000001",
182+
"status": "Failed",
183+
"tagRules": {
184+
"provisioningState": "Accepted",
185+
"logRules": {
186+
"sendAadLogs": "Enabled",
187+
"sendSubscriptionLogs": "Enabled",
188+
"sendActivityLogs": "Enabled",
189+
"filteringTags": [
190+
{
191+
"name": "saokgpjvdlorciqbjmjxazpee",
192+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
193+
"action": "Include"
194+
}
195+
]
196+
},
197+
"metricRules": {
198+
"userEmail": "[email protected]",
199+
"filteringTags": [
200+
{
201+
"name": "saokgpjvdlorciqbjmjxazpee",
202+
"value": "sarxrqsxouhdjwsrqqicbeirdb",
203+
"action": "Include"
204+
}
205+
]
206+
}
207+
}
208+
}
209+
]
210+
}
211+
}
212+
}
213+
}
214+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01-preview",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"monitorName": "myMonitor",
7+
"configurationName": "default"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/peerTest/providers/NewRelic.Observability/monitors/test?api-version=2024-01-01-preview"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}

0 commit comments

Comments
 (0)