共用方式為


az functionapp deployment

Note

此命令群組具有 Azure CLI 和至少一個擴充功能中定義的命令。 安裝每個擴充功能以受益於其擴充功能。 深入了解擴充功能。

管理函式應用程式部署。

命令

名稱 Description 類型 狀態
az functionapp deployment config

管理函式應用程式的部署設定。

Core GA
az functionapp deployment config set

更新現有的函式應用程式的部署組態。

Core GA
az functionapp deployment config show

取得函式應用程式部署設定的詳細數據。

Core GA
az functionapp deployment container

管理容器式持續部署。

Core GA
az functionapp deployment container config

透過容器設定持續部署。

Core GA
az functionapp deployment container show-cd-url

取得可用來設定 Webhook 以進行持續部署的 URL。

Core GA
az functionapp deployment github-actions

設定 functionapp 的 GitHub Actions。

Core GA
az functionapp deployment github-actions add

將 GitHub Actions 工作流程檔案新增至指定的存放庫。 工作流程會建置應用程式,並將其部署至指定的 functionapp。

Core GA
az functionapp deployment github-actions remove

從指定的存放庫移除 GitHub Actions 工作流程檔案並中斷連線。

Core GA
az functionapp deployment list-publishing-credentials

取得可用函式應用程式發佈認證的詳細數據。

Core GA
az functionapp deployment list-publishing-profiles

取得可用函式應用程式部署配置檔的詳細數據。

Core GA
az functionapp deployment slot

管理函式應用程式部署位置。

Core GA
az functionapp deployment slot auto-swap

設定部署位置自動交換。

Core GA
az functionapp deployment slot create

建立部署插槽。

Core GA
az functionapp deployment slot delete

刪除部署位置。

Core GA
az functionapp deployment slot list

列出所有部署位置。

Core GA
az functionapp deployment slot swap

交換函式應用程式的部署位置。

Core GA
az functionapp deployment source

透過原始檔控制管理函式應用程式部署。

核心和擴充功能 GA
az functionapp deployment source config

從 git 或 Mercurial 存放庫管理部署。

Core GA
az functionapp deployment source config-local-git

取得 Git 存放庫端點的 URL,以複製和推送至函式應用程式部署。

Core GA
az functionapp deployment source config-zip

使用函式應用程式的 kudu zip 推送部署來執行部署。

Core GA
az functionapp deployment source config-zip (appservice-kube 擴充功能)

使用函式應用程式的 kudu zip 推送部署來執行部署。

Extension GA
az functionapp deployment source delete

刪除原始檔控制部署組態。

Core GA
az functionapp deployment source show

取得原始檔控制部署設定的詳細數據。

Core GA
az functionapp deployment source sync

從存放庫同步處理。 只有在手動整合模式下才需要。

Core GA
az functionapp deployment source update-token

更新 Azure App Service 中快取的原始檔控制令牌。

Core GA
az functionapp deployment user

管理部署的用戶認證。

Core GA
az functionapp deployment user set

更新部署認證。

Core GA
az functionapp deployment user show

取得發佈使用者。

Core GA

az functionapp deployment list-publishing-credentials

取得可用函式應用程式發佈認證的詳細數據。

az functionapp deployment list-publishing-credentials [--ids]
                                                      [--name]
                                                      [--resource-group]
                                                      [--slot]
                                                      [--subscription]

範例

取得可用函式應用程式部署發佈認證的詳細數據。

az functionapp deployment list-publishing-credentials --name MyFunctionApp   --resource-group MyResourceGroup

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
參數群組: Resource Id Arguments
--name -n

函式應用程式的名稱。

屬性
參數群組: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
參數群組: Resource Id Arguments
--slot -s

位置的名稱。 如果未指定,則預設為生產位置。

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

屬性
參數群組: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False

az functionapp deployment list-publishing-profiles

取得可用函式應用程式部署配置檔的詳細數據。

az functionapp deployment list-publishing-profiles [--ids]
                                                   [--name]
                                                   [--resource-group]
                                                   [--slot]
                                                   [--subscription]
                                                   [--xml]

範例

取得可用函式應用程式部署配置檔的詳細數據。 (autogenerated)

az functionapp deployment list-publishing-profiles --name MyFunctionApp   --resource-group MyResourceGroup

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
參數群組: Resource Id Arguments
--name -n

函式應用程式的名稱。

屬性
參數群組: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
參數群組: Resource Id Arguments
--slot -s

位置的名稱。 如果未指定,則預設為生產位置。

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

屬性
參數群組: Resource Id Arguments
--xml

擷取 XML 格式的發行配置檔詳細數據。

屬性
預設值: False
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

輸出格式。

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False