Referenční informace k rozhraní příkazového řádku pro vývojáře Azure

Tento článek vysvětluje syntaxi a parametry pro různé příkazy rozhraní příkazového řádku pro vývojáře Azure.

azd

Opensourcový nástroj pro rozhraní příkazového řádku pro vývojáře Azure (azd) pomáhá při zavádění a správě vašeho projektu na Azure.

Možnosti

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
      --docs                 Opens the documentation for azd in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for azd.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

  • azd add: Přidejte komponentu do projektu.
  • azd ověřování: Ověřování pomocí Azure
  • azd completion: Vygenerujte skripty pro automatické dokončování v shellu.
  • azd config: Správa konfigurací azd (např. výchozí Azure předplatné, umístění).
  • azd copilot: Správa nastavení agent Copilota GitHubu (Ukázka)
  • azd deploy: Nasaďte kód projektu do Azure.
  • azd down: Odstraňte zdroje Azure projektu.
  • azd env: Správa prostředí (např. výchozí prostředí, proměnné prostředí).
  • rozšíření azd: Správa rozšíření azd.
  • azd hooky: Vývoj, testování a spouštění hooků pro projekt.
  • azd infra: Správa infrastruktury jako kódu (IaC).
  • azd init: Inicializace nové aplikace.
  • azd mcp: Správa serveru MCP (Model Context Protocol). (Alfa)
  • AZD monitor: Sledovat nasazený projekt.
  • azd package: Zabalí kód projektu, který se má nasadit do Azure.
  • azd pipeline: Správa a konfigurace vašich nasazovacích pipeline.
  • azd zřízení: Zřízení zdrojů Azure pro váš projekt.
  • azd publish: Publikovat službu do registru kontejnerů.
  • azd restore: Obnoví závislosti projektu.
  • azd show: Zobrazí informace o projektu a jejích zdrojích.
  • šablona azd: Vyhledání a zobrazení podrobností o šabloně
  • azd up: Zřízení a nasazení projektu do Azure jedním příkazem.
  • aktualizace azd: Aktualizuje azd na nejnovější verzi.
  • azd verze: Zobrazí číslo verze Azure Developer CLI.

azd přidat

Přidejte do projektu komponentu.

azd add [flags]

Možnosti

      --docs   Opens the documentation for azd add in your web browser.
  -h, --help   Gets help for add.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

autentizace azd

Ověřte se pomocí Azure.

Možnosti

      --docs   Opens the documentation for azd auth in your web browser.
  -h, --help   Gets help for auth.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd auth login (příkaz pro přihlášení k autentizační službě)

Přihlaste se k Azure.

Synopse

Přihlaste se k Azure.

Při spuštění bez argumentů se přihlaste interaktivně pomocí prohlížeče. Pokud se chcete přihlásit pomocí kódu zařízení, předejte --use-device-code.

Pokud se chcete přihlásit jako aplikační identita, předejte --client-id a --tenant-id, a také jeden z následujících: --client-secret, --client-certificate nebo --federated-credential-provider.

Pokud se chcete přihlásit pomocí spravované identity, předejte --managed-identity, která bude používat spravovanou identitu přiřazenou systémem. Pokud chcete použít spravovanou identitu přiřazenou uživatelem, zadejte --client-id spolu s --managed-identity a ID klienta spravované identity přiřazené uživatelem, kterou chcete použít.

