Referenz zur Azure Developer CLI

In diesem Artikel werden die Syntax und Die Parameter für die verschiedenen Azure Developer CLI-Befehle erläutert.

azd

Die Azure Developer CLI (azd) ist ein Open-Source-Tool, mit dem Sie Ihre Anwendung in Azure integrieren und verwalten können.

Tastatur

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

Siehe auch

  • azd auth: Authentifizieren mit Azure.
  • azd config: Verwalten von azd-Konfigurationen (z. B. Standard-Azure-Abonnement, Standort).
  • azd deploy: Deploy the application's code to Azure.
  • azd down: Löschen von Azure-Ressourcen für eine Anwendung.
  • azd env: Verwalten von Umgebungen.
  • azd Hooks: Entwickeln, Testen und Ausführen von Hooks für eine Anwendung. (Beta)
  • azd init: Initialisieren einer neuen Anwendung.
  • azd monitor: Überwachen einer bereitgestellten Anwendung. (Beta)
  • azd-Paket: Packt den Code der Anwendung, der in Azure bereitgestellt werden soll. (Beta)
  • azd-Pipeline: Verwalten und Konfigurieren Ihrer Bereitstellungspipelinen. (Beta)
  • azd-Bereitstellung: Bereitstellen der Azure-Ressourcen für eine Anwendung.
  • azd restore: Stellt die Abhängigkeiten der Anwendung wieder her. (Beta)
  • azd show: Display information about your app and its resources.
  • azd-Vorlage: Suchen und Anzeigen von Vorlagendetails. (Beta)
  • azd up: Bereitstellen von Azure-Ressourcen und Bereitstellen Ihres Projekts mit einem einzigen Befehl.
  • azd version: Print the version number of Azure Developer CLI.

azd auth

Authentifizieren mit Azure.

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd auth login

Melden Sie sich bei Azure an.

Übersicht

Melden Sie sich bei Azure an.

Wenn Sie ohne Argumente ausgeführt werden, melden Sie sich interaktiv mit einem Browser an. Um sich mit einem Gerätecode anzumelden, übergeben Sie "-use-device-code".

Um sich als Dienstprinzipal anzumelden, übergeben Sie --client-id und --tenant-id sowie eine der folgenden: --client-secret, --client-certificate, or --federated-credential-provider.

azd auth login [flags]

Tastatur

      --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.
  -h, --help                                   Gets help for login.
      --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.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd-Authentifizierungsprotokollierung

Melden Sie sich bei Azure ab.

Übersicht

Abmelden bei Azure

