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
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
import "time"
// Shared undocumented
type Shared struct {
// Object is the base model of Shared
Object
// Owner undocumented
Owner *IdentitySet `json:"owner,omitempty"`
// Scope undocumented
Scope *string `json:"scope,omitempty"`
// SharedBy undocumented
SharedBy *IdentitySet `json:"sharedBy,omitempty"`
// SharedDateTime undocumented
SharedDateTime *time.Time `json:"sharedDateTime,omitempty"`
}
// SharedAppleDeviceUser undocumented
type SharedAppleDeviceUser struct {
// Object is the base model of SharedAppleDeviceUser
Object
// UserPrincipalName User name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// DataToSync Data to sync
DataToSync *bool `json:"dataToSync,omitempty"`
// DataQuota Data quota
DataQuota *int `json:"dataQuota,omitempty"`
// DataUsed Data quota
DataUsed *int `json:"dataUsed,omitempty"`
}
// SharedDriveItem undocumented
type SharedDriveItem struct {
// BaseItem is the base model of SharedDriveItem
BaseItem
// Owner undocumented
Owner *IdentitySet `json:"owner,omitempty"`
// DriveItem undocumented
DriveItem *DriveItem `json:"driveItem,omitempty"`
// Items undocumented
Items []DriveItem `json:"items,omitempty"`
// List undocumented
List *List `json:"list,omitempty"`
// ListItem undocumented
ListItem *ListItem `json:"listItem,omitempty"`
// Permission undocumented
Permission *Permission `json:"permission,omitempty"`
// Root undocumented
Root *DriveItem `json:"root,omitempty"`
// Site undocumented
Site *Site `json:"site,omitempty"`
}
// SharedInsight undocumented
type SharedInsight struct {
// Entity is the base model of SharedInsight
Entity
// LastShared undocumented
LastShared *SharingDetail `json:"lastShared,omitempty"`
// SharingHistory undocumented
SharingHistory []SharingDetail `json:"sharingHistory,omitempty"`
// ResourceVisualization undocumented
ResourceVisualization *ResourceVisualization `json:"resourceVisualization,omitempty"`
// ResourceReference undocumented
ResourceReference *ResourceReference `json:"resourceReference,omitempty"`
// LastSharedMethod undocumented
LastSharedMethod *Entity `json:"lastSharedMethod,omitempty"`
// Resource undocumented
Resource *Entity `json:"resource,omitempty"`
}
// SharedPCAccountManagerPolicy undocumented
type SharedPCAccountManagerPolicy struct {
// Object is the base model of SharedPCAccountManagerPolicy
Object
// AccountDeletionPolicy Configures when accounts are deleted.
AccountDeletionPolicy *SharedPCAccountDeletionPolicyType `json:"accountDeletionPolicy,omitempty"`
// CacheAccountsAboveDiskFreePercentage Sets the percentage of available disk space a PC should have before it stops deleting cached shared PC accounts. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
CacheAccountsAboveDiskFreePercentage *int `json:"cacheAccountsAboveDiskFreePercentage,omitempty"`
// InactiveThresholdDays Specifies when the accounts will start being deleted when they have not been logged on during the specified period, given as number of days. Only applies when AccountDeletionPolicy is DiskSpaceThreshold or DiskSpaceThresholdOrInactiveThreshold.
InactiveThresholdDays *int `json:"inactiveThresholdDays,omitempty"`
// RemoveAccountsBelowDiskFreePercentage Sets the percentage of disk space remaining on a PC before cached accounts will be deleted to free disk space. Accounts that have been inactive the longest will be deleted first. Only applies when AccountDeletionPolicy is DiskSpaceThresholdOrInactiveThreshold. Valid values 0 to 100
RemoveAccountsBelowDiskFreePercentage *int `json:"removeAccountsBelowDiskFreePercentage,omitempty"`
}
// SharedPCConfiguration This topic provides descriptions of the declared methods, properties and relationships exposed by the sharedPCConfiguration resource.
type SharedPCConfiguration struct {
// DeviceConfiguration is the base model of SharedPCConfiguration
DeviceConfiguration
// AccountManagerPolicy Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false.
AccountManagerPolicy *SharedPCAccountManagerPolicy `json:"accountManagerPolicy,omitempty"`
// AllowedAccounts Indicates which type of accounts are allowed to use on a shared PC.
AllowedAccounts *SharedPCAllowedAccountType `json:"allowedAccounts,omitempty"`
// LocalStorage Specifies whether local storage is allowed on a shared PC.
LocalStorage *Enablement `json:"localStorage,omitempty"`
// AllowLocalStorage Specifies whether local storage is allowed on a shared PC.
AllowLocalStorage *bool `json:"allowLocalStorage,omitempty"`
// SetAccountManager Disables the account manager for shared PC mode.
SetAccountManager *Enablement `json:"setAccountManager,omitempty"`
// DisableAccountManager Disables the account manager for shared PC mode.
DisableAccountManager *bool `json:"disableAccountManager,omitempty"`
// SetEduPolicies Specifies whether the default shared PC education environment policies should be enabled/disabled/not configured. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.
SetEduPolicies *Enablement `json:"setEduPolicies,omitempty"`
// DisableEduPolicies Specifies whether the default shared PC education environment policies should be disabled. For Windows 10 RS2 and later, this policy will be applied without setting Enabled to true.
DisableEduPolicies *bool `json:"disableEduPolicies,omitempty"`
// SetPowerPolicies Specifies whether the default shared PC power policies should be enabled/disabled.
SetPowerPolicies *Enablement `json:"setPowerPolicies,omitempty"`
// DisablePowerPolicies Specifies whether the default shared PC power policies should be disabled.
DisablePowerPolicies *bool `json:"disablePowerPolicies,omitempty"`
// SignInOnResume Specifies the requirement to sign in whenever the device wakes up from sleep mode.
SignInOnResume *Enablement `json:"signInOnResume,omitempty"`
// DisableSignInOnResume Disables the requirement to sign in whenever the device wakes up from sleep mode.
DisableSignInOnResume *bool `json:"disableSignInOnResume,omitempty"`
// Enabled Enables shared PC mode and applies the shared pc policies.
Enabled *bool `json:"enabled,omitempty"`
// IdleTimeBeforeSleepInSeconds Specifies the time in seconds that a device must sit idle before the PC goes to sleep. Setting this value to 0 prevents the sleep timeout from occurring.
IdleTimeBeforeSleepInSeconds *int `json:"idleTimeBeforeSleepInSeconds,omitempty"`
// KioskAppDisplayName Specifies the display text for the account shown on the sign-in screen which launches the app specified by SetKioskAppUserModelId. Only applies when KioskAppUserModelId is set.
KioskAppDisplayName *string `json:"kioskAppDisplayName,omitempty"`
// KioskAppUserModelID Specifies the application user model ID of the app to use with assigned access.
KioskAppUserModelID *string `json:"kioskAppUserModelId,omitempty"`
// MaintenanceStartTime Specifies the daily start time of maintenance hour.
MaintenanceStartTime *TimeOfDay `json:"maintenanceStartTime,omitempty"`
// FastFirstSignIn Specifies whether to auto connect new non-admin Azure AD accounts to pre-configured candidate local accounts
FastFirstSignIn *Enablement `json:"fastFirstSignIn,omitempty"`
}
|