azd auth login [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

odhlášení ověřování azd

Odhlaste se z Azure.

Synopse

Odhlaste se z Azure

azd auth logout [flags]

Možnosti

      --docs   Opens the documentation for azd auth logout in your web browser.
  -h, --help   Gets help for logout.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

stav autentikace azd

Zobrazí aktuální stav ověřování.

Synopse

Umožňuje zobrazit, jestli jste přihlášení k Azure a přidruženým informacím o účtu.

azd auth status [flags]

Možnosti

      --docs   Opens the documentation for azd auth status in your web browser.
  -h, --help   Gets help for status.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

dokončení azd

Vygenerujte skripty pro dokončování příkazů shellu.

Synopse

Vygenerujte skripty pro automatické doplňování příkazů pro azd.

Příkaz pro doplňování umožňuje generovat skripty automatického dokončování pro váš shell, aktuálně podporuje Bash, Zsh, Fish a PowerShell.

Podrobnosti o tom, jak používat vygenerovaný skript, najdete v nápovědě k jednotlivým dílčím příkazům.

Možnosti

      --docs   Opens the documentation for azd completion in your web browser.
  -h, --help   Gets help for completion.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd doplnění příkazů Bash

Vygenerujte skript pro dokončování Bash.

azd completion bash

Možnosti

      --docs   Opens the documentation for azd completion bash in your web browser.
  -h, --help   Gets help for bash.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd completion fig

Vygenerujte specifikaci automatického dokončování pro obrázek.

azd completion fig

Možnosti

      --docs   Opens the documentation for azd completion fig in your web browser.
  -h, --help   Gets help for fig.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd dokončení ryby

Vygenerujte skript pro doplňování ryb.

azd completion fish

Možnosti

      --docs   Opens the documentation for azd completion fish in your web browser.
  -h, --help   Gets help for fish.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd dokončení PowerShell

Vygenerujte skript pro dokončování PowerShellu.

azd completion powershell

Možnosti

      --docs   Opens the documentation for azd completion powershell in your web browser.
  -h, --help   Gets help for powershell.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd doplňování zsh

Vygenerujte skript dokončování zsh.

azd completion zsh

Možnosti

      --docs   Opens the documentation for azd completion zsh in your web browser.
  -h, --help   Gets help for zsh.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

konfigurace azd

Správa konfigurací azd (např. výchozí Azure předplatné, umístění).

Synopse

Spravujte uživatelskou konfiguraci Azure Developer CLI, která zahrnuje vaše výchozí Azure předplatné a umístění.

K dispozici od azure-dev-cli_0.4.0-beta.1.

Nejjednodušší způsob, jak nakonfigurovat azd poprvé, je spustit azd init. Vybrané předplatné a umístění budou uloženy v config.json souboru umístěném v konfiguračním adresáři. Ke konfiguraci azd kdykoli později použijete azd config set.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%.azd na Windows

Konfigurační adresář je možné přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR.

Možnosti

      --docs   Opens the documentation for azd config in your web browser.
  -h, --help   Gets help for config.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Azd config get

Získá konfiguraci.

Synopse

Získá konfiguraci v cestě k nastavení.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%\.azd na Windows

Konfigurační adresář je možné přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR.

azd config get <path> [flags]

Možnosti

      --docs   Opens the documentation for azd config get in your web browser.
  -h, --help   Gets help for get.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd config list-alpha (zobrazit seznam alfa konfigurací)

Zobrazí seznam dostupných funkcí ve fázi alfa.

azd config list-alpha [flags]

Možnosti

      --docs   Opens the documentation for azd config list-alpha in your web browser.
  -h, --help   Gets help for list-alpha.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Možnosti konfigurace azd

Zobrazí seznam všech dostupných nastavení konfigurace.

Synopse

Uveďte všechna možná nastavení konfigurace, která lze nastavit pomocí azd, včetně popisů a povolených hodnot.

azd config options [flags]

Možnosti

      --docs   Opens the documentation for azd config options in your web browser.
  -h, --help   Gets help for options.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Resetování konfigurace azd

Obnoví výchozí konfiguraci.

Synopse

Obnoví veškerou konfiguraci v konfigurační cestě.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%\.azd na Windows

Konfigurační adresář lze přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR do výchozího nastavení.

azd config reset [flags]

Možnosti

      --docs    Opens the documentation for azd config reset in your web browser.
  -f, --force   Force reset without confirmation.
  -h, --help    Gets help for reset.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Konfigurační sada azd

Nastaví konfiguraci.

Synopse

Nastaví konfiguraci v cestě konfigurace.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%\.azd na Windows

Konfigurační adresář je možné přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR.

azd config set <path> <value> [flags]

Příklady

azd config set defaults.subscription <yourSubscriptionID>
azd config set defaults.location eastus

Možnosti

      --docs   Opens the documentation for azd config set in your web browser.
  -h, --help   Gets help for set.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Azd config show

Zobrazí všechny hodnoty konfigurace.

Synopse

Zobrazit všechny konfigurační hodnoty v konfigurační cestě.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%\.azd na Windows

Konfigurační adresář je možné přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR.

azd config show [flags]

Možnosti

      --docs   Opens the documentation for azd config show in your web browser.
  -h, --help   Gets help for show.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd odstranit konfiguraci

Zruší konfiguraci.

Synopse

Odebere konfiguraci v konfigurační cestě.

Výchozí hodnota konfiguračního adresáře je:

  • $HOME/.azd v Linuxu a macOS
  • %USERPROFILE%\.azd na Windows

Konfigurační adresář je možné přepsat zadáním cesty v proměnné prostředí AZD_CONFIG_DIR.

azd config unset <path> [flags]

Příklady

azd config unset defaults.location

Možnosti

      --docs   Opens the documentation for azd config unset in your web browser.
  -h, --help   Gets help for unset.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd copilot

Správa nastavení agent Copilota GitHubu (Ukázka)

Možnosti

      --docs   Opens the documentation for azd copilot in your web browser.
  -h, --help   Gets help for copilot.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Správa souhlasu nástroje

Synopse

Správa pravidel souhlasu pro provádění nástrojů

Možnosti

      --docs   Opens the documentation for azd copilot consent in your web browser.
  -h, --help   Gets help for consent.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Udělte pravidla pro důvěru souhlasu.

Synopse

Udělte pravidla důvěryhodnosti pro nástroje a servery.

Tento příkaz vytvoří pravidla souhlasu, která umožňují spuštění nástrojů bez výzvy k zadání oprávnění. Pro pravidla můžete zadat různé úrovně oprávnění a obory.

Příklady: Vždy udělovat oprávnění všem nástrojům globálně azd copilot consent grant --global --permission always

Udělení oprávnění projektu konkrétnímu nástroji s omezením na čtení azd copilot souhlas udělit --server my-server --tool my-tool --permission project --scope read-only

azd copilot consent grant [flags]

Možnosti

      --action string       Action type: 'all' or 'readonly' (default "all")
      --docs                Opens the documentation for azd copilot 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)

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Vypsat pravidla souhlasu

