# AutoUpgradeSettings.md

## NAMESPACE

RASAdminEngine.Core.OutputModels.HostPool

## DESCRIPTION

Auto-upgrade Settings

## INHERITED FROM

[RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md)

⇒

AutoUpgradeSettings

## INTERFACES

* ISerializable
* IComparable

## PUBLIC PROPERTIES

| Type                                                                                                                          | Name                    | Description                                               |
| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------- | --------------------------------------------------------- |
| Double                                                                                                                        | DrainModeDurationInSecs | Drain mode duration                                       |
| Boolean                                                                                                                       | Enabled                 | Enable auto-upgrade maintenance window                    |
| Boolean                                                                                                                       | ForceLogoffSessions     | Force logoff sessions at the end of the drain mode period |
| List<[ScheduleMessage](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/schedulemessage.md)> | Messages                | Messages                                                  |
| [RepeatType](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/repeattype.md)                 | Repeat                  | Recur                                                     |
| [RepeatSpecificDays](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/repeatspecificdays.md) | SpecificDays            | Specific Days                                             |
| DateTime                                                                                                                      | StartDateTime           | Start Date                                                |

## PUBLIC METHODS

| Type                                                                                                                                                                         | Name                    | Description                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Int32                                                                                                                                                                        | CompareTo (Object obj)  | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Boolean                                                                                                                                                                      | Equals (Object obj)     | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Int32                                                                                                                                                                        | GetHashCode ()          | Inherited from [RASSerilazableObj](/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/rasserilazableobj.md) |
| Type                                                                                                                                                                         | GetType ()              | String                                                                                                                                     |
| ToString ()                                                                                                                                                                  | ### References to Types |                                                                                                                                            |
| ----------------------------------------------------------------                                                                                                             |                         |                                                                                                                                            |
| [RDSDefaultSettings](https://github.com/Parallels-Corp/RAS-20-docs/blob/origin/admin-guide-20.3-release/20_RAS-20_API_Guides/PS-API/MD/RASAdmin/types/RDSDefaultSettings.md) |                         |                                                                                                                                            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/v20/parallels-ras-powershell-admin-module/types/autoupgradesettings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
