Skip to content

Provide command to ask something to Copilot or the integrated AI #31462

@msfcolombo

Description

@msfcolombo

I would like something like this:

C:\> az ask "How to register subscription 12345 in Microsoft.Foo resource provider?"
Submitted question to Copilot, waiting for answer...
[Copilot] To register subscription 12345 to Microsoft.Foo resource provider, you can execute the following commands:
[Copilot]
[Copilot]        az account set --subscription 12345
[Copilot]        az provider register --namespace Microsoft.Foo
[Copilot]
[Copilot] Do you want me to run these commands now? [Y/N]

I know you are providing AI Shell, but I would like to have something more out-of-the-box from the Azure CLI, i.e. I would like to avoid installing yet-another-package besides Azure CLI.

Metadata

Metadata

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions