Skip to content

Commit 556f908

Browse files
authored
add origin and proerties (#12491)
1 parent 261d642 commit 556f908

File tree

2 files changed

+260
-5
lines changed

2 files changed

+260
-5
lines changed

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json

Lines changed: 249 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{
1313
"name": "Microsoft.IoTCentral/IoTApps/read",
1414
"display": {
15-
"provider": "Microsoft IoT Central",
15+
"provider": "Azure IoT Central",
1616
"resource": "IoTApps",
1717
"operation": "Get IoT Central Application",
1818
"description": "Gets a single IoT Central Application"
@@ -21,7 +21,7 @@
2121
{
2222
"name": "Microsoft.IoTCentral/IoTApps/write",
2323
"display": {
24-
"provider": "Microsoft IoT Central",
24+
"provider": "Azure IoT Central",
2525
"resource": "IoTApps",
2626
"operation": "Create or Update IoT Central Application",
2727
"description": "Creates or Updates an IoT Central Applications"
@@ -30,7 +30,7 @@
3030
{
3131
"name": "Microsoft.IoTCentral/IoTApps/delete",
3232
"display": {
33-
"provider": "Microsoft IoT Central",
33+
"provider": "Azure IoT Central",
3434
"resource": "IoTApps",
3535
"operation": "Delete IoT Central Application",
3636
"description": "Deletes an IoT Central Applications"
@@ -39,20 +39,264 @@
3939
{
4040
"name": "Microsoft.IoTCentral/checkNameAvailability/action",
4141
"display": {
42-
"provider": "Microsoft IoT Central",
42+
"provider": "Azure IoT Central",
4343
"resource": "",
4444
"operation": "Check resource name availability",
4545
"description": "Checks if an IoT Central Application name is available"
4646
}
4747
},
48+
{
49+
"name": "Microsoft.IoTCentral/checkSubdomainAvailability/action",
50+
"display": {
51+
"provider": "Azure IoT Central",
52+
"resource": "",
53+
"operation": "Check resource subdomain availability",
54+
"description": "Checks if an IoT Central Application subdomain is available"
55+
}
56+
},
4857
{
4958
"name": "Microsoft.IoTCentral/operations/read",
5059
"display": {
51-
"provider": "Microsoft IoT Central",
60+
"provider": "Azure IoT Central",
5261
"resource": "",
5362
"operation": "Get all the available operations",
5463
"description": "Gets all the available operations on IoT Central Applications"
5564
}
65+
},
66+
{
67+
"name": "Microsoft.IoTCentral/appTemplates/action",
68+
"display": {
69+
"provider": "Azure IoT Central",
70+
"resource": "Azure IoT Central Resource Provider",
71+
"operation": "Get all available application templates",
72+
"description": "Gets all the available application templates on Azure IoT Central"
73+
}
74+
},
75+
{
76+
"name": "Microsoft.IoTCentral/register/action",
77+
"display": {
78+
"provider": "Azure IoT Central",
79+
"resource": "Azure IoT Central Resource Provider",
80+
"operation": "Register Azure IoT Central resource provider",
81+
"description": "Register the subscription for Azure IoT Central resource provider"
82+
}
83+
},
84+
{
85+
"name": "Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/metricDefinitions/read",
86+
"display": {
87+
"provider": "Azure IoT Central",
88+
"resource": "IoTApps",
89+
"operation": "Get all available Metrics definitions",
90+
"description": "Gets all the available Metrics definitions on Azure IoT Central"
91+
},
92+
"origin": "system",
93+
"properties": {
94+
"serviceSpecification": {
95+
"metricSpecifications": [
96+
{
97+
"name": "connectedDeviceCount",
98+
"displayName": "Total Connected Devices",
99+
"displayDescription": "Number of devices connected to IoT Central",
100+
"unit": "Count",
101+
"aggregationType": "Average",
102+
"supportedAggregationTypes": [
103+
"Average"
104+
],
105+
"supportedTimeGrainTypes": [
106+
"PT1M",
107+
"PT5M",
108+
"PT15M",
109+
"PT30M",
110+
"PT1H",
111+
"PT6H",
112+
"PT12H",
113+
"P1D"
114+
],
115+
"lockAggregationType": "Total"
116+
},
117+
{
118+
"name": "c2d.property.read.success",
119+
"displayName": "Successful Device Property Reads from IoT Central",
120+
"displayDescription": "The count of all successful property reads initiated from IoT Central",
121+
"unit": "Count",
122+
"aggregationType": "Total",
123+
"supportedAggregationTypes": [
124+
"Total"
125+
],
126+
"supportedTimeGrainTypes": [
127+
"PT1M",
128+
"PT5M",
129+
"PT15M",
130+
"PT30M",
131+
"PT1H",
132+
"PT6H",
133+
"PT12H",
134+
"P1D"
135+
]
136+
},
137+
{
138+
"name": "c2d.property.read.failure",
139+
"displayName": "Failed Device Property Reads from IoT Central",
140+
"displayDescription": "The count of all failed property reads initiated from IoT Central",
141+
"unit": "Count",
142+
"aggregationType": "Total",
143+
"supportedAggregationTypes": [
144+
"Total"
145+
],
146+
"supportedTimeGrainTypes": [
147+
"PT1M",
148+
"PT5M",
149+
"PT15M",
150+
"PT30M",
151+
"PT1H",
152+
"PT6H",
153+
"PT12H",
154+
"P1D"
155+
]
156+
},
157+
{
158+
"name": "d2c.property.read.success",
159+
"displayName": "Successful Device Property Reads from Devices",
160+
"displayDescription": "The count of all successful property reads initiated from devices",
161+
"unit": "Count",
162+
"aggregationType": "Total",
163+
"supportedAggregationTypes": [
164+
"Total"
165+
],
166+
"supportedTimeGrainTypes": [
167+
"PT1M",
168+
"PT5M",
169+
"PT15M",
170+
"PT30M",
171+
"PT1H",
172+
"PT6H",
173+
"PT12H",
174+
"P1D"
175+
]
176+
},
177+
{
178+
"name": "d2c.property.read.failure",
179+
"displayName": "Failed Device Property Reads from Devices",
180+
"displayDescription": "The count of all failed property reads initiated from devices",
181+
"unit": "Count",
182+
"aggregationType": "Total",
183+
"supportedAggregationTypes": [
184+
"Total"
185+
],
186+
"supportedTimeGrainTypes": [
187+
"PT1M",
188+
"PT5M",
189+
"PT15M",
190+
"PT30M",
191+
"PT1H",
192+
"PT6H",
193+
"PT12H",
194+
"P1D"
195+
]
196+
},
197+
{
198+
"name": "c2d.property.update.success",
199+
"displayName": "Successful Device Property Updates from IoT Central",
200+
"displayDescription": "The count of all successful property updates initiated from IoT Central",
201+
"unit": "Count",
202+
"aggregationType": "Total",
203+
"supportedAggregationTypes": [
204+
"Total"
205+
],
206+
"supportedTimeGrainTypes": [
207+
"PT1M",
208+
"PT5M",
209+
"PT15M",
210+
"PT30M",
211+
"PT1H",
212+
"PT6H",
213+
"PT12H",
214+
"P1D"
215+
]
216+
},
217+
{
218+
"name": "c2d.property.update.failure",
219+
"displayName": "Failed Device Property Updates from IoT Central",
220+
"displayDescription": "The count of all failed property updates initiated from IoT Central",
221+
"unit": "Count",
222+
"aggregationType": "Total",
223+
"supportedAggregationTypes": [
224+
"Total"
225+
],
226+
"supportedTimeGrainTypes": [
227+
"PT1M",
228+
"PT5M",
229+
"PT15M",
230+
"PT30M",
231+
"PT1H",
232+
"PT6H",
233+
"PT12H",
234+
"P1D"
235+
]
236+
},
237+
{
238+
"name": "d2c.property.update.success",
239+
"displayName": "Successful Device Property Updates from Devices",
240+
"displayDescription": "The count of all successful property updates initiated from devices",
241+
"unit": "Count",
242+
"aggregationType": "Total",
243+
"supportedAggregationTypes": [
244+
"Total"
245+
],
246+
"supportedTimeGrainTypes": [
247+
"PT1M",
248+
"PT5M",
249+
"PT15M",
250+
"PT30M",
251+
"PT1H",
252+
"PT6H",
253+
"PT12H",
254+
"P1D"
255+
]
256+
},
257+
{
258+
"name": "d2c.property.update.failure",
259+
"displayName": "Failed Device Property Updates from Devices",
260+
"displayDescription": "The count of all failed property updates initiated from devices",
261+
"unit": "Count",
262+
"aggregationType": "Total",
263+
"supportedAggregationTypes": [
264+
"Total"
265+
],
266+
"supportedTimeGrainTypes": [
267+
"PT1M",
268+
"PT5M",
269+
"PT15M",
270+
"PT30M",
271+
"PT1H",
272+
"PT6H",
273+
"PT12H",
274+
"P1D"
275+
]
276+
}
277+
]
278+
}
279+
}
280+
},
281+
{
282+
"name": "Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/read",
283+
"display": {
284+
"provider": "Azure IoT Central",
285+
"resource": "IoTApps",
286+
"operation": "Read diagnostic setting",
287+
"description": "Gets the diagnostic setting for the resource"
288+
},
289+
"origin": "system"
290+
},
291+
{
292+
"name": "Microsoft.IoTCentral/IoTApps/providers/Microsoft.Insights/diagnosticSettings/write",
293+
"display": {
294+
"provider": "Azure IoT Central",
295+
"resource": "IoTApps",
296+
"operation": "Write diagnostic setting",
297+
"description": "Creates or updates the diagnostic setting for the resource"
298+
},
299+
"origin": "system"
56300
}
57301
],
58302
"nextLink": null

specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,17 @@
712712
"display": {
713713
"description": "The object that represents the operation.",
714714
"$ref": "#/definitions/OperationDisplay"
715+
},
716+
"origin": {
717+
"description": "The intended executor of the operation.",
718+
"type": "string",
719+
"readOnly": true
720+
},
721+
"properties": {
722+
"description": "Additional descriptions for the operation.",
723+
"type": "object",
724+
"readOnly": true,
725+
"x-ms-client-flatten": false
715726
}
716727
}
717728
},

0 commit comments

Comments
 (0)