Describe the bug
- Documentation here suggests the existence of a flag/option
--registry-name for az ml model update
- Running
az ml model update with --registry-name instead of --workspace-name (as suggested by docs linked above) throws an error
unrecognized arguments: --registry-name <XXXXXXXX>
<XXXXXXXX> was blanked out by me for pasting this error here only
Related command
az ml model update
Errors
unrecognized arguments: --registry-name nml-registry-test
Issue script & Debug output
cli.knack.cli: Command arguments: ['ml', 'model', 'update', '--name', XXXX', '--version', 'XXXX', '--resource-group', 'XXXX', '--registry-name', 'XXXX', '--set', 'description=XXXX', '--set', 'tags.BUILD_ID=XXXX', '--set', 'tags.CONFIG_INSTANCE_NAME=XXXX', '--set', 'tags.CONFIG_INSTANCE_MODEL_NAME=XXXX', '--set', 'tags.CONFIG_INSTANCE_MODEL_VERSION=XXXX', '--set', 'tags.ENV_LOG_LEVEL=XXXX', '--set', 'tags.ENV_NAME=XXXX', '--set', 'tags.FULL_SEMVER=XXXX', '--set', 'tags.REPO_NAME=XXXX', '--set', 'tags.SEMVER=XXXX', '--set', 'tags.SITE_NAME=XXXX', '--set', 'tags.SITE_TZ=XXXX', '--set', 'tags.ZONE_NAME=XXXX', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x0164C658>, <function OutputProducer.on_global_arguments at 0x01817DF0>, <function CLIQuery.on_global_arguments at 0x0183BA48>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'ml': ['azext_mlv2']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: Total (0) 0.000 0 0
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
azext_mlv2.manual.vendored_curated_sdk.azure.ai.ml._azure_environments: Using the default cloud configuration: 'AzureCloud'.
cli.azure.cli.core: ml 3.903 20 138 C:\Users\XXXX\.azure\cliextensions\ml
cli.azure.cli.core: Total (1) 3.903 20 138
cli.azure.cli.core: Loaded 20 groups, 138 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : ml model update
cli.azure.cli.core: Command table: ml model update
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03B1B580>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\XXXX\.azure\commands\2023-06-01.21-45-40.ml_model_update.19744.log'.
az_command_data_logger: command args: ml model update --name {} --version {} --resource-group {} --registry-name {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --set {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03B43658>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03B53580>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03B53778>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.azure.cli.core.command_recommender: "--registry-name" is an invalid parameter for command "ml model update".
urllib3.connectionpool: Starting new HTTPS connection (1): app.aladdin.microsoft.com:443
urllib3.connectionpool: https://app.aladdin.microsoft.com:443 "GET /api/v1.0/suggestions?query=%7B%22command%22%3A+%22ml+model+update%22%2C+%22parameters%22%3A+%22%22%7D&clientType=AzureCli&context=%7B%22versionNumber%22%3A+%222.49.0%22%2C+%22errorType%22%3A+%22UnrecognizedArguments%22%2C+%22correlationId%22%3A+%22e10fe0bb-4cad-42b8-abfc-791ee86621a8%22%2C+%22subscriptionIdXXXX+%22eventIdXXXX HTTP/1.1" 200 None
cli.azure.cli.core.command_recommender: "--registry-name" is an invalid parameter for command "ml model update".
cli.azure.cli.core.azclierror: NoneType: None
Expected behavior
- I can use
--registry-name instead of --workspace-name
Environment Summary
$ az --version
azure-cli 2.49.0
core 2.49.0
telemetry 1.0.8
Extensions:
azure-devops 0.26.0
k8s-extension 1.4.1
ml 2.17.2
Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\xxxxxxx\.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
Describe the bug
--registry-nameforaz ml model updateaz ml model updatewith--registry-nameinstead of--workspace-name(as suggested by docs linked above) throws an error<XXXXXXXX>was blanked out by me for pasting this error here onlyRelated command
az ml model updateErrors
Issue script & Debug output
Expected behavior
--registry-nameinstead of--workspace-nameEnvironment Summary
Additional context
No response