azd auth logout [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config

Verwalten von azd-Konfigurationen (z. B. Standard-Azure-Abonnement, Standort).

Übersicht

Verwalten Sie die Azure Developer CLI-Benutzerkonfiguration, die Ihr Azure-Standardabonnement und Ihren Standardspeicherort enthält.

Verfügbar seit azure-dev-cli_0.4.0-beta.1.

Die einfachste Möglichkeit zum erstmaligen Konfigurieren azd ist die Ausführung azd init. Das ausgewählte Abonnement und der von Ihnen ausgewählte Speicherort werden in der config.json Datei gespeichert, die sich im Konfigurationsverzeichnis befindet. Wenn Sie danach jederzeit konfigurieren azd möchten, verwenden azd config setSie .

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der umgebungsvariablen AZD_CONFIG_DIR angegeben wird.

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config get

Ruft eine Konfiguration ab.

Übersicht

Ruft eine Konfiguration im Konfigurationspfad ab.

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%\.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der umgebungsvariablen AZD_CONFIG_DIR angegeben wird.

azd config get <path> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config list-alpha

Zeigt die Liste der verfügbaren Features in alpha-Phase an.

azd config list-alpha [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config reset

Setzt die Konfiguration auf Standard zurück.

Übersicht

Setzt alle Konfigurationen im Konfigurationspfad zurück.

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%\.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der AZD_CONFIG_DIR Umgebungsvariable zum Standard angegeben wird.

azd config reset [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config set

Legt eine Konfiguration fest.

Übersicht

Legt eine Konfiguration im Konfigurationspfad fest.

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%\.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der umgebungsvariablen AZD_CONFIG_DIR angegeben wird.

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

Beispiele

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

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config show

Alle Konfigurationswerte anzeigen.

Übersicht

Alle Konfigurationswerte im Konfigurationspfad anzeigen.

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%\.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der umgebungsvariablen AZD_CONFIG_DIR angegeben wird.

azd config show [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd config unset

Hebt eine Konfiguration auf.

Übersicht

Entfernt eine Konfiguration im Konfigurationspfad.

Der Standardwert des Konfigurationsverzeichnisses lautet:

  • $HOME/.azd unter Linux und macOS
  • %USERPROFILE%\.azd unter Windows

Das Konfigurationsverzeichnis kann überschrieben werden, indem ein Pfad in der umgebungsvariablen AZD_CONFIG_DIR angegeben wird.

azd config unset <path> [flags]

Beispiele

azd config unset defaults.location

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd deploy

Stellen Sie den Code der Anwendung in Azure bereit.

azd deploy <service> [flags]

Tastatur

      --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 application from an existing package.
  -h, --help                  Gets help for deploy.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd down

Löschen Sie Azure-Ressourcen für eine Anwendung.

azd down [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env

Verwalten von Umgebungen

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env get-values

Rufen Sie alle Umgebungswerte ab.

azd env get-values [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env list

Listenumgebungen auf.

azd env list [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env neu

Erstellen Sie eine neue Umgebung, und legen Sie sie als Standard fest.

azd env new <environment> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env refresh

Aktualisieren Sie Umgebungseinstellungen mithilfe von Informationen aus einer vorherigen Infrastrukturbereitstellung.

azd env refresh <environment> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env select

Legen Sie die Standardumgebung fest.

azd env select <environment> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd env set

Verwalten Sie Ihre Umgebungseinstellungen.

azd env set <key> <value> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd Hooks

Entwickeln, Testen und Ausführen von Hooks für eine Anwendung. (Beta)

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd hooks run

Führt den angegebenen Hook für das Projekt und die Dienste aus.

azd hooks run <name> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd init

Initialisieren Sie eine neue Anwendung.

azd init [flags]

Tastatur

  -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.
  -h, --help                  Gets help for init.
  -l, --location string       Azure location for the new environment
  -s, --subscription string   Name or ID of an Azure subscription to use for the new environment
  -t, --template string       The template to use when you initialize the project. You can use Full URI, <owner>/<repository>, or <repository> if it's part of the azure-samples organization.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd Monitor

Überwachen einer bereitgestellten Anwendung. (Beta)

azd monitor [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd-Paket

Packt den Code der Anwendung, der in Azure bereitgestellt werden soll. (Beta)

azd package <service> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd-Pipeline

Verwalten und konfigurieren Sie Ihre Bereitstellungspipelinen. (Beta)

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd pipeline config

Konfigurieren Sie Ihre Bereitstellungspipeline, um eine sichere Verbindung mit Azure herzustellen. (Beta)

azd pipeline config [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd-Bereitstellung

Stellen Sie die Azure-Ressourcen für eine Anwendung bereit.

azd provision [flags]

Tastatur

      --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             Do not use latest Deployment State (bicep only).
      --preview              Preview changes to Azure resources.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd restore

Stellt die Abhängigkeiten der Anwendung wieder her. (Beta)

azd restore <service> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd show

Zeigen Sie Informationen zu Ihrer App und ihren Ressourcen an.

azd show [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd template

Suchen und Anzeigen von Vorlagendetails. (Beta)

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlagenliste

Liste der Azd-Beispielvorlagen anzeigen. (Beta)

azd template list [flags]

Tastatur

      --docs            Opens the documentation for azd template list in your web browser.
  -h, --help            Gets help for list.
  -s, --source string   Filters templates by source.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlage anzeigen

Details für eine bestimmte Vorlage anzeigen. (Beta)

azd template show <template> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlagenquelle

Anzeigen und Verwalten von Vorlagenquellen (Beta)

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlagenquelle hinzufügen

Fügt eine Azd-Vorlagenquelle am angegebenen Schlüssel (Beta) hinzu.

azd template source add <key> [flags]

Tastatur

      --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.
  -n, --name string       Display name of the template source.
  -t, --type string       Kind of the template source.

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlagenquellliste

Listet die konfigurierten azd-Vorlagenquellen auf. (Beta)

azd template source list [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

Azd-Vorlagenquelle entfernen

Entfernt die angegebene azd-Vorlagenquelle (Beta)

azd template source remove <key> [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd up

Stellen Sie Azure-Ressourcen bereit, und stellen Sie Ihr Projekt mit einem einzigen Befehl bereit.

azd up [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch

azd-Version

Drucken Sie die Versionsnummer der Azure Developer CLI.

azd version [flags]

Tastatur

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

Von übergeordneten Befehlen geerbte Optionen

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

Siehe auch