Azure / Azure/azure-rest-api-specs

[Batch Pool] REST API returns vmSize property in upper case ?

Open
#4,956 6 comments 0 reactions 1 assignee Claimed by @dpwatrous View on GitHub
Batch Service Attention
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

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.