Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Este artigo explica a sintaxe e os parâmetros dos vários comandos do Azure Developer CLI.
azd
A CLI do Desenvolvedor do Azure (azd) é uma ferramenta de software livre que ajuda a integrar e gerenciar seu projeto no Azure
Opções
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--docs Opens the documentation for azd in your web browser.
-h, --help Gets help for azd.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd add: adicione um componente ao seu projeto.
- azd auth: autentique-se com o Azure.
- conclusão do azd: gerar scripts de conclusão do shell.
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- azd deploy: implantar o código do projeto no Azure.
- azd down: exclua os recursos do Azure do projeto.
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- extensão azd: gerenciar extensões do azd.
- azd hooks: Desenvolver, testar e executar ganchos para um projeto.
- azd infra: gerencie sua IaC (Infraestrutura como Código).
- azd init: inicialize um novo aplicativo.
- azd mcp: gerenciar o servidor MCP (Model Context Protocol). (Alfa)
- azd monitor: monitore um projeto implantado.
- pacote azd: empacota o código do projeto a ser implantado no Azure.
- azd pipeline: gerencie e configure seus pipelines de implantação.
- provisionamento azd: provisionar recursos do Azure para seu projeto.
- azd publish: Publicar um serviço em um registro de contêiner.
- azd restore: restaura as dependências do projeto.
- azd show: exibir informações sobre seu projeto e seus recursos.
- azd template: encontre e exiba detalhes do modelo.
- azd up: provisionar e implantar seu projeto no Azure com um único comando.
- azd version: imprima o número da versão do Azure Developer CLI.
azd adicionar
Adicione um componente ao seu projeto.
azd add [flags]
Opções
--docs Opens the documentation for azd add in your web browser.
-h, --help Gets help for add.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
Comando "azd auth" para autenticação
Autenticar com o Azure.
Opções
--docs Opens the documentation for azd auth in your web browser.
-h, --help Gets help for auth.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd auth login: faça logon no Azure.
- azd auth logout: faça logoff do Azure.
- Voltar ao início
login de autenticação do azd
Fazer logon no Azure.
Sinopse
Fazer logon no Azure.
Quando executado sem nenhum argumento, faça logon interativamente usando um navegador. Para fazer logon usando um código de dispositivo, passe --use-device-code.
Para fazer logon como um principal de serviço, passe --client-id e --tenant-id, bem como uma das opções: --client-secret, --client-certificate ou --federated-credential-provider.
Para fazer logon usando uma identidade gerenciada, passe --managed-identity, que usará a identidade gerenciada atribuída pelo sistema. Para usar uma identidade gerenciada atribuída pelo usuário, passe --client-id além de --managed-identity com o ID do cliente da identidade gerenciada atribuída pelo usuário que deseja usar.
azd auth login [flags]
Opções
--check-status Checks the log-in status instead of logging in.
--client-certificate string The path to the client certificate for the service principal to authenticate with.
--client-id string The client id for the service principal to authenticate with.
--client-secret string The client secret for the service principal to authenticate with. Set to the empty string to read the value from the console.
--docs Opens the documentation for azd auth login in your web browser.
--federated-credential-provider string The provider to use to acquire a federated token to authenticate with. Supported values: github, azure-pipelines, oidc
-h, --help Gets help for login.
--managed-identity Use a managed identity to authenticate.
--redirect-port int Choose the port to be used as part of the redirect URI during interactive login.
--tenant-id string The tenant id or domain name to authenticate with.
--use-device-code[=true] When true, log in by using a device code instead of a browser.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd auth: autentique-se com o Azure.
- Voltar ao início
azd auth logout (comando para sair da autenticação)
Faça logoff do Azure.
Sinopse
Faça logoff do Azure
azd auth logout [flags]
Opções
--docs Opens the documentation for azd auth logout in your web browser.
-h, --help Gets help for logout.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd auth: autentique-se com o Azure.
- Voltar ao início
conclusão do azd
Gerar scripts de conclusão do shell.
Sinopse
Gerar scripts de conclusão do shell para azd.
O comando de conclusão permite que você gere scripts de preenchimento automático para seu shell, atualmente dá suporte a bash, zsh, fish e PowerShell.
Consulte a ajuda de cada subcomando para obter detalhes sobre como usar o script gerado.
Opções
--docs Opens the documentation for azd completion in your web browser.
-h, --help Gets help for completion.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd completion bash: gerar script de conclusão do bash.
- azd completion fish: Gerar script de conclusão de peixe.
- azd completion powershell: gerar script de conclusão do PowerShell.
- azd completion zsh: gerar script de autocompletamento para zsh.
- Voltar ao início
azd completion bash (ativar a conclusão automática para comandos bash)
Gerar script de conclusão do bash.
azd completion bash
Opções
--docs Opens the documentation for azd completion bash in your web browser.
-h, --help Gets help for bash.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- conclusão do azd: gerar scripts de conclusão do shell.
- Voltar ao início
peixe de conclusão do azd
Gerar script de conclusão do peixe.
azd completion fish
Opções
--docs Opens the documentation for azd completion fish in your web browser.
-h, --help Gets help for fish.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- conclusão do azd: gerar scripts de conclusão do shell.
- Voltar ao início
Completação azd para o PowerShell
Gerar script de conclusão do PowerShell.
azd completion powershell
Opções
--docs Opens the documentation for azd completion powershell in your web browser.
-h, --help Gets help for powershell.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- conclusão do azd: gerar scripts de conclusão do shell.
- Voltar ao início
Comando para conclusão de azd no zsh
Gerar script de conclusão zsh.
azd completion zsh
Opções
--docs Opens the documentation for azd completion zsh in your web browser.
-h, --help Gets help for zsh.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- conclusão do azd: gerar scripts de conclusão do shell.
- Voltar ao início
configuração azd
Gerenciar configurações do azd ( ex: assinatura padrão do Azure, local).
Sinopse
Gerencie a configuração do usuário do Azure Developer CLI, que inclui sua assinatura e local padrão do Azure.
Disponível desde azure-dev-cli_0.4.0-beta.1.
A maneira mais fácil de configurar azd pela primeira vez é executar azd init. A assinatura e o local que você selecionar serão armazenados no arquivo config.json localizado no diretório de configuração. Para configurar azd a qualquer momento depois, você usará azd config set.
O valor padrão do diretório de configuração é:
- $HOME/.azd no Linux e macOS
- %USERPROFILE%.azd no Windows
O diretório de configuração pode ser substituído especificando um caminho na variável de ambiente AZD_CONFIG_DIR.
Opções
--docs Opens the documentation for azd config in your web browser.
-h, --help Gets help for config.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config get: obtém uma configuração.
- azd config list-alpha: exibe a lista de recursos disponíveis no estágio alfa.
- azd config reset: redefine a configuração para o padrão.
- azd config set: define uma configuração.
- azd config show: mostra todos os valores de configuração.
- azd config unset: remove uma configuração.
- Voltar ao início
azd config get
Obtém uma configuração.
Sinopse
Obtém uma configuração no caminho de configuração.
O valor padrão do diretório de configuração é:
-
$HOME/.azdno Linux e macOS -
%USERPROFILE%\.azdno Windows
O diretório de configuração pode ser substituído especificando um caminho na variável de ambiente AZD_CONFIG_DIR.
azd config get <path> [flags]
Opções
--docs Opens the documentation for azd config get in your web browser.
-h, --help Gets help for get.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd config list-alpha
Exibe a lista de recursos disponíveis no estágio alfa.
azd config list-alpha [flags]
Opções
--docs Opens the documentation for azd config list-alpha in your web browser.
-h, --help Gets help for list-alpha.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd config reset (comando para redefinir a configuração)
Redefine a configuração para o padrão.
Sinopse
Redefine toda a configuração no caminho de configuração.
O valor padrão do diretório de configuração é:
-
$HOME/.azdno Linux e macOS -
%USERPROFILE%\.azdno Windows
O diretório de configuração pode ser substituído pela especificação de um caminho na variável de ambiente AZD_CONFIG_DIR para o padrão.
azd config reset [flags]
Opções
--docs Opens the documentation for azd config reset in your web browser.
-f, --force Force reset without confirmation.
-h, --help Gets help for reset.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd config set
Define uma configuração.
Sinopse
Define uma configuração no caminho de configuração.
O valor padrão do diretório de configuração é:
-
$HOME/.azdno Linux e macOS -
%USERPROFILE%\.azdno Windows
O diretório de configuração pode ser substituído especificando um caminho na variável de ambiente AZD_CONFIG_DIR.
azd config set <path> <value> [flags]
Exemplos
azd config set defaults.subscription <yourSubscriptionID>
azd config set defaults.location eastus
Opções
--docs Opens the documentation for azd config set in your web browser.
-h, --help Gets help for set.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd config show
Mostra todos os valores de configuração.
Sinopse
Mostra todos os valores de configuração no caminho de configuração.
O valor padrão do diretório de configuração é:
-
$HOME/.azdno Linux e macOS -
%USERPROFILE%\.azdno Windows
O diretório de configuração pode ser substituído especificando um caminho na variável de ambiente AZD_CONFIG_DIR.
azd config show [flags]
Opções
--docs Opens the documentation for azd config show in your web browser.
-h, --help Gets help for show.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd config unset
Remove uma configuração.
Sinopse
Remove uma configuração no caminho de configuração.
O valor padrão do diretório de configuração é:
-
$HOME/.azdno Linux e macOS -
%USERPROFILE%\.azdno Windows
O diretório de configuração pode ser substituído especificando um caminho na variável de ambiente AZD_CONFIG_DIR.
azd config unset <path> [flags]
Exemplos
azd config unset defaults.location
Opções
--docs Opens the documentation for azd config unset in your web browser.
-h, --help Gets help for unset.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd config: gerencie as configurações do azd (ex: assinatura padrão do Azure, localização).
- Voltar ao início
azd deploy
Implante o código do projeto no Azure.
azd deploy <service> [flags]
Opções
--all Deploys all services that are listed in azure.yaml
--docs Opens the documentation for azd deploy in your web browser.
-e, --environment string The name of the environment to use.
--from-package string Deploys the packaged service located at the provided path. Supports zipped file packages (file path) or container images (image tag).
-h, --help Gets help for deploy.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd down
Exclua os recursos do Azure do projeto.
azd down [flags]
Opções
--docs Opens the documentation for azd down in your web browser.
-e, --environment string The name of the environment to use.
--force Does not require confirmation before it deletes resources.
-h, --help Gets help for down.
--purge Does not require confirmation before it permanently deletes resources that are soft-deleted by default (for example, key vaults).
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd env
Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
Opções
--docs Opens the documentation for azd env in your web browser.
-h, --help Gets help for env.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env get-value: obtém um valor específico do ambiente.
- azd env get-values: obtém todos os valores de ambiente.
- azd env list: lista ambientes.
- azd env new: cria um novo ambiente e o define como padrão.
- azd env refresh: atualizar valores de ambiente usando informações de um provisionamento de infraestrutura anterior.
- azd env select: define o ambiente padrão.
- azd env set: definir um ou mais valores de ambiente.
- azd env set-secret: defina um nome como uma referência a um segredo do Key Vault no ambiente.
- Voltar ao início
azd env get-value
Obtém um valor específico do ambiente.
azd env get-value <keyName> [flags]
Opções
--docs Opens the documentation for azd env get-value in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for get-value.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd env get-values
Obtém todos os valores de ambiente.
azd env get-values [flags]
Opções
--docs Opens the documentation for azd env get-values in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for get-values.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd env list
Listar ambientes.
azd env list [flags]
Opções
--docs Opens the documentation for azd env list in your web browser.
-h, --help Gets help for list.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd env new
Cria um novo ambiente e o define como padrão.
azd env new <environment> [flags]
Opções
--docs Opens the documentation for azd env new in your web browser.
-h, --help Gets help for new.
-l, --location string Azure location for the new environment
--subscription string Name or ID of an Azure subscription to use for the new environment
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd atualizar ambiente
Atualize os valores de ambiente usando informações de um provisionamento de infraestrutura anterior.
azd env refresh <environment> [flags]
Opções
--docs Opens the documentation for azd env refresh in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for refresh.
--hint string Hint to help identify the environment to refresh
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
Selecione o ambiente com o comando 'azd env select'.
Define o ambiente padrão.
azd env select <environment> [flags]
Opções
--docs Opens the documentation for azd env select in your web browser.
-h, --help Gets help for select.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd env set
Defina um ou mais valores de ambiente.
Sinopse
Defina um ou mais valores de ambiente usando pares chave-valor ou carregando de um arquivo formatado .env.
azd env set [<key> <value>] | [<key>=<value> ...] | [--file <filepath>] [flags]
Opções
--docs Opens the documentation for azd env set in your web browser.
-e, --environment string The name of the environment to use.
--file string Path to .env formatted file to load environment values from.
-h, --help Gets help for set.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
azd env definir-segredo
Defina um nome como uma referência a um segredo do Key Vault no ambiente.
Sinopse
Você pode criar um novo segredo do Key Vault ou selecionar um existente. O nome fornecido é a chave para o arquivo .env que contém a referência secreta ao segredo do Key Vault.
azd env set-secret <name> [flags]
Opções
--docs Opens the documentation for azd env set-secret in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for set-secret.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd env: Gerenciar ambientes (por exemplo: ambiente padrão, variáveis de ambiente).
- Voltar ao início
extensão azd
Gerenciar extensões do azd.
Opções
--docs Opens the documentation for azd extension in your web browser.
-h, --help Gets help for extension.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- instalação da extensão azd: instala as extensões especificadas.
- lista de extensões azd: listar extensões disponíveis.
- azd extension show: Mostrar detalhes para uma extensão específica.
- fonte de extensão azd: exibir e gerenciar fontes de extensão
- desinstalação da extensão azd: desinstale as extensões especificadas.
- atualização de extensão azd: atualizar as extensões especificadas.
- Voltar ao início
instalação da extensão azd
Instala as extensões especificadas.
azd extension install <extension-name> [flags]
Opções
--docs Opens the documentation for azd extension install in your web browser.
-f, --force Force installation even if it would downgrade the current version
-h, --help Gets help for install.
-s, --source string The extension source to use for installs
-v, --version string The version of the extension to install
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- Voltar ao início
lista de extensões do azd
Listar extensões disponíveis.
azd extension list [--installed] [flags]
Opções
--docs Opens the documentation for azd extension list in your web browser.
-h, --help Gets help for list.
--installed List installed extensions
--source string Filter extensions by source
--tags strings Filter extensions by tags
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- Voltar ao início
Comando azd extensão mostrar
Mostrar detalhes de uma extensão específica.
azd extension show <extension-name> [flags]
Opções
--docs Opens the documentation for azd extension show in your web browser.
-h, --help Gets help for show.
-s, --source string The extension source to use.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- Voltar ao início
origem da extensão azd
Exibir e gerenciar fontes de extensão
Opções
--docs Opens the documentation for azd extension source in your web browser.
-h, --help Gets help for source.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- azd extensão fonte adicionar: Adicione uma fonte de extensão com o nome especificado
- azd extension source list: Listar fontes de extensão
- azd extension source remove: remover uma origem de extensão com o nome especificado
- Voltar ao início
Extensão azd fonte adicionar
Adicionar uma fonte de extensão com o nome especificado
azd extension source add [flags]
Opções
--docs Opens the documentation for azd extension source add in your web browser.
-h, --help Gets help for add.
-l, --location string The location of the extension source
-n, --name string The name of the extension source
-t, --type string The type of the extension source. Supported types are 'file' and 'url'
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- fonte de extensão azd: exibir e gerenciar fontes de extensão
- Voltar ao início
lista de fontes de extensão azd
Listar fontes de extensão
azd extension source list [flags]
Opções
--docs Opens the documentation for azd extension source list in your web browser.
-h, --help Gets help for list.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- fonte de extensão azd: exibir e gerenciar fontes de extensão
- Voltar ao início
azd extensão fonte remover
Remover uma fonte de extensão com o nome especificado
azd extension source remove <name> [flags]
Opções
--docs Opens the documentation for azd extension source remove in your web browser.
-h, --help Gets help for remove.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- fonte de extensão azd: exibir e gerenciar fontes de extensão
- Voltar ao início
desinstalação da extensão azd
Desinstale as extensões especificadas.
azd extension uninstall <extension-name> [flags]
Opções
--all Uninstall all installed extensions
--docs Opens the documentation for azd extension uninstall in your web browser.
-h, --help Gets help for uninstall.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- Voltar ao início
atualização de extensão azd
Atualize as extensões especificadas.
azd extension upgrade <extension-name> [flags]
Opções
--all Upgrade all installed extensions
--docs Opens the documentation for azd extension upgrade in your web browser.
-h, --help Gets help for upgrade.
-s, --source string The extension source to use for upgrades
-v, --version string The version of the extension to upgrade to
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- extensão azd: gerenciar extensões do azd.
- Voltar ao início
azd hooks
Desenvolva, teste e execute hooks para um projeto.
Opções
--docs Opens the documentation for azd hooks in your web browser.
-h, --help Gets help for hooks.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd hooks run: executa o gancho especificado para o projeto e os serviços
- Voltar ao início
azd hooks run
Executa o gancho especificado para o projeto e os serviços
azd hooks run <name> [flags]
Opções
--docs Opens the documentation for azd hooks run in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for run.
--platform string Forces hooks to run for the specified platform.
--service string Only runs hooks for the specified service.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd hooks: Desenvolver, testar e executar ganchos para um projeto.
- Voltar ao início
azd infra
Gerencie sua IaC (Infraestrutura como Código).
Opções
--docs Opens the documentation for azd infra in your web browser.
-h, --help Gets help for infra.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd infra generate: Escreva IaC do seu projeto no disco, permitindo que você o gerencie manualmente.
- Voltar ao início
azd infra generate
Escreva IaC para seu projeto em disco, permitindo que você o gerencie manualmente.
azd infra generate [flags]
Opções
--docs Opens the documentation for azd infra generate in your web browser.
-e, --environment string The name of the environment to use.
--force Overwrite any existing files without prompting
-h, --help Gets help for generate.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd infra: gerencie sua IaC (Infraestrutura como Código).
- Voltar ao início
azd init
Inicializa um novo aplicativo.
azd init [flags]
Opções
-b, --branch string The template branch to initialize from. Must be used with a template argument (--template or -t).
--docs Opens the documentation for azd init in your web browser.
-e, --environment string The name of the environment to use.
-f, --filter strings The tag(s) used to filter template results. Supports comma-separated values.
--from-code Initializes a new application from your existing code.
-h, --help Gets help for init.
-l, --location string Azure location for the new environment
-m, --minimal Initializes a minimal project.
-s, --subscription string Name or ID of an Azure subscription to use for the new environment
-t, --template string Initializes a new application from a template. You can use Full URI, <owner>/<repository>, or <repository> if it's part of the azure-samples organization.
--up Provision and deploy to Azure after initializing the project from a template.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd mcp
Gerenciar servidor do MCP (Protocolo de Contexto de Modelos). (Alfa)
Opções
--docs Opens the documentation for azd mcp in your web browser.
-h, --help Gets help for mcp.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- consentimento do azd mcp: gerenciar o consentimento da ferramenta MCP.
- azd mcp start: inicia o servidor MCP.
- Voltar ao início
consentimento do azd mcp
Gerenciar o consentimento da ferramenta MCP.
Sinopse
Gerenciar regras de consentimento para a execução da ferramenta MCP.
Opções
--docs Opens the documentation for azd mcp consent in your web browser.
-h, --help Gets help for consent.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd mcp: gerenciar o servidor MCP (Model Context Protocol). (Alfa)
- azd mcp consent grant: Conceder regras de confiança de consentimento.
- lista de consentimento do azd mcp: listar regras de consentimento.
- azd mcp consent revoke: Revogar regras de consentimento.
- Voltar ao início
Concessão de consentimento azd mcp
Conceda regras de confiança de consentimento.
Sinopse
Conceda regras de confiança para servidores e ferramentas MCP.
Esse comando cria regras de consentimento que permitem que as ferramentas MCP sejam executadas sem solicitar permissão. Você pode especificar diferentes níveis de permissão e escopos para as regras.
Exemplos: conceda sempre permissão a todas as ferramentas globalmente:
azd mcp consent grant --global --permission always
Grant project permission to a specific tool with read-only scope:
```azdeveloper
azd mcp consent grant --server my-server --tool my-tool --permission project --scope read-only
```azdeveloper
azd mcp consent grant [flags]
Opções
--action string Action type: 'all' or 'readonly' (default "all")
--docs Opens the documentation for azd mcp consent grant in your web browser.
--global Apply globally to all servers
-h, --help Gets help for grant.
--operation string Operation type: 'tool' or 'sampling' (default "tool")
--permission string Permission: 'allow', 'deny', or 'prompt' (default "allow")
--scope string Rule scope: 'global', or 'project' (default "global")
--server string Server name
--tool string Specific tool name (requires --server)
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- consentimento do azd mcp: gerenciar o consentimento da ferramenta MCP.
- Voltar ao início
azd mcp lista de consentimento
Listar regras de consentimento.
Sinopse
Listar todas as regras de consentimento para ferramentas MCP.
azd mcp consent list [flags]
Opções
--action string Action type to filter by (readonly, any)
--docs Opens the documentation for azd mcp consent list in your web browser.
-h, --help Gets help for list.
--operation string Operation to filter by (tool, sampling)
--permission string Permission to filter by (allow, deny, prompt)
--scope string Consent scope to filter by (global, project). If not specified, lists rules from all scopes.
--target string Specific target to operate on (server/tool format)
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- consentimento do azd mcp: gerenciar o consentimento da ferramenta MCP.
- Voltar ao início
azd mcp revogar consentimento
Revogar regras de consentimento.
Sinopse
Revogar regras de consentimento para ferramentas MCP.
azd mcp consent revoke [flags]
Opções
--action string Action type to filter by (readonly, any)
--docs Opens the documentation for azd mcp consent revoke in your web browser.
-h, --help Gets help for revoke.
--operation string Operation to filter by (tool, sampling)
--permission string Permission to filter by (allow, deny, prompt)
--scope string Consent scope to filter by (global, project). If not specified, revokes rules from all scopes.
--target string Specific target to operate on (server/tool format)
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- consentimento do azd mcp: gerenciar o consentimento da ferramenta MCP.
- Voltar ao início
azd mcp start
Inicia o servidor MCP.
Sinopse
Inicia o servidor MCP (Model Context Protocol).
Esse comando inicia um servidor MCP que pode ser usado por clientes MCP para acessar a funcionalidade do azd por meio da interface Protocolo de Contexto de Modelo.
azd mcp start [flags]
Opções
--docs Opens the documentation for azd mcp start in your web browser.
-h, --help Gets help for start.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd mcp: gerenciar o servidor MCP (Model Context Protocol). (Alfa)
- Voltar ao início
azd monitor
Monitore um projeto implantado.
azd monitor [flags]
Opções
--docs Opens the documentation for azd monitor in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for monitor.
--live Open a browser to Application Insights Live Metrics. Live Metrics is currently not supported for Python apps.
--logs Open a browser to Application Insights Logs.
--overview Open a browser to Application Insights Overview Dashboard.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
pacote azd
Empacota o código do projeto a ser implantado no Azure.
azd package <service> [flags]
Opções
--all Packages all services that are listed in azure.yaml
--docs Opens the documentation for azd package in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for package.
--output-path string File or folder path where the generated packages will be saved.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd pipeline
Gerencie e configure seus pipelines de implantação.
Opções
--docs Opens the documentation for azd pipeline in your web browser.
-h, --help Gets help for pipeline.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd pipeline config: configure seu pipeline de implantação para se conectar com segurança ao Azure. (Beta)
- Voltar ao início
configuração do pipeline azd
Configure seu pipeline de implantação para se conectar com segurança ao Azure. (Beta)
azd pipeline config [flags]
Opções
-m, --applicationServiceManagementReference string Service Management Reference. References application or service contact information from a Service or Asset Management database. This value must be a Universally Unique Identifier (UUID). You can set this value globally by running azd config set pipeline.config.applicationServiceManagementReference <UUID>.
--auth-type string The authentication type used between the pipeline provider and Azure for deployment (Only valid for GitHub provider). Valid values: federated, client-credentials.
--docs Opens the documentation for azd pipeline config in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for config.
--principal-id string The client id of the service principal to use to grant access to Azure resources as part of the pipeline.
--principal-name string The name of the service principal to use to grant access to Azure resources as part of the pipeline.
--principal-role stringArray The roles to assign to the service principal. By default the service principal will be granted the Contributor and User Access Administrator roles. (default [Contributor,User Access Administrator])
--provider string The pipeline provider to use (github for Github Actions and azdo for Azure Pipelines).
--remote-name string The name of the git remote to configure the pipeline to run on. (default "origin")
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd pipeline: gerencie e configure seus pipelines de implantação.
- Voltar ao início
provisionamento azd
Provisione recursos do Azure para seu projeto.
azd provision [flags]
Opções
--docs Opens the documentation for azd provision in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for provision.
--no-state (Bicep only) Forces a fresh deployment based on current Bicep template files, ignoring any stored deployment state.
--preview Preview changes to Azure resources.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd publish
Publique um serviço em um registro de contêiner.
azd publish <service> [flags]
Opções
--all Publishes all services that are listed in azure.yaml
--docs Opens the documentation for azd publish in your web browser.
-e, --environment string The name of the environment to use.
--from-package string Publishes the service from a container image (image tag).
-h, --help Gets help for publish.
--to string The target container image in the form '[registry/]repository[:tag]' to publish to.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd restore
Restaura as dependências do projeto.
azd restore <service> [flags]
Opções
--all Restores all services that are listed in azure.yaml
--docs Opens the documentation for azd restore in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for restore.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd show
Exiba informações sobre seu projeto e seus recursos.
azd show [resource name or ID] [flags]
Opções
--docs Opens the documentation for azd show in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for show.
--show-secrets Unmask secrets in output.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
modelo azd
Encontre e exiba detalhes do modelo.
Opções
--docs Opens the documentation for azd template in your web browser.
-h, --help Gets help for template.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template list: mostra lista de exemplos de modelos azd. (Beta)
- azd template show: mostra detalhes de um determinado modelo. (Beta)
- azd template source: exibe e gerencia fontes de modelo. (Beta)
- Voltar ao início
lista de modelos azd
Mostra lista de exemplos de modelos azd. (Beta)
azd template list [flags]
Opções
--docs Opens the documentation for azd template list in your web browser.
-f, --filter strings The tag(s) used to filter template results. Supports comma-separated values.
-h, --help Gets help for list.
-s, --source string Filters templates by source.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template: encontre e exiba detalhes do modelo.
- Voltar ao início
comando 'azd template show' para exibir modelos
Mostra detalhes de um determinado modelo. (Beta)
azd template show <template> [flags]
Opções
--docs Opens the documentation for azd template show in your web browser.
-h, --help Gets help for show.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template: encontre e exiba detalhes do modelo.
- Voltar ao início
fonte de modelo azd
Exibe e gerencia fontes de modelo. (Beta)
Opções
--docs Opens the documentation for azd template source in your web browser.
-h, --help Gets help for source.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template: encontre e exiba detalhes do modelo.
- azd template source add: adiciona uma fonte de modelo azd com a chave especificada. (Beta)
- azd template source list: lista as fontes de modelo azd configuradas. (Beta)
- azd template source remove: remove a fonte de modelo azd especificada (Beta)
- Voltar ao início
azd template source add
Adiciona uma fonte de modelo azd com a chave especificada. (Beta)
Sinopse
A chave pode ser qualquer valor que identifique exclusivamente a origem do modelo, com valores conhecidos sendo: ・default: Modelos padrão ・awesome-azd: Modelos de https://aka.ms/awesome-azd
azd template source add <key> [flags]
Opções
--docs Opens the documentation for azd template source add in your web browser.
-h, --help Gets help for add.
-l, --location string Location of the template source. Required when using type flag.
-n, --name string Display name of the template source.
-t, --type string Kind of the template source. Supported types are 'file', 'url' and 'gh'.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template source: exibe e gerencia fontes de modelo. (Beta)
- Voltar ao início
lista de fontes de modelo azd
Lista as fontes de modelo azd configuradas. (Beta)
azd template source list [flags]
Opções
--docs Opens the documentation for azd template source list in your web browser.
-h, --help Gets help for list.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template source: exibe e gerencia fontes de modelo. (Beta)
- Voltar ao início
azd modelo origem remover
Remove a fonte de modelo azd especificada (Beta)
azd template source remove <key> [flags]
Opções
--docs Opens the documentation for azd template source remove in your web browser.
-h, --help Gets help for remove.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
- azd template source: exibe e gerencia fontes de modelo. (Beta)
- Voltar ao início
azd up
Provisione e implante seu projeto no Azure com um único comando.
azd up [flags]
Opções
--docs Opens the documentation for azd up in your web browser.
-e, --environment string The name of the environment to use.
-h, --help Gets help for up.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.
Confira também
azd versão
Imprima o número da versão do Azure Developer CLI.
azd version [flags]
Opções
--docs Opens the documentation for azd version in your web browser.
-h, --help Gets help for version.
Opções herdadas de comandos pai
-C, --cwd string Sets the current working directory.
--debug Enables debugging and diagnostics logging.
--no-prompt Accepts the default value instead of prompting, or it fails if there is no default.