CmdID / az / az aimanager / az aimanager modelsource
az aimanager modelsource update
Update a model source within an AI Manager. Azure CLI extensions reference
The source type is immutable after creation and is always preserved. Omitted properties keep their current values.
2 examples 3 options Its page in the Azure CLI extensions reference
Examples
Rotate the access token of a model source
az aimanager modelsource update -g myrg --aimanager my-ai-manager -n hf --token hf_yyyIdentify-gName of resource group.--aimanagerThe name of the AI Manager resource.-nThe name of the model source.--tokenAccess token used by the platform to authenticate to the source.Update the description of a model source
az aimanager modelsource update -g myrg --aimanager my-ai-manager -n hf --description "Internal mirror"Identify-gName of resource group.--aimanagerThe name of the AI Manager resource.-nThe name of the model source.--descriptionAn optional, free-form description of the model source.Options
--custom-headersComma-separated key=value pairs to specify custom headers, this is mainly for internal testing.--descriptionAn optional, free-form description of the model source.--tokenAccess token used by the platform to authenticate to the source.