Synopse

Zobrazí seznam všech pravidel souhlasu pro nástroje.

azd copilot consent list [flags]

Možnosti

      --action string       Action type to filter by (all, readonly)
      --docs                Opens the documentation for azd copilot 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)

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Odvolat pravidla souhlasu.

Synopse

Odvolání pravidel souhlasu pro nástroje

azd copilot consent revoke [flags]

Možnosti

      --action string       Action type to filter by (all, readonly)
      --docs                Opens the documentation for azd copilot 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)

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

nasazení azd

Nasaďte kód projektu do Azure.

azd deploy <service> [flags]

Možnosti

      --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.
      --timeout int           Maximum time in seconds for azd to wait for each service deployment. This stops azd from waiting but does not cancel the Azure-side deployment. (default: 1200) (default 1200)

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd dolů

Odstraňte Azure zdroje projektu.

azd down [<layer>] [flags]

Možnosti

      --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).

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env

Správa prostředí (např. výchozí prostředí, proměnné prostředí)

Možnosti

      --docs   Opens the documentation for azd env in your web browser.
  -h, --help   Gets help for env.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env config (konfigurace prostředí azd)

Správa konfigurace prostředí (např. uložená v .azure/{environment}/config.json).

Možnosti

      --docs   Opens the documentation for azd env config in your web browser.
  -h, --help   Gets help for config.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Zadejte příkaz `azd env config get` pro získání konfigurace prostředí.

Získá hodnotu konfigurace z prostředí.

Synopse

