Megosztás a következőn keresztül:


Azure Developer CLI – referencia

Ez a cikk a különböző Azure Developer CLI-parancsok szintaxisát és paramétereit ismerteti.

azd

Az Azure Developer CLI (azd) egy nyílt forráskódú eszköz, amely segít a projekt előkészítésében és kezelésében az Azure-ban

Beállítások

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

Lásd még

  • azd add: Adj hozzá egy komponenst a projekthez.
  • azd auth: Hitelesítés az Azure-ral.
  • azd completion: Rendszerhéj-befejezési szkriptek létrehozása.
  • azd config: Azd-konfigurációk kezelése (pl. alapértelmezett Azure-előfizetés, hely).
  • azd deploy: A projektkód üzembe helyezése az Azure-ban.
  • azd down: Töröld a projekt Azure-erőforrásait.
  • azd env: Környezetek kezelése (pl. alapértelmezett környezet, környezeti változók).
  • azd extension: Manage azd extensions.
  • azd horgok: Projekt horgainak fejlesztése, tesztelése és futtatása.
  • azd infra: Infrastruktúra kódként való kezelése (IaC).
  • azd init: Új alkalmazás inicializálása.
  • azd mcp: A Model Context Protocol (MCP) kiszolgáló kezelése. (Alfa)
  • azd monitor: Egy üzembe helyezett projekt figyelése.
  • azd package: A projekt azure-ban üzembe helyezendő kódját csomagolja.
  • azd pipeline: Az üzembehelyezési folyamatok kezelése és konfigurálása.
  • azd provision: Azure-erőforrások kiépítése a projekthez.
  • azd publish: Szolgáltatás közzététele tárolóregisztrációs adatbázisban.
  • azd restore: Visszaállítja a projekt függőségeit.
  • azd show: A projektre és az erőforrásokra vonatkozó információk megjelenítése.
  • azd template: A sablon részleteinek megkeresése és megtekintése.
  • azd up: A projekt előkészítése és üzembe helyezése az Azure-ban egyetlen paranccsal.
  • azd verzió: Az Azure Developer CLI verziószámának nyomtatása.

azd hozzáad

Adjon hozzá egy összetevőt a projekthez.

