Aracılığıyla paylaş


Azure Developer CLI başvurusu

Bu makalede, çeşitli Azure Geliştirici CLI komutlarının söz dizimi ve parametreleri açıklanmaktadır.

azd

Azure Geliştirici CLI'sı (azd), Azure'da projenizi eklemeye ve yönetmeye yardımcı olan açık kaynak bir araçtır

Seçenekler

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

Ayrıca bkz.

  • azd add: Projenize bir bileşen ekleyin.
  • azd auth: Azure ile kimlik doğrulaması.
  • azd completion: Kabuk tamamlama betikleri oluşturun.
  • azd yapılandırması: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • azd deploy: Proje kodunuzu Azure'a dağıtın.
  • azd down: Projenizin Azure kaynaklarını silin.
  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • azd uzantısı: azd uzantılarını yönetin.
  • azd kancaları: Proje için kancaları geliştirin, test edin ve çalıştırın.
  • azd infra: Kod Olarak Altyapınızı (IaC) yönetin.
  • azd init: Yeni bir uygulama başlatın.
  • azd mcp: Model Bağlam Protokolü (MCP) sunucusunu yönetin. (Alfa)
  • azd monitor: Dağıtılan bir projeyi izleme.
  • azd paketi: Projenin kodunu Azure'a dağıtılacak şekilde paketler.
  • azd işlem hattı: Dağıtım işlem hatlarınızı yönetin ve yapılandırın.
  • azd provision: Projeniz için Azure kaynakları sağlayın.
  • azd publish: Kapsayıcı kayıt defterinde bir hizmet yayımlayın.
  • azd restore: Projenin bağımlılıklarını geri yükler.
  • azd show: Projeniz ve kaynakları hakkındaki bilgileri görüntüleyin.
  • azd şablonu: Şablon ayrıntılarını bulun ve görüntüleyin.
  • azd up: Projenizi tek bir komutla sağlayın ve Azure'a dağıtın.
  • azd version: Azure Developer CLI'nın sürüm numarasını yazdırın.

azd ekle

Projenize bir bileşen ekleyin.

