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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "time"
// Device undocumented
type Device struct {
// DirectoryObject is the base model of Device
DirectoryObject
// AccountEnabled undocumented
AccountEnabled *bool `json:"accountEnabled,omitempty"`
// AlternativeSecurityIDs undocumented
AlternativeSecurityIDs []AlternativeSecurityID `json:"alternativeSecurityIds,omitempty"`
// ApproximateLastSignInDateTime undocumented
ApproximateLastSignInDateTime *time.Time `json:"approximateLastSignInDateTime,omitempty"`
// ComplianceExpirationDateTime undocumented
ComplianceExpirationDateTime *time.Time `json:"complianceExpirationDateTime,omitempty"`
// DeviceID undocumented
DeviceID *string `json:"deviceId,omitempty"`
// DeviceMetadata undocumented
DeviceMetadata *string `json:"deviceMetadata,omitempty"`
// DeviceVersion undocumented
DeviceVersion *int `json:"deviceVersion,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// IsCompliant undocumented
IsCompliant *bool `json:"isCompliant,omitempty"`
// IsManaged undocumented
IsManaged *bool `json:"isManaged,omitempty"`
// OnPremisesLastSyncDateTime undocumented
OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
// OnPremisesSyncEnabled undocumented
OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"`
// OperatingSystem undocumented
OperatingSystem *string `json:"operatingSystem,omitempty"`
// OperatingSystemVersion undocumented
OperatingSystemVersion *string `json:"operatingSystemVersion,omitempty"`
// PhysicalIDs undocumented
PhysicalIDs []string `json:"physicalIds,omitempty"`
// ProfileType undocumented
ProfileType *string `json:"profileType,omitempty"`
// SystemLabels undocumented
SystemLabels []string `json:"systemLabels,omitempty"`
// TrustType undocumented
TrustType *string `json:"trustType,omitempty"`
// Name undocumented
Name *string `json:"Name,omitempty"`
// Manufacturer undocumented
Manufacturer *string `json:"Manufacturer,omitempty"`
// Model undocumented
Model *string `json:"Model,omitempty"`
// Kind undocumented
Kind *string `json:"Kind,omitempty"`
// Status undocumented
Status *string `json:"Status,omitempty"`
// Platform undocumented
Platform *string `json:"Platform,omitempty"`
// MemberOf undocumented
MemberOf []DirectoryObject `json:"memberOf,omitempty"`
// RegisteredOwners undocumented
RegisteredOwners []DirectoryObject `json:"registeredOwners,omitempty"`
// RegisteredUsers undocumented
RegisteredUsers []DirectoryObject `json:"registeredUsers,omitempty"`
// TransitiveMemberOf undocumented
TransitiveMemberOf []DirectoryObject `json:"transitiveMemberOf,omitempty"`
// Extensions undocumented
Extensions []Extension `json:"extensions,omitempty"`
// Commands undocumented
Commands []Command `json:"commands,omitempty"`
}
// DeviceActionResult undocumented
type DeviceActionResult struct {
// Object is the base model of DeviceActionResult
Object
// ActionName Action name
ActionName *string `json:"actionName,omitempty"`
// ActionState State of the action
ActionState *ActionState `json:"actionState,omitempty"`
// StartDateTime Time the action was initiated
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// LastUpdatedDateTime Time the action state was last updated
LastUpdatedDateTime *time.Time `json:"lastUpdatedDateTime,omitempty"`
}
// DeviceAndAppManagementAssignedRoleDetails undocumented
type DeviceAndAppManagementAssignedRoleDetails struct {
// Object is the base model of DeviceAndAppManagementAssignedRoleDetails
Object
// RoleDefinitionIDs Role Definition IDs for the specifc Role Definitions assigned to a user.
RoleDefinitionIDs []string `json:"roleDefinitionIds,omitempty"`
// RoleAssignmentIDs Role Assignment IDs for the specifc Role Assignments assigned to a user.
RoleAssignmentIDs []string `json:"roleAssignmentIds,omitempty"`
}
// DeviceAndAppManagementAssignmentTarget undocumented
type DeviceAndAppManagementAssignmentTarget struct {
// Object is the base model of DeviceAndAppManagementAssignmentTarget
Object
}
// DeviceAndAppManagementData undocumented
type DeviceAndAppManagementData struct {
// Object is the base model of DeviceAndAppManagementData
Object
// Content undocumented
Content *Stream `json:"content,omitempty"`
}
// DeviceAndAppManagementRoleAssignment The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles.
type DeviceAndAppManagementRoleAssignment struct {
// RoleAssignment is the base model of DeviceAndAppManagementRoleAssignment
RoleAssignment
// Members The list of ids of role member security groups. These are IDs from Azure Active Directory.
Members []string `json:"members,omitempty"`
// RoleScopeTags undocumented
RoleScopeTags []RoleScopeTag `json:"roleScopeTags,omitempty"`
}
// DeviceAndAppManagementRoleDefinition The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role.
type DeviceAndAppManagementRoleDefinition struct {
// RoleDefinition is the base model of DeviceAndAppManagementRoleDefinition
RoleDefinition
}
// DeviceAppManagement Singleton entity that acts as a container for all device and app management functionality.
type DeviceAppManagement struct {
// Entity is the base model of DeviceAppManagement
Entity
// MicrosoftStoreForBusinessLastSuccessfulSyncDateTime The last time the apps from the Microsoft Store for Business were synced successfully for the account.
MicrosoftStoreForBusinessLastSuccessfulSyncDateTime *time.Time `json:"microsoftStoreForBusinessLastSuccessfulSyncDateTime,omitempty"`
// IsEnabledForMicrosoftStoreForBusiness Whether the account is enabled for syncing applications from the Microsoft Store for Business.
IsEnabledForMicrosoftStoreForBusiness *bool `json:"isEnabledForMicrosoftStoreForBusiness,omitempty"`
// MicrosoftStoreForBusinessLanguage The locale information used to sync applications from the Microsoft Store for Business. Cultures that are specific to a country/region. The names of these cultures follow RFC 4646 (Windows Vista and later). The format is <languagecode2>-<country/regioncode2>, where <languagecode2> is a lowercase two-letter code derived from ISO 639-1 and <country/regioncode2> is an uppercase two-letter code derived from ISO 3166. For example, en-US for English (United States) is a specific culture.
MicrosoftStoreForBusinessLanguage *string `json:"microsoftStoreForBusinessLanguage,omitempty"`
// MicrosoftStoreForBusinessLastCompletedApplicationSyncTime The last time an application sync from the Microsoft Store for Business was completed.
MicrosoftStoreForBusinessLastCompletedApplicationSyncTime *time.Time `json:"microsoftStoreForBusinessLastCompletedApplicationSyncTime,omitempty"`
// MicrosoftStoreForBusinessPortalSelection The end user portal information is used to sync applications from the Microsoft Store for Business to Intune Company Portal. There are three options to pick from ['Company portal only', 'Company portal and private store', 'Private store only']
MicrosoftStoreForBusinessPortalSelection *MicrosoftStoreForBusinessPortalSelectionOptions `json:"microsoftStoreForBusinessPortalSelection,omitempty"`
// ManagedEBooks undocumented
ManagedEBooks []ManagedEBook `json:"managedEBooks,omitempty"`
// MobileApps undocumented
MobileApps []MobileApp `json:"mobileApps,omitempty"`
// MobileAppCategories undocumented
MobileAppCategories []MobileAppCategory `json:"mobileAppCategories,omitempty"`
// EnterpriseCodeSigningCertificates undocumented
EnterpriseCodeSigningCertificates []EnterpriseCodeSigningCertificate `json:"enterpriseCodeSigningCertificates,omitempty"`
// IOSLobAppProvisioningConfigurations undocumented
IOSLobAppProvisioningConfigurations []IOSLobAppProvisioningConfiguration `json:"iosLobAppProvisioningConfigurations,omitempty"`
// SymantecCodeSigningCertificate undocumented
SymantecCodeSigningCertificate *SymantecCodeSigningCertificate `json:"symantecCodeSigningCertificate,omitempty"`
// MobileAppConfigurations undocumented
MobileAppConfigurations []ManagedDeviceMobileAppConfiguration `json:"mobileAppConfigurations,omitempty"`
// ManagedEBookCategories undocumented
ManagedEBookCategories []ManagedEBookCategory `json:"managedEBookCategories,omitempty"`
// PolicySets undocumented
PolicySets []PolicySet `json:"policySets,omitempty"`
// SideLoadingKeys undocumented
SideLoadingKeys []SideLoadingKey `json:"sideLoadingKeys,omitempty"`
// VPPTokens undocumented
VPPTokens []VPPToken `json:"vppTokens,omitempty"`
// WindowsManagementApp undocumented
WindowsManagementApp *WindowsManagementApp `json:"windowsManagementApp,omitempty"`
// ManagedAppPolicies undocumented
ManagedAppPolicies []ManagedAppPolicy `json:"managedAppPolicies,omitempty"`
// IOSManagedAppProtections undocumented
IOSManagedAppProtections []IOSManagedAppProtection `json:"iosManagedAppProtections,omitempty"`
// AndroidManagedAppProtections undocumented
AndroidManagedAppProtections []AndroidManagedAppProtection `json:"androidManagedAppProtections,omitempty"`
// DefaultManagedAppProtections undocumented
DefaultManagedAppProtections []DefaultManagedAppProtection `json:"defaultManagedAppProtections,omitempty"`
// TargetedManagedAppConfigurations undocumented
TargetedManagedAppConfigurations []TargetedManagedAppConfiguration `json:"targetedManagedAppConfigurations,omitempty"`
// MDMWindowsInformationProtectionPolicies undocumented
MDMWindowsInformationProtectionPolicies []MDMWindowsInformationProtectionPolicy `json:"mdmWindowsInformationProtectionPolicies,omitempty"`
// WindowsInformationProtectionPolicies undocumented
WindowsInformationProtectionPolicies []WindowsInformationProtectionPolicy `json:"windowsInformationProtectionPolicies,omitempty"`
// ManagedAppRegistrations undocumented
ManagedAppRegistrations []ManagedAppRegistration `json:"managedAppRegistrations,omitempty"`
// ManagedAppStatuses undocumented
ManagedAppStatuses []ManagedAppStatus `json:"managedAppStatuses,omitempty"`
// WindowsInformationProtectionDeviceRegistrations undocumented
WindowsInformationProtectionDeviceRegistrations []WindowsInformationProtectionDeviceRegistration `json:"windowsInformationProtectionDeviceRegistrations,omitempty"`
// WindowsInformationProtectionWipeActions undocumented
WindowsInformationProtectionWipeActions []WindowsInformationProtectionWipeAction `json:"windowsInformationProtectionWipeActions,omitempty"`
// DeviceAppManagementTasks undocumented
DeviceAppManagementTasks []DeviceAppManagementTask `json:"deviceAppManagementTasks,omitempty"`
// WdacSupplementalPolicies undocumented
WdacSupplementalPolicies []WindowsDefenderApplicationControlSupplementalPolicy `json:"wdacSupplementalPolicies,omitempty"`
}
// DeviceAppManagementTask A device app management task.
type DeviceAppManagementTask struct {
// Entity is the base model of DeviceAppManagementTask
Entity
// DisplayName The name.
DisplayName *string `json:"displayName,omitempty"`
// Description The description.
Description *string `json:"description,omitempty"`
// CreatedDateTime The created date.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// DueDateTime The due date.
DueDateTime *time.Time `json:"dueDateTime,omitempty"`
// Category The category.
Category *DeviceAppManagementTaskCategory `json:"category,omitempty"`
// Priority The priority.
Priority *DeviceAppManagementTaskPriority `json:"priority,omitempty"`
// Creator The email address of the creator.
Creator *string `json:"creator,omitempty"`
// CreatorNotes Notes from the creator.
CreatorNotes *string `json:"creatorNotes,omitempty"`
// AssignedTo The name or email of the admin this task is assigned to.
AssignedTo *string `json:"assignedTo,omitempty"`
// Status The status.
Status *DeviceAppManagementTaskStatus `json:"status,omitempty"`
}
// DeviceCategory Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
type DeviceCategory struct {
// Entity is the base model of DeviceCategory
Entity
// DisplayName Display name for the device category.
DisplayName *string `json:"displayName,omitempty"`
// Description Optional description for the device category.
Description *string `json:"description,omitempty"`
// RoleScopeTagIDs Optional role scope tags for the device category.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
}
// DeviceComplianceActionItem Scheduled Action Configuration
type DeviceComplianceActionItem struct {
// Entity is the base model of DeviceComplianceActionItem
Entity
// GracePeriodHours Number of hours to wait till the action will be enforced. Valid values 0 to 8760
GracePeriodHours *int `json:"gracePeriodHours,omitempty"`
// ActionType What action to take
ActionType *DeviceComplianceActionType `json:"actionType,omitempty"`
// NotificationTemplateID What notification Message template to use
NotificationTemplateID *string `json:"notificationTemplateId,omitempty"`
// NotificationMessageCCList A list of group IDs to speicify who to CC this notification message to.
NotificationMessageCCList []string `json:"notificationMessageCCList,omitempty"`
}
// DeviceComplianceDeviceOverview undocumented
type DeviceComplianceDeviceOverview struct {
// Entity is the base model of DeviceComplianceDeviceOverview
Entity
// PendingCount Number of pending devices
PendingCount *int `json:"pendingCount,omitempty"`
// NotApplicableCount Number of not applicable devices
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// NotApplicablePlatformCount Number of not applicable devices due to mismatch platform and policy
NotApplicablePlatformCount *int `json:"notApplicablePlatformCount,omitempty"`
// SuccessCount Number of succeeded devices
SuccessCount *int `json:"successCount,omitempty"`
// ErrorCount Number of error devices
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed devices
FailedCount *int `json:"failedCount,omitempty"`
// ConflictCount Number of devices in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// LastUpdateDateTime Last update time
LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
// ConfigurationVersion Version of the policy for that overview
ConfigurationVersion *int `json:"configurationVersion,omitempty"`
}
// DeviceComplianceDeviceStatus undocumented
type DeviceComplianceDeviceStatus struct {
// Entity is the base model of DeviceComplianceDeviceStatus
Entity
// DeviceDisplayName Device name of the DevicePolicyStatus.
DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
// UserName The User Name that is being reported
UserName *string `json:"userName,omitempty"`
// DeviceModel The device model that is being reported
DeviceModel *string `json:"deviceModel,omitempty"`
// Platform Platform of the device that is being reported
Platform *int `json:"platform,omitempty"`
// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires
ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
// Status Compliance status of the policy report.
Status *ComplianceStatus `json:"status,omitempty"`
// LastReportedDateTime Last modified date time of the policy report.
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceCompliancePolicy This is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here.
type DeviceCompliancePolicy struct {
// Entity is the base model of DeviceCompliancePolicy
Entity
// RoleScopeTagIDs List of Scope Tags for this Entity instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// CreatedDateTime DateTime the object was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Description Admin provided description of the Device Configuration.
Description *string `json:"description,omitempty"`
// LastModifiedDateTime DateTime the object was last modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// DisplayName Admin provided name of the device configuration.
DisplayName *string `json:"displayName,omitempty"`
// Version Version of the device configuration.
Version *int `json:"version,omitempty"`
// ScheduledActionsForRule undocumented
ScheduledActionsForRule []DeviceComplianceScheduledActionForRule `json:"scheduledActionsForRule,omitempty"`
// DeviceStatuses undocumented
DeviceStatuses []DeviceComplianceDeviceStatus `json:"deviceStatuses,omitempty"`
// UserStatuses undocumented
UserStatuses []DeviceComplianceUserStatus `json:"userStatuses,omitempty"`
// DeviceStatusOverview undocumented
DeviceStatusOverview *DeviceComplianceDeviceOverview `json:"deviceStatusOverview,omitempty"`
// UserStatusOverview undocumented
UserStatusOverview *DeviceComplianceUserOverview `json:"userStatusOverview,omitempty"`
// DeviceSettingStateSummaries undocumented
DeviceSettingStateSummaries []SettingStateDeviceSummary `json:"deviceSettingStateSummaries,omitempty"`
// Assignments undocumented
Assignments []DeviceCompliancePolicyAssignment `json:"assignments,omitempty"`
}
// DeviceCompliancePolicyAssignment Device compliance policy assignment.
type DeviceCompliancePolicyAssignment struct {
// Entity is the base model of DeviceCompliancePolicyAssignment
Entity
// Target Target for the compliance policy assignment.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
// Source The assignment source for the device compliance policy, direct or parcel/policySet.
Source *DeviceAndAppManagementAssignmentSource `json:"source,omitempty"`
// SourceID The identifier of the source of the assignment.
SourceID *string `json:"sourceId,omitempty"`
}
// DeviceCompliancePolicyDeviceStateSummary undocumented
type DeviceCompliancePolicyDeviceStateSummary struct {
// Entity is the base model of DeviceCompliancePolicyDeviceStateSummary
Entity
// InGracePeriodCount Number of devices that are in grace period
InGracePeriodCount *int `json:"inGracePeriodCount,omitempty"`
// ConfigManagerCount Number of devices that have compliance managed by System Center Configuration Manager
ConfigManagerCount *int `json:"configManagerCount,omitempty"`
// UnknownDeviceCount Number of unknown devices
UnknownDeviceCount *int `json:"unknownDeviceCount,omitempty"`
// NotApplicableDeviceCount Number of not applicable devices
NotApplicableDeviceCount *int `json:"notApplicableDeviceCount,omitempty"`
// CompliantDeviceCount Number of compliant devices
CompliantDeviceCount *int `json:"compliantDeviceCount,omitempty"`
// RemediatedDeviceCount Number of remediated devices
RemediatedDeviceCount *int `json:"remediatedDeviceCount,omitempty"`
// NonCompliantDeviceCount Number of NonCompliant devices
NonCompliantDeviceCount *int `json:"nonCompliantDeviceCount,omitempty"`
// ErrorDeviceCount Number of error devices
ErrorDeviceCount *int `json:"errorDeviceCount,omitempty"`
// ConflictDeviceCount Number of conflict devices
ConflictDeviceCount *int `json:"conflictDeviceCount,omitempty"`
}
// DeviceCompliancePolicyGroupAssignment Device compliance policy group assignment.
type DeviceCompliancePolicyGroupAssignment struct {
// Entity is the base model of DeviceCompliancePolicyGroupAssignment
Entity
// TargetGroupID The Id of the AAD group we are targeting the device compliance policy to.
TargetGroupID *string `json:"targetGroupId,omitempty"`
// ExcludeGroup Indicates if this group is should be excluded. Defaults that the group should be included
ExcludeGroup *bool `json:"excludeGroup,omitempty"`
// DeviceCompliancePolicy undocumented
DeviceCompliancePolicy *DeviceCompliancePolicy `json:"deviceCompliancePolicy,omitempty"`
}
// DeviceCompliancePolicyPolicySetItem A class containing the properties used for device compliance policy PolicySetItem.
type DeviceCompliancePolicyPolicySetItem struct {
// PolicySetItem is the base model of DeviceCompliancePolicyPolicySetItem
PolicySetItem
}
// DeviceCompliancePolicySettingState undocumented
type DeviceCompliancePolicySettingState struct {
// Object is the base model of DeviceCompliancePolicySettingState
Object
// Setting The setting that is being reported
Setting *string `json:"setting,omitempty"`
// SettingName Localized/user friendly setting name that is being reported
SettingName *string `json:"settingName,omitempty"`
// InstanceDisplayName Name of setting instance that is being reported.
InstanceDisplayName *string `json:"instanceDisplayName,omitempty"`
// State The compliance state of the setting
State *ComplianceStatus `json:"state,omitempty"`
// ErrorCode Error code for the setting
ErrorCode *int `json:"errorCode,omitempty"`
// ErrorDescription Error description
ErrorDescription *string `json:"errorDescription,omitempty"`
// UserID UserId
UserID *string `json:"userId,omitempty"`
// UserName UserName
UserName *string `json:"userName,omitempty"`
// UserEmail UserEmail
UserEmail *string `json:"userEmail,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// Sources Contributing policies
Sources []SettingSource `json:"sources,omitempty"`
// CurrentValue Current value of setting on device
CurrentValue *string `json:"currentValue,omitempty"`
}
// DeviceCompliancePolicySettingStateSummary Device Compilance Policy Setting State summary across the account.
type DeviceCompliancePolicySettingStateSummary struct {
// Entity is the base model of DeviceCompliancePolicySettingStateSummary
Entity
// Setting The setting class name and property name.
Setting *string `json:"setting,omitempty"`
// SettingName Name of the setting.
SettingName *string `json:"settingName,omitempty"`
// PlatformType Setting platform
PlatformType *PolicyPlatformType `json:"platformType,omitempty"`
// UnknownDeviceCount Number of unknown devices
UnknownDeviceCount *int `json:"unknownDeviceCount,omitempty"`
// NotApplicableDeviceCount Number of not applicable devices
NotApplicableDeviceCount *int `json:"notApplicableDeviceCount,omitempty"`
// CompliantDeviceCount Number of compliant devices
CompliantDeviceCount *int `json:"compliantDeviceCount,omitempty"`
// RemediatedDeviceCount Number of remediated devices
RemediatedDeviceCount *int `json:"remediatedDeviceCount,omitempty"`
// NonCompliantDeviceCount Number of NonCompliant devices
NonCompliantDeviceCount *int `json:"nonCompliantDeviceCount,omitempty"`
// ErrorDeviceCount Number of error devices
ErrorDeviceCount *int `json:"errorDeviceCount,omitempty"`
// ConflictDeviceCount Number of conflict devices
ConflictDeviceCount *int `json:"conflictDeviceCount,omitempty"`
// DeviceComplianceSettingStates undocumented
DeviceComplianceSettingStates []DeviceComplianceSettingState `json:"deviceComplianceSettingStates,omitempty"`
}
// DeviceCompliancePolicyState Device Compliance Policy State for a given device.
type DeviceCompliancePolicyState struct {
// Entity is the base model of DeviceCompliancePolicyState
Entity
// SettingStates undocumented
SettingStates []DeviceCompliancePolicySettingState `json:"settingStates,omitempty"`
// DisplayName The name of the policy for this policyBase
DisplayName *string `json:"displayName,omitempty"`
// Version The version of the policy
Version *int `json:"version,omitempty"`
// PlatformType Platform type that the policy applies to
PlatformType *PolicyPlatformType `json:"platformType,omitempty"`
// State The compliance state of the policy
State *ComplianceStatus `json:"state,omitempty"`
// SettingCount Count of how many setting a policy holds
SettingCount *int `json:"settingCount,omitempty"`
// UserID User unique identifier, must be Guid
UserID *string `json:"userId,omitempty"`
// UserPrincipalName User Principal Name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceComplianceScheduledActionForRule Scheduled Action for Rule
type DeviceComplianceScheduledActionForRule struct {
// Entity is the base model of DeviceComplianceScheduledActionForRule
Entity
// RuleName Name of the rule which this scheduled action applies to.
RuleName *string `json:"ruleName,omitempty"`
// ScheduledActionConfigurations undocumented
ScheduledActionConfigurations []DeviceComplianceActionItem `json:"scheduledActionConfigurations,omitempty"`
}
// DeviceComplianceSettingState Device compliance setting State for a given device.
type DeviceComplianceSettingState struct {
// Entity is the base model of DeviceComplianceSettingState
Entity
// PlatformType Device platform type
PlatformType *DeviceType `json:"platformType,omitempty"`
// Setting The setting class name and property name.
Setting *string `json:"setting,omitempty"`
// SettingName The Setting Name that is being reported
SettingName *string `json:"settingName,omitempty"`
// DeviceID The Device Id that is being reported
DeviceID *string `json:"deviceId,omitempty"`
// DeviceName The Device Name that is being reported
DeviceName *string `json:"deviceName,omitempty"`
// UserID The user Id that is being reported
UserID *string `json:"userId,omitempty"`
// UserEmail The User email address that is being reported
UserEmail *string `json:"userEmail,omitempty"`
// UserName The User Name that is being reported
UserName *string `json:"userName,omitempty"`
// UserPrincipalName The User PrincipalName that is being reported
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// DeviceModel The device model that is being reported
DeviceModel *string `json:"deviceModel,omitempty"`
// State The compliance state of the setting
State *ComplianceStatus `json:"state,omitempty"`
// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires
ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
}
// DeviceComplianceUserOverview undocumented
type DeviceComplianceUserOverview struct {
// Entity is the base model of DeviceComplianceUserOverview
Entity
// PendingCount Number of pending Users
PendingCount *int `json:"pendingCount,omitempty"`
// NotApplicableCount Number of not applicable users
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// SuccessCount Number of succeeded Users
SuccessCount *int `json:"successCount,omitempty"`
// ErrorCount Number of error Users
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed Users
FailedCount *int `json:"failedCount,omitempty"`
// ConflictCount Number of users in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// LastUpdateDateTime Last update time
LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
// ConfigurationVersion Version of the policy for that overview
ConfigurationVersion *int `json:"configurationVersion,omitempty"`
}
// DeviceComplianceUserStatus undocumented
type DeviceComplianceUserStatus struct {
// Entity is the base model of DeviceComplianceUserStatus
Entity
// UserDisplayName User name of the DevicePolicyStatus.
UserDisplayName *string `json:"userDisplayName,omitempty"`
// DevicesCount Devices count for that user.
DevicesCount *int `json:"devicesCount,omitempty"`
// Status Compliance status of the policy report.
Status *ComplianceStatus `json:"status,omitempty"`
// LastReportedDateTime Last modified date time of the policy report.
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceConfiguration Device Configuration.
type DeviceConfiguration struct {
// Entity is the base model of DeviceConfiguration
Entity
// LastModifiedDateTime DateTime the object was last modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// RoleScopeTagIDs List of Scope Tags for this Entity instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// SupportsScopeTags Indicates whether or not the underlying Device Configuration supports the assignment of scope tags. Assigning to the ScopeTags property is not allowed when this value is false and entities will not be visible to scoped users. This occurs for Legacy policies created in Silverlight and can be resolved by deleting and recreating the policy in the Azure Portal. This property is read-only.
SupportsScopeTags *bool `json:"supportsScopeTags,omitempty"`
// DeviceManagementApplicabilityRuleOsEdition The OS edition applicability for this Policy.
DeviceManagementApplicabilityRuleOsEdition *DeviceManagementApplicabilityRuleOsEdition `json:"deviceManagementApplicabilityRuleOsEdition,omitempty"`
// DeviceManagementApplicabilityRuleOsVersion The OS version applicability rule for this Policy.
DeviceManagementApplicabilityRuleOsVersion *DeviceManagementApplicabilityRuleOsVersion `json:"deviceManagementApplicabilityRuleOsVersion,omitempty"`
// DeviceManagementApplicabilityRuleDeviceMode The device mode applicability rule for this Policy.
DeviceManagementApplicabilityRuleDeviceMode *DeviceManagementApplicabilityRuleDeviceMode `json:"deviceManagementApplicabilityRuleDeviceMode,omitempty"`
// CreatedDateTime DateTime the object was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Description Admin provided description of the Device Configuration.
Description *string `json:"description,omitempty"`
// DisplayName Admin provided name of the device configuration.
DisplayName *string `json:"displayName,omitempty"`
// Version Version of the device configuration.
Version *int `json:"version,omitempty"`
// GroupAssignments undocumented
GroupAssignments []DeviceConfigurationGroupAssignment `json:"groupAssignments,omitempty"`
// Assignments undocumented
Assignments []DeviceConfigurationAssignment `json:"assignments,omitempty"`
// DeviceStatuses undocumented
DeviceStatuses []DeviceConfigurationDeviceStatus `json:"deviceStatuses,omitempty"`
// UserStatuses undocumented
UserStatuses []DeviceConfigurationUserStatus `json:"userStatuses,omitempty"`
// DeviceStatusOverview undocumented
DeviceStatusOverview *DeviceConfigurationDeviceOverview `json:"deviceStatusOverview,omitempty"`
// UserStatusOverview undocumented
UserStatusOverview *DeviceConfigurationUserOverview `json:"userStatusOverview,omitempty"`
// DeviceSettingStateSummaries undocumented
DeviceSettingStateSummaries []SettingStateDeviceSummary `json:"deviceSettingStateSummaries,omitempty"`
}
// DeviceConfigurationAssignment The device configuration assignment entity assigns an AAD group to a specific device configuration.
type DeviceConfigurationAssignment struct {
// Entity is the base model of DeviceConfigurationAssignment
Entity
// Target The assignment target for the device configuration.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
// Source The assignment source for the device configuration, direct or parcel/policySet. This property is read-only.
Source *DeviceAndAppManagementAssignmentSource `json:"source,omitempty"`
// SourceID The identifier of the source of the assignment. This property is read-only.
SourceID *string `json:"sourceId,omitempty"`
}
// DeviceConfigurationConflictSummary Conflict summary for a set of device configuration policies.
type DeviceConfigurationConflictSummary struct {
// Entity is the base model of DeviceConfigurationConflictSummary
Entity
// ConflictingDeviceConfigurations The set of policies in conflict with the given setting
ConflictingDeviceConfigurations []SettingSource `json:"conflictingDeviceConfigurations,omitempty"`
// ContributingSettings The set of settings in conflict with the given policies
ContributingSettings []string `json:"contributingSettings,omitempty"`
// DeviceCheckinsImpacted The count of checkins impacted by the conflicting policies and settings
DeviceCheckinsImpacted *int `json:"deviceCheckinsImpacted,omitempty"`
}
// DeviceConfigurationDeviceOverview undocumented
type DeviceConfigurationDeviceOverview struct {
// Entity is the base model of DeviceConfigurationDeviceOverview
Entity
// PendingCount Number of pending devices
PendingCount *int `json:"pendingCount,omitempty"`
// NotApplicableCount Number of not applicable devices
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// NotApplicablePlatformCount Number of not applicable devices due to mismatch platform and policy
NotApplicablePlatformCount *int `json:"notApplicablePlatformCount,omitempty"`
// SuccessCount Number of succeeded devices
SuccessCount *int `json:"successCount,omitempty"`
// ErrorCount Number of error devices
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed devices
FailedCount *int `json:"failedCount,omitempty"`
// ConflictCount Number of devices in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// LastUpdateDateTime Last update time
LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
// ConfigurationVersion Version of the policy for that overview
ConfigurationVersion *int `json:"configurationVersion,omitempty"`
}
// DeviceConfigurationDeviceStateSummary undocumented
type DeviceConfigurationDeviceStateSummary struct {
// Entity is the base model of DeviceConfigurationDeviceStateSummary
Entity
// UnknownDeviceCount Number of unknown devices
UnknownDeviceCount *int `json:"unknownDeviceCount,omitempty"`
// NotApplicableDeviceCount Number of not applicable devices
NotApplicableDeviceCount *int `json:"notApplicableDeviceCount,omitempty"`
// CompliantDeviceCount Number of compliant devices
CompliantDeviceCount *int `json:"compliantDeviceCount,omitempty"`
// RemediatedDeviceCount Number of remediated devices
RemediatedDeviceCount *int `json:"remediatedDeviceCount,omitempty"`
// NonCompliantDeviceCount Number of NonCompliant devices
NonCompliantDeviceCount *int `json:"nonCompliantDeviceCount,omitempty"`
// ErrorDeviceCount Number of error devices
ErrorDeviceCount *int `json:"errorDeviceCount,omitempty"`
// ConflictDeviceCount Number of conflict devices
ConflictDeviceCount *int `json:"conflictDeviceCount,omitempty"`
}
// DeviceConfigurationDeviceStatus undocumented
type DeviceConfigurationDeviceStatus struct {
// Entity is the base model of DeviceConfigurationDeviceStatus
Entity
// DeviceDisplayName Device name of the DevicePolicyStatus.
DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
// UserName The User Name that is being reported
UserName *string `json:"userName,omitempty"`
// DeviceModel The device model that is being reported
DeviceModel *string `json:"deviceModel,omitempty"`
// Platform Platform of the device that is being reported
Platform *int `json:"platform,omitempty"`
// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires
ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
// Status Compliance status of the policy report.
Status *ComplianceStatus `json:"status,omitempty"`
// LastReportedDateTime Last modified date time of the policy report.
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceConfigurationGroupAssignment Device configuration group assignment.
type DeviceConfigurationGroupAssignment struct {
// Entity is the base model of DeviceConfigurationGroupAssignment
Entity
// TargetGroupID The Id of the AAD group we are targeting the device configuration to.
TargetGroupID *string `json:"targetGroupId,omitempty"`
// ExcludeGroup Indicates if this group is should be excluded. Defaults that the group should be included
ExcludeGroup *bool `json:"excludeGroup,omitempty"`
// DeviceConfiguration undocumented
DeviceConfiguration *DeviceConfiguration `json:"deviceConfiguration,omitempty"`
}
// DeviceConfigurationPolicySetItem A class containing the properties used for device configuration PolicySetItem.
type DeviceConfigurationPolicySetItem struct {
// PolicySetItem is the base model of DeviceConfigurationPolicySetItem
PolicySetItem
}
// DeviceConfigurationSettingState undocumented
type DeviceConfigurationSettingState struct {
// Object is the base model of DeviceConfigurationSettingState
Object
// Setting The setting that is being reported
Setting *string `json:"setting,omitempty"`
// SettingName Localized/user friendly setting name that is being reported
SettingName *string `json:"settingName,omitempty"`
// InstanceDisplayName Name of setting instance that is being reported.
InstanceDisplayName *string `json:"instanceDisplayName,omitempty"`
// State The compliance state of the setting
State *ComplianceStatus `json:"state,omitempty"`
// ErrorCode Error code for the setting
ErrorCode *int `json:"errorCode,omitempty"`
// ErrorDescription Error description
ErrorDescription *string `json:"errorDescription,omitempty"`
// UserID UserId
UserID *string `json:"userId,omitempty"`
// UserName UserName
UserName *string `json:"userName,omitempty"`
// UserEmail UserEmail
UserEmail *string `json:"userEmail,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// Sources Contributing policies
Sources []SettingSource `json:"sources,omitempty"`
// CurrentValue Current value of setting on device
CurrentValue *string `json:"currentValue,omitempty"`
}
// DeviceConfigurationState Device Configuration State for a given device.
type DeviceConfigurationState struct {
// Entity is the base model of DeviceConfigurationState
Entity
// SettingStates undocumented
SettingStates []DeviceConfigurationSettingState `json:"settingStates,omitempty"`
// DisplayName The name of the policy for this policyBase
DisplayName *string `json:"displayName,omitempty"`
// Version The version of the policy
Version *int `json:"version,omitempty"`
// PlatformType Platform type that the policy applies to
PlatformType *PolicyPlatformType `json:"platformType,omitempty"`
// State The compliance state of the policy
State *ComplianceStatus `json:"state,omitempty"`
// SettingCount Count of how many setting a policy holds
SettingCount *int `json:"settingCount,omitempty"`
// UserID User unique identifier, must be Guid
UserID *string `json:"userId,omitempty"`
// UserPrincipalName User Principal Name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceConfigurationTargetedUserAndDevice undocumented
type DeviceConfigurationTargetedUserAndDevice struct {
// Object is the base model of DeviceConfigurationTargetedUserAndDevice
Object
// DeviceID The id of the device in the checkin.
DeviceID *string `json:"deviceId,omitempty"`
// DeviceName The name of the device in the checkin.
DeviceName *string `json:"deviceName,omitempty"`
// UserID The id of the user in the checkin.
UserID *string `json:"userId,omitempty"`
// UserDisplayName The display name of the user in the checkin
UserDisplayName *string `json:"userDisplayName,omitempty"`
// UserPrincipalName The UPN of the user in the checkin.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// LastCheckinDateTime Last checkin time for this user/device pair.
LastCheckinDateTime *time.Time `json:"lastCheckinDateTime,omitempty"`
}
// DeviceConfigurationUserOverview undocumented
type DeviceConfigurationUserOverview struct {
// Entity is the base model of DeviceConfigurationUserOverview
Entity
// PendingCount Number of pending Users
PendingCount *int `json:"pendingCount,omitempty"`
// NotApplicableCount Number of not applicable users
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// SuccessCount Number of succeeded Users
SuccessCount *int `json:"successCount,omitempty"`
// ErrorCount Number of error Users
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed Users
FailedCount *int `json:"failedCount,omitempty"`
// ConflictCount Number of users in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// LastUpdateDateTime Last update time
LastUpdateDateTime *time.Time `json:"lastUpdateDateTime,omitempty"`
// ConfigurationVersion Version of the policy for that overview
ConfigurationVersion *int `json:"configurationVersion,omitempty"`
}
// DeviceConfigurationUserStateSummary undocumented
type DeviceConfigurationUserStateSummary struct {
// Entity is the base model of DeviceConfigurationUserStateSummary
Entity
// UnknownUserCount Number of unknown users
UnknownUserCount *int `json:"unknownUserCount,omitempty"`
// NotApplicableUserCount Number of not applicable users
NotApplicableUserCount *int `json:"notApplicableUserCount,omitempty"`
// CompliantUserCount Number of compliant users
CompliantUserCount *int `json:"compliantUserCount,omitempty"`
// RemediatedUserCount Number of remediated users
RemediatedUserCount *int `json:"remediatedUserCount,omitempty"`
// NonCompliantUserCount Number of NonCompliant users
NonCompliantUserCount *int `json:"nonCompliantUserCount,omitempty"`
// ErrorUserCount Number of error users
ErrorUserCount *int `json:"errorUserCount,omitempty"`
// ConflictUserCount Number of conflict users
ConflictUserCount *int `json:"conflictUserCount,omitempty"`
}
// DeviceConfigurationUserStatus undocumented
type DeviceConfigurationUserStatus struct {
// Entity is the base model of DeviceConfigurationUserStatus
Entity
// UserDisplayName User name of the DevicePolicyStatus.
UserDisplayName *string `json:"userDisplayName,omitempty"`
// DevicesCount Devices count for that user.
DevicesCount *int `json:"devicesCount,omitempty"`
// Status Compliance status of the policy report.
Status *ComplianceStatus `json:"status,omitempty"`
// LastReportedDateTime Last modified date time of the policy report.
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// UserPrincipalName UserPrincipalName.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}
// DeviceDetail undocumented
type DeviceDetail struct {
// Object is the base model of DeviceDetail
Object
// DeviceID undocumented
DeviceID *string `json:"deviceId,omitempty"`
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// OperatingSystem undocumented
OperatingSystem *string `json:"operatingSystem,omitempty"`
// Browser undocumented
Browser *string `json:"browser,omitempty"`
// BrowserID undocumented
BrowserID *string `json:"browserId,omitempty"`
// IsCompliant undocumented
IsCompliant *bool `json:"isCompliant,omitempty"`
// IsManaged undocumented
IsManaged *bool `json:"isManaged,omitempty"`
// TrustType undocumented
TrustType *string `json:"trustType,omitempty"`
}
// DeviceEnrollmentConfiguration The Base Class of Device Enrollment Configuration
type DeviceEnrollmentConfiguration struct {
// Entity is the base model of DeviceEnrollmentConfiguration
Entity
// DisplayName The display name of the device enrollment configuration
DisplayName *string `json:"displayName,omitempty"`
// Description The description of the device enrollment configuration
Description *string `json:"description,omitempty"`
// Priority Priority is used when a user exists in multiple groups that are assigned enrollment configuration. Users are subject only to the configuration with the lowest priority value.
Priority *int `json:"priority,omitempty"`
// CreatedDateTime Created date time in UTC of the device enrollment configuration
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime Last modified date time in UTC of the device enrollment configuration
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Version The version of the device enrollment configuration
Version *int `json:"version,omitempty"`
// Assignments undocumented
Assignments []EnrollmentConfigurationAssignment `json:"assignments,omitempty"`
}
// DeviceEnrollmentLimitConfiguration Device Enrollment Configuration that restricts the number of devices a user can enroll
type DeviceEnrollmentLimitConfiguration struct {
// DeviceEnrollmentConfiguration is the base model of DeviceEnrollmentLimitConfiguration
DeviceEnrollmentConfiguration
// Limit The maximum number of devices that a user can enroll
Limit *int `json:"limit,omitempty"`
}
// DeviceEnrollmentPlatformRestriction undocumented
type DeviceEnrollmentPlatformRestriction struct {
// Object is the base model of DeviceEnrollmentPlatformRestriction
Object
// PlatformBlocked Block the platform from enrolling
PlatformBlocked *bool `json:"platformBlocked,omitempty"`
// PersonalDeviceEnrollmentBlocked Block personally owned devices from enrolling
PersonalDeviceEnrollmentBlocked *bool `json:"personalDeviceEnrollmentBlocked,omitempty"`
// OsMinimumVersion Min OS version supported
OsMinimumVersion *string `json:"osMinimumVersion,omitempty"`
// OsMaximumVersion Max OS version supported
OsMaximumVersion *string `json:"osMaximumVersion,omitempty"`
}
// DeviceEnrollmentPlatformRestrictionsConfiguration Device Enrollment Configuration that restricts the types of devices a user can enroll
type DeviceEnrollmentPlatformRestrictionsConfiguration struct {
// DeviceEnrollmentConfiguration is the base model of DeviceEnrollmentPlatformRestrictionsConfiguration
DeviceEnrollmentConfiguration
// IOSRestriction Ios restrictions based on platform, platform operating system version, and device ownership
IOSRestriction *DeviceEnrollmentPlatformRestriction `json:"iosRestriction,omitempty"`
// WindowsRestriction Windows restrictions based on platform, platform operating system version, and device ownership
WindowsRestriction *DeviceEnrollmentPlatformRestriction `json:"windowsRestriction,omitempty"`
// WindowsMobileRestriction Windows mobile restrictions based on platform, platform operating system version, and device ownership
WindowsMobileRestriction *DeviceEnrollmentPlatformRestriction `json:"windowsMobileRestriction,omitempty"`
// AndroidRestriction Android restrictions based on platform, platform operating system version, and device ownership
AndroidRestriction *DeviceEnrollmentPlatformRestriction `json:"androidRestriction,omitempty"`
// AndroidForWorkRestriction Android for work restrictions based on platform, platform operating system version, and device ownership
AndroidForWorkRestriction *DeviceEnrollmentPlatformRestriction `json:"androidForWorkRestriction,omitempty"`
// MacRestriction Mac restrictions based on platform, platform operating system version, and device ownership
MacRestriction *DeviceEnrollmentPlatformRestriction `json:"macRestriction,omitempty"`
// MacOSRestriction Mac restrictions based on platform, platform operating system version, and device ownership
MacOSRestriction *DeviceEnrollmentPlatformRestriction `json:"macOSRestriction,omitempty"`
}
// DeviceEnrollmentWindowsHelloForBusinessConfiguration Windows Hello for Business settings lets users access their devices using a gesture, such as biometric authentication, or a PIN. Configure settings for enrolled Windows 10, Windows 10 Mobile and later.
type DeviceEnrollmentWindowsHelloForBusinessConfiguration struct {
// DeviceEnrollmentConfiguration is the base model of DeviceEnrollmentWindowsHelloForBusinessConfiguration
DeviceEnrollmentConfiguration
// PinMinimumLength Controls the minimum number of characters required for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive, and less than or equal to the value set for the maximum PIN.
PinMinimumLength *int `json:"pinMinimumLength,omitempty"`
// PinMaximumLength Controls the maximum number of characters allowed for the Windows Hello for Business PIN. This value must be between 4 and 127, inclusive. This value must be greater than or equal to the value set for the minimum PIN.
PinMaximumLength *int `json:"pinMaximumLength,omitempty"`
// PinUppercaseCharactersUsage Controls the ability to use uppercase letters in the Windows Hello for Business PIN. Allowed permits the use of uppercase letter(s), whereas Required ensures they are present. If set to Not Allowed, uppercase letters will not be permitted.
PinUppercaseCharactersUsage *WindowsHelloForBusinessPinUsage `json:"pinUppercaseCharactersUsage,omitempty"`
// PinLowercaseCharactersUsage Controls the ability to use lowercase letters in the Windows Hello for Business PIN. Allowed permits the use of lowercase letter(s), whereas Required ensures they are present. If set to Not Allowed, lowercase letters will not be permitted.
PinLowercaseCharactersUsage *WindowsHelloForBusinessPinUsage `json:"pinLowercaseCharactersUsage,omitempty"`
// PinSpecialCharactersUsage Controls the ability to use special characters in the Windows Hello for Business PIN. Allowed permits the use of special character(s), whereas Required ensures they are present. If set to Not Allowed, special character(s) will not be permitted.
PinSpecialCharactersUsage *WindowsHelloForBusinessPinUsage `json:"pinSpecialCharactersUsage,omitempty"`
// State Controls whether to allow the device to be configured for Windows Hello for Business. If set to disabled, the user cannot provision Windows Hello for Business except on Azure Active Directory joined mobile phones if otherwise required. If set to Not Configured, Intune will not override client defaults.
State *Enablement `json:"state,omitempty"`
// SecurityDeviceRequired Controls whether to require a Trusted Platform Module (TPM) for provisioning Windows Hello for Business. A TPM provides an additional security benefit in that data stored on it cannot be used on other devices. If set to False, all devices can provision Windows Hello for Business even if there is not a usable TPM.
SecurityDeviceRequired *bool `json:"securityDeviceRequired,omitempty"`
// UnlockWithBiometricsEnabled Controls the use of biometric gestures, such as face and fingerprint, as an alternative to the Windows Hello for Business PIN. If set to False, biometric gestures are not allowed. Users must still configure a PIN as a backup in case of failures.
UnlockWithBiometricsEnabled *bool `json:"unlockWithBiometricsEnabled,omitempty"`
// RemotePassportEnabled Controls the use of Remote Windows Hello for Business. Remote Windows Hello for Business provides the ability for a portable, registered device to be usable as a companion for desktop authentication. The desktop must be Azure AD joined and the companion device must have a Windows Hello for Business PIN.
RemotePassportEnabled *bool `json:"remotePassportEnabled,omitempty"`
// PinPreviousBlockCount Controls the ability to prevent users from using past PINs. This must be set between 0 and 50, inclusive, and the current PIN of the user is included in that count. If set to 0, previous PINs are not stored. PIN history is not preserved through a PIN reset.
PinPreviousBlockCount *int `json:"pinPreviousBlockCount,omitempty"`
// PinExpirationInDays Controls the period of time (in days) that a PIN can be used before the system requires the user to change it. This must be set between 0 and 730, inclusive. If set to 0, the user's PIN will never expire
PinExpirationInDays *int `json:"pinExpirationInDays,omitempty"`
// EnhancedBiometricsState Controls the ability to use the anti-spoofing features for facial recognition on devices which support it. If set to disabled, anti-spoofing features are not allowed. If set to Not Configured, the user can choose whether they want to use anti-spoofing.
EnhancedBiometricsState *Enablement `json:"enhancedBiometricsState,omitempty"`
// SecurityKeyForSignIn Security key for Sign In provides the capacity for remotely turning ON/OFF Windows Hello Sercurity Keyl Not configured will honor configurations done on the clinet.
SecurityKeyForSignIn *Enablement `json:"securityKeyForSignIn,omitempty"`
}
// DeviceExchangeAccessStateSummary undocumented
type DeviceExchangeAccessStateSummary struct {
// Object is the base model of DeviceExchangeAccessStateSummary
Object
// AllowedDeviceCount Total count of devices with Exchange Access State: Allowed.
AllowedDeviceCount *int `json:"allowedDeviceCount,omitempty"`
// BlockedDeviceCount Total count of devices with Exchange Access State: Blocked.
BlockedDeviceCount *int `json:"blockedDeviceCount,omitempty"`
// QuarantinedDeviceCount Total count of devices with Exchange Access State: Quarantined.
QuarantinedDeviceCount *int `json:"quarantinedDeviceCount,omitempty"`
// UnknownDeviceCount Total count of devices with Exchange Access State: Unknown.
UnknownDeviceCount *int `json:"unknownDeviceCount,omitempty"`
// UnavailableDeviceCount Total count of devices for which no Exchange Access State could be found.
UnavailableDeviceCount *int `json:"unavailableDeviceCount,omitempty"`
}
// DeviceGeoLocation undocumented
type DeviceGeoLocation struct {
// Object is the base model of DeviceGeoLocation
Object
// LastCollectedDateTimeUtc Time at which location was recorded, relative to UTC
LastCollectedDateTimeUtc *time.Time `json:"lastCollectedDateTimeUtc,omitempty"`
// LastCollectedDateTime Time at which location was recorded, relative to UTC
LastCollectedDateTime *time.Time `json:"lastCollectedDateTime,omitempty"`
// Longitude Longitude coordinate of the device's location
Longitude *float64 `json:"longitude,omitempty"`
// Latitude Latitude coordinate of the device's location
Latitude *float64 `json:"latitude,omitempty"`
// Altitude Altitude, given in meters above sea level
Altitude *float64 `json:"altitude,omitempty"`
// HorizontalAccuracy Accuracy of longitude and latitude in meters
HorizontalAccuracy *float64 `json:"horizontalAccuracy,omitempty"`
// VerticalAccuracy Accuracy of altitude in meters
VerticalAccuracy *float64 `json:"verticalAccuracy,omitempty"`
// Heading Heading in degrees from true north
Heading *float64 `json:"heading,omitempty"`
// Speed Speed the device is traveling in meters per second
Speed *float64 `json:"speed,omitempty"`
}
// DeviceHealthAttestationState undocumented
type DeviceHealthAttestationState struct {
// Object is the base model of DeviceHealthAttestationState
Object
// LastUpdateDateTime The Timestamp of the last update.
LastUpdateDateTime *string `json:"lastUpdateDateTime,omitempty"`
// ContentNamespaceURL The DHA report version. (Namespace version)
ContentNamespaceURL *string `json:"contentNamespaceUrl,omitempty"`
// DeviceHealthAttestationStatus The DHA report version. (Namespace version)
DeviceHealthAttestationStatus *string `json:"deviceHealthAttestationStatus,omitempty"`
// ContentVersion The HealthAttestation state schema version
ContentVersion *string `json:"contentVersion,omitempty"`
// IssuedDateTime The DateTime when device was evaluated or issued to MDM
IssuedDateTime *time.Time `json:"issuedDateTime,omitempty"`
// AttestationIdentityKey TWhen an Attestation Identity Key (AIK) is present on a device, it indicates that the device has an endorsement key (EK) certificate.
AttestationIdentityKey *string `json:"attestationIdentityKey,omitempty"`
// ResetCount The number of times a PC device has hibernated or resumed
ResetCount *int `json:"resetCount,omitempty"`
// RestartCount The number of times a PC device has rebooted
RestartCount *int `json:"restartCount,omitempty"`
// DataExcutionPolicy DEP Policy defines a set of hardware and software technologies that perform additional checks on memory
DataExcutionPolicy *string `json:"dataExcutionPolicy,omitempty"`
// BitLockerStatus On or Off of BitLocker Drive Encryption
BitLockerStatus *string `json:"bitLockerStatus,omitempty"`
// BootManagerVersion The version of the Boot Manager
BootManagerVersion *string `json:"bootManagerVersion,omitempty"`
// CodeIntegrityCheckVersion The version of the Boot Manager
CodeIntegrityCheckVersion *string `json:"codeIntegrityCheckVersion,omitempty"`
// SecureBoot When Secure Boot is enabled, the core components must have the correct cryptographic signatures
SecureBoot *string `json:"secureBoot,omitempty"`
// BootDebugging When bootDebugging is enabled, the device is used in development and testing
BootDebugging *string `json:"bootDebugging,omitempty"`
// OperatingSystemKernelDebugging When operatingSystemKernelDebugging is enabled, the device is used in development and testing
OperatingSystemKernelDebugging *string `json:"operatingSystemKernelDebugging,omitempty"`
// CodeIntegrity When code integrity is enabled, code execution is restricted to integrity verified code
CodeIntegrity *string `json:"codeIntegrity,omitempty"`
// TestSigning When test signing is allowed, the device does not enforce signature validation during boot
TestSigning *string `json:"testSigning,omitempty"`
// SafeMode Safe mode is a troubleshooting option for Windows that starts your computer in a limited state
SafeMode *string `json:"safeMode,omitempty"`
// WindowsPE Operating system running with limited services that is used to prepare a computer for Windows
WindowsPE *string `json:"windowsPE,omitempty"`
// EarlyLaunchAntiMalwareDriverProtection ELAM provides protection for the computers in your network when they start up
EarlyLaunchAntiMalwareDriverProtection *string `json:"earlyLaunchAntiMalwareDriverProtection,omitempty"`
// VirtualSecureMode VSM is a container that protects high value assets from a compromised kernel
VirtualSecureMode *string `json:"virtualSecureMode,omitempty"`
// PcrHashAlgorithm Informational attribute that identifies the HASH algorithm that was used by TPM
PcrHashAlgorithm *string `json:"pcrHashAlgorithm,omitempty"`
// BootAppSecurityVersion The security version number of the Boot Application
BootAppSecurityVersion *string `json:"bootAppSecurityVersion,omitempty"`
// BootManagerSecurityVersion The security version number of the Boot Application
BootManagerSecurityVersion *string `json:"bootManagerSecurityVersion,omitempty"`
// TpmVersion The security version number of the Boot Application
TpmVersion *string `json:"tpmVersion,omitempty"`
// Pcr0 The measurement that is captured in PCR[0]
Pcr0 *string `json:"pcr0,omitempty"`
// SecureBootConfigurationPolicyFingerPrint Fingerprint of the Custom Secure Boot Configuration Policy
SecureBootConfigurationPolicyFingerPrint *string `json:"secureBootConfigurationPolicyFingerPrint,omitempty"`
// CodeIntegrityPolicy The Code Integrity policy that is controlling the security of the boot environment
CodeIntegrityPolicy *string `json:"codeIntegrityPolicy,omitempty"`
// BootRevisionListInfo The Boot Revision List that was loaded during initial boot on the attested device
BootRevisionListInfo *string `json:"bootRevisionListInfo,omitempty"`
// OperatingSystemRevListInfo The Operating System Revision List that was loaded during initial boot on the attested device
OperatingSystemRevListInfo *string `json:"operatingSystemRevListInfo,omitempty"`
// HealthStatusMismatchInfo This attribute appears if DHA-Service detects an integrity issue
HealthStatusMismatchInfo *string `json:"healthStatusMismatchInfo,omitempty"`
// HealthAttestationSupportedStatus This attribute indicates if DHA is supported for the device
HealthAttestationSupportedStatus *string `json:"healthAttestationSupportedStatus,omitempty"`
}
// DeviceHealthScript Intune will provide customer the ability to run their Powershell Health scripts (remediation + detection) on the enrolled windows 10 Azure Active Directory joined devices.
type DeviceHealthScript struct {
// Entity is the base model of DeviceHealthScript
Entity
// Publisher Name of the device health script publisher
Publisher *string `json:"publisher,omitempty"`
// Version Version of the device health script
Version *string `json:"version,omitempty"`
// DisplayName Name of the device health script
DisplayName *string `json:"displayName,omitempty"`
// Description Description of the device health script
Description *string `json:"description,omitempty"`
// DetectionScriptContent The entire content of the detection powershell script
DetectionScriptContent *Binary `json:"detectionScriptContent,omitempty"`
// RemediationScriptContent The entire content of the remediation powershell script
RemediationScriptContent *Binary `json:"remediationScriptContent,omitempty"`
// CreatedDateTime The timestamp of when the device health script was created. This property is read-only.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime The timestamp of when the device health script was modified. This property is read-only.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// RunAsAccount Indicates the type of execution context
RunAsAccount *RunAsAccountType `json:"runAsAccount,omitempty"`
// EnforceSignatureCheck Indicate whether the script signature needs be checked
EnforceSignatureCheck *bool `json:"enforceSignatureCheck,omitempty"`
// RunAs32Bit Indicate whether PowerShell script(s) should run as 32-bit
RunAs32Bit *bool `json:"runAs32Bit,omitempty"`
// RoleScopeTagIDs List of Scope Tag IDs for the device health script
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// Assignments undocumented
Assignments []DeviceHealthScriptAssignment `json:"assignments,omitempty"`
// RunSummary undocumented
RunSummary *DeviceHealthScriptRunSummary `json:"runSummary,omitempty"`
// DeviceRunStates undocumented
DeviceRunStates []DeviceHealthScriptDeviceState `json:"deviceRunStates,omitempty"`
}
// DeviceHealthScriptAssignment Contains properties used to assign a device management script to a group.
type DeviceHealthScriptAssignment struct {
// Entity is the base model of DeviceHealthScriptAssignment
Entity
// Target The Azure Active Directory group we are targeting the script to
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
// RunRemediationScript Determine whether we want to run detection script only or run both detection script and remediation script
RunRemediationScript *bool `json:"runRemediationScript,omitempty"`
// RunSchedule Script run schedule for the target group
RunSchedule *RunSchedule `json:"runSchedule,omitempty"`
}
// DeviceHealthScriptDeviceState Contains properties for device run state of the device health script.
type DeviceHealthScriptDeviceState struct {
// Entity is the base model of DeviceHealthScriptDeviceState
Entity
// DetectionState Detection state from the lastest device health script execution
DetectionState *RunState `json:"detectionState,omitempty"`
// LastStateUpdateDateTime The last timestamp of when the device health script executed
LastStateUpdateDateTime *time.Time `json:"lastStateUpdateDateTime,omitempty"`
// ExpectedStateUpdateDateTime The next timestamp of when the device health script is expected to execute
ExpectedStateUpdateDateTime *time.Time `json:"expectedStateUpdateDateTime,omitempty"`
// LastSyncDateTime The last time that Intune Managment Extension synced with Intune
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// PreRemediationDetectionScriptOutput Output of the detection script before remediation
PreRemediationDetectionScriptOutput *string `json:"preRemediationDetectionScriptOutput,omitempty"`
// PreRemediationDetectionScriptError Error from the detection script before remediation
PreRemediationDetectionScriptError *string `json:"preRemediationDetectionScriptError,omitempty"`
// RemediationScriptError Error output of the remediation script
RemediationScriptError *string `json:"remediationScriptError,omitempty"`
// PostRemediationDetectionScriptOutput Detection script output after remediation
PostRemediationDetectionScriptOutput *string `json:"postRemediationDetectionScriptOutput,omitempty"`
// PostRemediationDetectionScriptError Error from the detection script after remediation
PostRemediationDetectionScriptError *string `json:"postRemediationDetectionScriptError,omitempty"`
// RemediationState Remediation state from the lastest device health script execution
RemediationState *RemediationState `json:"remediationState,omitempty"`
// ManagedDevice undocumented
ManagedDevice *ManagedDevice `json:"managedDevice,omitempty"`
}
// DeviceHealthScriptRunSummary Contains properties for the run summary of a device management script.
type DeviceHealthScriptRunSummary struct {
// Entity is the base model of DeviceHealthScriptRunSummary
Entity
// NoIssueDetectedDeviceCount Number of devices for which the detection script did not find an issue and the device is healthy
NoIssueDetectedDeviceCount *int `json:"noIssueDetectedDeviceCount,omitempty"`
// IssueDetectedDeviceCount Number of devices for which the detection script found an issue
IssueDetectedDeviceCount *int `json:"issueDetectedDeviceCount,omitempty"`
// DetectionScriptErrorDeviceCount Number of devices on which the detection script execution encountered an error and did not complete
DetectionScriptErrorDeviceCount *int `json:"detectionScriptErrorDeviceCount,omitempty"`
// DetectionScriptPendingDeviceCount Number of devices which have not yet run the latest version of the device health script
DetectionScriptPendingDeviceCount *int `json:"detectionScriptPendingDeviceCount,omitempty"`
// IssueRemediatedDeviceCount Number of devices for which the remediation script was able to resolve the detected issue
IssueRemediatedDeviceCount *int `json:"issueRemediatedDeviceCount,omitempty"`
// RemediationSkippedDeviceCount Number of devices for which remediation was skipped
RemediationSkippedDeviceCount *int `json:"remediationSkippedDeviceCount,omitempty"`
// IssueReoccurredDeviceCount Number of devices for which the remediation script executed successfully but failed to resolve the detected issue
IssueReoccurredDeviceCount *int `json:"issueReoccurredDeviceCount,omitempty"`
// RemediationScriptErrorDeviceCount Number of devices for which the remediation script execution encountered an error and did not complete
RemediationScriptErrorDeviceCount *int `json:"remediationScriptErrorDeviceCount,omitempty"`
// LastScriptRunDateTime Last run time for the script across all devices
LastScriptRunDateTime *time.Time `json:"lastScriptRunDateTime,omitempty"`
}
// DeviceInstallState Contains properties for the installation state for a device.
type DeviceInstallState struct {
// Entity is the base model of DeviceInstallState
Entity
// DeviceName Device name.
DeviceName *string `json:"deviceName,omitempty"`
// DeviceID Device Id.
DeviceID *string `json:"deviceId,omitempty"`
// LastSyncDateTime Last sync date and time.
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// InstallState The install state of the eBook.
InstallState *InstallState `json:"installState,omitempty"`
// ErrorCode The error code for install failures.
ErrorCode *string `json:"errorCode,omitempty"`
// OsVersion OS Version.
OsVersion *string `json:"osVersion,omitempty"`
// OsDescription OS Description.
OsDescription *string `json:"osDescription,omitempty"`
// UserName Device User Name.
UserName *string `json:"userName,omitempty"`
}
// DeviceKey undocumented
type DeviceKey struct {
// Object is the base model of DeviceKey
Object
// KeyType undocumented
KeyType *string `json:"keyType,omitempty"`
// KeyMaterial undocumented
KeyMaterial *Binary `json:"keyMaterial,omitempty"`
// DeviceID undocumented
DeviceID *UUID `json:"deviceId,omitempty"`
}
// DeviceManagement Singleton that acts as container for a collection of UserPFXCertificate entities.
type DeviceManagement struct {
// Entity is the base model of DeviceManagement
Entity
// Settings Account level settings.
Settings *DeviceManagementSettings `json:"settings,omitempty"`
// MaximumDepTokens Maximum number of dep tokens allowed per-tenant.
MaximumDepTokens *int `json:"maximumDepTokens,omitempty"`
// IntuneAccountID Intune Account Id for given tenant
IntuneAccountID *UUID `json:"intuneAccountId,omitempty"`
// LastReportAggregationDateTime The last modified time of reporting for this account. This property is read-only.
LastReportAggregationDateTime *time.Time `json:"lastReportAggregationDateTime,omitempty"`
// DeviceComplianceReportSummarizationDateTime The last requested time of device compliance reporting for this account. This property is read-only.
DeviceComplianceReportSummarizationDateTime *time.Time `json:"deviceComplianceReportSummarizationDateTime,omitempty"`
// LegacyPcManangementEnabled The property to enable Non-MDM managed legacy PC management for this account. This property is read-only.
LegacyPcManangementEnabled *bool `json:"legacyPcManangementEnabled,omitempty"`
// IntuneBrand intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.
IntuneBrand *IntuneBrand `json:"intuneBrand,omitempty"`
// SubscriptionState Tenant mobile device management subscription state.
SubscriptionState *DeviceManagementSubscriptionState `json:"subscriptionState,omitempty"`
// Subscriptions Tenant's Subscription.
Subscriptions *DeviceManagementSubscriptions `json:"subscriptions,omitempty"`
// ManagedDeviceCleanupSettings Device cleanup rule
ManagedDeviceCleanupSettings *ManagedDeviceCleanupSettings `json:"managedDeviceCleanupSettings,omitempty"`
// AdminConsent Admin consent information.
AdminConsent *AdminConsent `json:"adminConsent,omitempty"`
// DeviceProtectionOverview Device protection overview.
DeviceProtectionOverview *DeviceProtectionOverview `json:"deviceProtectionOverview,omitempty"`
// WindowsMalwareOverview Malware overview for windows devices.
WindowsMalwareOverview *WindowsMalwareOverview `json:"windowsMalwareOverview,omitempty"`
// AccountMoveCompletionDateTime The date & time when tenant data moved between scaleunits.
AccountMoveCompletionDateTime *time.Time `json:"accountMoveCompletionDateTime,omitempty"`
// GroupPolicyObjectFiles A list of Group Policy Object files uploaded.
GroupPolicyObjectFiles []GroupPolicyObjectFile `json:"groupPolicyObjectFiles,omitempty"`
// AuditEvents undocumented
AuditEvents []AuditEvent `json:"auditEvents,omitempty"`
// AndroidForWorkSettings undocumented
AndroidForWorkSettings *AndroidForWorkSettings `json:"androidForWorkSettings,omitempty"`
// AndroidForWorkAppConfigurationSchemas undocumented
AndroidForWorkAppConfigurationSchemas []AndroidForWorkAppConfigurationSchema `json:"androidForWorkAppConfigurationSchemas,omitempty"`
// AndroidForWorkEnrollmentProfiles undocumented
AndroidForWorkEnrollmentProfiles []AndroidForWorkEnrollmentProfile `json:"androidForWorkEnrollmentProfiles,omitempty"`
// AndroidManagedStoreAccountEnterpriseSettings undocumented
AndroidManagedStoreAccountEnterpriseSettings *AndroidManagedStoreAccountEnterpriseSettings `json:"androidManagedStoreAccountEnterpriseSettings,omitempty"`
// AndroidManagedStoreAppConfigurationSchemas undocumented
AndroidManagedStoreAppConfigurationSchemas []AndroidManagedStoreAppConfigurationSchema `json:"androidManagedStoreAppConfigurationSchemas,omitempty"`
// AndroidDeviceOwnerEnrollmentProfiles undocumented
AndroidDeviceOwnerEnrollmentProfiles []AndroidDeviceOwnerEnrollmentProfile `json:"androidDeviceOwnerEnrollmentProfiles,omitempty"`
// TermsAndConditions undocumented
TermsAndConditions []TermsAndConditions `json:"termsAndConditions,omitempty"`
// DeviceConfigurations undocumented
DeviceConfigurations []DeviceConfiguration `json:"deviceConfigurations,omitempty"`
// DeviceCompliancePolicies undocumented
DeviceCompliancePolicies []DeviceCompliancePolicy `json:"deviceCompliancePolicies,omitempty"`
// SoftwareUpdateStatusSummary undocumented
SoftwareUpdateStatusSummary *SoftwareUpdateStatusSummary `json:"softwareUpdateStatusSummary,omitempty"`
// DeviceCompliancePolicyDeviceStateSummary undocumented
DeviceCompliancePolicyDeviceStateSummary *DeviceCompliancePolicyDeviceStateSummary `json:"deviceCompliancePolicyDeviceStateSummary,omitempty"`
// DeviceCompliancePolicySettingStateSummaries undocumented
DeviceCompliancePolicySettingStateSummaries []DeviceCompliancePolicySettingStateSummary `json:"deviceCompliancePolicySettingStateSummaries,omitempty"`
// AdvancedThreatProtectionOnboardingStateSummary undocumented
AdvancedThreatProtectionOnboardingStateSummary *AdvancedThreatProtectionOnboardingStateSummary `json:"advancedThreatProtectionOnboardingStateSummary,omitempty"`
// DeviceConfigurationDeviceStateSummaries undocumented
DeviceConfigurationDeviceStateSummaries *DeviceConfigurationDeviceStateSummary `json:"deviceConfigurationDeviceStateSummaries,omitempty"`
// DeviceConfigurationUserStateSummaries undocumented
DeviceConfigurationUserStateSummaries *DeviceConfigurationUserStateSummary `json:"deviceConfigurationUserStateSummaries,omitempty"`
// CartToClassAssociations undocumented
CartToClassAssociations []CartToClassAssociation `json:"cartToClassAssociations,omitempty"`
// IOSUpdateStatuses undocumented
IOSUpdateStatuses []IOSUpdateDeviceStatus `json:"iosUpdateStatuses,omitempty"`
// NDESConnectors undocumented
NDESConnectors []NDESConnector `json:"ndesConnectors,omitempty"`
// DeviceConfigurationRestrictedAppsViolations undocumented
DeviceConfigurationRestrictedAppsViolations []RestrictedAppsViolation `json:"deviceConfigurationRestrictedAppsViolations,omitempty"`
// ManagedDeviceEncryptionStates undocumented
ManagedDeviceEncryptionStates []ManagedDeviceEncryptionState `json:"managedDeviceEncryptionStates,omitempty"`
// DeviceConfigurationConflictSummary undocumented
DeviceConfigurationConflictSummary []DeviceConfigurationConflictSummary `json:"deviceConfigurationConflictSummary,omitempty"`
// DeviceConfigurationsAllManagedDeviceCertificateStates undocumented
DeviceConfigurationsAllManagedDeviceCertificateStates []ManagedAllDeviceCertificateState `json:"deviceConfigurationsAllManagedDeviceCertificateStates,omitempty"`
// DeviceCategories undocumented
DeviceCategories []DeviceCategory `json:"deviceCategories,omitempty"`
// ExchangeConnectors undocumented
ExchangeConnectors []DeviceManagementExchangeConnector `json:"exchangeConnectors,omitempty"`
// DeviceEnrollmentConfigurations undocumented
DeviceEnrollmentConfigurations []DeviceEnrollmentConfiguration `json:"deviceEnrollmentConfigurations,omitempty"`
// ExchangeOnPremisesPolicy undocumented
ExchangeOnPremisesPolicy *DeviceManagementExchangeOnPremisesPolicy `json:"exchangeOnPremisesPolicy,omitempty"`
// ExchangeOnPremisesPolicies undocumented
ExchangeOnPremisesPolicies []DeviceManagementExchangeOnPremisesPolicy `json:"exchangeOnPremisesPolicies,omitempty"`
// ConditionalAccessSettings undocumented
ConditionalAccessSettings *OnPremisesConditionalAccessSettings `json:"conditionalAccessSettings,omitempty"`
// MobileThreatDefenseConnectors undocumented
MobileThreatDefenseConnectors []MobileThreatDefenseConnector `json:"mobileThreatDefenseConnectors,omitempty"`
// DeviceManagementPartners undocumented
DeviceManagementPartners []DeviceManagementPartner `json:"deviceManagementPartners,omitempty"`
// ComplianceManagementPartners undocumented
ComplianceManagementPartners []ComplianceManagementPartner `json:"complianceManagementPartners,omitempty"`
// Intents undocumented
Intents []DeviceManagementIntent `json:"intents,omitempty"`
// SettingDefinitions undocumented
SettingDefinitions []DeviceManagementSettingDefinition `json:"settingDefinitions,omitempty"`
// Templates undocumented
Templates []DeviceManagementTemplate `json:"templates,omitempty"`
// Categories undocumented
Categories []DeviceManagementSettingCategory `json:"categories,omitempty"`
// RemoteActionAudits undocumented
RemoteActionAudits []RemoteActionAudit `json:"remoteActionAudits,omitempty"`
// ApplePushNotificationCertificate undocumented
ApplePushNotificationCertificate *ApplePushNotificationCertificate `json:"applePushNotificationCertificate,omitempty"`
// DeviceManagementScripts undocumented
DeviceManagementScripts []DeviceManagementScript `json:"deviceManagementScripts,omitempty"`
// DeviceHealthScripts undocumented
DeviceHealthScripts []DeviceHealthScript `json:"deviceHealthScripts,omitempty"`
// ManagedDeviceOverview undocumented
ManagedDeviceOverview *ManagedDeviceOverview `json:"managedDeviceOverview,omitempty"`
// DetectedApps undocumented
DetectedApps []DetectedApp `json:"detectedApps,omitempty"`
// ManagedDevices undocumented
ManagedDevices []ManagedDevice `json:"managedDevices,omitempty"`
// WindowsMalwareInformation undocumented
WindowsMalwareInformation []WindowsMalwareInformation `json:"windowsMalwareInformation,omitempty"`
// DataSharingConsents undocumented
DataSharingConsents []DataSharingConsent `json:"dataSharingConsents,omitempty"`
// MobileAppTroubleshootingEvents undocumented
MobileAppTroubleshootingEvents []MobileAppTroubleshootingEvent `json:"mobileAppTroubleshootingEvents,omitempty"`
// UserExperienceAnalyticsOverview undocumented
UserExperienceAnalyticsOverview *UserExperienceAnalyticsOverview `json:"userExperienceAnalyticsOverview,omitempty"`
// UserExperienceAnalyticsBaselines undocumented
UserExperienceAnalyticsBaselines []UserExperienceAnalyticsBaseline `json:"userExperienceAnalyticsBaselines,omitempty"`
// UserExperienceAnalyticsCategories undocumented
UserExperienceAnalyticsCategories []UserExperienceAnalyticsCategory `json:"userExperienceAnalyticsCategories,omitempty"`
// UserExperienceAnalyticsDevicePerformance undocumented
UserExperienceAnalyticsDevicePerformance []UserExperienceAnalyticsDevicePerformance `json:"userExperienceAnalyticsDevicePerformance,omitempty"`
// UserExperienceAnalyticsRegressionSummary undocumented
UserExperienceAnalyticsRegressionSummary *UserExperienceAnalyticsRegressionSummary `json:"userExperienceAnalyticsRegressionSummary,omitempty"`
// UserExperienceAnalyticsDeviceStartupHistory undocumented
UserExperienceAnalyticsDeviceStartupHistory []UserExperienceAnalyticsDeviceStartupHistory `json:"userExperienceAnalyticsDeviceStartupHistory,omitempty"`
// DerivedCredentials undocumented
DerivedCredentials []DeviceManagementDerivedCredentialSettings `json:"derivedCredentials,omitempty"`
// WindowsAutopilotSettings undocumented
WindowsAutopilotSettings *WindowsAutopilotSettings `json:"windowsAutopilotSettings,omitempty"`
// WindowsAutopilotDeviceIdentities undocumented
WindowsAutopilotDeviceIdentities []WindowsAutopilotDeviceIdentity `json:"windowsAutopilotDeviceIdentities,omitempty"`
// WindowsAutopilotDeploymentProfiles undocumented
WindowsAutopilotDeploymentProfiles []WindowsAutopilotDeploymentProfile `json:"windowsAutopilotDeploymentProfiles,omitempty"`
// ImportedDeviceIdentities undocumented
ImportedDeviceIdentities []ImportedDeviceIdentity `json:"importedDeviceIdentities,omitempty"`
// DepOnboardingSettings undocumented
DepOnboardingSettings []DepOnboardingSetting `json:"depOnboardingSettings,omitempty"`
// ImportedWindowsAutopilotDeviceIdentities undocumented
ImportedWindowsAutopilotDeviceIdentities []ImportedWindowsAutopilotDeviceIdentity `json:"importedWindowsAutopilotDeviceIdentities,omitempty"`
// AppleUserInitiatedEnrollmentProfiles undocumented
AppleUserInitiatedEnrollmentProfiles []AppleUserInitiatedEnrollmentProfile `json:"appleUserInitiatedEnrollmentProfiles,omitempty"`
// ManagementConditions undocumented
ManagementConditions []ManagementCondition `json:"managementConditions,omitempty"`
// ManagementConditionStatements undocumented
ManagementConditionStatements []ManagementConditionStatement `json:"managementConditionStatements,omitempty"`
// GroupPolicyMigrationReports undocumented
GroupPolicyMigrationReports []GroupPolicyMigrationReport `json:"groupPolicyMigrationReports,omitempty"`
// GroupPolicyConfigurations undocumented
GroupPolicyConfigurations []GroupPolicyConfiguration `json:"groupPolicyConfigurations,omitempty"`
// GroupPolicyDefinitions undocumented
GroupPolicyDefinitions []GroupPolicyDefinition `json:"groupPolicyDefinitions,omitempty"`
// GroupPolicyDefinitionFiles undocumented
GroupPolicyDefinitionFiles []GroupPolicyDefinitionFile `json:"groupPolicyDefinitionFiles,omitempty"`
// NotificationMessageTemplates undocumented
NotificationMessageTemplates []NotificationMessageTemplate `json:"notificationMessageTemplates,omitempty"`
// DomainJoinConnectors undocumented
DomainJoinConnectors []DeviceManagementDomainJoinConnector `json:"domainJoinConnectors,omitempty"`
// RoleDefinitions undocumented
RoleDefinitions []RoleDefinition `json:"roleDefinitions,omitempty"`
// RoleAssignments undocumented
RoleAssignments []DeviceAndAppManagementRoleAssignment `json:"roleAssignments,omitempty"`
// RoleScopeTags undocumented
RoleScopeTags []RoleScopeTag `json:"roleScopeTags,omitempty"`
// ResourceOperations undocumented
ResourceOperations []ResourceOperation `json:"resourceOperations,omitempty"`
// RemoteAssistancePartners undocumented
RemoteAssistancePartners []RemoteAssistancePartner `json:"remoteAssistancePartners,omitempty"`
// Reports undocumented
Reports *DeviceManagementReports `json:"reports,omitempty"`
// TelecomExpenseManagementPartners undocumented
TelecomExpenseManagementPartners []TelecomExpenseManagementPartner `json:"telecomExpenseManagementPartners,omitempty"`
// EmbeddedSIMActivationCodePools undocumented
EmbeddedSIMActivationCodePools []EmbeddedSIMActivationCodePool `json:"embeddedSIMActivationCodePools,omitempty"`
// TroubleshootingEvents undocumented
TroubleshootingEvents []DeviceManagementTroubleshootingEvent `json:"troubleshootingEvents,omitempty"`
// AutopilotEvents undocumented
AutopilotEvents []DeviceManagementAutopilotEvent `json:"autopilotEvents,omitempty"`
// WindowsFeatureUpdateProfiles undocumented
WindowsFeatureUpdateProfiles []WindowsFeatureUpdateProfile `json:"windowsFeatureUpdateProfiles,omitempty"`
// WindowsInformationProtectionAppLearningSummaries undocumented
WindowsInformationProtectionAppLearningSummaries []WindowsInformationProtectionAppLearningSummary `json:"windowsInformationProtectionAppLearningSummaries,omitempty"`
// WindowsInformationProtectionNetworkLearningSummaries undocumented
WindowsInformationProtectionNetworkLearningSummaries []WindowsInformationProtectionNetworkLearningSummary `json:"windowsInformationProtectionNetworkLearningSummaries,omitempty"`
// IntuneBrandingProfiles undocumented
IntuneBrandingProfiles []IntuneBrandingProfile `json:"intuneBrandingProfiles,omitempty"`
// UserPfxCertificates undocumented
UserPfxCertificates []UserPFXCertificate `json:"userPfxCertificates,omitempty"`
}
// DeviceManagementAbstractComplexSettingDefinition Entity representing the defintion for an abstract complex setting
type DeviceManagementAbstractComplexSettingDefinition struct {
// DeviceManagementSettingDefinition is the base model of DeviceManagementAbstractComplexSettingDefinition
DeviceManagementSettingDefinition
// Implementations List of definition IDs for all possible implementations of this abstract complex setting
Implementations []string `json:"implementations,omitempty"`
}
// DeviceManagementAbstractComplexSettingInstance A setting instance representing a complex value for an abstract setting
type DeviceManagementAbstractComplexSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementAbstractComplexSettingInstance
DeviceManagementSettingInstance
// ImplementationID The definition ID for the chosen implementation of this complex setting
ImplementationID *string `json:"implementationId,omitempty"`
// Value undocumented
Value []DeviceManagementSettingInstance `json:"value,omitempty"`
}
// DeviceManagementApplicabilityRuleDeviceMode undocumented
type DeviceManagementApplicabilityRuleDeviceMode struct {
// Object is the base model of DeviceManagementApplicabilityRuleDeviceMode
Object
// DeviceMode Applicability rule for device mode.
DeviceMode *Windows10DeviceModeType `json:"deviceMode,omitempty"`
// Name Name for object.
Name *string `json:"name,omitempty"`
// RuleType Applicability Rule type.
RuleType *DeviceManagementApplicabilityRuleType `json:"ruleType,omitempty"`
}
// DeviceManagementApplicabilityRuleOsEdition undocumented
type DeviceManagementApplicabilityRuleOsEdition struct {
// Object is the base model of DeviceManagementApplicabilityRuleOsEdition
Object
// OsEditionTypes Applicability rule OS edition type.
OsEditionTypes []Windows10EditionType `json:"osEditionTypes,omitempty"`
// Name Name for object.
Name *string `json:"name,omitempty"`
// RuleType Applicability Rule type.
RuleType *DeviceManagementApplicabilityRuleType `json:"ruleType,omitempty"`
}
// DeviceManagementApplicabilityRuleOsVersion undocumented
type DeviceManagementApplicabilityRuleOsVersion struct {
// Object is the base model of DeviceManagementApplicabilityRuleOsVersion
Object
// MinOSVersion Min OS version for Applicability Rule.
MinOSVersion *string `json:"minOSVersion,omitempty"`
// MaxOSVersion Max OS version for Applicability Rule.
MaxOSVersion *string `json:"maxOSVersion,omitempty"`
// Name Name for object.
Name *string `json:"name,omitempty"`
// RuleType Applicability Rule type.
RuleType *DeviceManagementApplicabilityRuleType `json:"ruleType,omitempty"`
}
// DeviceManagementAutopilotEvent Represents an Autopilot flow event.
type DeviceManagementAutopilotEvent struct {
// Entity is the base model of DeviceManagementAutopilotEvent
Entity
// EventDateTime Time when the event occurred .
EventDateTime *time.Time `json:"eventDateTime,omitempty"`
// DeviceRegisteredDateTime Device registration date.
DeviceRegisteredDateTime *time.Time `json:"deviceRegisteredDateTime,omitempty"`
// EnrollmentStartDateTime Device enrollment start date.
EnrollmentStartDateTime *time.Time `json:"enrollmentStartDateTime,omitempty"`
// EnrollmentType Enrollment type.
EnrollmentType *WindowsAutopilotEnrollmentType `json:"enrollmentType,omitempty"`
// DeviceSerialNumber Device serial number.
DeviceSerialNumber *string `json:"deviceSerialNumber,omitempty"`
// ManagedDeviceName Managed device name.
ManagedDeviceName *string `json:"managedDeviceName,omitempty"`
// UserPrincipalName User principal name used to enroll the device.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// WindowsAutopilotDeploymentProfileDisplayName Autopilot profile name.
WindowsAutopilotDeploymentProfileDisplayName *string `json:"windowsAutopilotDeploymentProfileDisplayName,omitempty"`
// EnrollmentState Enrollment state like Enrolled, Failed.
EnrollmentState *EnrollmentState `json:"enrollmentState,omitempty"`
// Windows10EnrollmentCompletionPageConfigurationDisplayName Enrollment Status Page profile name
Windows10EnrollmentCompletionPageConfigurationDisplayName *string `json:"windows10EnrollmentCompletionPageConfigurationDisplayName,omitempty"`
// DeploymentState Deployment state like Success, Failure, InProgress, SuccessWithTimeout.
DeploymentState *WindowsAutopilotDeploymentState `json:"deploymentState,omitempty"`
// OsVersion Device operating system version.
OsVersion *string `json:"osVersion,omitempty"`
// DeploymentDuration Autopilot deployment duration including enrollment.
DeploymentDuration *Duration `json:"deploymentDuration,omitempty"`
// DeploymentTotalDuration Total deployment duration from enrollment to Desktop screen.
DeploymentTotalDuration *Duration `json:"deploymentTotalDuration,omitempty"`
// DevicePreparationDuration Time spent in device enrollment.
DevicePreparationDuration *Duration `json:"devicePreparationDuration,omitempty"`
// DeviceSetupDuration Time spent in device ESP.
DeviceSetupDuration *Duration `json:"deviceSetupDuration,omitempty"`
// AccountSetupDuration Time spent in user ESP.
AccountSetupDuration *Duration `json:"accountSetupDuration,omitempty"`
// DeploymentStartDateTime Deployment start time.
DeploymentStartDateTime *time.Time `json:"deploymentStartDateTime,omitempty"`
// DeploymentEndDateTime Deployment end time.
DeploymentEndDateTime *time.Time `json:"deploymentEndDateTime,omitempty"`
// TargetedAppCount Count of applications targeted.
TargetedAppCount *int `json:"targetedAppCount,omitempty"`
// TargetedPolicyCount Count of policies targeted.
TargetedPolicyCount *int `json:"targetedPolicyCount,omitempty"`
// EnrollmentFailureDetails Enrollment failure details.
EnrollmentFailureDetails *string `json:"enrollmentFailureDetails,omitempty"`
}
// DeviceManagementBooleanSettingInstance A setting instance representing a boolean value
type DeviceManagementBooleanSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementBooleanSettingInstance
DeviceManagementSettingInstance
// Value The boolean value
Value *bool `json:"value,omitempty"`
}
// DeviceManagementCachedReportConfiguration Entity representing the configuration of a cached report
type DeviceManagementCachedReportConfiguration struct {
// Entity is the base model of DeviceManagementCachedReportConfiguration
Entity
// ReportName Name of the report
ReportName *string `json:"reportName,omitempty"`
// Filter Filters applied on report creation.
Filter *string `json:"filter,omitempty"`
// Select Columns selected from the report
Select []string `json:"select,omitempty"`
// OrderBy Ordering of columns in the report
OrderBy []string `json:"orderBy,omitempty"`
// Status Status of the cached report
Status *DeviceManagementReportStatus `json:"status,omitempty"`
// LastRefreshDateTime Time that the cached report was last refreshed
LastRefreshDateTime *time.Time `json:"lastRefreshDateTime,omitempty"`
// ExpirationDateTime Time that the cached report expires
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
}
// DeviceManagementCollectionSettingDefinition Entity representing the defintion for a collection setting
type DeviceManagementCollectionSettingDefinition struct {
// DeviceManagementSettingDefinition is the base model of DeviceManagementCollectionSettingDefinition
DeviceManagementSettingDefinition
// ElementDefinitionID The Setting Definition ID that describes what each element of the collection looks like
ElementDefinitionID *string `json:"elementDefinitionId,omitempty"`
}
// DeviceManagementCollectionSettingInstance A setting instance representing a collection of values
type DeviceManagementCollectionSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementCollectionSettingInstance
DeviceManagementSettingInstance
// Value undocumented
Value []DeviceManagementSettingInstance `json:"value,omitempty"`
}
// DeviceManagementComplexSettingDefinition Entity representing the defintion for a complex setting
type DeviceManagementComplexSettingDefinition struct {
// DeviceManagementSettingDefinition is the base model of DeviceManagementComplexSettingDefinition
DeviceManagementSettingDefinition
// PropertyDefinitionIDs The definitions of each property of the complex setting
PropertyDefinitionIDs []string `json:"propertyDefinitionIds,omitempty"`
}
// DeviceManagementComplexSettingInstance A setting instance representing a complex value
type DeviceManagementComplexSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementComplexSettingInstance
DeviceManagementSettingInstance
// Value undocumented
Value []DeviceManagementSettingInstance `json:"value,omitempty"`
}
// DeviceManagementConstraint undocumented
type DeviceManagementConstraint struct {
// Object is the base model of DeviceManagementConstraint
Object
}
// DeviceManagementDerivedCredentialSettings Entity that describes tenant level settings for derived credentials
type DeviceManagementDerivedCredentialSettings struct {
// Entity is the base model of DeviceManagementDerivedCredentialSettings
Entity
// HelpURL The URL that will be accessible to end users as they retrieve a derived credential using the Company Portal.
HelpURL *string `json:"helpUrl,omitempty"`
// DisplayName The display name for the profile.
DisplayName *string `json:"displayName,omitempty"`
// Issuer The derived credential provider to use.
Issuer *DeviceManagementDerivedCredentialIssuer `json:"issuer,omitempty"`
// NotificationType The methods used to inform the end user to open Company Portal to deliver Wi-Fi, VPN, or email profiles that use certificates to the device.
NotificationType *DeviceManagementDerivedCredentialNotificationType `json:"notificationType,omitempty"`
}
// DeviceManagementDomainJoinConnector A Domain Join Connector is a connector that is responsible to allocate (and delete) machine account blobs
type DeviceManagementDomainJoinConnector struct {
// Entity is the base model of DeviceManagementDomainJoinConnector
Entity
// DisplayName The connector display name.
DisplayName *string `json:"displayName,omitempty"`
// LastConnectionDateTime Last time connector contacted Intune.
LastConnectionDateTime *time.Time `json:"lastConnectionDateTime,omitempty"`
// State The connector state.
State *DeviceManagementDomainJoinConnectorState `json:"state,omitempty"`
// Version The version of the connector.
Version *string `json:"version,omitempty"`
}
// DeviceManagementEnumConstraint undocumented
type DeviceManagementEnumConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementEnumConstraint
DeviceManagementConstraint
// Values List of valid values for this string
Values []DeviceManagementEnumValue `json:"values,omitempty"`
}
// DeviceManagementEnumValue undocumented
type DeviceManagementEnumValue struct {
// Object is the base model of DeviceManagementEnumValue
Object
// Value The raw enum value text
Value *string `json:"value,omitempty"`
// DisplayName Display name for this enum value
DisplayName *string `json:"displayName,omitempty"`
}
// DeviceManagementExchangeAccessRule undocumented
type DeviceManagementExchangeAccessRule struct {
// Object is the base model of DeviceManagementExchangeAccessRule
Object
// DeviceClass Device Class which will be impacted by this rule.
DeviceClass *DeviceManagementExchangeDeviceClass `json:"deviceClass,omitempty"`
// AccessLevel Access Level for Exchange granted by this rule.
AccessLevel *DeviceManagementExchangeAccessLevel `json:"accessLevel,omitempty"`
}
// DeviceManagementExchangeConnector Entity which represents a connection to an Exchange environment.
type DeviceManagementExchangeConnector struct {
// Entity is the base model of DeviceManagementExchangeConnector
Entity
// LastSyncDateTime Last sync time for the Exchange Connector
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// Status Exchange Connector Status
Status *DeviceManagementExchangeConnectorStatus `json:"status,omitempty"`
// PrimarySMTPAddress Email address used to configure the Service To Service Exchange Connector.
PrimarySMTPAddress *string `json:"primarySmtpAddress,omitempty"`
// ServerName The name of the Exchange server.
ServerName *string `json:"serverName,omitempty"`
// ConnectorServerName The name of the server hosting the Exchange Connector.
ConnectorServerName *string `json:"connectorServerName,omitempty"`
// ExchangeConnectorType The type of Exchange Connector Configured.
ExchangeConnectorType *DeviceManagementExchangeConnectorType `json:"exchangeConnectorType,omitempty"`
// Version The version of the ExchangeConnectorAgent
Version *string `json:"version,omitempty"`
// ExchangeAlias An alias assigned to the Exchange server
ExchangeAlias *string `json:"exchangeAlias,omitempty"`
// ExchangeOrganization Exchange Organization to the Exchange server
ExchangeOrganization *string `json:"exchangeOrganization,omitempty"`
}
// DeviceManagementExchangeDeviceClass undocumented
type DeviceManagementExchangeDeviceClass struct {
// Object is the base model of DeviceManagementExchangeDeviceClass
Object
// Name Name of the device class which will be impacted by this rule.
Name *string `json:"name,omitempty"`
// Type Type of device which is impacted by this rule e.g. Model, Family
Type *DeviceManagementExchangeAccessRuleType `json:"type,omitempty"`
}
// DeviceManagementExchangeOnPremisesPolicy Singleton entity which represents the Exchange OnPremises policy configured for a tenant.
type DeviceManagementExchangeOnPremisesPolicy struct {
// Entity is the base model of DeviceManagementExchangeOnPremisesPolicy
Entity
// NotificationContent Notification text that will be sent to users quarantined by this policy. This is UTF8 encoded byte array HTML.
NotificationContent *Binary `json:"notificationContent,omitempty"`
// DefaultAccessLevel Default access state in Exchange. This rule applies globally to the entire Exchange organization
DefaultAccessLevel *DeviceManagementExchangeAccessLevel `json:"defaultAccessLevel,omitempty"`
// AccessRules The list of device access rules in Exchange. The access rules apply globally to the entire Exchange organization
AccessRules []DeviceManagementExchangeAccessRule `json:"accessRules,omitempty"`
// KnownDeviceClasses The list of device classes known to Exchange
KnownDeviceClasses []DeviceManagementExchangeDeviceClass `json:"knownDeviceClasses,omitempty"`
// ConditionalAccessSettings undocumented
ConditionalAccessSettings *OnPremisesConditionalAccessSettings `json:"conditionalAccessSettings,omitempty"`
}
// DeviceManagementExportJob Entity representing a job to export a report
type DeviceManagementExportJob struct {
// Entity is the base model of DeviceManagementExportJob
Entity
// ReportName Name of the report
ReportName *string `json:"reportName,omitempty"`
// Filter Filters applied on the report
Filter *string `json:"filter,omitempty"`
// Select Columns selected from the report
Select []string `json:"select,omitempty"`
// Format Format of the exported report
Format *DeviceManagementReportFileFormat `json:"format,omitempty"`
// SnapshotID A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.
SnapshotID *string `json:"snapshotId,omitempty"`
// Status Status of the export job
Status *DeviceManagementReportStatus `json:"status,omitempty"`
// URL Temporary location of the exported report
URL *string `json:"url,omitempty"`
// RequestDateTime Time that the exported report was requested
RequestDateTime *time.Time `json:"requestDateTime,omitempty"`
// ExpirationDateTime Time that the exported report expires
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
}
// DeviceManagementIntegerSettingInstance A setting instance representing an integer value
type DeviceManagementIntegerSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementIntegerSettingInstance
DeviceManagementSettingInstance
// Value The integer value
Value *int `json:"value,omitempty"`
}
// DeviceManagementIntent Entity that represents an intent to apply settings to a device
type DeviceManagementIntent struct {
// Entity is the base model of DeviceManagementIntent
Entity
// DisplayName The user given display name
DisplayName *string `json:"displayName,omitempty"`
// Description The user given description
Description *string `json:"description,omitempty"`
// IsAssigned Signifies whether or not the intent is assigned to users
IsAssigned *bool `json:"isAssigned,omitempty"`
// LastModifiedDateTime When the intent was last modified
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// TemplateID The ID of the template this intent was created from (if any)
TemplateID *string `json:"templateId,omitempty"`
// RoleScopeTagIDs List of Scope Tags for this Entity instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// Settings undocumented
Settings []DeviceManagementSettingInstance `json:"settings,omitempty"`
// Categories undocumented
Categories []DeviceManagementIntentSettingCategory `json:"categories,omitempty"`
// Assignments undocumented
Assignments []DeviceManagementIntentAssignment `json:"assignments,omitempty"`
// DeviceSettingStateSummaries undocumented
DeviceSettingStateSummaries []DeviceManagementIntentDeviceSettingStateSummary `json:"deviceSettingStateSummaries,omitempty"`
// DeviceStates undocumented
DeviceStates []DeviceManagementIntentDeviceState `json:"deviceStates,omitempty"`
// UserStates undocumented
UserStates []DeviceManagementIntentUserState `json:"userStates,omitempty"`
// DeviceStateSummary undocumented
DeviceStateSummary *DeviceManagementIntentDeviceStateSummary `json:"deviceStateSummary,omitempty"`
// UserStateSummary undocumented
UserStateSummary *DeviceManagementIntentUserStateSummary `json:"userStateSummary,omitempty"`
}
// DeviceManagementIntentAssignment Intent assignment entity
type DeviceManagementIntentAssignment struct {
// Entity is the base model of DeviceManagementIntentAssignment
Entity
// Target The assignment target
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
}
// DeviceManagementIntentDeviceSettingStateSummary Entity that represents device setting state summary for an intent
type DeviceManagementIntentDeviceSettingStateSummary struct {
// Entity is the base model of DeviceManagementIntentDeviceSettingStateSummary
Entity
// SettingName Name of a setting
SettingName *string `json:"settingName,omitempty"`
// CompliantCount Number of compliant devices
CompliantCount *int `json:"compliantCount,omitempty"`
// ConflictCount Number of devices in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// ErrorCount Number of error devices
ErrorCount *int `json:"errorCount,omitempty"`
// NonCompliantCount Number of non compliant devices
NonCompliantCount *int `json:"nonCompliantCount,omitempty"`
// NotApplicableCount Number of not applicable devices
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// RemediatedCount Number of remediated devices
RemediatedCount *int `json:"remediatedCount,omitempty"`
}
// DeviceManagementIntentDeviceState Entity that represents device state for an intent
type DeviceManagementIntentDeviceState struct {
// Entity is the base model of DeviceManagementIntentDeviceState
Entity
// UserPrincipalName The user principal name that is being reported on a device
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// UserName The user name that is being reported on a device
UserName *string `json:"userName,omitempty"`
// DeviceDisplayName Device name that is being reported
DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
// LastReportedDateTime Last modified date time of an intent report
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// State Device state for an intent
State *ComplianceStatus `json:"state,omitempty"`
// DeviceID Device id that is being reported
DeviceID *string `json:"deviceId,omitempty"`
}
// DeviceManagementIntentDeviceStateSummary Entity that represents device state summary for an intent
type DeviceManagementIntentDeviceStateSummary struct {
// Entity is the base model of DeviceManagementIntentDeviceStateSummary
Entity
// ConflictCount Number of devices in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// ErrorCount Number of error devices
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed devices
FailedCount *int `json:"failedCount,omitempty"`
// NotApplicableCount Number of not applicable devices
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// NotApplicablePlatformCount Number of not applicable devices due to mismatch platform and policy
NotApplicablePlatformCount *int `json:"notApplicablePlatformCount,omitempty"`
// SuccessCount Number of succeeded devices
SuccessCount *int `json:"successCount,omitempty"`
}
// DeviceManagementIntentSettingCategory Entity representing an intent setting category
type DeviceManagementIntentSettingCategory struct {
// DeviceManagementSettingCategory is the base model of DeviceManagementIntentSettingCategory
DeviceManagementSettingCategory
// Settings undocumented
Settings []DeviceManagementSettingInstance `json:"settings,omitempty"`
}
// DeviceManagementIntentUserState Entity that represents user state for an intent
type DeviceManagementIntentUserState struct {
// Entity is the base model of DeviceManagementIntentUserState
Entity
// UserPrincipalName The user principal name that is being reported on a device
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// UserName The user name that is being reported on a device
UserName *string `json:"userName,omitempty"`
// DeviceCount Count of Devices that belongs to a user for an intent
DeviceCount *int `json:"deviceCount,omitempty"`
// LastReportedDateTime Last modified date time of an intent report
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
// State User state for an intent
State *ComplianceStatus `json:"state,omitempty"`
}
// DeviceManagementIntentUserStateSummary Entity that represents user state summary for an intent
type DeviceManagementIntentUserStateSummary struct {
// Entity is the base model of DeviceManagementIntentUserStateSummary
Entity
// ConflictCount Number of users in conflict
ConflictCount *int `json:"conflictCount,omitempty"`
// ErrorCount Number of error users
ErrorCount *int `json:"errorCount,omitempty"`
// FailedCount Number of failed users
FailedCount *int `json:"failedCount,omitempty"`
// NotApplicableCount Number of not applicable users
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
// SuccessCount Number of succeeded users
SuccessCount *int `json:"successCount,omitempty"`
}
// DeviceManagementPartner Entity which represents a connection to device management partner.
type DeviceManagementPartner struct {
// Entity is the base model of DeviceManagementPartner
Entity
// LastHeartbeatDateTime Timestamp of last heartbeat after admin enabled option Connect to Device management Partner
LastHeartbeatDateTime *time.Time `json:"lastHeartbeatDateTime,omitempty"`
// PartnerState Partner state of this tenant
PartnerState *DeviceManagementPartnerTenantState `json:"partnerState,omitempty"`
// PartnerAppType Partner App type
PartnerAppType *DeviceManagementPartnerAppType `json:"partnerAppType,omitempty"`
// SingleTenantAppID Partner Single tenant App id
SingleTenantAppID *string `json:"singleTenantAppId,omitempty"`
// DisplayName Partner display name
DisplayName *string `json:"displayName,omitempty"`
// IsConfigured Whether device management partner is configured or not
IsConfigured *bool `json:"isConfigured,omitempty"`
// WhenPartnerDevicesWillBeRemoved DateTime in UTC when PartnerDevices will be removed. This will become obselete soon.
WhenPartnerDevicesWillBeRemoved *time.Time `json:"whenPartnerDevicesWillBeRemoved,omitempty"`
// WhenPartnerDevicesWillBeMarkedAsNonCompliant DateTime in UTC when PartnerDevices will be marked as NonCompliant. This will become obselete soon.
WhenPartnerDevicesWillBeMarkedAsNonCompliant *time.Time `json:"whenPartnerDevicesWillBeMarkedAsNonCompliant,omitempty"`
// WhenPartnerDevicesWillBeRemovedDateTime DateTime in UTC when PartnerDevices will be removed
WhenPartnerDevicesWillBeRemovedDateTime *time.Time `json:"whenPartnerDevicesWillBeRemovedDateTime,omitempty"`
// WhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime DateTime in UTC when PartnerDevices will be marked as NonCompliant
WhenPartnerDevicesWillBeMarkedAsNonCompliantDateTime *time.Time `json:"whenPartnerDevicesWillBeMarkedAsNonCompliantDateTime,omitempty"`
// GroupsRequiringPartnerEnrollment User groups that specifies whether enrollment is through partner.
GroupsRequiringPartnerEnrollment []DeviceManagementPartnerAssignment `json:"groupsRequiringPartnerEnrollment,omitempty"`
}
// DeviceManagementPartnerAssignment undocumented
type DeviceManagementPartnerAssignment struct {
// Object is the base model of DeviceManagementPartnerAssignment
Object
// Target User groups targeting for devices to be enrolled through partner.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
}
// DeviceManagementReportSchedule Entity representing a schedule for which reports are delivered
type DeviceManagementReportSchedule struct {
// Entity is the base model of DeviceManagementReportSchedule
Entity
// ReportScheduleName Name of the schedule
ReportScheduleName *string `json:"reportScheduleName,omitempty"`
// Subject Subject of the scheduled reports that are delivered
Subject *string `json:"subject,omitempty"`
// Emails Emails to which the scheduled reports are delivered
Emails []string `json:"emails,omitempty"`
// Recurrence Frequency of scheduled report delivery
Recurrence *DeviceManagementScheduledReportRecurrence `json:"recurrence,omitempty"`
// StartDateTime Time that the delivery of the scheduled reports starts
StartDateTime *time.Time `json:"startDateTime,omitempty"`
// EndDateTime Time that the delivery of the scheduled reports ends
EndDateTime *time.Time `json:"endDateTime,omitempty"`
// UserID The Id of the User who created the report
UserID *string `json:"userId,omitempty"`
// ReportName Name of the report
ReportName *string `json:"reportName,omitempty"`
// Filter Filters applied on the report
Filter *string `json:"filter,omitempty"`
// Select Columns selected from the report
Select []string `json:"select,omitempty"`
// OrderBy Ordering of columns in the report
OrderBy []string `json:"orderBy,omitempty"`
// Format Format of the scheduled report
Format *DeviceManagementReportFileFormat `json:"format,omitempty"`
}
// DeviceManagementReports Singleton entity that acts as a container for all reports functionality.
type DeviceManagementReports struct {
// Entity is the base model of DeviceManagementReports
Entity
// CachedReportConfigurations undocumented
CachedReportConfigurations []DeviceManagementCachedReportConfiguration `json:"cachedReportConfigurations,omitempty"`
// ExportJobs undocumented
ExportJobs []DeviceManagementExportJob `json:"exportJobs,omitempty"`
// ReportSchedules undocumented
ReportSchedules []DeviceManagementReportSchedule `json:"reportSchedules,omitempty"`
}
// DeviceManagementScript Intune will provide customer the ability to run their Powershell scripts on the enrolled windows 10 Azure Active Directory joined devices. The script can be run once or periodically.
type DeviceManagementScript struct {
// Entity is the base model of DeviceManagementScript
Entity
// DisplayName Name of the device management script.
DisplayName *string `json:"displayName,omitempty"`
// Description Optional description for the device management script.
Description *string `json:"description,omitempty"`
// ScriptContent The script content.
ScriptContent *Binary `json:"scriptContent,omitempty"`
// CreatedDateTime The date and time the device management script was created. This property is read-only.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime The date and time the device management script was last modified. This property is read-only.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// RunAsAccount Indicates the type of execution context.
RunAsAccount *RunAsAccountType `json:"runAsAccount,omitempty"`
// EnforceSignatureCheck Indicate whether the script signature needs be checked.
EnforceSignatureCheck *bool `json:"enforceSignatureCheck,omitempty"`
// FileName Script file name.
FileName *string `json:"fileName,omitempty"`
// RoleScopeTagIDs List of Scope Tag IDs for this PowerShellScript instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// RunAs32Bit A value indicating whether the PowerShell script should run as 32-bit
RunAs32Bit *bool `json:"runAs32Bit,omitempty"`
// GroupAssignments undocumented
GroupAssignments []DeviceManagementScriptGroupAssignment `json:"groupAssignments,omitempty"`
// Assignments undocumented
Assignments []DeviceManagementScriptAssignment `json:"assignments,omitempty"`
// RunSummary undocumented
RunSummary *DeviceManagementScriptRunSummary `json:"runSummary,omitempty"`
// DeviceRunStates undocumented
DeviceRunStates []DeviceManagementScriptDeviceState `json:"deviceRunStates,omitempty"`
// UserRunStates undocumented
UserRunStates []DeviceManagementScriptUserState `json:"userRunStates,omitempty"`
}
// DeviceManagementScriptAssignment Contains properties used to assign a device management script to a group.
type DeviceManagementScriptAssignment struct {
// Entity is the base model of DeviceManagementScriptAssignment
Entity
// Target The Id of the Azure Active Directory group we are targeting the script to.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
}
// DeviceManagementScriptDeviceState Contains properties for device run state of the device management script.
type DeviceManagementScriptDeviceState struct {
// Entity is the base model of DeviceManagementScriptDeviceState
Entity
// RunState State of latest run of the device management script.
RunState *RunState `json:"runState,omitempty"`
// ResultMessage Details of execution output.
ResultMessage *string `json:"resultMessage,omitempty"`
// LastStateUpdateDateTime Latest time the device management script executes.
LastStateUpdateDateTime *time.Time `json:"lastStateUpdateDateTime,omitempty"`
// ErrorCode Error code corresponding to erroneous execution of the device management script.
ErrorCode *int `json:"errorCode,omitempty"`
// ErrorDescription Error description corresponding to erroneous execution of the device management script.
ErrorDescription *string `json:"errorDescription,omitempty"`
// ManagedDevice undocumented
ManagedDevice *ManagedDevice `json:"managedDevice,omitempty"`
}
// DeviceManagementScriptGroupAssignment Contains properties used to assign a device management script to a group.
type DeviceManagementScriptGroupAssignment struct {
// Entity is the base model of DeviceManagementScriptGroupAssignment
Entity
// TargetGroupID The Id of the Azure Active Directory group we are targeting the script to.
TargetGroupID *string `json:"targetGroupId,omitempty"`
}
// DeviceManagementScriptPolicySetItem A class containing the properties used for device management script PolicySetItem.
type DeviceManagementScriptPolicySetItem struct {
// PolicySetItem is the base model of DeviceManagementScriptPolicySetItem
PolicySetItem
}
// DeviceManagementScriptRunSummary Contains properties for the run summary of a device management script.
type DeviceManagementScriptRunSummary struct {
// Entity is the base model of DeviceManagementScriptRunSummary
Entity
// SuccessDeviceCount Success device count.
SuccessDeviceCount *int `json:"successDeviceCount,omitempty"`
// ErrorDeviceCount Error device count.
ErrorDeviceCount *int `json:"errorDeviceCount,omitempty"`
// SuccessUserCount Success user count.
SuccessUserCount *int `json:"successUserCount,omitempty"`
// ErrorUserCount Error user count.
ErrorUserCount *int `json:"errorUserCount,omitempty"`
}
// DeviceManagementScriptUserState Contains properties for user run state of the device management script.
type DeviceManagementScriptUserState struct {
// Entity is the base model of DeviceManagementScriptUserState
Entity
// SuccessDeviceCount Success device count for specific user.
SuccessDeviceCount *int `json:"successDeviceCount,omitempty"`
// ErrorDeviceCount Error device count for specific user.
ErrorDeviceCount *int `json:"errorDeviceCount,omitempty"`
// UserPrincipalName User principle name of specific user.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// DeviceRunStates undocumented
DeviceRunStates []DeviceManagementScriptDeviceState `json:"deviceRunStates,omitempty"`
}
// DeviceManagementSettingBooleanConstraint undocumented
type DeviceManagementSettingBooleanConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementSettingBooleanConstraint
DeviceManagementConstraint
// Value The boolean value to compare against
Value *bool `json:"value,omitempty"`
}
// DeviceManagementSettingCategory Entity representing a setting category
type DeviceManagementSettingCategory struct {
// Entity is the base model of DeviceManagementSettingCategory
Entity
// DisplayName The category name
DisplayName *string `json:"displayName,omitempty"`
// SettingDefinitions undocumented
SettingDefinitions []DeviceManagementSettingDefinition `json:"settingDefinitions,omitempty"`
}
// DeviceManagementSettingComparison undocumented
type DeviceManagementSettingComparison struct {
// Object is the base model of DeviceManagementSettingComparison
Object
// ID The setting ID
ID *string `json:"id,omitempty"`
// DisplayName The setting's display name
DisplayName *string `json:"displayName,omitempty"`
// DefinitionID The ID of the setting definition for this instance
DefinitionID *string `json:"definitionId,omitempty"`
// CurrentValueJSON JSON representation of current intent (or) template setting's value
CurrentValueJSON *string `json:"currentValueJson,omitempty"`
// NewValueJSON JSON representation of new template setting's value
NewValueJSON *string `json:"newValueJson,omitempty"`
// ComparisonResult Setting comparison result
ComparisonResult *DeviceManagementComparisonResult `json:"comparisonResult,omitempty"`
}
// DeviceManagementSettingDefinition Entity representing the defintion for a given setting
type DeviceManagementSettingDefinition struct {
// Entity is the base model of DeviceManagementSettingDefinition
Entity
// ValueType The data type of the value
ValueType *DeviceManangementIntentValueType `json:"valueType,omitempty"`
// DisplayName The setting's display name
DisplayName *string `json:"displayName,omitempty"`
// IsTopLevel If the setting is top level, it can be configured without the need to be wrapped in a collection or complex setting
IsTopLevel *bool `json:"isTopLevel,omitempty"`
// Description The setting's description
Description *string `json:"description,omitempty"`
// DocumentationURL Url to setting documentation
DocumentationURL *string `json:"documentationUrl,omitempty"`
// Keywords Keywords associated with the setting
Keywords []string `json:"keywords,omitempty"`
// Constraints Collection of constraints for the setting value
Constraints []DeviceManagementConstraint `json:"constraints,omitempty"`
// Dependencies Collection of dependencies on other settings
Dependencies []DeviceManagementSettingDependency `json:"dependencies,omitempty"`
}
// DeviceManagementSettingDependency undocumented
type DeviceManagementSettingDependency struct {
// Object is the base model of DeviceManagementSettingDependency
Object
// DefinitionID The setting definition ID of the setting depended on
DefinitionID *string `json:"definitionId,omitempty"`
// Constraints Collection of constraints for the dependency setting value
Constraints []DeviceManagementConstraint `json:"constraints,omitempty"`
}
// DeviceManagementSettingInstance Base type for a setting instance
type DeviceManagementSettingInstance struct {
// Entity is the base model of DeviceManagementSettingInstance
Entity
// DefinitionID The ID of the setting definition for this instance
DefinitionID *string `json:"definitionId,omitempty"`
// ValueJSON JSON representation of the value
ValueJSON *string `json:"valueJson,omitempty"`
}
// DeviceManagementSettingIntegerConstraint undocumented
type DeviceManagementSettingIntegerConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementSettingIntegerConstraint
DeviceManagementConstraint
// MinimumValue The minimum permitted value
MinimumValue *int `json:"minimumValue,omitempty"`
// MaximumValue The maximum permitted value
MaximumValue *int `json:"maximumValue,omitempty"`
}
// DeviceManagementSettingRegexConstraint undocumented
type DeviceManagementSettingRegexConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementSettingRegexConstraint
DeviceManagementConstraint
// Regex The RegEx pattern to match against
Regex *string `json:"regex,omitempty"`
}
// DeviceManagementSettingStringLengthConstraint undocumented
type DeviceManagementSettingStringLengthConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementSettingStringLengthConstraint
DeviceManagementConstraint
// MinimumLength The minimum permitted string length
MinimumLength *int `json:"minimumLength,omitempty"`
// MaximumLength The maximum permitted string length
MaximumLength *int `json:"maximumLength,omitempty"`
}
// DeviceManagementSettingXMLConstraint undocumented
type DeviceManagementSettingXMLConstraint struct {
// DeviceManagementConstraint is the base model of DeviceManagementSettingXMLConstraint
DeviceManagementConstraint
}
// DeviceManagementSettings undocumented
type DeviceManagementSettings struct {
// Object is the base model of DeviceManagementSettings
Object
// DeviceComplianceCheckinThresholdDays The number of days a device is allowed to go without checking in to remain compliant.
DeviceComplianceCheckinThresholdDays *int `json:"deviceComplianceCheckinThresholdDays,omitempty"`
// IsScheduledActionEnabled Is feature enabled or not for scheduled action for rule.
IsScheduledActionEnabled *bool `json:"isScheduledActionEnabled,omitempty"`
// SecureByDefault Device should be noncompliant when there is no compliance policy targeted when this is true
SecureByDefault *bool `json:"secureByDefault,omitempty"`
// EnhancedJailBreak Is feature enabled or not for enhanced jailbreak detection.
EnhancedJailBreak *bool `json:"enhancedJailBreak,omitempty"`
// DeviceInactivityBeforeRetirementInDay When the device does not check in for specified number of days, the company data might be removed and the device will not be under management. Valid values 30 to 270
DeviceInactivityBeforeRetirementInDay *int `json:"deviceInactivityBeforeRetirementInDay,omitempty"`
// DerivedCredentialProvider The Derived Credential Provider to use for this account.
DerivedCredentialProvider *DerivedCredentialProviderType `json:"derivedCredentialProvider,omitempty"`
// DerivedCredentialURL The Derived Credential Provider self-service URI.
DerivedCredentialURL *string `json:"derivedCredentialUrl,omitempty"`
// AndroidDeviceAdministratorEnrollmentEnabled The property to determine if Android device administrator enrollment is enabled for this account.
AndroidDeviceAdministratorEnrollmentEnabled *bool `json:"androidDeviceAdministratorEnrollmentEnabled,omitempty"`
}
// DeviceManagementStringSettingInstance A setting instance representing a string value
type DeviceManagementStringSettingInstance struct {
// DeviceManagementSettingInstance is the base model of DeviceManagementStringSettingInstance
DeviceManagementSettingInstance
// Value The string value
Value *string `json:"value,omitempty"`
}
// DeviceManagementTemplate Entity that represents a defined collection of device settings
type DeviceManagementTemplate struct {
// Entity is the base model of DeviceManagementTemplate
Entity
// DisplayName The template's display name
DisplayName *string `json:"displayName,omitempty"`
// Description The template's description
Description *string `json:"description,omitempty"`
// VersionInfo The template's version information
VersionInfo *string `json:"versionInfo,omitempty"`
// IsDeprecated The template is deprecated or not. Intents cannot be created from a deprecated template.
IsDeprecated *bool `json:"isDeprecated,omitempty"`
// IntentCount Number of Intents created from this template.
IntentCount *int `json:"intentCount,omitempty"`
// TemplateType The template's type.
TemplateType *DeviceManagementTemplateType `json:"templateType,omitempty"`
// PlatformType The template's platform.
PlatformType *PolicyPlatformType `json:"platformType,omitempty"`
// PublishedDateTime When the template was published
PublishedDateTime *time.Time `json:"publishedDateTime,omitempty"`
// Settings undocumented
Settings []DeviceManagementSettingInstance `json:"settings,omitempty"`
// Categories undocumented
Categories []DeviceManagementTemplateSettingCategory `json:"categories,omitempty"`
// MigratableTo undocumented
MigratableTo []DeviceManagementTemplate `json:"migratableTo,omitempty"`
}
// DeviceManagementTemplateSettingCategory Entity representing a template setting category
type DeviceManagementTemplateSettingCategory struct {
// DeviceManagementSettingCategory is the base model of DeviceManagementTemplateSettingCategory
DeviceManagementSettingCategory
// RecommendedSettings undocumented
RecommendedSettings []DeviceManagementSettingInstance `json:"recommendedSettings,omitempty"`
}
// DeviceManagementTroubleshootingErrorDetails undocumented
type DeviceManagementTroubleshootingErrorDetails struct {
// Object is the base model of DeviceManagementTroubleshootingErrorDetails
Object
// Context undocumented
Context *string `json:"context,omitempty"`
// Failure undocumented
Failure *string `json:"failure,omitempty"`
// FailureDetails The detailed description of what went wrong.
FailureDetails *string `json:"failureDetails,omitempty"`
// Remediation The detailed description of how to remediate this issue.
Remediation *string `json:"remediation,omitempty"`
// Resources Links to helpful documentation about this failure.
Resources []DeviceManagementTroubleshootingErrorResource `json:"resources,omitempty"`
}
// DeviceManagementTroubleshootingErrorResource undocumented
type DeviceManagementTroubleshootingErrorResource struct {
// Object is the base model of DeviceManagementTroubleshootingErrorResource
Object
// Text undocumented
Text *string `json:"text,omitempty"`
// Link The link to the web resource. Can contain any of the following formatters: {{UPN}}, {{DeviceGUID}}, {{UserGUID}}
Link *string `json:"link,omitempty"`
}
// DeviceManagementTroubleshootingEvent Event representing an general failure.
type DeviceManagementTroubleshootingEvent struct {
// Entity is the base model of DeviceManagementTroubleshootingEvent
Entity
// EventDateTime Time when the event occurred .
EventDateTime *time.Time `json:"eventDateTime,omitempty"`
// CorrelationID Id used for tracing the failure in the service.
CorrelationID *string `json:"correlationId,omitempty"`
// TroubleshootingErrorDetails Object containing detailed information about the error and its remediation.
TroubleshootingErrorDetails *DeviceManagementTroubleshootingErrorDetails `json:"troubleshootingErrorDetails,omitempty"`
// EventName Event Name corresponding to the Troubleshooting Event. It is an Optional field
EventName *string `json:"eventName,omitempty"`
// AdditionalInformation A set of string key and string value pairs which provides additional information on the Troubleshooting event
AdditionalInformation []KeyValuePair `json:"additionalInformation,omitempty"`
}
// DeviceManagementUserRightsLocalUserOrGroup undocumented
type DeviceManagementUserRightsLocalUserOrGroup struct {
// Object is the base model of DeviceManagementUserRightsLocalUserOrGroup
Object
// Name The name of this local user or group.
Name *string `json:"name,omitempty"`
// Description Admin’s description of this local user or group.
Description *string `json:"description,omitempty"`
// SecurityIdentifier The security identifier of this local user or group (e.g. *S-1-5-32-544).
SecurityIdentifier *string `json:"securityIdentifier,omitempty"`
}
// DeviceManagementUserRightsSetting undocumented
type DeviceManagementUserRightsSetting struct {
// Object is the base model of DeviceManagementUserRightsSetting
Object
// State Representing the current state of this user rights setting
State *StateManagementSetting `json:"state,omitempty"`
// LocalUsersOrGroups Representing a collection of local users or groups which will be set on device if the state of this setting is Allowed. This collection can contain a maximum of 500 elements.
LocalUsersOrGroups []DeviceManagementUserRightsLocalUserOrGroup `json:"localUsersOrGroups,omitempty"`
}
// DeviceOperatingSystemSummary undocumented
type DeviceOperatingSystemSummary struct {
// Object is the base model of DeviceOperatingSystemSummary
Object
// AndroidCount Number of android device count.
AndroidCount *int `json:"androidCount,omitempty"`
// IOSCount Number of iOS device count.
IOSCount *int `json:"iosCount,omitempty"`
// MacOSCount Number of Mac OS X device count.
MacOSCount *int `json:"macOSCount,omitempty"`
// WindowsMobileCount Number of Windows mobile device count.
WindowsMobileCount *int `json:"windowsMobileCount,omitempty"`
// WindowsCount Number of Windows device count.
WindowsCount *int `json:"windowsCount,omitempty"`
// UnknownCount Number of unknown device count.
UnknownCount *int `json:"unknownCount,omitempty"`
// AndroidDedicatedCount Number of dedicated Android devices.
AndroidDedicatedCount *int `json:"androidDedicatedCount,omitempty"`
// AndroidDeviceAdminCount Number of device admin Android devices.
AndroidDeviceAdminCount *int `json:"androidDeviceAdminCount,omitempty"`
// AndroidFullyManagedCount Number of fully managed Android devices.
AndroidFullyManagedCount *int `json:"androidFullyManagedCount,omitempty"`
// AndroidWorkProfileCount Number of work profile Android devices.
AndroidWorkProfileCount *int `json:"androidWorkProfileCount,omitempty"`
}
// DeviceProtectionOverview undocumented
type DeviceProtectionOverview struct {
// Object is the base model of DeviceProtectionOverview
Object
// TotalReportedDeviceCount Total device count.
TotalReportedDeviceCount *int `json:"totalReportedDeviceCount,omitempty"`
// InactiveThreatAgentDeviceCount Device with inactive threat agent count
InactiveThreatAgentDeviceCount *int `json:"inactiveThreatAgentDeviceCount,omitempty"`
// UnknownStateThreatAgentDeviceCount Device with threat agent state as unknown count.
UnknownStateThreatAgentDeviceCount *int `json:"unknownStateThreatAgentDeviceCount,omitempty"`
// PendingSignatureUpdateDeviceCount Device with old signature count.
PendingSignatureUpdateDeviceCount *int `json:"pendingSignatureUpdateDeviceCount,omitempty"`
// CleanDeviceCount Clean device count.
CleanDeviceCount *int `json:"cleanDeviceCount,omitempty"`
// PendingFullScanDeviceCount Pending full scan device count.
PendingFullScanDeviceCount *int `json:"pendingFullScanDeviceCount,omitempty"`
// PendingRestartDeviceCount Pending restart device count.
PendingRestartDeviceCount *int `json:"pendingRestartDeviceCount,omitempty"`
// PendingManualStepsDeviceCount Pending manual steps device count.
PendingManualStepsDeviceCount *int `json:"pendingManualStepsDeviceCount,omitempty"`
// PendingOfflineScanDeviceCount Pending offline scan device count.
PendingOfflineScanDeviceCount *int `json:"pendingOfflineScanDeviceCount,omitempty"`
// CriticalFailuresDeviceCount Critical failures device count.
CriticalFailuresDeviceCount *int `json:"criticalFailuresDeviceCount,omitempty"`
}
// DeviceRestrictionAction undocumented
type DeviceRestrictionAction struct {
// DlpActionInfo is the base model of DeviceRestrictionAction
DlpActionInfo
// RestrictionAction undocumented
RestrictionAction *RestrictionAction `json:"restrictionAction,omitempty"`
// Triggers undocumented
Triggers []RestrictionTrigger `json:"triggers,omitempty"`
// Message undocumented
Message *string `json:"message,omitempty"`
}
// DeviceSetupConfiguration This is the base class for Setup Configuration. Setup configurations are platform specific and individual per-platform setup configurations inherit from here.
type DeviceSetupConfiguration struct {
// Entity is the base model of DeviceSetupConfiguration
Entity
// CreatedDateTime DateTime the object was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Description Admin provided description of the Device Configuration.
Description *string `json:"description,omitempty"`
// LastModifiedDateTime DateTime the object was last modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// DisplayName Admin provided name of the device configuration.
DisplayName *string `json:"displayName,omitempty"`
// Version Version of the device configuration.
Version *int `json:"version,omitempty"`
}
|