---
title: vCenter VM Details
slug: homologacao-atmosphere/vcenter-vm-details
description: Learn how to obtain detailed information about a virtual machine using the "Virtual Machine Details" feature. This document outlines the necessary parameters, including vCenter password, server IP, username, and virtual machine ID. It also provides a YAML
docTags: 
createdAt: 2021-03-25T20:27:47.000Z
---

## Resumo

- Obtenha detalhes de uma máquina virtual.

## Parâmetros

| **Parâmetro**         | **Tipo** | **Escolhas \| Valor Padrão**                          | **Comentários**             |
| --------------------- | -------- | ----------------------------------------------------- | --------------------------- |
| password - r*equired* | string   |                                                       | Senha do vCenter.           |
| scheme                | string   | Escolhas:<br />- "http"<br />- "https"<br />(default) | Protocolo da requisição.    |
| server - r*equired*   | string   |                                                       | IP do vCenter.              |
| username - r*equired* | string   |                                                       | Nome de usuário do vCenter. |
| vm\_id - r*equired*   | string   |                                                       | ID de uma máquina virtual.  |

## Exemplos

```yaml
# Exemplos: Virtual Machine Details
- vcenter_vm_details:
    server: "https://localhost"
    username: username
    password: pssw
    vm_id: xxx-xxx
```

## Valores retornados

| **Chave**          | **Tipo** | **Retornado quando** | **Descrição**               |
| ------------------ | -------- | -------------------- | --------------------------- |
| virtual\_machines  | string   | Sucesso              | Detalhes da máquina virtual |

