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
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "time"
// ImportedAppleDeviceIdentity The importedAppleDeviceIdentity resource represents the imported device identity of an Apple device .
type ImportedAppleDeviceIdentity struct {
// Entity is the base model of ImportedAppleDeviceIdentity
Entity
// SerialNumber Device serial number
SerialNumber *string `json:"serialNumber,omitempty"`
// RequestedEnrollmentProfileID Enrollment profile Id admin intends to apply to the device during next enrollment
RequestedEnrollmentProfileID *string `json:"requestedEnrollmentProfileId,omitempty"`
// RequestedEnrollmentProfileAssignmentDateTime The time enrollment profile was assigned to the device
RequestedEnrollmentProfileAssignmentDateTime *time.Time `json:"requestedEnrollmentProfileAssignmentDateTime,omitempty"`
// IsSupervised Indicates if the Apple device is supervised. More information is at: https://support.apple.com/en-us/HT202837
IsSupervised *bool `json:"isSupervised,omitempty"`
// DiscoverySource Apple device discovery source.
DiscoverySource *DiscoverySource `json:"discoverySource,omitempty"`
// IsDeleted Indicates if the device is deleted from Apple Business Manager
IsDeleted *bool `json:"isDeleted,omitempty"`
// CreatedDateTime Created Date Time of the device
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastContactedDateTime Last Contacted Date Time of the device
LastContactedDateTime *time.Time `json:"lastContactedDateTime,omitempty"`
// Description The description of the device
Description *string `json:"description,omitempty"`
// EnrollmentState The state of the device in Intune
EnrollmentState *EnrollmentState `json:"enrollmentState,omitempty"`
// Platform The platform of the Device.
Platform *Platform `json:"platform,omitempty"`
}
// ImportedAppleDeviceIdentityResult The importedAppleDeviceIdentityResult resource represents the result of attempting to import Apple devices identities.
type ImportedAppleDeviceIdentityResult struct {
// ImportedAppleDeviceIdentity is the base model of ImportedAppleDeviceIdentityResult
ImportedAppleDeviceIdentity
// Status Status of imported device identity
Status *bool `json:"status,omitempty"`
}
// ImportedDeviceIdentity The importedDeviceIdentity resource represents a unique hardware identity of a device that has been pre-staged for pre-enrollment configuration.
type ImportedDeviceIdentity struct {
// Entity is the base model of ImportedDeviceIdentity
Entity
// ImportedDeviceIdentifier Imported Device Identifier
ImportedDeviceIdentifier *string `json:"importedDeviceIdentifier,omitempty"`
// ImportedDeviceIdentityType Type of Imported Device Identity
ImportedDeviceIdentityType *ImportedDeviceIdentityType `json:"importedDeviceIdentityType,omitempty"`
// LastModifiedDateTime Last Modified DateTime of the description
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// CreatedDateTime Created Date Time of the device
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// LastContactedDateTime Last Contacted Date Time of the device
LastContactedDateTime *time.Time `json:"lastContactedDateTime,omitempty"`
// Description The description of the device
Description *string `json:"description,omitempty"`
// EnrollmentState The state of the device in Intune
EnrollmentState *EnrollmentState `json:"enrollmentState,omitempty"`
// Platform The platform of the Device.
Platform *Platform `json:"platform,omitempty"`
}
// ImportedDeviceIdentityResult The importedDeviceIdentityResult resource represents the result of attempting to import a device identity.
type ImportedDeviceIdentityResult struct {
// ImportedDeviceIdentity is the base model of ImportedDeviceIdentityResult
ImportedDeviceIdentity
// Status Status of imported device identity
Status *bool `json:"status,omitempty"`
}
// ImportedWindowsAutopilotDeviceIdentity Imported windows autopilot devices.
type ImportedWindowsAutopilotDeviceIdentity struct {
// Entity is the base model of ImportedWindowsAutopilotDeviceIdentity
Entity
// OrderIdentifier Order Id of the Windows autopilot device. - Deprecate
OrderIdentifier *string `json:"orderIdentifier,omitempty"`
// GroupTag Group Tag of the Windows autopilot device.
GroupTag *string `json:"groupTag,omitempty"`
// SerialNumber Serial number of the Windows autopilot device.
SerialNumber *string `json:"serialNumber,omitempty"`
// ProductKey Product Key of the Windows autopilot device.
ProductKey *string `json:"productKey,omitempty"`
// ImportID The Import Id of the Windows autopilot device.
ImportID *string `json:"importId,omitempty"`
// HardwareIdentifier Hardware Blob of the Windows autopilot device.
HardwareIdentifier *Binary `json:"hardwareIdentifier,omitempty"`
// State Current state of the imported device.
State *ImportedWindowsAutopilotDeviceIdentityState `json:"state,omitempty"`
// AssignedUserPrincipalName UPN of the user the device will be assigned
AssignedUserPrincipalName *string `json:"assignedUserPrincipalName,omitempty"`
}
// ImportedWindowsAutopilotDeviceIdentityState undocumented
type ImportedWindowsAutopilotDeviceIdentityState struct {
// Object is the base model of ImportedWindowsAutopilotDeviceIdentityState
Object
// DeviceImportStatus Device status reported by Device Directory Service(DDS).
DeviceImportStatus *ImportedWindowsAutopilotDeviceIdentityImportStatus `json:"deviceImportStatus,omitempty"`
// DeviceRegistrationID Device Registration ID for successfully added device reported by Device Directory Service(DDS).
DeviceRegistrationID *string `json:"deviceRegistrationId,omitempty"`
// DeviceErrorCode Device error code reported by Device Directory Service(DDS).
DeviceErrorCode *int `json:"deviceErrorCode,omitempty"`
// DeviceErrorName Device error name reported by Device Directory Service(DDS).
DeviceErrorName *string `json:"deviceErrorName,omitempty"`
}
// ImportedWindowsAutopilotDeviceIdentityUpload Import windows autopilot devices using upload.
type ImportedWindowsAutopilotDeviceIdentityUpload struct {
// Entity is the base model of ImportedWindowsAutopilotDeviceIdentityUpload
Entity
// CreatedDateTimeUtc DateTime when the entity is created.
CreatedDateTimeUtc *time.Time `json:"createdDateTimeUtc,omitempty"`
// Status Upload status.
Status *ImportedWindowsAutopilotDeviceIdentityUploadStatus `json:"status,omitempty"`
// DeviceIdentities undocumented
DeviceIdentities []ImportedWindowsAutopilotDeviceIdentity `json:"deviceIdentities,omitempty"`
}
|