Azure/azure-rest-api-specs

[BUG] `idleTimeBeforeShutdown` property is missing on the Azure Machine Learning Compute Instance

AlexPykavy opened this issue · 3 comments

API Spec link

https://github.com/Azure/azure-rest-api-specs/blame/15bffa2a75c58157e218a1f909b254c9350094a1/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-10-01/machineLearningServices.json#L3917-L4083

API Spec version

2023-10-01

Describe the bug

The specification for Azure ML ComputeInstance doesn't contain the idleTimeBeforeShutdown property while it's returned by the actual API. As a result https://github.com/hashicorp/go-azure-sdk doesn't contain this property and https://github.com/hashicorp/terraform-provider-azurerm can't be changed to manage it via Terraform.

Expected behavior

The specs for the ComputeInstance contains the idleTimeBeforeShutdown property

Actual behavior

The idleTimeBeforeShutdown property is missing in the specs for the ComputeInstance

Reproduction Steps

Run

az rest --method get --url https://management.azure.com/subscriptions/xxxx/resourceGroups/xxxx-rg/providers/Microsoft.MachineLearningServices/workspaces/xxxx-mlw/computes/xxxx-test-instance?api-version=2023-10-01

and find the idleTimeBeforeShutdown in the output

Environment

No response

@ZhidaLiu Please help have a look, thank you.

Any updates on adding this feature?