---
title: "Update the service state of Service Fabric Upgrade Orchestration Service."
method: POST
path: "/$/SetUpgradeOrchestrationServiceState"
tags: ["Cluster"]
---

# Update the service state of Service Fabric Upgrade Orchestration Service.

`POST /$/SetUpgradeOrchestrationServiceState`

Update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.

## Query parameters

- `api-version` '6.0', required
- `timeout` integer

## Request body

- UpgradeOrchestrationServiceState — Service state of Service Fabric Upgrade Orchestration Service.
  - `ServiceState` string — The state of Service Fabric Upgrade Orchestration Service.

## Response `200`

A successful response means that the service state of Service Fabric Upgrade Orchestration Service has been updated.

- UpgradeOrchestrationServiceStateSummary — Service state summary of Service Fabric Upgrade Orchestration Service.
  - `CurrentCodeVersion` string — The current code version of the cluster.
  - `CurrentManifestVersion` string — The current manifest version of the cluster.
  - `TargetCodeVersion` string — The target code version of the cluster.
  - `TargetManifestVersion` string — The target manifest version of the cluster.
  - `PendingUpgradeType` string — The type of the pending upgrade of the cluster.

## Other responses

- `default` — The detailed error response.

---

[API](https://skmtc.net/azure/apis/servicefabric-servicefabric.md) · [All operations](https://skmtc.net/azure/apis/servicefabric-servicefabric/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/servicefabric-servicefabric/revisions/8fd479ce0f16/schema)
