Referensi Azure Developer CLI
Artikel ini menjelaskan sintaksis dan parameter untuk berbagai perintah Azure Developer CLI.
azd
Azure Developer CLI (azd
) adalah alat sumber terbuka yang membantu onboarding dan mengelola aplikasi Anda di Azure
Opsi
-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.
Baca juga
- azd auth: Mengautentikasi dengan Azure.
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- azd deploy: Menyebarkan kode aplikasi ke Azure.
- azd down: Menghapus sumber daya Azure untuk aplikasi.
- azd env: Mengelola lingkungan.
- azd hooks: Mengembangkan, menguji, dan menjalankan kait untuk aplikasi. (Beta)
- azd init: Inisialisasi aplikasi baru.
- monitor azd: Memantau aplikasi yang disebarkan. (Beta)
- paket azd: Mengemas kode aplikasi yang akan disebarkan ke Azure. (Beta)
- alur azd: Mengelola dan mengonfigurasi alur penyebaran Anda. (Beta)
- azd provision: Provisikan sumber daya Azure untuk aplikasi.
- pemulihan azd: Memulihkan dependensi aplikasi. (Beta)
- azd show: Menampilkan informasi tentang aplikasi Anda dan sumber dayanya.
- templat azd: Temukan dan lihat detail templat. (Beta)
- azd up: Provisikan sumber daya Azure, dan sebarkan proyek Anda dengan satu perintah.
- versi azd: Cetak nomor versi Azure Developer CLI.
azd auth
Autentikasi dengan Azure.
Opsi
--docs Opens the documentation for azd auth in your web browser.
-h, --help Gets help for auth.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd auth login: Masuk ke Azure.
- azd auth logout: Keluar dari Azure.
- Kembali ke atas
azd auth login
Masuk ke Azure.
Sinopsis
Masuk ke Azure.
Saat dijalankan tanpa argumen apa pun, masuk secara interaktif menggunakan browser. Untuk masuk menggunakan kode perangkat, lewati --use-device-code.
Untuk masuk sebagai perwakilan layanan, berikan --client-id dan --tenant-id serta salah satu dari: --client-secret, --client-certificate, atau --federated-credential-provider.
azd auth login [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd auth: Mengautentikasi dengan Azure.
- Kembali ke atas
azd auth logout
Keluar dari Azure.
Sinopsis
Keluar dari Azure
azd auth logout [flags]
Opsi
--docs Opens the documentation for azd auth logout in your web browser.
-h, --help Gets help for logout.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd auth: Mengautentikasi dengan Azure.
- Kembali ke atas
konfigurasi azd
Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
Sinopsis
Kelola konfigurasi pengguna Azure Developer CLI, yang menyertakan langganan dan lokasi Azure default Anda.
Tersedia sejak azure-dev-cli_0.4.0-beta.1
.
Cara term mudah untuk mengonfigurasi azd
untuk pertama kalinya adalah dengan menjalankan azd init
. Langganan dan lokasi yang Anda pilih akan disimpan dalam file yang config.json
terletak di direktori konfigurasi. Untuk mengonfigurasi azd
kapan saja setelahnya, Anda akan menggunakan azd config set
.
Nilai default direktori konfigurasi adalah:
- $HOME/.azd di Linux dan macOS
- %USERPROFILE%.azd di Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR.
Opsi
--docs Opens the documentation for azd config in your web browser.
-h, --help Gets help for config.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config get: Mendapatkan konfigurasi.
- azd config list-alpha: Menampilkan daftar fitur yang tersedia dalam tahap alfa.
- azd config reset: Mengatur ulang konfigurasi ke default.
- azd config set: Mengatur konfigurasi.
- azd config show: Tampilkan semua nilai konfigurasi.
- azd config unset: Membatalkan pengaturan konfigurasi.
- Kembali ke atas
azd config get
Mendapatkan konfigurasi.
Sinopsis
Mendapatkan konfigurasi di jalur konfigurasi.
Nilai default direktori konfigurasi adalah:
$HOME/.azd
di Linux dan macOS%USERPROFILE%\.azd
pada Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR.
azd config get <path> [flags]
Opsi
--docs Opens the documentation for azd config get in your web browser.
-h, --help Gets help for get.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
azd config list-alpha
Tampilkan daftar fitur yang tersedia dalam tahap alfa.
azd config list-alpha [flags]
Opsi
--docs Opens the documentation for azd config list-alpha in your web browser.
-h, --help Gets help for list-alpha.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
azd config reset
Mereset konfigurasi ke default.
Sinopsis
Mengatur ulang semua konfigurasi di jalur konfigurasi.
Nilai default direktori konfigurasi adalah:
$HOME/.azd
di Linux dan macOS%USERPROFILE%\.azd
pada Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR ke default.
azd config reset [flags]
Opsi
--docs Opens the documentation for azd config reset in your web browser.
-f, --force Force reset without confirmation.
-h, --help Gets help for reset.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
azd config set
Mengatur konfigurasi.
Sinopsis
Mengatur konfigurasi di jalur konfigurasi.
Nilai default direktori konfigurasi adalah:
$HOME/.azd
di Linux dan macOS%USERPROFILE%\.azd
pada Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR.
azd config set <path> <value> [flags]
Contoh
azd config set defaults.subscription <yourSubscriptionID>
azd config set defaults.location eastus
Opsi
--docs Opens the documentation for azd config set in your web browser.
-h, --help Gets help for set.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
azd config show
Perlihatkan semua nilai konfigurasi.
Sinopsis
Tampilkan semua nilai konfigurasi di jalur konfigurasi.
Nilai default direktori konfigurasi adalah:
$HOME/.azd
di Linux dan macOS%USERPROFILE%\.azd
pada Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR.
azd config show [flags]
Opsi
--docs Opens the documentation for azd config show in your web browser.
-h, --help Gets help for show.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
azd config unset
Membatalkan pengaturan konfigurasi.
Sinopsis
Menghapus konfigurasi di jalur konfigurasi.
Nilai default direktori konfigurasi adalah:
$HOME/.azd
di Linux dan macOS%USERPROFILE%\.azd
pada Windows
Direktori konfigurasi dapat ditimpa dengan menentukan jalur dalam variabel lingkungan AZD_CONFIG_DIR.
azd config unset <path> [flags]
Contoh
azd config unset defaults.location
Opsi
--docs Opens the documentation for azd config unset in your web browser.
-h, --help Gets help for unset.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd config: Mengelola konfigurasi azd (misalnya: langganan Azure default, lokasi).
- Kembali ke atas
penyebaran azd
Sebarkan kode aplikasi ke Azure.
azd deploy <service> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
azd down
Menghapus sumber daya Azure untuk aplikasi.
azd down [flags]
Opsi
--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).
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
azd env
Mengelola lingkungan.
Opsi
--docs Opens the documentation for azd env in your web browser.
-h, --help Gets help for env.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env get-values: Dapatkan semua nilai lingkungan.
- azd env list: Mencantumkan lingkungan.
- azd env baru: Buat lingkungan baru dan atur sebagai default.
- azd env refresh: Refresh pengaturan lingkungan dengan menggunakan informasi dari provisi infrastruktur sebelumnya.
- azd env select: Atur lingkungan default.
- azd env set: Kelola pengaturan lingkungan Anda.
- Kembali ke atas
azd env get-values
Dapatkan semua nilai lingkungan.
azd env get-values [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
azd env list
Mencantumkan lingkungan.
azd env list [flags]
Opsi
--docs Opens the documentation for azd env list in your web browser.
-h, --help Gets help for list.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
azd env baru
Buat lingkungan baru dan atur sebagai default.
azd env new <environment> [flags]
Opsi
--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
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
azd env refresh
Refresh pengaturan lingkungan dengan menggunakan informasi dari provisi infrastruktur sebelumnya.
azd env refresh <environment> [flags]
Opsi
--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
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
azd env select
Atur lingkungan default.
azd env select <environment> [flags]
Opsi
--docs Opens the documentation for azd env select in your web browser.
-h, --help Gets help for select.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
azd env set
Mengelola pengaturan lingkungan Anda.
azd env set <key> <value> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd env: Mengelola lingkungan.
- Kembali ke atas
kait azd
Mengembangkan, menguji, dan menjalankan kait untuk aplikasi. (Beta)
Opsi
--docs Opens the documentation for azd hooks in your web browser.
-h, --help Gets help for hooks.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd hooks run: Menjalankan hook yang ditentukan untuk proyek dan layanan
- Kembali ke atas
azd hooks run
Menjalankan hook yang ditentukan untuk proyek dan layanan
azd hooks run <name> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd hooks: Mengembangkan, menguji, dan menjalankan kait untuk aplikasi. (Beta)
- Kembali ke atas
azd init
Menginisialisasi aplikasi baru.
azd init [flags]
Opsi
-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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
monitor azd
Memantau aplikasi yang disebarkan. (Beta)
azd monitor [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
paket azd
Mengemas kode aplikasi yang akan disebarkan ke Azure. (Beta)
azd package <service> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
alur azd
Mengelola dan mengonfigurasi alur penyebaran Anda. (Beta)
Opsi
--docs Opens the documentation for azd pipeline in your web browser.
-h, --help Gets help for pipeline.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd pipeline config: Konfigurasikan alur penyebaran Anda untuk terhubung dengan aman ke Azure. (Beta)
- Kembali ke atas
konfigurasi alur azd
Konfigurasikan alur penyebaran Anda untuk terhubung dengan aman ke Azure. (Beta)
azd pipeline config [flags]
Opsi
--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")
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- alur azd: Mengelola dan mengonfigurasi alur penyebaran Anda. (Beta)
- Kembali ke atas
provisi azd
Provisikan sumber daya Azure untuk aplikasi.
azd provision [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
pemulihan azd
Memulihkan dependensi aplikasi. (Beta)
azd restore <service> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
azd show
Menampilkan informasi tentang aplikasi Anda dan sumber dayanya.
azd show [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
templat azd
Temukan dan lihat detail templat. (Beta)
Opsi
--docs Opens the documentation for azd template in your web browser.
-h, --help Gets help for template.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- azd template list: Tampilkan daftar sampel templat azd. (Beta)
- azd template show: Tampilkan detail untuk templat tertentu. (Beta)
- sumber templat azd: Menampilkan dan mengelola sumber templat. (Beta)
- Kembali ke atas
daftar templat azd
Perlihatkan daftar sampel templat azd. (Beta)
azd template list [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- templat azd: Temukan dan lihat detail templat. (Beta)
- Kembali ke atas
azd template show
Perlihatkan detail untuk templat tertentu. (Beta)
azd template show <template> [flags]
Opsi
--docs Opens the documentation for azd template show in your web browser.
-h, --help Gets help for show.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- templat azd: Temukan dan lihat detail templat. (Beta)
- Kembali ke atas
sumber templat azd
Menampilkan dan mengelola sumber templat. (Beta)
Opsi
--docs Opens the documentation for azd template source in your web browser.
-h, --help Gets help for source.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- templat azd: Temukan dan lihat detail templat. (Beta)
- azd template source add: Menambahkan sumber templat azd pada kunci yang ditentukan (Beta)
- azd template source list: Mencantumkan sumber templat azd yang dikonfigurasi. (Beta)
- azd template source remove: Menghapus sumber templat azd (Beta) yang ditentukan
- Kembali ke atas
azd template source add
Menambahkan sumber templat azd pada kunci yang ditentukan (Beta)
azd template source add <key> [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- sumber templat azd: Menampilkan dan mengelola sumber templat. (Beta)
- Kembali ke atas
daftar sumber templat azd
Mencantumkan sumber templat azd yang dikonfigurasi. (Beta)
azd template source list [flags]
Opsi
--docs Opens the documentation for azd template source list in your web browser.
-h, --help Gets help for list.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- sumber templat azd: Menampilkan dan mengelola sumber templat. (Beta)
- Kembali ke atas
azd template source remove
Menghapus sumber templat azd yang ditentukan (Beta)
azd template source remove <key> [flags]
Opsi
--docs Opens the documentation for azd template source remove in your web browser.
-h, --help Gets help for remove.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
- sumber templat azd: Menampilkan dan mengelola sumber templat. (Beta)
- Kembali ke atas
azd up
Provisikan sumber daya Azure, dan sebarkan proyek Anda dengan satu perintah.
azd up [flags]
Opsi
--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.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
versi azd
Cetak nomor versi Azure Developer CLI.
azd version [flags]
Opsi
--docs Opens the documentation for azd version in your web browser.
-h, --help Gets help for version.
Opsi yang diwarisi dari perintah induk
-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.
Baca juga
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk