다음을 통해 공유


Azure Developer CLI 참조

이 문서에서는 다양한 Azure Developer CLI 명령에 대한 구문 및 매개 변수를 설명합니다.

azd

Azure 개발자 CLI(azd)는 Azure에서 프로젝트를 온보딩하고 관리하는 데 도움이 되는 오픈 소스 도구입니다.

옵션

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

참고 항목

  • azd add: 프로젝트에 구성 요소를 추가합니다.
  • azd auth: Azure를 사용하여 인증합니다.
  • azd completion: 셸 완성 스크립트를 생성합니다.
  • azd config: azd 구성을 관리합니다(예: 기본 Azure 구독, 위치).
  • azd deploy: Azure에 프로젝트 코드를 배포합니다.
  • azd down: 프로젝트의 Azure 리소스를 삭제합니다.
  • azd env: 환경을 관리합니다(예: 기본 환경, 환경 변수).
  • azd extension: azd extensions를 관리합니다.
  • azd hooks: 프로젝트에 대한 후크를 개발, 테스트 및 실행합니다.
  • azd infra: IaC(Infrastructure as Code)를 관리합니다.
  • azd init: 새 애플리케이션을 초기화합니다.
  • azd mcp: MCP(모델 컨텍스트 프로토콜) 서버를 관리합니다. (알파)
  • azd monitor: 배포된 프로젝트를 모니터링합니다.
  • azd package: Azure에 배포할 프로젝트의 코드를 패키지합니다.
  • azd pipeline: 배포 파이프라인을 관리하고 구성합니다.
  • azd provision: 프로젝트에 대한 Azure 리소스를 프로비전합니다.
  • azd publish: 컨테이너 레지스트리에 서비스를 게시합니다.
  • azd restore: 프로젝트의 종속성을 복원합니다.
  • azd show: 프로젝트 및 해당 리소스에 대한 정보를 표시합니다.
  • azd template: 템플릿 세부 정보를 찾아 봅니다.
  • azd up: 단일 명령을 사용하여 프로젝트를 프로비전하고 Azure에 배포합니다.
  • azd version: Azure Developer CLI의 버전 번호를 인쇄합니다.

azd 추가

프로젝트에 구성 요소를 추가합니다.