Získá hodnotu konfigurace ze souboru config.json prostředí.

azd env config get <path> [flags]

Možnosti

      --docs                 Opens the documentation for azd env config get in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for get.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd nastavení prostředí konfigurováno

Nastaví hodnotu konfigurace v prostředí.

Synopse

Nastaví hodnotu konfigurace v souboru config.json prostředí.

Pokud je to možné, hodnoty se automaticky parsují jako typy JSON. Logické hodnoty (true/false), čísla (42, 3,14), pole ([...]) a objekty ({...}) se ukládají s jejich nativními typy JSON. Hodnoty ve formátu prostého textu se ukládají jako řetězce. Pokud chcete vynutit uložení hodnoty typu JSON jako řetězec, zabalte ji do uvozovek JSON (např. true nebo 8080).

azd env config set <path> <value> [flags]

Příklady

azd env config set myapp.endpoint https://example.com
azd env config set myapp.debug true
azd env config set myapp.count 42
azd env config set infra.parameters.tags '{"env":"dev"}'
azd env config set myapp.port '"8080"'

Možnosti

      --docs                 Opens the documentation for azd env config set in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for set.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env config unset (odstranit konfiguraci prostředí)

Zruší nastavení konfigurační hodnoty v prostředí.

Synopse

Odebere hodnotu konfigurace ze souboru config.json prostředí.

azd env config unset <path> [flags]

Příklady

azd env config unset myapp.endpoint

Možnosti

      --docs                 Opens the documentation for azd env config unset in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for unset.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

příkaz azd env get-value

Získejte konkrétní hodnotu prostředí.

azd env get-value <keyName> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env get-values (získat hodnoty)

Získejte všechny hodnoty prostředí.

