# Class PatchState (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2

    PatchState(value)

Patch state of an instance.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `PATCH_STATE_UNSPECIFIED` | Unspecified. |
| `PENDING` | The instance is not yet notified. |
| `INACTIVE` | Instance is inactive and cannot be patched. |
| `NOTIFIED` | The instance is notified that it should be patched. |
| `STARTED` | The instance has started the patching process. |
| `DOWNLOADING_PATCHES` | The instance is downloading patches. |
| `APPLYING_PATCHES` | The instance is applying patches. |
| `REBOOTING` | The instance is rebooting. |
| `SUCCEEDED` | The instance has completed applying patches. |
| `SUCCEEDED_REBOOT_REQUIRED` | The instance has completed applying patches but a reboot is required. |
| `FAILED` | The instance has failed to apply the patch. |
| `ACKED` | The instance acked the notification and will start shortly. |
| `TIMED_OUT` | The instance exceeded the time out while applying the patch. |
| `RUNNING_PRE_PATCH_STEP` | The instance is running the pre-patch step. |
| `RUNNING_POST_PATCH_STEP` | The instance is running the post-patch step. |
| `NO_AGENT_DETECTED` | The service could not detect the presence of the agent. Check to ensure that the agent is installed, running, and able to communicate with the service. |