Hi 김태양,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
We understand from your query that you are experiencing an issue while requesting the data/ you got "DataNotFoundOrStale" Status.
Based on received error "DataNotFoundOrStale" response, that means the data you requested is outdated or unavailable.
Retry after some time to see if the data has been updated.
- The Azure Spot Placement Recommender API results typically represent Availability Zone values 1, 2, and 3, with each value corresponding to a distinct availability zone within the region.
- It provides recommendations on the best regions and VM types for Spot instances based on the availability zones and pricing.
- Spot VM availability can change frequently, it's recommended to periodically use the API to monitor.
- To get recommendations, call Spot Placement Recommender API.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/spotPlacement/recommendations?api-version=2023-01-01 POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/diagnostics/spotPlacementRecommender/generate?api-version=2025-02-01-preview
For more information, please refer to the below documentation:
If the information is helpful, please consider by clicking the "Accept answer and Upvote".
If you have any further queries, please let us know in the comment. We are glad to help you.