Azure / Azure/azure-rest-api-specs

[AzureLabs] [APIIssue] Resource creation using POST

Open
#4,637 1 comment 0 reactions 1 assignee Claimed by @praries880 View on GitHub
Lab Services Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

Create resources using POST API - The resource provider uses the POST method for creating certain types of resources. POSTs are not idempotent and cant be invoked from the template. So, in the case where a school/organization wants to set up the entire lab (achieve the e2e scenario) by using an ARM template, it will not be possible. And moreover, in Azure, creating resources is done using PUTs. And so this makes this service inconsistent with other services in Azure.
- Adding Users under a lab are modeled as a POST action. It should ideally be modeled as a child resource and modeled as a PUT.
- Creating a lab under a "labAccount" is modeled as an action instead of a PUT.
Service team has ACKd to address this in the new API-version.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.