azd add [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yetkilendirme

Azure ile kimlik doğrulaması.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd kimlik doğrulama giriş

Azure'da oturum açın.

Özet

Azure'da oturum açın.

Bağımsız değişken olmadan çalıştırıldığında, bir tarayıcı kullanarak etkileşimli olarak oturum açın. Cihaz kodu kullanarak oturum açmak için --use-device-code komutunu geçirin.

Hizmet sorumlusu olarak oturum açmak için --client-id ve --tenant-id değerlerinin yanı sıra şunlardan birini geçirin: --client-secret, --client-certificate veya --federated-credential-provider.

Yönetilen kimlik kullanarak oturum açmak için sistem tarafından atanan yönetilen kimliği kullanacak olan --managed-identity komutunu geçirin. Kullanıcı tarafından atanan yönetilen kimliği kullanmak için, kullanmak istediğiniz kullanıcı tarafından atanan yönetilen kimliğin istemci kimliğiyle --managed-identity öğesine ek olarak --client-id geçirin.

azd auth login [flags]

Seçenekler

      --check-status                           Checks the log-in status instead of logging in.
      --client-certificate string              The path to the client certificate for the service principal to authenticate with.
      --client-id string                       The client id for the service principal to authenticate with.
      --client-secret string                   The client secret for the service principal to authenticate with. Set to the empty string to read the value from the console.
      --docs                                   Opens the documentation for azd auth login in your web browser.
      --federated-credential-provider string   The provider to use to acquire a federated token to authenticate with. Supported values: github, azure-pipelines, oidc
  -h, --help                                   Gets help for login.
      --managed-identity                       Use a managed identity to authenticate.
      --redirect-port int                      Choose the port to be used as part of the redirect URI during interactive login.
      --tenant-id string                       The tenant id or domain name to authenticate with.
      --use-device-code[=true]                 When true, log in by using a device code instead of a browser.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd auth oturum kapatma

Azure oturumunuzu kapatın.

Özet

Azure oturumunuzu kapatın

azd auth logout [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlanması

Kabuk tamamlama betiklerini oluştur.

Özet

azd için komut tamamlayıcı betikleri oluşturun.

Tamamlama komutu kabuğunuz için otomatik tamamlama betikleri oluşturmanıza olanak tanır; şu anda bash, zsh, fish ve PowerShell'i destekler.

Oluşturulan betiği kullanma hakkında ayrıntılı bilgi için her alt komutun yardımına bakın.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlama eğlencesi

Bash tamamlama betiği oluşturun.

azd completion bash

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlama fig

Fig otomatik tamamlama belirtimi oluştur.

azd completion fig

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlama balığı

Fish tamamlama betiği oluşturma.

azd completion fish

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlama powershell

PowerShell tamamlama betiği oluştur.

azd completion powershell

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd tamamlama zsh

Zsh tamamlama betiği oluşturma.

azd completion zsh

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırması

azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).

Özet

Varsayılan Azure aboneliğinizi ve konumunuzu içeren Azure Geliştirici CLI kullanıcı yapılandırmasını yönetin.

'den itibaren azure-dev-cli_0.4.0-beta.1kullanılabilir.

İlk kez yapılandırmanın azd en kolay yolu komutunu çalıştırmaktır azd init. Seçtiğiniz abonelik ve konum, yapılandırma dizininde config.json bulunan dosyada depolanır. Daha sonra istediğiniz zaman yapılandırmak azd için kullanacaksınız azd config set.

Yapılandırma dizininin varsayılan değeri:

  • Linux ve macOS'ta $HOME/.azd
  • Windows'da %USERPROFILE%.azd

yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde bir yol belirtilerek geçersiz kılınabilir.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırma al

Yapılandırmayı alır.

Özet

Yapılandırma yolunda bir yapılandırma alır.

Yapılandırma dizininin varsayılan değeri:

  • $HOME/.azd Linux ve macOS'ta
  • %USERPROFILE%\.azd Windows'ta

yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde bir yol belirtilerek geçersiz kılınabilir.

azd config get <path> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırma liste-alfa

Alfa aşamasındaki kullanılabilir özelliklerin listesini görüntüleyin.

azd config list-alpha [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd config sıfırla

Yapılandırmayı varsayılana sıfırlar.

Özet

Yapılandırma yolundaki tüm yapılandırmayı sıfırlar.

Yapılandırma dizininin varsayılan değeri:

  • $HOME/.azd Linux ve macOS'ta
  • %USERPROFILE%\.azd Windows'ta

Yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde varsayılan olarak bir yol belirtilerek geçersiz kılınabilir.

azd config reset [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırma kümesi

Yapılandırmayı ayarlar.

Özet

Yapılandırma yolunda bir yapılandırma ayarlar.

Yapılandırma dizininin varsayılan değeri:

  • $HOME/.azd Linux ve macOS'ta
  • %USERPROFILE%\.azd Windows'ta

yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde bir yol belirtilerek geçersiz kılınabilir.

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

Örnekler

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

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırma göster

Tüm yapılandırma değerlerini gösterin.

Özet

Yapılandırma yolundaki tüm yapılandırma değerlerini gösterin.

Yapılandırma dizininin varsayılan değeri:

  • $HOME/.azd Linux ve macOS'ta
  • %USERPROFILE%\.azd Windows'ta

yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde bir yol belirtilerek geçersiz kılınabilir.

azd config show [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yapılandırmayı kaldır

Yapılandırmayı kaldırma.

Özet

Yapılandırma yolundaki bir yapılandırmayı kaldırır.

Yapılandırma dizininin varsayılan değeri:

  • $HOME/.azd Linux ve macOS'ta
  • %USERPROFILE%\.azd Windows'ta

yapılandırma dizini, AZD_CONFIG_DIR ortam değişkeninde bir yol belirtilerek geçersiz kılınabilir.

azd config unset <path> [flags]

Örnekler

azd config unset defaults.location

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd dağıtımı yap

Proje kodunuzu Azure'a dağıtın.

azd deploy <service> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd devre dışı

Projenizin Azure kaynaklarını silin.

azd down [<layer>] [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd env

Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd env get-value

Belirli bir ortam değeri alın.

azd env get-value <keyName> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env get-values (ortam değerlerini al)

Tüm ortam değerlerini alın.

azd env get-values [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env list (Çevre listeleme komutu)

Ortamları listeleyin.

azd env list [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env new

Yeni bir ortam oluşturun ve bunu varsayılan olarak ayarlayın.

azd env new <environment> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env yenile

Önceki bir altyapı sağlamasından alınan bilgileri kullanarak ortam değerlerini yenileyin.

azd env refresh <environment> [flags]

Seçenekler

      --docs                 Opens the documentation for azd env refresh in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for refresh.
      --hint string          Hint to help identify the environment to refresh
      --layer string         Provisioning layer to refresh the environment from.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd ortam seç

Varsayılan ortamı ayarlayın.

azd env select [<environment>] [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env set komutu çevre değişkenlerini ayarlamak için kullanılır.

Bir veya daha fazla ortam değeri ayarlayın.

Özet

Anahtar-değer çiftlerini kullanarak veya .env biçimli bir dosyadan yükleyerek bir veya daha fazla ortam değeri ayarlayın.

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

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd env set-secret (Bu komut, bir ortam için bir sırrı ayarlar.)

Ortamda bir Key Vault sırrına başvuru olarak bir ad ayarlayın.

Özet

Yeni bir Key Vault gizli dizisi oluşturabilir veya mevcut bir gizli diziyi seçebilirsiniz. Sağlanan ad, Key Vault'taki sırlara yönelik gizli referansı tutan .env dosyasının anahtarıdır.

azd env set-secret <name> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

  • azd env: Ortamları yönetme (ör. varsayılan ortam, ortam değişkenleri).
  • Başa dön

azd uzantısı

azd uzantılarını yönetin.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

** azd uzantı kur

Belirtilen uzantıları yükler.

azd extension install <extension-id> [flags]

Seçenekler

      --docs             Opens the documentation for azd extension install in your web browser.
  -f, --force            Force installation even if it would downgrade the current version
  -h, --help             Gets help for install.
  -s, --source string    The extension source to use for installs
  -v, --version string   The version of the extension to install

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı listesi

Kullanılabilir uzantıları listeleyin.

azd extension list [--installed] [flags]

Seçenekler

      --docs            Opens the documentation for azd extension list in your web browser.
  -h, --help            Gets help for list.
      --installed       List installed extensions
      --source string   Filter extensions by source
      --tags strings    Filter extensions by tags

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı göster

Belirli bir uzantının ayrıntılarını gösterir.

azd extension show <extension-id> [flags]

Seçenekler

      --docs            Opens the documentation for azd extension show in your web browser.
  -h, --help            Gets help for show.
  -s, --source string   The extension source to use.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı kaynağı

Uzantı kaynaklarını görüntüleme ve yönetme

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı kaynağı ekle

Belirtilen ada sahip bir uzantı kaynağı ekleme

azd extension source add [flags]

Seçenekler

      --docs              Opens the documentation for azd extension source add in your web browser.
  -h, --help              Gets help for add.
  -l, --location string   The location of the extension source
  -n, --name string       The name of the extension source
  -t, --type string       The type of the extension source. Supported types are 'file' and 'url'

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı kaynak listesi

Uzantı kaynaklarını listeleme

azd extension source list [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı kaynağını kaldır

Belirtilen ada sahip bir uzantı kaynağını kaldırma

azd extension source remove <name> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantı kaldırma

Belirtilen uzantıları kaldırın.

azd extension uninstall [extension-id] [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd uzantısı güncellemesi

Belirtilen uzantıları yükseltin.

azd extension upgrade [extension-id] [flags]

Seçenekler

      --all              Upgrade all installed extensions
      --docs             Opens the documentation for azd extension upgrade in your web browser.
  -h, --help             Gets help for upgrade.
  -s, --source string    The extension source to use for upgrades
  -v, --version string   The version of the extension to upgrade to

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd kancaları

Proje için hook geliştirme, test etme ve çalıştırma.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd kod kancaları çalıştır

Proje ve hizmetler için belirtilen kancayı çalıştırır

azd hooks run <name> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd infra

Kod Olarak Altyapınızı (IaC) yönetin.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd infra generate komutunu çalıştır

Projeniz için IaC'yi diske yazarak el ile yönetmenize olanak tanıyabilirsiniz.

azd infra generate [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd init

Yeni bir uygulama başlatın.

azd init [flags]

Seçenekler

  -b, --branch string         The template branch to initialize from. Must be used with a template argument (--template or -t).
      --docs                  Opens the documentation for azd init in your web browser.
  -e, --environment string    The name of the environment to use.
  -f, --filter strings        The tag(s) used to filter template results. Supports comma-separated values.
      --from-code             Initializes a new application from your existing code.
  -h, --help                  Gets help for init.
  -l, --location string       Azure location for the new environment
  -m, --minimal               Initializes a minimal project.
  -s, --subscription string   Name or ID of an Azure subscription to use for the new environment
  -t, --template string       Initializes a new application from a template. You can use Full URI, <owner>/<repository>, or <repository> if it's part of the azure-samples organization.
      --up                    Provision and deploy to Azure after initializing the project from a template.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd mcp

Model Bağlam Protokolü (MCP) sunucusunu yönetin. (Alfa)

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

MCP aracı onaylarını yönetme.

Özet

MCP aracının yürütülmesi için onay kurallarını yönetin.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

Onay verme güven kuralları.

Özet

MCP araçları ve sunucuları için güven kuralları verme.

Bu komut, MCP araçlarının izin istemeden yürütülmesine izin veren onay kuralları oluşturur. Kurallar için farklı izin düzeyleri ve kapsamlar belirtebilirsiniz.

Örnekler: Genel olarak tüm araçlara her zaman izin ver azd mcp consent grant --global --permission always

Salt okunur kapsamıyla belirli bir araca proje izni ver azd mcp consent grant --server my-server --tool my-tool --permission project --scope read-only

azd mcp consent grant [flags]

Seçenekler

      --action string       Action type: 'all' or 'readonly' (default "all")
      --docs                Opens the documentation for azd mcp consent grant in your web browser.
      --global              Apply globally to all servers
  -h, --help                Gets help for grant.
      --operation string    Operation type: 'tool' or 'sampling' (default "tool")
      --permission string   Permission: 'allow', 'deny', or 'prompt' (default "allow")
      --scope string        Rule scope: 'global', or 'project' (default "global")
      --server string       Server name
      --tool string         Specific tool name (requires --server)

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

Onay kurallarını listeleyin.

Özet

MCP araçları için tüm onay kurallarını listeleyin.

azd mcp consent list [flags]

Seçenekler

      --action string       Action type to filter by (readonly, any)
      --docs                Opens the documentation for azd mcp consent list in your web browser.
  -h, --help                Gets help for list.
      --operation string    Operation to filter by (tool, sampling)
      --permission string   Permission to filter by (allow, deny, prompt)
      --scope string        Consent scope to filter by (global, project). If not specified, lists rules from all scopes.
      --target string       Specific target to operate on (server/tool format)

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

Onay kurallarını iptal etme.

Özet

MCP araçları için onay kurallarını iptal etme.

azd mcp consent revoke [flags]

Seçenekler

      --action string       Action type to filter by (readonly, any)
      --docs                Opens the documentation for azd mcp consent revoke in your web browser.
  -h, --help                Gets help for revoke.
      --operation string    Operation to filter by (tool, sampling)
      --permission string   Permission to filter by (allow, deny, prompt)
      --scope string        Consent scope to filter by (global, project). If not specified, revokes rules from all scopes.
      --target string       Specific target to operate on (server/tool format)

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd mcp start

MCP sunucusunu başlatır.

Özet

Model Bağlam Protokolü (MCP) sunucusunu başlatır.

Bu komut, MCP istemcileri tarafından Model Bağlam Protokolü arabirimi aracılığıyla azd işlevselliğine erişmek için kullanılabilecek bir MCP sunucusu başlatır.

azd mcp start [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd monitör

Dağıtılan bir projeyi izleme.

azd monitor [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd package

Projenin kodunu Azure'a dağıtılacak şekilde paketler.

azd package <service> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd işlem hattı

Dağıtım işlem hatlarınızı yönetin ve yapılandırın.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd işlem hattı yapılandırması

Dağıtım işlem hattınızı Azure'a güvenli bir şekilde bağlanacak şekilde yapılandırın. (Beta)

azd pipeline config [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd sağlama

Projeniz için Azure kaynakları sağlayın.

azd provision [<layer>] [flags]

Seçenekler

      --docs                 Opens the documentation for azd provision in your web browser.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for provision.
      --no-state             (Bicep only) Forces a fresh deployment based on current Bicep template files, ignoring any stored deployment state.
      --preview              Preview changes to Azure resources.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd yayımla

Bir hizmeti bir kapsayıcı kayıt defterine yayımla.

azd publish <service> [flags]

Seçenekler

      --all                   Publishes all services that are listed in azure.yaml
      --docs                  Opens the documentation for azd publish in your web browser.
  -e, --environment string    The name of the environment to use.
      --from-package string   Publishes the service from a container image (image tag).
  -h, --help                  Gets help for publish.
      --to string             The target container image in the form '[registry/]repository[:tag]' to publish to.

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd geri yükle

Projenin bağımlılıklarını geri yükler.

azd restore <service> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd gösterisi

Projeniz ve kaynakları hakkındaki bilgileri görüntüleyin.

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

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablonu

Şablon ayrıntılarını bulun ve görüntüleyin.

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablon listesi

Örnek azd şablonlarının listesini göster. (Beta)

azd template list [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablonu göster

Belirli bir şablonun ayrıntılarını gösterir. (Beta)

azd template show <template> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablon kaynağı

Şablon kaynaklarını görüntüleyin ve yönetin. (Beta)

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablon kaynağı ekle

Belirtilen anahtarla bir azd şablon kaynağı ekler. (Beta)

Özet

Anahtar, şablon kaynağını benzersiz olarak tanımlayan herhangi bir değer olabilir ve iyi bilinen değerler şu şekilde olabilir: .default: Varsayılan şablonlar .awesome-azd: Şablon kaynağı https://aka.ms/awesome-azd

azd template source add <key> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablonu kaynak listesi

Yapılandırılmış azd şablon kaynaklarını listeler. (Beta)

azd template source list [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd şablon kaynağı kaldırma

Belirtilen azd şablon kaynağını kaldırır (Beta)

azd template source remove <key> [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

Azd Up

Projenizi tek bir komutla sağlayın ve Azure'a dağıtın.

azd up [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.

azd sürümü

Azure Geliştirici CLI'sının sürüm numarasını yazdırın.

azd version [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

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

Ayrıca bkz.