Mohamed CHORFA Greetings & Welcome to Microsoft Q&A forum!
What is the procedure to freeze an Azure OpenAI deployment to a version? The goal is to fix a version and avoid any unintended upgrades.
Did you try choosing the specific model version while deploying a model?
You can un-select the Auto-update to default and choose the specific version you would like.
If you want to manually control model updates so you can first test and validate that model performance is remaining consistent for your use case prior to upgrade, you can select a specific model version for a deployment.
This version will remain selected until you either choose to manually update yourself, or once you reach the retirement date for the model.
When the retirement date is reached the model will automatically upgrade to the default version at the time of retirement.
You can learn more about Azure OpenAI model versions and how they work in the Azure OpenAI model versions article.
Also, please see Working with Azure OpenAI models for more details.
You can also deploy a model, using the CLI cmdlet az cognitiveservices account deployment create by specifying a model version.
Do let me know if that helps or have any further queries.