Azure Geliştirici CLI Referansı

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), projenizi Azure 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.
  -e, --environment string   The name of the environment to use.
  -h, --help                 Gets help for azd.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd add: Projenize bir bileşen ekleyin.
  • azd auth: Azure ile kimlik doğrulaması yapın.
  • azd completion: Kabuk tamamlama betikleri oluşturun.
  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • azd copilot: GitHub Copilot aracısı ayarlarını yönetin. (Önizleme)
  • azd deploy: Proje kodunuzu Azure 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 package: Projenin kodunu Azure 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: Tek bir komutla projenizi sağlayın ve Azure dağıtın.
  • azd update: Azd'i en son sürüme güncelleştirir.
  • azd version: Azure Developer CLI 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd kimlik doğrulama giriş

Azure oturum açın.

Özet

Azure 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'nin yanı sıra şu seçeneklerden birini de iletin: --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ğini --managed-identity ile birlikte --client-id olarak girin.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd auth oturum kapatma

Azure'dan çıkış yapı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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd kimlik doğrulaması durumu

Geçerli kimlik doğrulama durumunu gösterin.

Özet

Azure oturum açıp açmamanızı ve ilişkili hesap bilgilerini görüntüleyin.

azd auth status [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd yapılandırma

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

Özet

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

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

İlk kez `azd` yapılandırmanın en kolay yolu, `azd init`'yi çalıştırmaktır. Seçtiğiniz abonelik ve konum, yapılandırma dizininde config.json bulunan dosyada depolanır. Daha sonra istediğiniz zaman azd kullanarak azd config set yapılandırabilirsiniz.

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

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

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd yapılandırma al

Yapılandırmayı alır.

Özet

Yapılandırma yolunda bir öğe alır.

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

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

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

azd yapılandırma seçenekleri

Tüm kullanılabilir yapılandırma ayarlarını listeleyin.

Özet

Açıklamalar ve izin verilen değerler de dahil olmak üzere azd ile ayarlanabilecek tüm olası yapılandırma ayarlarını listeleyin.

azd config options [flags]

Seçenekler

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

Üst komutlardan devralınan seçenekler

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

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
  • Windows üzerinde %USERPROFILE%\.azd

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

azd yapılandırma kümesi

Yapılandırmayı ayarlar.

Özet

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

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

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

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

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
  • Windows üzerinde %USERPROFILE%\.azd

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

azd yapılandırmayı kaldır

Yapılandırmayı temizle.

Ö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
  • Windows üzerinde %USERPROFILE%\.azd

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd config: Azd yapılandırmalarını yönetme (ör. varsayılan Azure aboneliği, konum).
  • Başa dön

azd copilot

GitHub Copilot aracısı ayarlarını yönetin. (Önizleme)

Seçenekler

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

Üst komutlardan devralınan seçenekler

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

Araç onaylarını yönetme.

Özet

Araç yürütme için onay kurallarını yönetme.

Seçenekler

      --docs   Opens the documentation for azd copilot 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

Onay verme güven kuralları.

Özet

Araçlar ve sunucular için güven kuralları belirleme.

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

Örnekler: Tüm araçlara her zaman global izin ver azd copilot consent grant --global --permission always

Belli bir araca proje izni verme işlemi için salt okunur kapsam ayarları ile azd copilot consent grant --server my-server --tool my-tool --permission project --scope read-only

azd copilot consent grant [flags]

Seçenekler

      --action string       Action type: 'all' or 'readonly' (default "all")
      --docs                Opens the documentation for azd copilot 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

Onay kurallarını listeleyin.

Özet

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

azd copilot consent list [flags]

Seçenekler

      --action string       Action type to filter by (all, readonly)
      --docs                Opens the documentation for azd copilot 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

Onay kurallarını iptal etme.

Özet

Araçlar için onay kurallarını iptal etme.

azd copilot consent revoke [flags]

Seçenekler

      --action string       Action type to filter by (all, readonly)
      --docs                Opens the documentation for azd copilot 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd dağıtımı yap

Proje kodunuzu Azure 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.
      --timeout int           Maximum time in seconds for azd to wait for each service deployment. This stops azd from waiting but does not cancel the Azure-side deployment. (default: 1200) (default 1200)

Üst komutlardan devralınan seçenekler

  -C, --cwd string   Sets the current working directory.
      --debug        Enables debugging and diagnostics logging.
      --no-prompt    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd ortam yapılandırma

Ortam yapılandırmasını yönetme (ör. .azure/{environment}/config.jsoniçinde depolanır).

Seçenekler

      --docs   Opens the documentation for azd env 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd env config get

Ortamdan bir yapılandırma değeri alır.

Özet

Ortamın config.json dosyasından bir yapılandırma değeri alır.

azd env config get <path> [flags]

Seçenekler

      --docs                 Opens the documentation for azd env config get in your web browser.
  -e, --environment string   The name of the environment to use.
  -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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd env config: Ortam yapılandırmasını yönetme (ör. .azure/{environment}/config.jsoniçinde depolanır).
  • Başa dön

azd env yapılandırma kümesi

Ortamda bir yapılandırma değeri ayarlar.

Özet

Ortamın config.json dosyasında bir yapılandırma değeri ayarlar.

Değerler mümkün olduğunda otomatik olarak JSON türleri olarak ayrıştırılır. Boole değerleri (true/false), sayılar (42, 3,14), diziler ([...]) ve nesneler ({...}) yerel JSON türleriyle depolanır. Düz metin değerleri dize olarak depolanır. JSON türündeki bir değeri dize olarak depolamak için, çift tırnak işaretiyle sarın (örneğin '"true"' veya '"8080"').

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

Örnekler

azd env config set myapp.endpoint https://example.com
azd env config set myapp.debug true
azd env config set myapp.count 42
azd env config set infra.parameters.tags '{"env":"dev"}'
azd env config set myapp.port '"8080"'

Seçenekler

      --docs                 Opens the documentation for azd env config set in your web browser.
  -e, --environment string   The name of the environment to use.
  -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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd env config: Ortam yapılandırmasını yönetme (ör. .azure/{environment}/config.jsoniçinde depolanır).
  • Başa dön

Promote transliteration or explanation to help Turkish users understand: "azd env config unset" komutu mevcut ortamın yapılandırmasını sıfırlar.

Ortamdaki bir yapılandırma değerini kaldırıyor.

Özet

Ortamın config.json dosyasından bir yapılandırma değeri kaldırır.

azd env config unset <path> [flags]

Örnekler

azd env config unset myapp.endpoint

Seçenekler

      --docs                 Opens the documentation for azd env config unset in your web browser.
  -e, --environment string   The name of the environment to use.
  -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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

  • azd env config: Ortam yapılandırmasını yönetme (ör. .azure/{environment}/config.jsoniçinde depolanır).
  • Başa dön

azd env değeri al

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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   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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

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

azd ortam kaldır

Ortamı kaldır.

azd env remove <environment> [flags]

Seçenekler

      --docs                 Opens the documentation for azd env remove in your web browser.
  -e, --environment string   The name of the environment to use.
      --force                Skips confirmation before performing removal.
  -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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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 referans 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 sırrına 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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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, including downgrades and reinstalls
  -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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd uzantı kaynağı doğrulama

Uzantı kaynağının registry.json dosyasını doğrulayın.

Özet

Uzantı kaynağının registry.json dosyasını doğrulayın.

Kaynak adı ('azd uzantı kaynak listesinden'), yerel dosya yolunu veya URL'yi kabul eder. Gerekli alanları, geçerli özellikleri, semver sürüm biçimini, platform yapıt yapısını ve uzantı kimliği biçimini denetler.

azd extension source validate <name-or-path-or-url> [flags]

Seçenekler

      --docs     Opens the documentation for azd extension source validate in your web browser.
  -h, --help     Gets help for validate.
      --strict   Enable strict validation (require checksums)

Üst komutlardan devralınan seçenekler

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd kod kancaları çalıştır

Proje, hazırlık katmanları 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.
      --layer string         Only runs hooks for the specified provisioning layer.
      --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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd init

Yeni bir uygulama başlatın.

Özet

Yeni bir uygulama başlatın.

--template ile kullanıldığında, git clone'a benzer şekilde yeni bir dizin oluşturulur (şablon adına göre adlandırılır) ve proje bu dizin içinde başlatılır. Geçerli dizinde başlatmak için dizin olarak "." öğesini kullanı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   ID of an Azure subscription to use for the new environment
  -t, --template string       Initializes a new application from a template. You can use a Full URI, <owner>/<repository>, <repository> if it's part of the azure-samples organization, or a local directory path (./dir, ../dir, or absolute path).
      --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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd package

Projenin kodunu Azure 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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd işlem hattı configurasyonu

Dağıtım işlem hattınızı Azure 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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd konfigürasyon

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.
  -l, --location string       Azure location for the new environment
      --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.
      --subscription string   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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

Azd Up

Tek bir komutla projenizi sağlayın ve Azure 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.
  -l, --location string       Azure location for the new environment
      --subscription string   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    Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

"azd update" komutunu çalıştırarak güncellemeyi başlatabilirsiniz.

azd'yi en son sürüme güncelleştirir.

azd update [flags]

Seçenekler

      --channel string             Update channel: stable or daily.
      --check-interval-hours int   Override the update check interval in hours.
      --docs                       Opens the documentation for azd update in your web browser.
  -h, --help                       Gets help for update.

Üst komutlardan devralınan seçenekler

  -C, --cwd string           Sets the current working directory.
      --debug                Enables debugging and diagnostics logging.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.

azd sürümü

Azure Geliştirici CLI'sinin 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.
  -e, --environment string   The name of the environment to use.
      --no-prompt            Runs without prompts. Uses existing values; fails if any required value or decision cannot be resolved automatically.

Ayrıca bkz.