azd add [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd hitelesítés

Hitelesítés az Azure-ral.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd auth bejelentkezés

Bejelentkezik az Azure-ba.

Szinopszis

Bejelentkezik az Azure-ba.

Ha argumentumok nélkül fut, jelentkezzen be interaktívan egy böngésző használatával. Ha eszközkóddal szeretne bejelentkezni, adja át a --use-device-code kódot.

Szolgáltatásnévként való bejelentkezéshez adja meg a --client-id és a --tenant-id azonosítót, valamint a következők egyikét: --client-secret, --client-certificate vagy --federated-credential-provider.

Ha felügyelt identitással szeretne bejelentkezni, adja át a --managed-identity azonosítót, amely a rendszer által hozzárendelt felügyelt identitást fogja használni. A felhasználó által hozzárendelt felügyelt identitás használatához a --managed-identity mellett adja meg a --client-id azonosítót a használni kívánt felhasználó által hozzárendelt felügyelt identitás ügyfélazonosítójával.

azd auth login [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd hitelesítés kijelentkezés (auth logout)

Jelentkezzen ki az Azure-ból.

Szinopszis

Kijelentkezés az Azure-ból

azd auth logout [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiegészítés

Shell kiegészítési szkriptek létrehozása.

Szinopszis

Shell-kiegészítési szkriptek létrehozása az azd-hez.

A befejezési paranccsal automatikus kiegészítési szkripteket hozhat létre a rendszerhéjhoz, jelenleg a bash, a zsh, a fish és a PowerShell használatát támogatja.

A létrehozott szkript használatáról az egyes alparancsok súgójában olvashat.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd completion bash

Bash-befejezési szkript létrehozása.

azd completion bash

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd befejezési hal

Fish completion script létrehozása.

azd completion fish

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiegészítés powershellhez

PowerShell-befejezési szkript létrehozása.

azd completion powershell

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiegészítés zsh-hoz

Zsh-befejezési szkript létrehozása.

azd completion zsh

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd konfiguráció

Az azd-konfigurációk kezelése (pl. alapértelmezett Azure-előfizetés, hely).

Szinopszis

Az Azure Developer CLI felhasználói konfigurációjának kezelése, amely tartalmazza az alapértelmezett Azure-előfizetést és -helyet.

azure-dev-cli_0.4.0-beta.1Azóta érhető el.

Az első konfigurálás azd legegyszerűbb módja a futtatás azd init. A kiválasztott előfizetés és hely a config.json konfigurációs könyvtárban található fájlban lesz tárolva. Ha később bármikor konfigurálni azd szeretne, a következőt fogja használni azd config set: .

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%.azd Windows rendszeren

A konfigurációs könyvtár felülírható a AZD_CONFIG_DIR környezeti változó elérési útjának megadásával.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd config get

Lekéri a konfigurációt.

Szinopszis

Beolvas egy konfigurációt a konfigurációs útvonalba.

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%\.azd Windows rendszeren

A konfigurációs könyvtár felülírható a AZD_CONFIG_DIR környezeti változó elérési útjának megadásával.

azd config get <path> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd konfiguráció list-alpha

Az elérhető funkciók listájának megjelenítése az alfa szakaszban.

azd config list-alpha [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd config reset—az alapértelmezett beállítások visszaállítása

Alaphelyzetbe állítja a konfigurációt az alapértelmezett értékre.

Szinopszis

Alaphelyzetbe állítja a konfigurációs útvonal összes konfigurációját.

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%\.azd Windows rendszeren

A konfigurációs könyvtár felülírható úgy, hogy megadja a AZD_CONFIG_DIR környezeti változó alapértelmezett elérési útját.

azd config reset [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd config beállítás

Beállít egy konfigurációt.

Szinopszis

Konfigurációt állít be a konfigurációs útvonalon.

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%\.azd Windows rendszeren

A konfigurációs könyvtár felülírható a AZD_CONFIG_DIR környezeti változó elérési útjának megadásával.

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

Példák

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

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd konfiguráció megjelenítése

Az összes konfigurációs érték megjelenítése.

Szinopszis

Az összes konfigurációs érték megjelenítése a konfigurációs útvonalon.

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%\.azd Windows rendszeren

A konfigurációs könyvtár felülírható a AZD_CONFIG_DIR környezeti változó elérési útjának megadásával.

azd config show [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd konfiguráció beállításának törlése

A konfiguráció leválasztása.

Szinopszis

Eltávolít egy konfigurációt a konfigurációs útvonalon.

A konfigurációs könyvtár alapértelmezett értéke a következő:

  • $HOME/.azd Linux és macOS rendszeren
  • %USERPROFILE%\.azd Windows rendszeren

A konfigurációs könyvtár felülírható a AZD_CONFIG_DIR környezeti változó elérési útjának megadásával.

azd config unset <path> [flags]

Példák

azd config unset defaults.location

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd telepítése

A projektkód üzembe helyezése az Azure-ban.

azd deploy <service> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd down

Törölje a projekt Azure-erőforrásait.

azd down [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env

Környezetek kezelése (például alapértelmezett környezet, környezeti változók).

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd környezeti érték-lekérés

Adott környezeti érték lekérése.

azd env get-value <keyName> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env get-values parancs, amely környezeti értékeket nyer ki

Az összes környezeti érték lekérése.

azd env get-values [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env list

Környezetek listázása.

azd env list [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env new

Hozzon létre egy új környezetet, és állítsa be alapértelmezettként.

azd env new <environment> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd környezet frissítés

A környezeti értékek frissítése egy korábbi infrastruktúra-kiépítés adataival.

azd env refresh <environment> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env választ

Állítsa be az alapértelmezett környezetet.

azd env select <environment> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd környezet beállítása

Állítson be egy vagy több környezeti értéket.

Szinopszis

Állítson be egy vagy több környezeti értéket kulcs-érték párokkal vagy .env formátumú fájlból való betöltéssel.

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

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd env set-secret

Adjon meg egy nevet egy Key Vault-titkos kódra való hivatkozásként a környezetben.

Szinopszis

Létrehozhat egy új Key Vault-titkos kulcsot, vagy kiválaszthat egy meglévőt. A megadott név az .env fájl kulcsa, amely a Key Vault titkos kulcsára mutató titkos hivatkozást tartalmazza.

azd env set-secret <name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd extension

Azd-bővítmények kezelése.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd bővítmény telepítés

A megadott bővítmények telepítése.

azd extension install <extension-name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd bővítmény lista

Az elérhető bővítmények listája.

azd extension list [--installed] [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés megjelenítése

Egy adott bővítmény részleteinek megjelenítése.

azd extension show <extension-name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés forrása

Bővítményforrások megtekintése és kezelése

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés forrás hozzáadása

Bővítményforrás hozzáadása a megadott névvel

azd extension source add [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés forráslista

Bővítményforrások listázása

azd extension source list [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés forrás eltávolítás

Bővítményforrás eltávolítása a megadott névvel

azd extension source remove <name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés eltávolítása

Távolítsa el a megadott bővítményeket.

azd extension uninstall <extension-name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd kiterjesztés frissítése

A megadott bővítmények frissítése.

azd extension upgrade <extension-name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd hooks

Projekt horogainak fejlesztése, tesztelése és futtatása.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd hooks run

A projekthez és a szolgáltatásokhoz megadott horog futtatása

azd hooks run <name> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd infra

Kezelje az infrastruktúrát kódként (IaC).

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd infra generál

IaC-t írhat a projekthez lemezre, így manuálisan kezelheti.

azd infra generate [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd init

Új alkalmazás inicializálása.

azd init [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd mcp

A Model Context Protocol (MCP) kiszolgáló kezelése. (Alfa)

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

McP-eszköz hozzájárulásának kezelése.

Szinopszis

Az MCP-eszközök végrehajtásához szükséges hozzájárulási szabályok kezelése.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

Hozzájárulási megbízhatósági szabályok megadása.

Szinopszis

Adjon meg megbízhatósági szabályokat az MCP-eszközökhöz és -kiszolgálókhoz.

Ez a parancs hozzájárulási szabályokat hoz létre, amelyek lehetővé teszik az MCP-eszközök számára, hogy engedély kérése nélkül hajthassanak végre. A szabályokhoz különböző jogosultsági szinteket és hatóköröket adhat meg.

Példák: Mindig adjon engedélyt az összes eszköznek globálisan:

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]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

Hozzájárulási szabályok listázása.

Szinopszis

Az MCP-eszközök összes hozzájárulási szabályának felsorolása.

azd mcp consent list [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

Hozzájárulási szabályok visszavonása.

Szinopszis

Az MCP-eszközök hozzájárulási szabályainak visszavonása.

azd mcp consent revoke [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd mcp start

Elindítja az MCP-kiszolgálót.

Szinopszis

Elindítja a Model Context Protocol (MCP) kiszolgálót.

Ez a parancs elindít egy MCP-kiszolgálót, amelyet az MCP-ügyfelek használhatnak az azd funkciók eléréséhez a Model Context Protocol felületén keresztül.

azd mcp start [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd monitor

Üzembe helyezett projekt figyelése.

azd monitor [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd package

A projekt Azure-ban üzembe helyezendő kódját csomagolja.

azd package <service> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd csővezeték

Az üzembehelyezési folyamatok kezelése és konfigurálása.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd pipeline konfiguráció

Konfigurálja az üzembehelyezési folyamatot, hogy biztonságosan csatlakozzon az Azure-hoz. (bétaverzió)

azd pipeline config [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd rendelkezés

Azure-erőforrások kiépítése a projekthez.

azd provision [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd publish

Szolgáltatás közzététele tárolóregisztrációs adatbázisban.

azd publish <service> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd restore

Visszaállítja a projekt függőségeit.

azd restore <service> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd show

A projektre és az erőforrásaira vonatkozó információk megjelenítése.

azd show [resource name or ID] [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablon

A sablon részleteinek megkeresése és megtekintése.

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablonlista

Minta azd-sablonok listájának megjelenítése. (bétaverzió)

azd template list [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablon megjelenítése

Egy adott sablon részleteinek megjelenítése. (bétaverzió)

azd template show <template> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

sablonforrás

Sablonforrások megtekintése és kezelése. (bétaverzió)

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablon forrás hozzáadás

Hozzáad egy azd-sablonforrást a megadott kulccsal. (bétaverzió)

Szinopszis

A kulcs bármilyen érték lehet, amely egyedileg azonosítja a sablonforrást, jól ismert értékekkel: ・alapértelmezett: Alapértelmezett sablonok ・awesome-azd: Sablonok innen: https://aka.ms/awesome-azd

azd template source add <key> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablon forráslista

A konfigurált azd-sablonforrásokat sorolja fel. (bétaverzió)

azd template source list [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd sablon forrás eltávolítása

Eltávolítja a megadott azd sablonforrást (bétaverzió)

azd template source remove <key> [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd up

A projekt kiépítése és üzembe helyezése az Azure-ban egyetlen paranccsal.

azd up [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még

azd verzió

Az Azure Developer CLI verziószámának nyomtatása.

azd version [flags]

Beállítások

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

A szülőparancsoktól örökölt beállítások

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

Lásd még