---
title: "Create VM Signal"
method: POST
path: "/azure/compute/vm/signal"
tags: ["Elastigroup Azure Spot VMs"]
---

# Create VM Signal

`POST /azure/compute/vm/signal`

The VM signal API is used for notifying Spot about the VM state so that Spot can act accordingly. Supported signals are vmReady – Whenever this signal is sent, Spot will register the instance to the relevant Load Balancer and Application Gateway. vmReadyToShutdown – When this signal is received after a vm is detached; we will immediately terminate the vm. You must define the expected signals for your Elastigroup in the group configuration.

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object
  - `vmName` string, required — The virtual machine ID the signal refers to.
  - `signalType` 'vmReady' | 'vmReadyToShutdown', required — The specific signal you want to trigger.
  - `resourceGroupName` string, required — This is the resource group of the Elastigroup or Stateful Node.

## Response `200`

Elastigroup Response

- object
  - `request` object — Original request properties.
    - `id` string — Unique identifier associated with this request.
    - `url` string — The URL that was used for the request.
    - `method` string — The HTTP **METHOD** used for the request.
    - `timestamp` string — When the request was received by Spot.
  - `response` object — Response package that includes status, type, and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response.
      - `message` string — HTTP status message for the respective status code.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
