﻿---
title: cloud hosted deployments stop-deployment-resource-maintenance-mode cli command
description: Stop maintenance mode 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/457/cli/cloud/hosted/deployments/stop-deployment-resource-maintenance-mode
---

# cloud hosted deployments stop-deployment-resource-maintenance-mode cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud hosted deployments stop-deployment-resource-maintenance-mode \
  --deployment-id <deployment-id> \
  --resource-kind <resource-kind> \
  --ref-id <ref-id> \
  --instance-ids <instance-ids> \
  [options]
```

Stop maintenance mode

## Options

<definitions>
  <definition term="--deployment-id string required">
    Identifier for the Deployment.
  </definition>
  <definition term="--resource-kind string required">
    The kind of resource (one of elasticsearch, kibana, apm, or integrations_server).
  </definition>
  <definition term="--ref-id string required">
    User-specified RefId for the Resource (or '_main' if there is only one).
  </definition>
  <definition term="--instance-ids string required">
    A comma-separated list of instance identifiers.
  </definition>
  <definition term="--[no-]ignore-missing">
    If true and the instance does not exist then quietly proceed to the next instance, otherwise treated as an error.
  </definition>
</definitions>


## cloud Options

<definitions>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--[no-]json">
    output as JSON
  </definition>
</definitions>