---
title: "Implements the operation to stop a virtual machine."
method: POST
path: "/{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/stop"
tags: ["VirtualMachineInstances"]
---

# Implements the operation to stop a virtual machine.

`POST /{resourceUri}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineInstances/default/stop`

The operation to power off (stop) a virtual machine instance.

## Path parameters

- `resourceUri` string, required

## Query parameters

- `api-version` string, required

## Request body

- StopVirtualMachineOptions — Defines the stop action properties.
  - `skipShutdown` boolean — Gets or sets a value indicating whether to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Defaults to false.

## Response `202`

Accepted

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere.md) · [All operations](https://skmtc.net/azure/apis/connectedvmware-microsoft-connectedvmwarevsphere/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/connectedvmware-microsoft-connectedvmwarevsphere/versions/81d67c5b52dd/schema)
