Azure / Azure/azure-cli

az ml workspace outbound-rule set does not exist

Open
#27,576 3 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Auto-Assign bug customer-reported Machine Learning Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

There is no command `az ml workspace outbound-rule set` even if the [documentation](https://learn.microsoft.com/en-us/cli/azure/ml/workspace/outbound-rule?view=azure-cli-latest#az-ml-workspace-outbound-rule-set(ml)) suggest so.

### Related command

az ml workspace outbound-rule set

### Errors

'set' is misspelled or not recognized by the system.

### Issue script & Debug output

cli.knack.cli: Command arguments: ['ml', 'workspace', 'outbound-rule', 'set', '-g', 'rg-dev', '-w', 'mlw-dev', '--type', 'private_endpoint', '--rule', 'cli-create-openai', '--service-resource-id', '/subscriptions/***', '--subresource-target', 'account', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [, , ]
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_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: ai-examples 0.137 1 1 /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
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 1.329 21 145 /usr/lib/python3.9/site-packages/azure-cli-extensions/ml
cli.azure.cli.core: Total (2) 1.467 22 146
cli.azure.cli.core: Loaded 22 groups, 146 commands.
cli.azure.cli.core: Could not find a match in the command or command group table for 'ml workspace outbound-rule set'. The index may be outdated.
cli.azure.cli.core: Loading all modules and extensions
cli.azure.cli.core: Discovered command modules: ['acr', 'acs', 'advisor', 'ams', 'apim', 'appconfig', 'appservice', 'aro', 'backup', 'batch', 'batchai', 'billing', 'botservice', 'cdn', 'cloud', 'cognitiveservices', 'config', 'configure', 'consumption', 'container', 'containerapp', 'cosmosdb', 'databoxedge', 'dla', 'dls', 'dms', 'eventgrid', 'eventhubs', 'extension', 'feedback', 'find', 'hdinsight', 'identity', 'interactive', 'iot', 'keyvault', 'kusto', 'lab', 'managedservices', 'maps', 'marketplaceordering', 'monitor', 'mysql', 'netappfiles', 'network', 'policyinsights', 'privatedns', 'profile', 'rdbms', 'redis', 'relay', 'resource', 'role', 'search', 'security', 'servicebus', 'serviceconnector', 'servicefabric', 'signalr', 'sql', 'sqlvm', 'storage', 'synapse', 'util', 'vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: acr 0.017 34 144
cli.azure.cli.core: acs 0.005 7 54
cli.azure.cli.core: advisor 0.001 3 6
cli.azure.cli.core: ams 0.005 22 100
cli.azure.cli.core: apim 0.004 14 68
cli.azure.cli.core: appconfig 0.003 9 47
cli.azure.cli.core: appservice 0.017 73 260
cli.azure.cli.core: aro 0.006 1 10
cli.azure.cli.core: backup 0.004 16 59
cli.azure.cli.core: batch 0.021 34 102
cli.azure.cli.core: batchai 0.002 10 30
cli.azure.cli.core: billing 0.005 19 52
cli.azure.cli.core: botservice 0.003 12 42
cli.azure.cli.core: cdn 0.006 39 133
cli.azure.cli.core: cloud 0.001 1 7
cli.azure.cli.core: cognitiveservices 0.002 10 33
cli.azure.cli.core: config 0.001 2 7
cli.azure.cli.core: configure 0.001 2 5
cli.azure.cli.core: consumption 0.013 8 9
cli.azure.cli.core: container 0.006 1 11
cli.azure.cli.core: containerapp 0.150 36 115
cli.azure.cli.core: cosmosdb 0.012 58 192
cli.azure.cli.core: databoxedge 0.003 5 27
cli.azure.cli.core: dla 0.004 23 62
cli.azure.cli.core: dls 0.002 7 41
cli.azure.cli.core: dms 0.002 3 22
cli.azure.cli.core: eventgrid 0.005 25 96
cli.azure.cli.core: eventhubs 0.008 13 20
cli.azure.cli.core: extension 0.001 1 7
cli.azure.cli.core: feedback 0.001 1 2
cli.azure.cli.core: find 0.001 1 1
cli.azure.cli.core: hdinsight 0.004 8 39
cli.azure.cli.core: identity 0.002 2 11
cli.azure.cli.core: interactive 0.000 1 1
cli.azure.cli.core: iot 0.047 19 82
cli.azure.cli.core: keyvault 0.008 22 133
cli.azure.cli.core: kusto 0.002 3 14
cli.azure.cli.core: lab 0.003 11 34
cli.azure.cli.core: managedservices 0.001 3 8
cli.azure.cli.core: maps 0.001 5 13
cli.azure.cli.core: marketplaceordering 0.002 1 2
cli.azure.cli.core: monitor 0.266 21 66
cli.azure.cli.core: mysql 0.175 14 49
cli.azure.cli.core: netappfiles 0.005 17 96
cli.azure.cli.core: network 0.093 103 336
cli.azure.cli.core: policyinsights 0.008 9 17
cli.azure.cli.core: privatedns 0.014 14 60
cli.azure.cli.core: profile 0.001 2 8
cli.azure.cli.core: rdbms 0.015 44 185
cli.azure.cli.core: redis 0.003 5 27
cli.azure.cli.core: relay 0.017 7 8
cli.azure.cli.core: resource 0.012 51 227
cli.azure.cli.core: role 0.003 17 61
cli.azure.cli.core: search 0.002 7 22
cli.azure.cli.core: security 0.005 48 104
cli.azure.cli.core: servicebus 0.011 12 17
cli.azure.cli.core: serviceconnector 0.043 12 182
cli.azure.cli.core: servicefabric 0.010 27 76
cli.azure.cli.core: signalr 0.002 8 30
cli.azure.cli.core: sql 0.012 56 215
cli.azure.cli.core: sqlvm 0.014 4 20
cli.azure.cli.core: storage 0.042 58 272
cli.azure.cli.core: synapse 0.011 54 246
cli.azure.cli.core: util 0.001 3 7
cli.azure.cli.core: vm 0.042 57 230
cli.azure.cli.core: Total (65) 1.190 1215 4662
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: ai-examples 0.001 1 1 /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: ml 0.008 21 145 /usr/lib/python3.9/site-packages/azure-cli-extensions/ml
cli.azure.cli.core: ssh 0.008 1 4 /usr/lib/python3.9/site-packages/azure-cli-extensions/ssh
cli.azure.cli.core: Total (3) 0.017 23 150
cli.azure.cli.core: Loaded 1226 groups, 4812 commands.
cli.azure.cli.core: Updated command index in 0.005 seconds.
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate []
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/***/.azure/commands/2023-10-11.11-28-30.ml_workspace_outbound-rule.348.log'.
az_command_data_logger: command args: ml workspace outbound-rule {} -g {} -w {} --type {} --rule {} --service-resource-id {} --subresource-target {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [.add_subscription_parameter at 0x7fd2f9b2b0d0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [.add_ids_arguments at 0x7fd2f9b56160>, .add_cache_arguments at 0x7fd2f9b64f70>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.azure.cli.core.command_recommender: "-g" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "-w" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--type" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--rule" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--service-resource-id" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--subresource-target" is an invalid parameter for command "ml workspace outbound-rule set".
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+workspace+outbound-rule+set%22%2C+%22parameters%22%3A+%22%22%7D&clientType=AzureCli&context=%7B%22versionNumber%22%3A+%222.53.0%22%2C+%22errorType%22%3A+%22UnknownSubcommand%22%2C+%22correlationId%22%3A+%2298107d8d-e4d9-46e9-9ccd-a6473881bdf5%22%2C+%22subscriptionId%22%3A+%22de805c75-e113-4693-8ad6-f38d24e1dbaf%22%2C+%22eventId%22%3A+%224c92294c-6722-40b7-a44a-db581b46e177%22%7D HTTP/1.1" 200 None
cli.azure.cli.core.command_recommender: "-g" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "-w" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--type" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--rule" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--service-resource-id" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.command_recommender: "--subresource-target" is an invalid parameter for command "ml workspace outbound-rule set".
cli.azure.cli.core.azclierror: NoneType: None

cli.azure.cli.core.azclierror: 'set' is misspelled or not recognized by the system.
az_command_data_logger: 'set' is misspelled or not recognized by the system.

### Expected behavior

Documentation matching the functionality. Would be also nice to have this command as the Portal UI for Azure ML is constantly bugged.

### Environment Summary

az --version
azure-cli 2.53.0

core 2.53.0
telemetry 1.1.0

Extensions:
ai-examples 0.2.5
ml 2.20.0
ssh 2.0.2

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location '/usr/bin/python3.9'
Extensions directory '/home/burri/.azure/cliextensions'
Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'

Python (Linux) 3.9.14 (main, Sep 24 2023, 01:49:33)
[GCC 11.2.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.