﻿---
title: cloud hosted deployments get-deployment-appsearch-resource-info cli command
description: Get Deployment App Search Resource Info Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4097/reference/elastic-cli/cli/cloud/hosted/deployments/get-deployment-appsearch-resource-info
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# cloud hosted deployments get-deployment-appsearch-resource-info cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud hosted deployments get-deployment-appsearch-resource-info \
  --deployment-id <deployment-id> \
  --ref-id <ref-id> \
  [options]
```

Get Deployment App Search Resource Info
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--deployment-id string required">
    Identifier for the Deployment
  </definition>
  <definition term="--ref-id string required">
    User-specified RefId for the Resource (or '_main' if there is only one).
  </definition>
  <definition term="--show-metadata">
    Whether to include the full cluster metadata in the response - can be large per cluster and also include credentials.
  </definition>
  <definition term="--show-plans">
    Whether to include the full current and pending plan information in the response - can be large per cluster.
  </definition>
  <definition term="--show-plan-logs">
    Whether to include with the current and pending plan information the attempt log - can be very large per cluster.
  </definition>
  <definition term="--show-plan-history">
    Whether to include with the current and pending plan information the plan history- can be very large per cluster.
  </definition>
  <definition term="--show-plan-defaults">
    If showing plans, whether to show values that are left at their default value (less readable but more informative).
  </definition>
  <definition term="--show-settings">
    Whether to show cluster settings in the response.
  </definition>
  <definition term="--clear-transient">
    If set (defaults to false) then removes the transient section from all child resources, making it safe to reapply via an update
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

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