azd env get-values [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd seznam prostředí

Seznam prostředí.

azd env list [flags]

Možnosti

      --docs   Opens the documentation for azd env list in your web browser.
  -h, --help   Gets help for list.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env nové

Vytvořte nové prostředí a nastavte ho jako výchozí.

azd env new <environment> [flags]

Možnosti

      --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   ID of an Azure subscription to use for the new environment

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env obnovit

Aktualizujte hodnoty prostředí pomocí informací z předchozího zřízení infrastruktury.

azd env refresh <environment> [flags]

Možnosti

      --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
      --layer string         Provisioning layer to refresh the environment from.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd prostř. odstranit

Odeberte prostředí.

azd env remove <environment> [flags]

Možnosti

      --docs                 Opens the documentation for azd env remove in your web browser.
  -e, --environment string   The name of the environment to use.
      --force                Skips confirmation before performing removal.
  -h, --help                 Gets help for remove.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env select (výběr prostředí)

Nastavte výchozí prostředí.

azd env select [<environment>] [flags]

Možnosti

      --docs   Opens the documentation for azd env select in your web browser.
  -h, --help   Gets help for select.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Použijte příkaz "azd env set" pro nastavení proměnného prostředí.

Nastavte jednu nebo více hodnot prostředí.

Synopse

Nastavte jednu nebo více hodnot prostředí pomocí párů klíč-hodnota nebo načtením ze souboru ve formátu .env.

azd env set [<key> <value>] | [<key>=<value> ...] | [--file <filepath>] [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd env set-secret (nastaví tajný klíč)

Nastavte název jako odkaz na tajný kód Key Vault v prostředí.

Synopse

Můžete vytvořit nový tajný kód Key Vault nebo vybrat existující. Zadaný název je klíčem pro soubor .env, který obsahuje odkaz na tajemství Key Vault.

azd env set-secret <name> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

rozšíření azd

Správa rozšíření azd

Možnosti

      --docs   Opens the documentation for azd extension in your web browser.
  -h, --help   Gets help for extension.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Nainstalovat rozšíření azd

Nainstaluje zadaná rozšíření.

azd extension install <extension-id> [flags]

Možnosti

      --docs             Opens the documentation for azd extension install in your web browser.
  -f, --force            Force installation, including downgrades and reinstalls
  -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

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

seznam rozšíření azd

Seznam dostupných rozšíření

azd extension list [--installed] [flags]

Možnosti

      --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

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd rozšíření zobrazit

Zobrazení podrobností pro konkrétní rozšíření

azd extension show <extension-id> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

zdroj rozšíření azd

Zobrazení a správa zdrojů rozšíření

Možnosti

      --docs   Opens the documentation for azd extension source in your web browser.
  -h, --help   Gets help for source.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

přidat zdroj rozšíření azd

Přidání zdroje rozšíření se zadaným názvem

azd extension source add [flags]

Možnosti

      --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'

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

seznam zdrojů rozšíření azd

Výpis zdrojů rozšíření

azd extension source list [flags]

Možnosti

      --docs   Opens the documentation for azd extension source list in your web browser.
  -h, --help   Gets help for list.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Odebrání zdroje rozšíření azd

Odebrat zdroj rozšíření se zadaným názvem

azd extension source remove <name> [flags]

Možnosti

      --docs   Opens the documentation for azd extension source remove in your web browser.
  -h, --help   Gets help for remove.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Ověření zdroje rozšíření azd

Ověřte soubor registry.json zdroje přípony.

Synopse

Ověřte soubor registry.json zdroje přípony.

Přijímá název zdroje (ze seznamu zdrojů přípony azd), místní cestu k souboru nebo adresu URL. Kontroluje požadovaná pole, platné možnosti, formát semver verze, strukturu artefaktů platformy a formát ID rozšíření.

azd extension source validate <name-or-path-or-url> [flags]

Možnosti

      --docs     Opens the documentation for azd extension source validate in your web browser.
  -h, --help     Gets help for validate.
      --strict   Enable strict validation (require checksums)

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

odinstalace rozšíření azd

Odinstalujte zadaná rozšíření.

azd extension uninstall [extension-id] [flags]

Možnosti

      --all    Uninstall all installed extensions
      --docs   Opens the documentation for azd extension uninstall in your web browser.
  -h, --help   Gets help for uninstall.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

aktualizace rozšíření azd

Upgradujte zadaná rozšíření.

azd extension upgrade [extension-id] [flags]

Možnosti

      --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

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Háčky AZD

Vývoj, testování a spouštění háků pro projekt

Možnosti

      --docs   Opens the documentation for azd hooks in your web browser.
  -h, --help   Gets help for hooks.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

spouštění háků azd

Spustí zadaný háček pro projekt, vrstvy zřizování a služby.

azd hooks run <name> [flags]

Možnosti

      --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.
      --layer string         Only runs hooks for the specified provisioning layer.
      --platform string      Forces hooks to run for the specified platform.
      --service string       Only runs hooks for the specified service.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd infra

Správa infrastruktury jako kódu (IaC).

Možnosti

      --docs   Opens the documentation for azd infra in your web browser.
  -h, --help   Gets help for infra.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Generování infrastruktury pomocí azd

Uložte IaC vašeho projektu na disk, což vám umožní jej spravovat ručně.

azd infra generate [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd init

Inicializace nové aplikace

Synopse

Inicializace nové aplikace

Při použití s --template se vytvoří nový adresář (pojmenovaný po šabloně) a projekt se inicializuje uvnitř – podobně jako git clone. Místo toho předejte "." jako adresář, který se má inicializovat v aktuálním adresáři.

azd init [flags]

Možnosti

  -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   ID of an Azure subscription to use for the new environment
  -t, --template string       Initializes a new application from a template. You can use a Full URI, <owner>/<repository>, <repository> if it's part of the azure-samples organization, or a local directory path (./dir, ../dir, or absolute path).
      --up                    Provision and deploy to Azure after initializing the project from a template.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd mcp

Správa serveru MCP (Model Context Protocol). (Alfa)

Možnosti

      --docs   Opens the documentation for azd mcp in your web browser.
  -h, --help   Gets help for mcp.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd mcp start

Spustí server MCP.

Synopse

Spustí server MCP (Model Context Protocol).

Tento příkaz spustí server MCP, který může být využíván klienty MCP pro přístup k funkcionalitě azd prostřednictvím rozhraní tohoto Model Context Protocol.

azd mcp start [flags]

Možnosti

      --docs   Opens the documentation for azd mcp start in your web browser.
  -h, --help   Gets help for start.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

monitor azd

Monitorujte nasazený projekt.

azd monitor [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

balíček azd

Zabalí kód projektu, který se má nasadit do Azure.

azd package <service> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

kanál azd

Správa a konfigurace kanálů nasazení

Možnosti

      --docs   Opens the documentation for azd pipeline in your web browser.
  -h, --help   Gets help for pipeline.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

konfigurace datového toku azd

Nakonfigurujte kanál nasazení tak, aby se bezpečně připojil k Azure. (Beta verze)

azd pipeline config [flags]

Možnosti

  -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")

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

zajištění azd

Zřiďte pro svůj projekt Azure zdroje.

azd provision [<layer>] [flags]

Možnosti

      --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.
  -l, --location string       Azure location for the new environment
      --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.
      --subscription string   ID of an Azure subscription to use for the new environment

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

publikování azd

Publikujte službu do registru kontejneru.

azd publish <service> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

obnovení azd

Obnoví závislosti projektu.

azd restore <service> [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd show

Zobrazí informace o projektu a jejích zdrojích.

azd show [resource-name|resource-id] [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

šablona azd

Vyhledání a zobrazení podrobností šablony

Možnosti

      --docs   Opens the documentation for azd template in your web browser.
  -h, --help   Gets help for template.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

seznam šablon azd

Zobrazit seznam ukázkových šablon azd (Beta verze)

azd template list [flags]

Možnosti

      --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.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

šablona AZD zobrazit

Umožňuje zobrazit podrobnosti pro danou šablonu. (Beta verze)

azd template show <template> [flags]

Možnosti

      --docs   Opens the documentation for azd template show in your web browser.
  -h, --help   Gets help for show.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

zdroj šablony azd

Umožňuje zobrazit a spravovat zdroje šablon. (Beta verze)

Možnosti

      --docs   Opens the documentation for azd template source in your web browser.
  -h, --help   Gets help for source.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Příkaz "azd template source add"

Přidá zdroj šablony azd se zadaným klíčem. (Beta verze)

Synopse

Klíč může být libovolná hodnota, která jednoznačně identifikuje zdroj šablony s dobře známými hodnotami: ·default: Výchozí šablony ·awesome-azd: Templates from https://aka.ms/awesome-azd

azd template source add <key> [flags]

Možnosti

      --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'.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

seznam zdrojů šablony azd

Zobrazí seznam nakonfigurovaných zdrojů šablon azd. (Beta verze)

azd template source list [flags]

Možnosti

      --docs   Opens the documentation for azd template source list in your web browser.
  -h, --help   Gets help for list.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

Odebrání zdroje šablony azd

Odebere zadaný zdroj šablony AZD (beta verze).

azd template source remove <key> [flags]

Možnosti

      --docs   Opens the documentation for azd template source remove in your web browser.
  -h, --help   Gets help for remove.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

azd nahoru

Zřiďte a nasaďte projekt pro Azure jediným příkazem.

azd up [flags]

Možnosti

      --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.
  -l, --location string       Azure location for the new environment
      --subscription string   ID of an Azure subscription to use for the new environment

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

aktualizace azd

Aktualizuje azd na nejnovější verzi.

azd update [flags]

Možnosti

      --channel string             Update channel: stable or daily.
      --check-interval-hours int   Override the update check interval in hours.
      --docs                       Opens the documentation for azd update in your web browser.
  -h, --help                       Gets help for update.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také

verze AZD

Vytiskněte číslo verze rozhraní příkazového řádku pro vývojáře Azure.

azd version [flags]

Možnosti

      --docs   Opens the documentation for azd version in your web browser.
  -h, --help   Gets help for version.

Možnosti zděděné z nadřazených příkazů

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Viz také