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
|
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import (
"encoding/json"
"time"
)
// ManagedAllDeviceCertificateState undocumented
type ManagedAllDeviceCertificateState struct {
// Entity is the base model of ManagedAllDeviceCertificateState
Entity
// CertificateRevokeStatus Revoke status
CertificateRevokeStatus *CertificateRevocationStatus `json:"certificateRevokeStatus,omitempty"`
// ManagedDeviceDisplayName Device display name
ManagedDeviceDisplayName *string `json:"managedDeviceDisplayName,omitempty"`
// UserPrincipalName User principal name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// CertificateExpirationDateTime Certificate expiry date
CertificateExpirationDateTime *time.Time `json:"certificateExpirationDateTime,omitempty"`
// CertificateIssuerName Issuer
CertificateIssuerName *string `json:"certificateIssuerName,omitempty"`
// CertificateThumbprint Thumbprint
CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
// CertificateSerialNumber Serial number
CertificateSerialNumber *string `json:"certificateSerialNumber,omitempty"`
// CertificateSubjectName Certificate subject name
CertificateSubjectName *string `json:"certificateSubjectName,omitempty"`
// CertificateKeyUsages Key Usage
CertificateKeyUsages *int `json:"certificateKeyUsages,omitempty"`
// CertificateExtendedKeyUsages Enhanced Key Usage
CertificateExtendedKeyUsages *string `json:"certificateExtendedKeyUsages,omitempty"`
// CertificateIssuanceDateTime Issuance date
CertificateIssuanceDateTime *time.Time `json:"certificateIssuanceDateTime,omitempty"`
}
// ManagedAndroidLobApp Contains properties and inherited properties for Managed Android Line Of Business apps.
type ManagedAndroidLobApp struct {
// ManagedMobileLobApp is the base model of ManagedAndroidLobApp
ManagedMobileLobApp
// PackageID The package identifier.
PackageID *string `json:"packageId,omitempty"`
// IdentityName The Identity Name.
IdentityName *string `json:"identityName,omitempty"`
// MinimumSupportedOperatingSystem The value for the minimum applicable operating system.
MinimumSupportedOperatingSystem *AndroidMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
// VersionName The version name of managed Android Line of Business (LoB) app.
VersionName *string `json:"versionName,omitempty"`
// VersionCode The version code of managed Android Line of Business (LoB) app.
VersionCode *string `json:"versionCode,omitempty"`
// IdentityVersion The identity version.
IdentityVersion *string `json:"identityVersion,omitempty"`
}
// ManagedAndroidStoreApp Contains properties and inherited properties for Android store apps that you can manage with an Intune app protection policy.
type ManagedAndroidStoreApp struct {
// ManagedApp is the base model of ManagedAndroidStoreApp
ManagedApp
// PackageID The app's package ID.
PackageID *string `json:"packageId,omitempty"`
// AppStoreURL The Android AppStoreUrl.
AppStoreURL *string `json:"appStoreUrl,omitempty"`
// MinimumSupportedOperatingSystem The value for the minimum supported operating system.
MinimumSupportedOperatingSystem *AndroidMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
}
// ManagedApp Abstract class that contains properties and inherited properties for apps that you can manage with an Intune app protection policy.
type ManagedApp struct {
// MobileApp is the base model of ManagedApp
MobileApp
// AppAvailability The Application's availability.
AppAvailability *ManagedAppAvailability `json:"appAvailability,omitempty"`
// Version The Application's version.
Version *string `json:"version,omitempty"`
}
// ManagedAppConfiguration Configuration used to deliver a set of custom settings as-is to apps for users to whom the configuration is scoped
type ManagedAppConfiguration struct {
// ManagedAppPolicy is the base model of ManagedAppConfiguration
ManagedAppPolicy
// CustomSettings A set of string key and string value pairs to be sent to apps for users to whom the configuration is scoped, unalterned by this service
CustomSettings []KeyValuePair `json:"customSettings,omitempty"`
}
// ManagedAppDiagnosticStatus undocumented
type ManagedAppDiagnosticStatus struct {
// Object is the base model of ManagedAppDiagnosticStatus
Object
// ValidationName The validation friendly name
ValidationName *string `json:"validationName,omitempty"`
// State The state of the operation
State *string `json:"state,omitempty"`
// MitigationInstruction Instruction on how to mitigate a failed validation
MitigationInstruction *string `json:"mitigationInstruction,omitempty"`
}
// ManagedAppOperation Represents an operation applied against an app registration.
type ManagedAppOperation struct {
// Entity is the base model of ManagedAppOperation
Entity
// DisplayName The operation name.
DisplayName *string `json:"displayName,omitempty"`
// LastModifiedDateTime The last time the app operation was modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// State The current state of the operation
State *string `json:"state,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
}
// ManagedAppPolicy The ManagedAppPolicy resource represents a base type for platform specific policies.
type ManagedAppPolicy struct {
// Entity is the base model of ManagedAppPolicy
Entity
// DisplayName Policy display name.
DisplayName *string `json:"displayName,omitempty"`
// Description The policy's description.
Description *string `json:"description,omitempty"`
// CreatedDateTime The date and time the policy was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime Last time the policy was modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// RoleScopeTagIDs List of Scope Tags for this Entity instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
}
// ManagedAppPolicyDeploymentSummary The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
type ManagedAppPolicyDeploymentSummary struct {
// Entity is the base model of ManagedAppPolicyDeploymentSummary
Entity
// DisplayName undocumented
DisplayName *string `json:"displayName,omitempty"`
// ConfigurationDeployedUserCount undocumented
ConfigurationDeployedUserCount *int `json:"configurationDeployedUserCount,omitempty"`
// LastRefreshTime undocumented
LastRefreshTime *time.Time `json:"lastRefreshTime,omitempty"`
// ConfigurationDeploymentSummaryPerApp undocumented
ConfigurationDeploymentSummaryPerApp []ManagedAppPolicyDeploymentSummaryPerApp `json:"configurationDeploymentSummaryPerApp,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
}
// ManagedAppPolicyDeploymentSummaryPerApp undocumented
type ManagedAppPolicyDeploymentSummaryPerApp struct {
// Object is the base model of ManagedAppPolicyDeploymentSummaryPerApp
Object
// MobileAppIdentifier Deployment of an app.
MobileAppIdentifier *MobileAppIdentifier `json:"mobileAppIdentifier,omitempty"`
// ConfigurationAppliedUserCount Number of users the policy is applied.
ConfigurationAppliedUserCount *int `json:"configurationAppliedUserCount,omitempty"`
}
// ManagedAppProtection Policy used to configure detailed management settings for a specified set of apps
type ManagedAppProtection struct {
// ManagedAppPolicy is the base model of ManagedAppProtection
ManagedAppPolicy
// PeriodOfflineBeforeAccessCheck The period after which access is checked when the device is not connected to the internet.
PeriodOfflineBeforeAccessCheck *Duration `json:"periodOfflineBeforeAccessCheck,omitempty"`
// PeriodOnlineBeforeAccessCheck The period after which access is checked when the device is connected to the internet.
PeriodOnlineBeforeAccessCheck *Duration `json:"periodOnlineBeforeAccessCheck,omitempty"`
// AllowedInboundDataTransferSources Sources from which data is allowed to be transferred.
AllowedInboundDataTransferSources *ManagedAppDataTransferLevel `json:"allowedInboundDataTransferSources,omitempty"`
// AllowedOutboundDataTransferDestinations Destinations to which data is allowed to be transferred.
AllowedOutboundDataTransferDestinations *ManagedAppDataTransferLevel `json:"allowedOutboundDataTransferDestinations,omitempty"`
// OrganizationalCredentialsRequired Indicates whether organizational credentials are required for app use.
OrganizationalCredentialsRequired *bool `json:"organizationalCredentialsRequired,omitempty"`
// AllowedOutboundClipboardSharingLevel The level to which the clipboard may be shared between apps on the managed device.
AllowedOutboundClipboardSharingLevel *ManagedAppClipboardSharingLevel `json:"allowedOutboundClipboardSharingLevel,omitempty"`
// DataBackupBlocked Indicates whether the backup of a managed app's data is blocked.
DataBackupBlocked *bool `json:"dataBackupBlocked,omitempty"`
// DeviceComplianceRequired Indicates whether device compliance is required.
DeviceComplianceRequired *bool `json:"deviceComplianceRequired,omitempty"`
// ManagedBrowserToOpenLinksRequired Indicates whether internet links should be opened in the managed browser app.
ManagedBrowserToOpenLinksRequired *bool `json:"managedBrowserToOpenLinksRequired,omitempty"`
// SaveAsBlocked Indicates whether users may use the "Save As" menu item to save a copy of protected files.
SaveAsBlocked *bool `json:"saveAsBlocked,omitempty"`
// PeriodOfflineBeforeWipeIsEnforced The amount of time an app is allowed to remain disconnected from the internet before all managed data it is wiped.
PeriodOfflineBeforeWipeIsEnforced *Duration `json:"periodOfflineBeforeWipeIsEnforced,omitempty"`
// PinRequired Indicates whether an app-level pin is required.
PinRequired *bool `json:"pinRequired,omitempty"`
// MaximumPinRetries Maximum number of incorrect pin retry attempts before the managed app is either blocked or wiped.
MaximumPinRetries *int `json:"maximumPinRetries,omitempty"`
// SimplePinBlocked Indicates whether simplePin is blocked.
SimplePinBlocked *bool `json:"simplePinBlocked,omitempty"`
// MinimumPinLength Minimum pin length required for an app-level pin if PinRequired is set to True
MinimumPinLength *int `json:"minimumPinLength,omitempty"`
// PinCharacterSet Character set which may be used for an app-level pin if PinRequired is set to True.
PinCharacterSet *ManagedAppPinCharacterSet `json:"pinCharacterSet,omitempty"`
// PeriodBeforePinReset TimePeriod before the all-level pin must be reset if PinRequired is set to True.
PeriodBeforePinReset *Duration `json:"periodBeforePinReset,omitempty"`
// AllowedDataStorageLocations Data storage locations where a user may store managed data.
AllowedDataStorageLocations []ManagedAppDataStorageLocation `json:"allowedDataStorageLocations,omitempty"`
// ContactSyncBlocked Indicates whether contacts can be synced to the user's device.
ContactSyncBlocked *bool `json:"contactSyncBlocked,omitempty"`
// PrintBlocked Indicates whether printing is allowed from managed apps.
PrintBlocked *bool `json:"printBlocked,omitempty"`
// FingerprintBlocked Indicates whether use of the fingerprint reader is allowed in place of a pin if PinRequired is set to True.
FingerprintBlocked *bool `json:"fingerprintBlocked,omitempty"`
// DisableAppPinIfDevicePinIsSet Indicates whether use of the app pin is required if the device pin is set.
DisableAppPinIfDevicePinIsSet *bool `json:"disableAppPinIfDevicePinIsSet,omitempty"`
// MinimumRequiredOsVersion Versions less than the specified version will block the managed app from accessing company data.
MinimumRequiredOsVersion *string `json:"minimumRequiredOsVersion,omitempty"`
// MinimumWarningOsVersion Versions less than the specified version will result in warning message on the managed app from accessing company data.
MinimumWarningOsVersion *string `json:"minimumWarningOsVersion,omitempty"`
// MinimumRequiredAppVersion Versions less than the specified version will block the managed app from accessing company data.
MinimumRequiredAppVersion *string `json:"minimumRequiredAppVersion,omitempty"`
// MinimumWarningAppVersion Versions less than the specified version will result in warning message on the managed app.
MinimumWarningAppVersion *string `json:"minimumWarningAppVersion,omitempty"`
// MinimumWipeOsVersion Versions less than or equal to the specified version will wipe the managed app and the associated company data.
MinimumWipeOsVersion *string `json:"minimumWipeOsVersion,omitempty"`
// MinimumWipeAppVersion Versions less than or equal to the specified version will wipe the managed app and the associated company data.
MinimumWipeAppVersion *string `json:"minimumWipeAppVersion,omitempty"`
// AppActionIfDeviceComplianceRequired Defines a managed app behavior, either block or wipe, when the device is either rooted or jailbroken, if DeviceComplianceRequired is set to true.
AppActionIfDeviceComplianceRequired *ManagedAppRemediationAction `json:"appActionIfDeviceComplianceRequired,omitempty"`
// AppActionIfMaximumPinRetriesExceeded Defines a managed app behavior, either block or wipe, based on maximum number of incorrect pin retry attempts.
AppActionIfMaximumPinRetriesExceeded *ManagedAppRemediationAction `json:"appActionIfMaximumPinRetriesExceeded,omitempty"`
// PinRequiredInsteadOfBiometricTimeout Timeout in minutes for an app pin instead of non biometrics passcode
PinRequiredInsteadOfBiometricTimeout *Duration `json:"pinRequiredInsteadOfBiometricTimeout,omitempty"`
// AllowedOutboundClipboardSharingExceptionLength Specify the number of characters that may be cut or copied from Org data and accounts to any application. This setting overrides the AllowedOutboundClipboardSharingLevel restriction. Default value of '0' means no exception is allowed.
AllowedOutboundClipboardSharingExceptionLength *int `json:"allowedOutboundClipboardSharingExceptionLength,omitempty"`
// NotificationRestriction Specify app notification restriction
NotificationRestriction *ManagedAppNotificationRestriction `json:"notificationRestriction,omitempty"`
// PreviousPinBlockCount Requires a pin to be unique from the number specified in this property.
PreviousPinBlockCount *int `json:"previousPinBlockCount,omitempty"`
// ManagedBrowser Indicates in which managed browser(s) that internet links should be opened.
ManagedBrowser *ManagedBrowserType `json:"managedBrowser,omitempty"`
// MaximumAllowedDeviceThreatLevel Maximum allowed device threat level, as reported by the MTD app
MaximumAllowedDeviceThreatLevel *ManagedAppDeviceThreatLevel `json:"maximumAllowedDeviceThreatLevel,omitempty"`
// MobileThreatDefenseRemediationAction Determines what action to take if the mobile threat defense threat threshold isn't met. Warn isn't a supported value for this property
MobileThreatDefenseRemediationAction *ManagedAppRemediationAction `json:"mobileThreatDefenseRemediationAction,omitempty"`
}
// ManagedAppProtectionPolicySetItem A class containing the properties used for managed app protection PolicySetItem.
type ManagedAppProtectionPolicySetItem struct {
// PolicySetItem is the base model of ManagedAppProtectionPolicySetItem
PolicySetItem
// TargetedAppManagementLevels TargetedAppManagementLevels of the ManagedAppPolicySetItem.
TargetedAppManagementLevels *string `json:"targetedAppManagementLevels,omitempty"`
}
// ManagedAppRegistration The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
type ManagedAppRegistration struct {
// Entity is the base model of ManagedAppRegistration
Entity
// CreatedDateTime Date and time of creation
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastSyncDateTime Date and time of last the app synced with management service.
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// ApplicationVersion App version
ApplicationVersion *string `json:"applicationVersion,omitempty"`
// ManagementSdkVersion App management SDK version
ManagementSdkVersion *string `json:"managementSdkVersion,omitempty"`
// PlatformVersion Operating System version
PlatformVersion *string `json:"platformVersion,omitempty"`
// DeviceType Host device type
DeviceType *string `json:"deviceType,omitempty"`
// DeviceTag App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.
DeviceTag *string `json:"deviceTag,omitempty"`
// DeviceName Host device name
DeviceName *string `json:"deviceName,omitempty"`
// ManagedDeviceID The Managed Device identifier of the host device. Value could be empty even when the host device is managed.
ManagedDeviceID *string `json:"managedDeviceId,omitempty"`
// AzureADDeviceID The Azure Active Directory Device identifier of the host device. Value could be empty even when the host device is Azure Active Directory registered.
AzureADDeviceID *string `json:"azureADDeviceId,omitempty"`
// DeviceModel The device model for the current app registration
DeviceModel *string `json:"deviceModel,omitempty"`
// DeviceManufacturer The device manufacturer for the current app registration
DeviceManufacturer *string `json:"deviceManufacturer,omitempty"`
// FlaggedReasons Zero or more reasons an app registration is flagged. E.g. app running on rooted device
FlaggedReasons []ManagedAppFlaggedReason `json:"flaggedReasons,omitempty"`
// UserID The user Id to who this app registration belongs.
UserID *string `json:"userId,omitempty"`
// AppIdentifier The app package Identifier
AppIdentifier *MobileAppIdentifier `json:"appIdentifier,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
// AppliedPolicies undocumented
AppliedPolicies []ManagedAppPolicy `json:"appliedPolicies,omitempty"`
// IntendedPolicies undocumented
IntendedPolicies []ManagedAppPolicy `json:"intendedPolicies,omitempty"`
// Operations undocumented
Operations []ManagedAppOperation `json:"operations,omitempty"`
}
// ManagedAppStatus Represents app protection and configuration status for the organization.
type ManagedAppStatus struct {
// Entity is the base model of ManagedAppStatus
Entity
// DisplayName Friendly name of the status report.
DisplayName *string `json:"displayName,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
}
// ManagedAppStatusRaw Represents an un-typed status report about organizations app protection and configuration.
type ManagedAppStatusRaw struct {
// ManagedAppStatus is the base model of ManagedAppStatusRaw
ManagedAppStatus
// Content Status report content.
Content json.RawMessage `json:"content,omitempty"`
}
// ManagedDevice Devices that are managed or pre-enrolled through Intune
type ManagedDevice struct {
// Entity is the base model of ManagedDevice
Entity
// UserID Unique Identifier for the user associated with the device. This property is read-only.
UserID *string `json:"userId,omitempty"`
// DeviceName Name of the device. This property is read-only.
DeviceName *string `json:"deviceName,omitempty"`
// HardwareInformation The hardward details for the device. Includes information such as storage space, manufacturer, serial number, etc. This property is read-only.
HardwareInformation *HardwareInformation `json:"hardwareInformation,omitempty"`
// OwnerType Ownership of the device. Can be 'company' or 'personal'
OwnerType *OwnerType `json:"ownerType,omitempty"`
// ManagedDeviceOwnerType Ownership of the device. Can be 'company' or 'personal'
ManagedDeviceOwnerType *ManagedDeviceOwnerType `json:"managedDeviceOwnerType,omitempty"`
// DeviceActionResults List of ComplexType deviceActionResult objects. This property is read-only.
DeviceActionResults []DeviceActionResult `json:"deviceActionResults,omitempty"`
// ManagementState Management state of the device. This property is read-only.
ManagementState *ManagementState `json:"managementState,omitempty"`
// EnrolledDateTime Enrollment time of the device. This property is read-only.
EnrolledDateTime *time.Time `json:"enrolledDateTime,omitempty"`
// LastSyncDateTime The date and time that the device last completed a successful sync with Intune. This property is read-only.
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// ChassisType Chassis type of the device. This property is read-only.
ChassisType *ChassisType `json:"chassisType,omitempty"`
// OperatingSystem Operating system of the device. Windows, iOS, etc. This property is read-only.
OperatingSystem *string `json:"operatingSystem,omitempty"`
// DeviceType Platform of the device. This property is read-only.
DeviceType *DeviceType `json:"deviceType,omitempty"`
// ComplianceState Compliance state of the device. This property is read-only.
ComplianceState *ComplianceState `json:"complianceState,omitempty"`
// JailBroken whether the device is jail broken or rooted. This property is read-only.
JailBroken *string `json:"jailBroken,omitempty"`
// ManagementAgent Management channel of the device. Intune, EAS, etc. This property is read-only.
ManagementAgent *ManagementAgentType `json:"managementAgent,omitempty"`
// OsVersion Operating system version of the device. This property is read-only.
OsVersion *string `json:"osVersion,omitempty"`
// EasActivated Whether the device is Exchange ActiveSync activated. This property is read-only.
EasActivated *bool `json:"easActivated,omitempty"`
// EasDeviceID Exchange ActiveSync Id of the device. This property is read-only.
EasDeviceID *string `json:"easDeviceId,omitempty"`
// EasActivationDateTime Exchange ActivationSync activation time of the device. This property is read-only.
EasActivationDateTime *time.Time `json:"easActivationDateTime,omitempty"`
// AadRegistered Whether the device is Azure Active Directory registered. This property is read-only.
AadRegistered *bool `json:"aadRegistered,omitempty"`
// AzureADRegistered Whether the device is Azure Active Directory registered. This property is read-only.
AzureADRegistered *bool `json:"azureADRegistered,omitempty"`
// DeviceEnrollmentType Enrollment type of the device. This property is read-only.
DeviceEnrollmentType *DeviceEnrollmentType `json:"deviceEnrollmentType,omitempty"`
// LostModeState Indicates if Lost mode is enabled or disabled. This property is read-only.
LostModeState *LostModeState `json:"lostModeState,omitempty"`
// ActivationLockBypassCode Code that allows the Activation Lock on a device to be bypassed. This property is read-only.
ActivationLockBypassCode *string `json:"activationLockBypassCode,omitempty"`
// EmailAddress Email(s) for the user associated with the device. This property is read-only.
EmailAddress *string `json:"emailAddress,omitempty"`
// AzureActiveDirectoryDeviceID The unique identifier for the Azure Active Directory device. Read only. This property is read-only.
AzureActiveDirectoryDeviceID *string `json:"azureActiveDirectoryDeviceId,omitempty"`
// AzureADDeviceID The unique identifier for the Azure Active Directory device. Read only. This property is read-only.
AzureADDeviceID *string `json:"azureADDeviceId,omitempty"`
// DeviceRegistrationState Device registration state. This property is read-only.
DeviceRegistrationState *DeviceRegistrationState `json:"deviceRegistrationState,omitempty"`
// DeviceCategoryDisplayName Device category display name. This property is read-only.
DeviceCategoryDisplayName *string `json:"deviceCategoryDisplayName,omitempty"`
// IsSupervised Device supervised status. This property is read-only.
IsSupervised *bool `json:"isSupervised,omitempty"`
// ExchangeLastSuccessfulSyncDateTime Last time the device contacted Exchange. This property is read-only.
ExchangeLastSuccessfulSyncDateTime *time.Time `json:"exchangeLastSuccessfulSyncDateTime,omitempty"`
// ExchangeAccessState The Access State of the device in Exchange. This property is read-only.
ExchangeAccessState *DeviceManagementExchangeAccessState `json:"exchangeAccessState,omitempty"`
// ExchangeAccessStateReason The reason for the device's access state in Exchange. This property is read-only.
ExchangeAccessStateReason *DeviceManagementExchangeAccessStateReason `json:"exchangeAccessStateReason,omitempty"`
// RemoteAssistanceSessionURL Url that allows a Remote Assistance session to be established with the device. This property is read-only.
RemoteAssistanceSessionURL *string `json:"remoteAssistanceSessionUrl,omitempty"`
// RemoteAssistanceSessionErrorDetails An error string that identifies issues when creating Remote Assistance session objects. This property is read-only.
RemoteAssistanceSessionErrorDetails *string `json:"remoteAssistanceSessionErrorDetails,omitempty"`
// IsEncrypted Device encryption status. This property is read-only.
IsEncrypted *bool `json:"isEncrypted,omitempty"`
// UserPrincipalName Device user principal name. This property is read-only.
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// Model Model of the device. This property is read-only.
Model *string `json:"model,omitempty"`
// Manufacturer Manufacturer of the device. This property is read-only.
Manufacturer *string `json:"manufacturer,omitempty"`
// Imei IMEI. This property is read-only.
Imei *string `json:"imei,omitempty"`
// ComplianceGracePeriodExpirationDateTime The DateTime when device compliance grace period expires. This property is read-only.
ComplianceGracePeriodExpirationDateTime *time.Time `json:"complianceGracePeriodExpirationDateTime,omitempty"`
// SerialNumber SerialNumber. This property is read-only.
SerialNumber *string `json:"serialNumber,omitempty"`
// PhoneNumber Phone number of the device. This property is read-only.
PhoneNumber *string `json:"phoneNumber,omitempty"`
// AndroidSecurityPatchLevel Android security patch level. This property is read-only.
AndroidSecurityPatchLevel *string `json:"androidSecurityPatchLevel,omitempty"`
// UserDisplayName User display name. This property is read-only.
UserDisplayName *string `json:"userDisplayName,omitempty"`
// ConfigurationManagerClientEnabledFeatures ConfigrMgr client enabled features. This property is read-only.
ConfigurationManagerClientEnabledFeatures *ConfigurationManagerClientEnabledFeatures `json:"configurationManagerClientEnabledFeatures,omitempty"`
// WiFiMacAddress Wi-Fi MAC. This property is read-only.
WiFiMacAddress *string `json:"wiFiMacAddress,omitempty"`
// DeviceHealthAttestationState The device health attestation state. This property is read-only.
DeviceHealthAttestationState *DeviceHealthAttestationState `json:"deviceHealthAttestationState,omitempty"`
// SubscriberCarrier Subscriber Carrier. This property is read-only.
SubscriberCarrier *string `json:"subscriberCarrier,omitempty"`
// Meid MEID. This property is read-only.
Meid *string `json:"meid,omitempty"`
// TotalStorageSpaceInBytes Total Storage in Bytes. This property is read-only.
TotalStorageSpaceInBytes *int `json:"totalStorageSpaceInBytes,omitempty"`
// FreeStorageSpaceInBytes Free Storage in Bytes. This property is read-only.
FreeStorageSpaceInBytes *int `json:"freeStorageSpaceInBytes,omitempty"`
// ManagedDeviceName Automatically generated name to identify a device. Can be overwritten to a user friendly name.
ManagedDeviceName *string `json:"managedDeviceName,omitempty"`
// PartnerReportedThreatState Indicates the threat state of a device when a Mobile Threat Defense partner is in use by the account and device. Read Only. This property is read-only.
PartnerReportedThreatState *ManagedDevicePartnerReportedHealthState `json:"partnerReportedThreatState,omitempty"`
// RetireAfterDateTime Indicates the time after when a device will be auto retired because of scheduled action. This property is read-only.
RetireAfterDateTime *time.Time `json:"retireAfterDateTime,omitempty"`
// UsersLoggedOn Indicates the last logged on users of a device. This property is read-only.
UsersLoggedOn []LoggedOnUser `json:"usersLoggedOn,omitempty"`
// PreferMDMOverGroupPolicyAppliedDateTime Reports the DateTime the preferMdmOverGroupPolicy setting was set. When set, the Intune MDM settings will override Group Policy settings if there is a conflict. Read Only. This property is read-only.
PreferMDMOverGroupPolicyAppliedDateTime *time.Time `json:"preferMdmOverGroupPolicyAppliedDateTime,omitempty"`
// AutopilotEnrolled Reports if the managed device is enrolled via auto-pilot. This property is read-only.
AutopilotEnrolled *bool `json:"autopilotEnrolled,omitempty"`
// RequireUserEnrollmentApproval Reports if the managed iOS device is user approval enrollment. This property is read-only.
RequireUserEnrollmentApproval *bool `json:"requireUserEnrollmentApproval,omitempty"`
// ManagementCertificateExpirationDate Reports device management certificate expiration date. This property is read-only.
ManagementCertificateExpirationDate *time.Time `json:"managementCertificateExpirationDate,omitempty"`
// Iccid Integrated Circuit Card Identifier, it is A SIM card's unique identification number. This property is read-only.
Iccid *string `json:"iccid,omitempty"`
// Udid Unique Device Identifier for iOS and macOS devices. This property is read-only.
Udid *string `json:"udid,omitempty"`
// RoleScopeTagIDs List of Scope Tag IDs for this Device instance.
RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"`
// WindowsActiveMalwareCount Count of active malware for this windows device. This property is read-only.
WindowsActiveMalwareCount *int `json:"windowsActiveMalwareCount,omitempty"`
// WindowsRemediatedMalwareCount Count of remediated malware for this windows device. This property is read-only.
WindowsRemediatedMalwareCount *int `json:"windowsRemediatedMalwareCount,omitempty"`
// Notes Notes on the device created by IT Admin
Notes *string `json:"notes,omitempty"`
// ConfigurationManagerClientHealthState Configuration manager client health state, valid only for devices managed by MDM/ConfigMgr Agent
ConfigurationManagerClientHealthState *ConfigurationManagerClientHealthState `json:"configurationManagerClientHealthState,omitempty"`
// ConfigurationManagerClientInformation Configuration manager client information, valid only for devices managed, duel-managed or tri-managed by ConfigMgr Agent
ConfigurationManagerClientInformation *ConfigurationManagerClientInformation `json:"configurationManagerClientInformation,omitempty"`
// EthernetMacAddress Ethernet MAC. This property is read-only.
EthernetMacAddress *string `json:"ethernetMacAddress,omitempty"`
// SecurityBaselineStates undocumented
SecurityBaselineStates []SecurityBaselineState `json:"securityBaselineStates,omitempty"`
// DeviceConfigurationStates undocumented
DeviceConfigurationStates []DeviceConfigurationState `json:"deviceConfigurationStates,omitempty"`
// DeviceCompliancePolicyStates undocumented
DeviceCompliancePolicyStates []DeviceCompliancePolicyState `json:"deviceCompliancePolicyStates,omitempty"`
// ManagedDeviceMobileAppConfigurationStates undocumented
ManagedDeviceMobileAppConfigurationStates []ManagedDeviceMobileAppConfigurationState `json:"managedDeviceMobileAppConfigurationStates,omitempty"`
// DetectedApps undocumented
DetectedApps []DetectedApp `json:"detectedApps,omitempty"`
// DeviceCategory undocumented
DeviceCategory *DeviceCategory `json:"deviceCategory,omitempty"`
// WindowsProtectionState undocumented
WindowsProtectionState *WindowsProtectionState `json:"windowsProtectionState,omitempty"`
// Users undocumented
Users []User `json:"users,omitempty"`
}
// ManagedDeviceCertificateState undocumented
type ManagedDeviceCertificateState struct {
// Entity is the base model of ManagedDeviceCertificateState
Entity
// DevicePlatform Device platform
DevicePlatform *DevicePlatformType `json:"devicePlatform,omitempty"`
// CertificateKeyUsage Key usage
CertificateKeyUsage *KeyUsages `json:"certificateKeyUsage,omitempty"`
// CertificateValidityPeriodUnits Validity period units
CertificateValidityPeriodUnits *CertificateValidityPeriodScale `json:"certificateValidityPeriodUnits,omitempty"`
// CertificateIssuanceState Issuance State
CertificateIssuanceState *CertificateIssuanceStates `json:"certificateIssuanceState,omitempty"`
// CertificateKeyStorageProvider Key Storage Provider
CertificateKeyStorageProvider *KeyStorageProviderOption `json:"certificateKeyStorageProvider,omitempty"`
// CertificateSubjectNameFormat Subject name format
CertificateSubjectNameFormat *SubjectNameFormat `json:"certificateSubjectNameFormat,omitempty"`
// CertificateSubjectAlternativeNameFormat Subject alternative name format
CertificateSubjectAlternativeNameFormat *SubjectAlternativeNameType `json:"certificateSubjectAlternativeNameFormat,omitempty"`
// CertificateRevokeStatus Revoke status
CertificateRevokeStatus *CertificateRevocationStatus `json:"certificateRevokeStatus,omitempty"`
// CertificateProfileDisplayName Certificate profile display name
CertificateProfileDisplayName *string `json:"certificateProfileDisplayName,omitempty"`
// DeviceDisplayName Device display name
DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
// UserDisplayName User display name
UserDisplayName *string `json:"userDisplayName,omitempty"`
// CertificateExpirationDateTime Certificate expiry date
CertificateExpirationDateTime *time.Time `json:"certificateExpirationDateTime,omitempty"`
// CertificateLastIssuanceStateChangedDateTime Last certificate issuance state change
CertificateLastIssuanceStateChangedDateTime *time.Time `json:"certificateLastIssuanceStateChangedDateTime,omitempty"`
// LastCertificateStateChangeDateTime Last certificate issuance state change
LastCertificateStateChangeDateTime *time.Time `json:"lastCertificateStateChangeDateTime,omitempty"`
// CertificateIssuer Issuer
CertificateIssuer *string `json:"certificateIssuer,omitempty"`
// CertificateThumbprint Thumbprint
CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
// CertificateSerialNumber Serial number
CertificateSerialNumber *string `json:"certificateSerialNumber,omitempty"`
// CertificateKeyLength Key length
CertificateKeyLength *int `json:"certificateKeyLength,omitempty"`
// CertificateEnhancedKeyUsage Extended key usage
CertificateEnhancedKeyUsage *string `json:"certificateEnhancedKeyUsage,omitempty"`
// CertificateValidityPeriod Validity period
CertificateValidityPeriod *int `json:"certificateValidityPeriod,omitempty"`
// CertificateSubjectNameFormatString Subject name format string for custom subject name formats
CertificateSubjectNameFormatString *string `json:"certificateSubjectNameFormatString,omitempty"`
// CertificateSubjectAlternativeNameFormatString Subject alternative name format string for custom formats
CertificateSubjectAlternativeNameFormatString *string `json:"certificateSubjectAlternativeNameFormatString,omitempty"`
// CertificateIssuanceDateTime Issuance date
CertificateIssuanceDateTime *time.Time `json:"certificateIssuanceDateTime,omitempty"`
// CertificateErrorCode Error code
CertificateErrorCode *int `json:"certificateErrorCode,omitempty"`
}
// ManagedDeviceCleanupSettings undocumented
type ManagedDeviceCleanupSettings struct {
// Object is the base model of ManagedDeviceCleanupSettings
Object
// DeviceInactivityBeforeRetirementInDays Number of days when the device has not contacted Intune.
DeviceInactivityBeforeRetirementInDays *string `json:"deviceInactivityBeforeRetirementInDays,omitempty"`
}
// ManagedDeviceEncryptionState Encryption report per device
type ManagedDeviceEncryptionState struct {
// Entity is the base model of ManagedDeviceEncryptionState
Entity
// UserPrincipalName User name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// DeviceType Platform of the device.
DeviceType *DeviceTypes `json:"deviceType,omitempty"`
// OsVersion Operating system version of the device
OsVersion *string `json:"osVersion,omitempty"`
// TpmSpecificationVersion Device TPM Version
TpmSpecificationVersion *string `json:"tpmSpecificationVersion,omitempty"`
// DeviceName Device name
DeviceName *string `json:"deviceName,omitempty"`
// EncryptionReadinessState Encryption readiness state
EncryptionReadinessState *EncryptionReadinessState `json:"encryptionReadinessState,omitempty"`
// EncryptionState Device encryption state
EncryptionState *EncryptionState `json:"encryptionState,omitempty"`
// EncryptionPolicySettingState Encryption policy setting state
EncryptionPolicySettingState *ComplianceStatus `json:"encryptionPolicySettingState,omitempty"`
// AdvancedBitLockerStates Advanced BitLocker State
AdvancedBitLockerStates *AdvancedBitLockerState `json:"advancedBitLockerStates,omitempty"`
// FileVaultStates FileVault State
FileVaultStates *FileVaultState `json:"fileVaultStates,omitempty"`
// PolicyDetails Policy Details
PolicyDetails []EncryptionReportPolicyDetails `json:"policyDetails,omitempty"`
}
// ManagedDeviceMobileAppConfiguration An abstract class for Mobile app configuration for enrolled devices.
type ManagedDeviceMobileAppConfiguration struct {
// Entity is the base model of ManagedDeviceMobileAppConfiguration
Entity
// TargetedMobileApps the associated app.
TargetedMobileApps []string `json:"targetedMobileApps,omitempty"`
// RoleScopeTagIDs List of Scope Tags for this App configuration entity.
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"`
// Assignments undocumented
Assignments []ManagedDeviceMobileAppConfigurationAssignment `json:"assignments,omitempty"`
// DeviceStatuses undocumented
DeviceStatuses []ManagedDeviceMobileAppConfigurationDeviceStatus `json:"deviceStatuses,omitempty"`
// UserStatuses undocumented
UserStatuses []ManagedDeviceMobileAppConfigurationUserStatus `json:"userStatuses,omitempty"`
// DeviceStatusSummary undocumented
DeviceStatusSummary *ManagedDeviceMobileAppConfigurationDeviceSummary `json:"deviceStatusSummary,omitempty"`
// UserStatusSummary undocumented
UserStatusSummary *ManagedDeviceMobileAppConfigurationUserSummary `json:"userStatusSummary,omitempty"`
}
// ManagedDeviceMobileAppConfigurationAssignment Contains the properties used to assign an MDM app configuration to a group.
type ManagedDeviceMobileAppConfigurationAssignment struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationAssignment
Entity
// Target Assignment target that the T&C policy is assigned to.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
}
// ManagedDeviceMobileAppConfigurationDeviceStatus Contains properties, inherited properties and actions for an MDM mobile app configuration status for a device.
type ManagedDeviceMobileAppConfigurationDeviceStatus struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationDeviceStatus
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"`
}
// ManagedDeviceMobileAppConfigurationDeviceSummary Contains properties, inherited properties and actions for an MDM mobile app configuration device status summary.
type ManagedDeviceMobileAppConfigurationDeviceSummary struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationDeviceSummary
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"`
}
// ManagedDeviceMobileAppConfigurationPolicySetItem A class containing the properties used for managed device mobile app configuration PolicySetItem.
type ManagedDeviceMobileAppConfigurationPolicySetItem struct {
// PolicySetItem is the base model of ManagedDeviceMobileAppConfigurationPolicySetItem
PolicySetItem
}
// ManagedDeviceMobileAppConfigurationState Managed Device Mobile App Configuration State for a given device.
type ManagedDeviceMobileAppConfigurationState struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationState
Entity
// 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"`
}
// ManagedDeviceMobileAppConfigurationUserStatus Contains properties, inherited properties and actions for an MDM mobile app configuration status for a user.
type ManagedDeviceMobileAppConfigurationUserStatus struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationUserStatus
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"`
}
// ManagedDeviceMobileAppConfigurationUserSummary Contains properties, inherited properties and actions for an MDM mobile app configuration user status summary.
type ManagedDeviceMobileAppConfigurationUserSummary struct {
// Entity is the base model of ManagedDeviceMobileAppConfigurationUserSummary
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"`
}
// ManagedDeviceModelsAndManufacturers undocumented
type ManagedDeviceModelsAndManufacturers struct {
// Object is the base model of ManagedDeviceModelsAndManufacturers
Object
// DeviceModels List of Models for managed devices in the account
DeviceModels []string `json:"deviceModels,omitempty"`
// DeviceManufacturers List of Manufactures for managed devices in the account
DeviceManufacturers []string `json:"deviceManufacturers,omitempty"`
}
// ManagedDeviceOverview Summary data for managed devices
type ManagedDeviceOverview struct {
// Entity is the base model of ManagedDeviceOverview
Entity
// EnrolledDeviceCount Total enrolled device count. Does not include PC devices managed via Intune PC Agent
EnrolledDeviceCount *int `json:"enrolledDeviceCount,omitempty"`
// MDMEnrolledCount The number of devices enrolled in MDM
MDMEnrolledCount *int `json:"mdmEnrolledCount,omitempty"`
// DualEnrolledDeviceCount The number of devices enrolled in both MDM and EAS
DualEnrolledDeviceCount *int `json:"dualEnrolledDeviceCount,omitempty"`
// DeviceOperatingSystemSummary Device operating system summary.
DeviceOperatingSystemSummary *DeviceOperatingSystemSummary `json:"deviceOperatingSystemSummary,omitempty"`
// DeviceExchangeAccessStateSummary Distribution of Exchange Access State in Intune
DeviceExchangeAccessStateSummary *DeviceExchangeAccessStateSummary `json:"deviceExchangeAccessStateSummary,omitempty"`
// ManagedDeviceModelsAndManufacturers Models and Manufactures meatadata for managed devices in the account
ManagedDeviceModelsAndManufacturers *ManagedDeviceModelsAndManufacturers `json:"managedDeviceModelsAndManufacturers,omitempty"`
// LastModifiedDateTime Last modified date time of device overview
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
}
// ManagedDeviceReportedApp undocumented
type ManagedDeviceReportedApp struct {
// Object is the base model of ManagedDeviceReportedApp
Object
// AppID The application or bundle identifier of the application
AppID *string `json:"appId,omitempty"`
}
// ManagedEBook An abstract class containing the base properties for Managed eBook.
type ManagedEBook struct {
// Entity is the base model of ManagedEBook
Entity
// DisplayName Name of the eBook.
DisplayName *string `json:"displayName,omitempty"`
// Description Description.
Description *string `json:"description,omitempty"`
// Publisher Publisher.
Publisher *string `json:"publisher,omitempty"`
// PublishedDateTime The date and time when the eBook was published.
PublishedDateTime *time.Time `json:"publishedDateTime,omitempty"`
// LargeCover Book cover.
LargeCover *MimeContent `json:"largeCover,omitempty"`
// CreatedDateTime The date and time when the eBook file was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastModifiedDateTime The date and time when the eBook was last modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// InformationURL The more information Url.
InformationURL *string `json:"informationUrl,omitempty"`
// PrivacyInformationURL The privacy statement Url.
PrivacyInformationURL *string `json:"privacyInformationUrl,omitempty"`
// Categories undocumented
Categories []ManagedEBookCategory `json:"categories,omitempty"`
// Assignments undocumented
Assignments []ManagedEBookAssignment `json:"assignments,omitempty"`
// InstallSummary undocumented
InstallSummary *EBookInstallSummary `json:"installSummary,omitempty"`
// DeviceStates undocumented
DeviceStates []DeviceInstallState `json:"deviceStates,omitempty"`
// UserStateSummary undocumented
UserStateSummary []UserInstallStateSummary `json:"userStateSummary,omitempty"`
}
// ManagedEBookAssignment Contains properties used to assign a eBook to a group.
type ManagedEBookAssignment struct {
// Entity is the base model of ManagedEBookAssignment
Entity
// Target The assignment target for eBook.
Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
// InstallIntent The install intent for eBook.
InstallIntent *InstallIntent `json:"installIntent,omitempty"`
}
// ManagedEBookCategory Contains properties for a single Intune eBook category.
type ManagedEBookCategory struct {
// Entity is the base model of ManagedEBookCategory
Entity
// DisplayName The name of the eBook category.
DisplayName *string `json:"displayName,omitempty"`
// LastModifiedDateTime The date and time the ManagedEBookCategory was last modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
}
// ManagedIOSLobApp Contains properties and inherited properties for Managed iOS Line Of Business apps.
type ManagedIOSLobApp struct {
// ManagedMobileLobApp is the base model of ManagedIOSLobApp
ManagedMobileLobApp
// BundleID The Identity Name.
BundleID *string `json:"bundleId,omitempty"`
// ApplicableDeviceType The iOS architecture for which this app can run on.
ApplicableDeviceType *IOSDeviceType `json:"applicableDeviceType,omitempty"`
// MinimumSupportedOperatingSystem The value for the minimum applicable operating system.
MinimumSupportedOperatingSystem *IOSMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
// ExpirationDateTime The expiration time.
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
// VersionNumber The version number of managed iOS Line of Business (LoB) app.
VersionNumber *string `json:"versionNumber,omitempty"`
// BuildNumber The build number of managed iOS Line of Business (LoB) app.
BuildNumber *string `json:"buildNumber,omitempty"`
// IdentityVersion The identity version.
IdentityVersion *string `json:"identityVersion,omitempty"`
}
// ManagedIOSStoreApp Contains properties and inherited properties for an iOS store app that you can manage with an Intune app protection policy.
type ManagedIOSStoreApp struct {
// ManagedApp is the base model of ManagedIOSStoreApp
ManagedApp
// BundleID The app's Bundle ID.
BundleID *string `json:"bundleId,omitempty"`
// AppStoreURL The Apple AppStoreUrl.
AppStoreURL *string `json:"appStoreUrl,omitempty"`
// ApplicableDeviceType The iOS architecture for which this app can run on.
ApplicableDeviceType *IOSDeviceType `json:"applicableDeviceType,omitempty"`
// MinimumSupportedOperatingSystem The value for the minimum supported operating system.
MinimumSupportedOperatingSystem *IOSMinimumOperatingSystem `json:"minimumSupportedOperatingSystem,omitempty"`
}
// ManagedMobileApp The identifier for the deployment an app.
type ManagedMobileApp struct {
// Entity is the base model of ManagedMobileApp
Entity
// MobileAppIdentifier The identifier for an app with it's operating system type.
MobileAppIdentifier *MobileAppIdentifier `json:"mobileAppIdentifier,omitempty"`
// Version Version of the entity.
Version *string `json:"version,omitempty"`
}
// ManagedMobileLobApp An abstract base class containing properties for all managed mobile line of business apps.
type ManagedMobileLobApp struct {
// ManagedApp is the base model of ManagedMobileLobApp
ManagedApp
// CommittedContentVersion The internal committed content version.
CommittedContentVersion *string `json:"committedContentVersion,omitempty"`
// FileName The name of the main Lob application file.
FileName *string `json:"fileName,omitempty"`
// Size The total size, including all uploaded files.
Size *int `json:"size,omitempty"`
// ContentVersions undocumented
ContentVersions []MobileAppContent `json:"contentVersions,omitempty"`
}
|