Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Describes the cloud profile auto cleanup configuration for user settings persistence.
Used by the autoCleanupDetail property of a cloudPCUserSettingsPersistenceDetail.
Methods
None.
Properties
| Property | Type | Description |
|---|---|---|
| autoCleanupMode | cloudPcAutoCleanupMode | Specifies the cleanup mode for detached cloud profiles. This property is a flags enum that supports bitwise combination. Possible values are: none (no automatic cleanup), scheduled (cleanup inactive profiles on a regular schedule), onQuotaExceeded (cleanup only when storage quota is exceeded), unknownFutureValue. The default value is none. |
| inactiveProfileRetentionDays | Int32 | Specifies the number of inactivity days before a detached cloud profile becomes eligible for cleanup. Only applies when autoCleanupMode includes scheduled or onQuotaExceeded. Valid values range from 5 to 365 days. Default value is null. For example, when set to 45, detached profiles inactive for more than 45 days are eligible for cleanup based on the configured mode. |
cloudPcAutoCleanupMode values
The following table lists the members of an evolvable enumeration. This flagged enumeration allows multiple members to be selected simultaneously.
| Member | Description |
|---|---|
| none | No automatic cleanup is performed. Detached profiles are preserved indefinitely. |
| scheduled | Cleanup inactive detached profiles on a regular schedule based on inactiveProfileRetentionDays. |
| onQuotaExceeded | Cleanup inactive detached profiles only when the total storage quota is exceeded. |
| unknownFutureValue | Evolvable enumeration sentinel value. Don't use. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.cloudPCUserSettingsPersistenceAutoCleanupDetail",
"autoCleanupMode": "String",
"inactiveProfileRetentionDays": "Int32"
}