Azure Virtual Machines · Schema
SpotPlacementScoresResponse
SpotPlacementScores API response.
Cloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines
Properties
| Name | Type | Description |
|---|---|---|
| desiredLocations | array | The desired regions |
| desiredSizes | array | The desired virtual machine SKU sizes. |
| desiredCount | integer | Desired instance count per region/zone based on the scope. |
| availabilityZones | boolean | Defines if the scope is zonal or regional. |
| placementScores | array | A placement score indicating the likelihood of successfully allocating the specified Spot VM(s), as well as the expected lifetimes of the Spot VM(s) after allocation. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-virtual-machines/json-schema/microsoft-azure-virtual-machines-spot-placement-scores-response-schema.json",
"title": "SpotPlacementScoresResponse",
"description": "SpotPlacementScores API response.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-virtual-machines-spotplacementscores-api-openapi.yml#/components/schemas/SpotPlacementScoresResponse",
"type": "object",
"properties": {
"desiredLocations": {
"type": "array",
"description": "The desired regions",
"items": {
"type": "string"
}
},
"desiredSizes": {
"type": "array",
"description": "The desired virtual machine SKU sizes.",
"items": {
"$ref": "#/$defs/ResourceSize"
}
},
"desiredCount": {
"type": "integer",
"format": "int32",
"description": "Desired instance count per region/zone based on the scope."
},
"availabilityZones": {
"type": "boolean",
"description": "Defines if the scope is zonal or regional."
},
"placementScores": {
"type": "array",
"description": "A placement score indicating the likelihood of successfully allocating the specified Spot VM(s), as well as the expected lifetimes of the Spot VM(s) after allocation.",
"items": {
"$ref": "#/$defs/PlacementScore"
}
}
},
"$defs": {
"PlacementScore": {
"type": "object",
"description": "The placement score for a virtual machine SKU, region, and availability zone combination.",
"properties": {
"sku": {
"type": "string",
"description": "The resource's CRP virtual machine SKU size."
},
"region": {
"type": "string",
"description": "The region."
},
"availabilityZone": {
"type": "string",
"description": "The availability zone."
},
"score": {
"type": "string",
"description": "A placement score indicating the likelihood of successfully allocating the specified virtual machines."
},
"isQuotaAvailable": {
"type": "boolean",
"description": "Whether the desired quota is available."
}
}
},
"ResourceSize": {
"type": "object",
"description": "SpotPlacementRecommender API response.",
"properties": {
"sku": {
"type": "string",
"description": "The resource's CRP virtual machine SKU size."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-virtual-machines-spot-placement-scores-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.