Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 Ihr Projekt in Azure integrieren und verwalten können.
Optionen
-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 add: Fügen Sie Ihrem Projekt eine Komponente hinzu.
- azd auth: Authentifizieren bei Azure.
- azd config: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- azd deploy: Deploy your project code to Azure.
- azd down: Löschen Sie die Azure-Ressourcen Ihres Projekts.
- azd env: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- azd Hooks: Entwickeln, Testen und Ausführen von Hooks für ein Projekt.
- azd infra: Verwalten Sie Ihre Infrastructure as Code (IaC).
- azd init: Initialisieren einer neuen Anwendung.
- azd monitor: Überwachen Sie ein bereitgestelltes Projekt.
- azd-Paket: Packt den Code des Projekts, der in Azure bereitgestellt werden soll.
- azd pipeline: Verwalten und Konfigurieren von Bereitstellungspipelines.
- azd provision: Bereitstellung von Azure-Ressourcen für Ihr Projekt.
- azd restore: Stellt die Abhängigkeiten des Projekts wieder her.
- azd show: Informationen über Ihr Projekt und dessen Ressourcen anzeigen.
- azd template: Suchen und Anzeigen von Vorlagendetails.
- azd up: Einrichten und Bereitstellen Ihres Projekts in Azure mit einem einzigen Befehl.
- azd version: Drucken der Versionsnummer von Azure Developer CLI.
azd add
Fügen Sie ihrem Projekt eine Komponente hinzu.
azd add [flags]
Optionen
--docs Opens the documentation for azd add in your web browser.
-h, --help Gets help for add.
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
Authentifizieren mit Azure.
Optionen
--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: Anmelden bei Azure.
- azd auth logout: Abmelden von Azure.
- Zurück nach oben
azd Authentifizierung Login
Melden Sie sich bei Azure an.
Übersicht
Melden Sie sich bei Azure an.
Falls die Ausführung ohne Argumente erfolgt, 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.
Um sich mit einer verwalteten Identität anzumelden, übergeben Sie die verwaltete Identität, die die vom System zugewiesene verwaltete Identität verwendet. Um eine vom Benutzer zugewiesene verwaltete Identität zu verwenden, übergeben Sie zusätzlich zur--managed-identity die Client-ID der vom Benutzer zugewiesenen verwalteten Identität, die Sie verwenden möchten.
azd auth login [flags]
Optionen
--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.
--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.
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: Authentifizieren bei Azure.
- Zurück nach oben
azd-Authentifizierungsprotokollierung
Melden Sie sich bei Azure ab.
Übersicht
Abmelden von Azure
azd auth logout [flags]
Optionen
--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 auth: Authentifizieren bei Azure.
- Zurück nach oben
azd-Konfiguration
Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
Übersicht
Verwalten Sie die Azure Developer CLI-Benutzerkonfiguration, die Ihr Azure-Standardabonnement und Ihre Azure-Region enthält.
Verfügbar seit azure-dev-cli_0.4.0-beta.1
.
Die einfachste Möglichkeit zum erstmaligen Konfigurieren von azd
ist die Ausführung von azd init
. Das ausgewählte Abonnement und die Region werden in der config.json
-Datei gespeichert, die sich im Konfigurationsverzeichnis befindet. Um danach azd
zu einem beliebigen Zeitpunkt zu konfigurieren, verwenden Sie azd config set
.
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.
Optionen
--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.
- azd config list-alpha: Zeigt die Liste der verfügbaren Features in Alphastufe an.
- azd config reset: Setzt die Konfiguration auf Standard zurück.
- azd config set: Legt eine Konfiguration fest.
- azd config show: Zeigt alle Konfigurationswerte an.
- azd config unset: Hebt eine Konfiguration auf.
- Zurück nach oben
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]
Optionen
--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: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
azd config list-alpha
Zeigt die Liste der verfügbaren Features in der Alpha-Phase an.
azd config list-alpha [flags]
Optionen
--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: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
azd config reset
Setzt die Konfiguration auf den Standardwert 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 in der Umgebungsvariablen AZD_CONFIG_DIR ein Pfad zum Standardverzeichnis angegeben wird.
azd config reset [flags]
Optionen
--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: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
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
Optionen
--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: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
azd config show
Zeigt alle Konfigurationswerte an.
Übersicht
Zeigt alle Konfigurationswerte im Konfigurationspfad an.
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]
Optionen
--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: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
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
Optionen
--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 config: Verwalten von azd-Konfigurationen (z. B. Azure-Standardabonnement, Azure-Region).
- Zurück nach oben
azd deploy
Stellen Sie Ihren Projektcode in Azure bereit.
azd deploy <service> [flags]
Optionen
--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.
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 die Azure-Ressourcen Ihres Projekts.
azd down [flags]
Optionen
--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 (z. B. Standardumgebung, Umgebungsvariablen).
Optionen
--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-value: Abrufen eines bestimmten Umgebungswerts.
- azd env get-values: Abrufen aller Umgebungswerte.
- azd env list: Auflisten von Umgebungen.
- azd env new: Erstellen einer neuen Umgebung und Festlegen dieser als Standardumgebung.
- azd env refresh: Aktualisieren der Umgebungseinstellungen mithilfe von Informationen aus einer vorherigen Infrastrukturbereitstellung.
- azd env select: Festlegen der Standardumgebung.
- azd env set: Verwalten der Umgebungseinstellungen.
-
azd env set-secret: Setze ein
<name>
als Referenz auf ein Key Vault-Geheimnis in der Umgebung. - Zurück nach oben
azd env get-value
Ruft einen bestimmten Umgebungswert ab.
azd env get-value <keyName> [flags]
Optionen
--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.
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 (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env get-values
Ruft alle Umgebungswerte ab.
azd env get-values [flags]
Optionen
--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: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env list
Listet Umgebungen auf.
azd env list [flags]
Optionen
--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: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env neu
Erstellt eine neue Umgebung und legt sie als Standard fest.
azd env new <environment> [flags]
Optionen
--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: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env refresh
Aktualisiert die Umgebungseinstellungen mithilfe von Informationen aus einer vorherigen Infrastrukturbereitstellung.
azd env refresh <environment> [flags]
Optionen
--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: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env select
Legt die Standardumgebung fest.
azd env select <environment> [flags]
Optionen
--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: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env set
Verwaltet die Umgebungseinstellungen.
azd env set <key> <value> [flags]
Optionen
--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 env: Verwalten von Umgebungen (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd env set-secret
Legen Sie ein <name>
als Verweis auf ein Key Vault-Secret in der Umgebung fest.
Übersicht
Sie können entweder ein neues Key Vault-Geheimnis erstellen oder ein vorhandenes auswählen. Der angegebene Name ist der Schlüssel für die .env-Datei, die die geheime Referenz auf das Key Vault-Secret enthält.
azd env set-secret <name> [flags]
Optionen
--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.
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 (z. B. Standardumgebung, Umgebungsvariablen).
- Zurück nach oben
azd Hooks
Entwickeln, Testen und Ausführen von Hooks für ein Projekt.
Optionen
--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.
- Zurück nach oben
azd hooks run
Führt den angegebenen Hook für das Projekt und die Dienste aus.
azd hooks run <name> [flags]
Optionen
--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 Hooks: Entwickeln, Testen und Ausführen von Hooks für ein Projekt.
- Zurück nach oben
azd infra
Verwalten Sie Ihre Infrastruktur als Code (IaC).
Optionen
--docs Opens the documentation for azd infra in your web browser.
-h, --help Gets help for infra.
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 infra generate: Schreiben Sie IaC für Ihr Projekt auf datenträger, sodass Sie es manuell verwalten können.
- Zurück nach oben
azd infra generate
Schreiben Sie IaC für Ihr Projekt auf einen Datenträger, sodass Sie es manuell verwalten können.
azd infra generate [flags]
Optionen
--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.
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 infra: Verwalten Sie Ihre Infrastructure as Code (IaC).
- Zurück nach oben
azd init
Initialisiert eine neue Anwendung.
azd init [flags]
Optionen
-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
-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.
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 Sie ein bereitgestelltes Projekt.
azd monitor [flags]
Optionen
--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 des Projekts, der in Azure bereitgestellt werden soll.
azd package <service> [flags]
Optionen
--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
Verwaltet und konfiguriert Bereitstellungspipelines.
Optionen
--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 der Bereitstellungspipeline, um eine sichere Verbindung mit Azure herzustellen. (Beta)
- Zurück nach oben
azd Pipeline-Konfiguration
Konfiguriert die Bereitstellungspipeline, um eine sichere Verbindung mit Azure herzustellen. (Beta)
azd pipeline config [flags]
Optionen
-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")
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 von Bereitstellungspipelines.
- Zurück nach oben
azd-Bereitstellung
Bereitstellen von Azure-Ressourcen für Ihr Projekt.
azd provision [flags]
Optionen
--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 des Projekts wieder her.
azd restore <service> [flags]
Optionen
--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 Ihrem Projekt und den zugehörigen Ressourcen an.
azd show [resource name or ID] [flags]
Optionen
--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.
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
Sucht Vorlagendetails und zeigt sie an.
Optionen
--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 template list: Zeigen der Liste von azd-Beispielvorlagen. (Beta)
- azd template show: Anzeigen der Details für eine bestimmte Vorlage. (Beta)
- azd template source: Anzeigen und Verwalten der Vorlagenquellen. (Beta)
- Zurück nach oben
Azd-Vorlagenliste
Zeigt eine Liste der azd-Beispielvorlagen an. (Beta)
azd template list [flags]
Optionen
--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.
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.
- Zurück nach oben
Azd-Vorlage anzeigen
Zeigt Details für eine bestimmte Vorlage an. (Beta)
azd template show <template> [flags]
Optionen
--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 template: Suchen und Anzeigen von Vorlagendetails.
- Zurück nach oben
Azd-Vorlagenquelle
Zeigt Vorlagenquellen an und verwaltet sie. (Beta)
Optionen
--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 template: Suchen und Anzeigen von Vorlagendetails.
- azd template source add: Fügt eine azd-Vorlagenquelle mit dem angegebenen Schlüssel hinzu. (Beta)
- azd template source list: Listet die konfigurierten azd-Vorlagenquellen auf. (Beta)
- azd template source remove: Entfernt die angegebene azd-Vorlagenquelle (Beta)
- Zurück nach oben
Azd-Vorlagenquelle hinzufügen
Fügt eine azd-Vorlagenquelle mit dem angegebenen Schlüssel hinzu. (Beta)
Übersicht
Der Schlüssel kann ein beliebiger Wert sein, der die Vorlagenquelle eindeutig identifiziert, wobei bekannte Werte angezeigt werden: {default: Default templates \awesome-azd: Templates from https://aka.ms/awesome-azd
azd template source add <key> [flags]
Optionen
--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'.
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 source: Anzeigen und Verwalten der Vorlagenquellen. (Beta)
- Zurück nach oben
Azd-Vorlagenquellliste
Listet die konfigurierten azd-Vorlagenquellen auf. (Beta)
azd template source list [flags]
Optionen
--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 template source: Anzeigen und Verwalten der Vorlagenquellen. (Beta)
- Zurück nach oben
Azd-Vorlagenquelle entfernen
Entfernt die angegebene azd-Vorlagenquelle (Beta)
azd template source remove <key> [flags]
Optionen
--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 template source: Anzeigen und Verwalten der Vorlagenquellen. (Beta)
- Zurück nach oben
azd up
Stellen Sie Ihr Projekt mit einem einzigen Befehl in Azure bereit.
azd up [flags]
Optionen
--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
Druckt die Versionsnummer der Azure Developer CLI.
azd version [flags]
Optionen
--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.