Azure / Azure/azure-rest-api-specs
Azure API reference for Reserved Instances is missing 'write' operations
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
This is issue transferred from https://github.com/MicrosoftDocs/feedback/issues/576.
**Link to article:**
https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/
**Link to swagger:**
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json
**Problem:**
Look at the various sub-pages for resources/operations relating to Reserved Instances.
All I can see are 'Read' operations. Where is the API reference for the 'Write' operations? How do I use the REST API to create a Reserved Instance?
According to the sample output at https://docs.microsoft.com/en-us/rest/api/reserved-vm-instances/operation/list there should be write operations on 'reservations' and 'reservationOrders'.
Contributor guide
Research direction
Start with specification/reservations/resource-manager/Microsoft.Capacity/stable/2017-11-01/reservations.json and compare its operations with the Reserved Instances article and the operation/list sample. Determine whether write operations for reservations and reservationOrders are present in the specification but absent from the generated reference. Done means the API reference documents the requested write operations and explains how to create a Reserved Instance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100