Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
86 stars 27 forks source link

Microsoft.MachineLearningServices/workspaces/connections: authType should accept ApiKey, CustomKeys as possible value #2013

Open pamelafox opened 10 months ago

pamelafox commented 10 months ago

Resource Type

Microsoft.MachineLearningServices/workspaces/connections

Api Version

2023-10-01

Issue Type

Property(s) missing validation for enum values

Other Notes

Error says: The property "authType" expected a value of type "'ManagedIdentity' | 'None' | 'PAT' | 'SAS' | 'UsernamePassword'" but the provided value is of type "'ApiKey'". If this is an inaccuracy in the documentation, please report it to the Bicep Team.

However, "ApiKey" is valid and the provisioning succeeds.

See example Bicep here: https://github.com/Azure-Samples/contoso-chat/pull/33/files#diff-7ef659fc9cf6968e718894d300490b14ea7a52091e7d4bcffae3a5029ac721d4

Same issue for CustomKeys value as well.

Bicep Repro

No response

Confirm

microsoft-github-policy-service[bot] commented 9 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github. Please see https://aka.ms/biceptypesinfo for troubleshooting help.