azd add [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 인증

Azure를 사용하여 인증합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 인증 로그인

Azure에 로그인합니다.

개요

Azure에 로그인합니다.

인수 없이 실행하는 경우 브라우저를 사용하여 대화형으로 로그인합니다. 디바이스 코드를 사용하여 로그인하려면 --use-device-code를 전달합니다.

서비스 주체로 로그인하려면 --client-id 및 --tenant-id와 --client-secret, --client-certificate 또는 --federated-credential-provider 중 하나를 전달합니다.

관리 ID를 사용하여 로그인하려면 시스템 할당 관리 ID를 사용하는 --managed-identity를 전달합니다. 사용자 할당 관리 ID를 사용하려면 사용하려는 사용자 할당 관리 ID의 클라이언트 ID를 사용하여 --managed-identity 외에도 --client-id를 전달합니다.

azd auth login [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd auth logout (인증 로그아웃)

Azure에서 로그아웃합니다.

개요

Azure에서 로그아웃

azd auth logout [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 완료

셸 완성 스크립트를 생성합니다.

개요

azd에 대한 셸 완성 스크립트를 생성합니다.

완료 명령을 사용하면 셸에 대한 자동 완성 스크립트를 생성할 수 있으며 현재 bash, zsh, fish 및 PowerShell을 지원합니다.

생성된 스크립트를 사용하는 방법에 대한 자세한 내용은 각 하위 명령의 도움말을 참조하세요.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 명령어 자동완성 (bash 셸용)

bash 완료 스크립트를 생성합니다.

azd completion bash

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd completion fish (명령어로, 터미널에서 자동완성 기능과 관련이 있음)

물고기 완성 스크립트를 생성합니다.

azd completion fish

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 자동 완성 PowerShell

PowerShell 완성 스크립트를 생성합니다.

azd completion powershell

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 자동완성 zsh

zsh 완성 스크립트를 생성합니다.

azd completion zsh

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 설정

azd 구성을 관리합니다(예: 기본 Azure 구독, 위치).

개요

기본 Azure 구독 및 위치를 포함하는 Azure 개발자 CLI 사용자 구성을 관리합니다.

azure-dev-cli_0.4.0-beta.1부터 사용할 수 있습니다.

처음으로 구성하는 azd 가장 쉬운 방법은 실행하는 azd init것입니다. 선택한 구독 및 위치는 구성 디렉터리에 있는 파일에 저장 config.json 됩니다. 나중에 언제든지 구성 azd 하려면 .를 사용합니다 azd config set.

구성 디렉터리의 기본값은 다음과 같습니다.

  • Linux 및 macOS의 $HOME/.azd
  • Windows의 %USERPROFILE%.azd

AZD_CONFIG_DIR 환경 변수에 경로를 지정하여 구성 디렉터리를 재정의할 수 있습니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 구성 가져오기

구성을 가져옵니다.

개요

구성 경로에서 구성을 가져옵니다.

구성 디렉터리의 기본값은 다음과 같습니다.

  • $HOME/.azd Linux 및 macOS에서
  • Windows의 경우 %USERPROFILE%\.azd

AZD_CONFIG_DIR 환경 변수에 경로를 지정하여 구성 디렉터리를 재정의할 수 있습니다.

azd config get <path> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd config list-alpha (azd 도구의 알파 상태인 구성 목록을 표시)

알파 단계에서 사용 가능한 기능 목록을 표시합니다.

azd config list-alpha [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 설정 초기화 (azd config reset)

구성을 기본값으로 다시 설정합니다.

개요

구성 경로의 모든 구성을 다시 설정합니다.

구성 디렉터리의 기본값은 다음과 같습니다.

  • $HOME/.azd Linux 및 macOS에서
  • Windows의 경우 %USERPROFILE%\.azd

AZD_CONFIG_DIR 환경 변수의 경로를 기본값으로 지정하여 구성 디렉터리를 재정의할 수 있습니다.

azd config reset [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 구성 설정

구성을 설정합니다.

개요

구성 경로에서 구성을 설정합니다.

구성 디렉터리의 기본값은 다음과 같습니다.

  • $HOME/.azd Linux 및 macOS에서
  • Windows의 경우 %USERPROFILE%\.azd

AZD_CONFIG_DIR 환경 변수에 경로를 지정하여 구성 디렉터리를 재정의할 수 있습니다.

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

예제

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

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 설정 보기

모든 구성 값을 표시합니다.

개요

구성 경로에 모든 구성 값을 표시합니다.

구성 디렉터리의 기본값은 다음과 같습니다.

  • $HOME/.azd Linux 및 macOS에서
  • Windows의 경우 %USERPROFILE%\.azd

AZD_CONFIG_DIR 환경 변수에 경로를 지정하여 구성 디렉터리를 재정의할 수 있습니다.

azd config show [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 구성 해제

구성을 설정 취소합니다.

개요

구성 경로에서 구성을 제거합니다.

구성 디렉터리의 기본값은 다음과 같습니다.

  • $HOME/.azd Linux 및 macOS에서
  • Windows의 경우 %USERPROFILE%\.azd

AZD_CONFIG_DIR 환경 변수에 경로를 지정하여 구성 디렉터리를 재정의할 수 있습니다.

azd config unset <path> [flags]

예제

azd config unset defaults.location

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 배포 (deploy)

Azure에 프로젝트 코드를 배포합니다.

azd deploy <service> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 다운

프로젝트의 Azure 리소스를 삭제합니다.

azd down [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd env

환경을 관리합니다(예: 기본 환경, 환경 변수).

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 환경 값 가져오기

특정 환경 값을 가져옵니다.

azd env get-value <keyName> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd env 값 가져오기

모든 환경 값을 가져옵니다.

azd env get-values [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 환경 목록

환경을 나열합니다.

azd env list [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd env new (새로운 환경을 생성하는 명령어)

새 환경을 만들고 기본값으로 설정합니다.

azd env new <environment> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 환경 새로 고침

이전 인프라 프로비전의 정보를 사용하여 환경 값을 새로 고칩니다.

azd env refresh <environment> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 환경 선택

기본 환경을 설정합니다.

azd env select <environment> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd env 설정

하나 이상의 환경 값을 설정합니다.

개요

키-값 쌍을 사용하거나 .env 형식의 파일에서 로드하여 하나 이상의 환경 값을 설정합니다.

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

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 환경 비밀 설정

환경에서 Key Vault 비밀에 대한 참조로 이름을 설정합니다.

개요

새 Key Vault 비밀을 만들거나 기존 비밀을 선택할 수 있습니다. 제공된 이름은 Key Vault 비밀에 대한 비밀 참조를 보유하는 .env 파일의 키입니다.

azd env set-secret <name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장자

azd 확장을 관리합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd extension install

지정된 확장을 설치합니다.

azd extension install <extension-name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 목록

사용 가능한 확장을 나열합니다.

azd extension list [--installed] [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd extension show (확장 보기 명령)

특정 확장에 대한 세부 정보를 표시합니다.

azd extension show <extension-name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 소스

확장 원본 보기 및 관리

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 소스 추가

지정된 이름의 확장 원본 추가

azd extension source add [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

확장 소스 목록 azd

확장 원본 나열

azd extension source list [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 소스 제거 명령

지정된 이름의 확장 원본 제거

azd extension source remove <name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 프로그램 제거

지정된 확장을 제거합니다.

azd extension uninstall <extension-name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 확장 프로그램 업그레이드

지정된 확장을 업그레이드합니다.

azd extension upgrade <extension-name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd hooks

프로젝트에 대한 후크를 개발, 테스트 및 실행합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 후크 실행

프로젝트 및 서비스에 대해 지정된 후크를 실행합니다.

azd hooks run <name> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd infra

IaC(Infrastructure as Code)를 관리합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 인프라 생성

프로젝트에 대한 IaC를 디스크에 작성하여 수동으로 관리할 수 있습니다.

azd infra generate [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd init

새 애플리케이션을 초기화합니다.

azd init [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd mcp

MCP(모델 컨텍스트 프로토콜) 서버를 관리합니다. (알파)

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

MCP 도구 동의를 관리합니다.

개요

MCP 도구 실행에 대한 동의 규칙을 관리합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

신뢰 규칙에 대한 동의를 부여합니다.

개요

MCP 도구 및 서버에 대한 신뢰 규칙을 부여합니다.

이 명령은 MCP 도구가 사용 권한을 요청하지 않고 실행할 수 있도록 허용하는 동의 규칙을 만듭니다. 규칙에 대해 다른 사용 권한 수준 및 범위를 지정할 수 있습니다.

예: 전역적으로 모든 도구에 항상 사용 권한을 부여합니다.

azd mcp consent grant --global --permission always

Grant project permission to a specific tool with read-only scope:
  
```azdeveloper
azd mcp consent grant --server my-server --tool my-tool --permission project --scope read-only

```azdeveloper
azd mcp consent grant [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

동의 규칙을 나열합니다.

개요

MCP 도구에 대한 모든 동의 규칙을 나열합니다.

azd mcp consent list [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

동의 규칙을 취소합니다.

개요

MCP 도구에 대한 동의 규칙을 취소합니다.

azd mcp consent revoke [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd mcp start

MCP 서버를 시작합니다.

개요

MCP(모델 컨텍스트 프로토콜) 서버를 시작합니다.

이 명령은 MCP 클라이언트가 모델 컨텍스트 프로토콜 인터페이스를 통해 azd 기능에 액세스하는 데 사용할 수 있는 MCP 서버를 시작합니다.

azd mcp start [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 모니터

배포된 프로젝트를 모니터링합니다.

azd monitor [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 패키지

Azure에 배포할 프로젝트의 코드를 패키지합니다.

azd package <service> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 파이프라인

배포 파이프라인을 관리하고 구성합니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 파이프라인 구성

Azure에 안전하게 연결하도록 배포 파이프라인을 구성합니다. (베타)

azd pipeline config [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 조항

프로젝트에 대한 Azure 리소스를 프로비전합니다.

azd provision [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 게시

컨테이너 레지스트리에 서비스를 게시합니다.

azd publish <service> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 복구

프로젝트의 종속성을 복원합니다.

azd restore <service> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd show

프로젝트 및 해당 리소스에 대한 정보를 표시합니다.

azd show [resource name or ID] [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿

템플릿 세부 정보를 찾아 봅니다.

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 목록

샘플 azd 템플릿 목록을 표시합니다. (베타)

azd template list [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 표시

지정된 템플릿에 대한 세부 정보를 표시합니다. (베타)

azd template show <template> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 소스

템플릿 원본을 보고 관리합니다. (베타)

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 소스 추가

지정된 키를 사용하여 azd 템플릿 원본을 추가합니다. (베타)

개요

키는 템플릿 원본을 고유하게 식별하는 값이 될 수 있으며 잘 알려진 값은 다음과 같습니다. .default: 기본 템플릿 -awesome-azd: Templates from https://aka.ms/awesome-azd

azd template source add <key> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 원본 목록

구성된 azd 템플릿 원본을 나열합니다. (베타)

azd template source list [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 템플릿 소스 제거

지정된 azd 템플릿 원본(베타)을 제거합니다.

azd template source remove <key> [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

에이즈드 업

단일 명령을 사용하여 프로젝트를 프로비전하고 Azure에 배포합니다.

azd up [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목

azd 버전

Azure Developer CLI의 버전 번호를 인쇄합니다.

azd version [flags]

옵션

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

부모 명령에서 상속된 옵션

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

참고 항목