Known issue - Idleshutdown property in Bicep template causes error

APPLIES TO: Azure CLI ml extension v2 (current) Python SDK azure-ai-ml v2 (current)

When creating an Azure Machine Learning compute instance through Bicep compiled using MSBuild/NuGet, using the idleTimeBeforeShutdown property as described in the API reference Microsoft.MachineLearningServices workspaces/computes API reference results in an error.

Status: Open

Problem area: Compute

Symptoms

When creating an Azure Machine Learning compute instance through Bicep compiled using msbuild/nuget, using the idleTimeBeforeShutdown property as described in the API reference Microsoft.MachineLearningServices workspaces/computes API reference results in an error.

Solutions and workarounds

To allow the property to be set, you can suppress warnings with the #disable-next-line directive. Enter #disable-next-line BCP037 in the template above the line with the warning:

Screenshot depicting the use of the #disable-next-line directive.

Next steps