Azure / Azure/azure-rest-api-specs
[Batch Pool] REST API returns vmSize property in upper case ?
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
Hi,
I am currently working on the support of Azure Batch on the Azure Terraform provider. I am using the Azure SDK for Go and I've noticed that the `vmSize` for a Batch pool is returned in upper case.
See discussion [here](https://github.com/terraform-providers/terraform-provider-azurerm/pull/2461#issuecomment-449109995) and [here](https://github.com/terraform-providers/terraform-provider-azurerm/pull/2461#issuecomment-449218457).
Looking at the [specs](https://github.com/Azure/azure-rest-api-specs/blob/7119de004768fea8a3a2571e3e729d6e20d7264d/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json#L2541), I don't see any mention of that.
The `vmSize` field is also all caps in the [examples](https://github.com/Azure/azure-rest-api-specs/blob/7119de004768fea8a3a2571e3e729d6e20d7264d/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json#L26).
Any reason for that ?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.