az spring

注意

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

管理 Azure Spring Apps 的命令。

命令

名稱 Description 類型 狀態
az spring api-portal

(僅限企業層)在 Azure Spring Apps 中管理 API 入口網站的命令。

副檔名 GA
az spring api-portal clear

清除 API 入口網站的所有設定。

副檔名 GA
az spring api-portal create

建立 API 入口網站。

副檔名 GA
az spring api-portal custom-domain

用來管理 API 入口網站的自定義網域的命令。

副檔名 GA
az spring api-portal custom-domain bind

使用 API 入口網站系結自定義網域。

副檔名 GA
az spring api-portal custom-domain list

列出 API 入口網站的所有自訂網域。

副檔名 GA
az spring api-portal custom-domain show

顯示自訂網域的詳細數據。

副檔名 GA
az spring api-portal custom-domain unbind

解除系結 API 入口網站的自定義網域。

副檔名 GA
az spring api-portal custom-domain update

更新 API 入口網站的自訂網域。

副檔名 GA
az spring api-portal delete

刪除 API 入口網站。

副檔名 GA
az spring api-portal show

顯示 API 入口網站的設定、布建狀態和運行時間狀態。

副檔名 GA
az spring api-portal update

更新現有的 API 入口網站屬性。

副檔名 GA
az spring apm

(僅限企業層)在 Azure Spring Apps 中管理 APM 的命令。

副檔名 GA
az spring apm create

(僅限企業層)建立 APM。

副檔名 GA
az spring apm delete

(僅限企業層)刪除 APM。

副檔名 GA
az spring apm disable-globally

(僅限企業層)全域停用 APM。

副檔名 GA
az spring apm enable-globally

(僅限企業層)全域啟用 APM。

副檔名 GA
az spring apm list

(僅限企業層)列出 Azure Spring Apps 中的所有 APM。 將會省略秘密。

副檔名 GA
az spring apm list-enabled-globally

(僅限企業層)列出 Azure Spring Apps 中全域啟用的所有 APM。

副檔名 GA
az spring apm list-support-types

(僅限企業層)列出 Azure Spring Apps 中所有支援的 APM 類型。

副檔名 GA
az spring apm show

(僅限企業層)顯示 APM。 秘密將會遮罩。

副檔名 GA
az spring apm update

(僅限企業層)更新 APM。

副檔名 GA
az spring app

在 Azure Spring Apps 中管理應用程式的命令。

副檔名 GA
az spring app-insights

在 Azure Spring Apps 中管理 Application Insights 的命令。

副檔名 GA
az spring app-insights show

顯示 Application Insights 設定。

副檔名 GA
az spring app-insights update

更新 Application Insights 設定。

副檔名 GA
az spring app append-loaded-public-certificate

將新載入的公用憑證附加至 Azure Spring Apps 中的應用程式。

副檔名 GA
az spring app append-persistent-storage

將新的永續性記憶體附加至 Azure Spring Apps 中的應用程式。

副檔名 GA
az spring app binding

使用 Azure Data Services 管理系結的命令,您必須手動重新啟動應用程式,讓設定生效。

副檔名 已取代
az spring app binding cosmos

管理 Azure Cosmos DB 系結的命令。

副檔名 已取代
az spring app binding cosmos add

將 Azure Cosmos DB 與應用程式系結。

副檔名 已取代
az spring app binding cosmos update

更新應用程式的 Azure Cosmos DB 服務系結。

副檔名 已取代
az spring app binding list

列出應用程式中的所有服務系結。

副檔名 已取代
az spring app binding mysql

管理 適用於 MySQL 的 Azure 資料庫 系結的命令。

副檔名 已取代
az spring app binding mysql add

系結 適用於 MySQL 的 Azure 資料庫與應用程式。

副檔名 已取代
az spring app binding mysql update

更新應用程式的 適用於 MySQL 的 Azure 資料庫 服務系結。

副檔名 已取代
az spring app binding redis

管理 Azure Cache for Redis 系結的命令。

副檔名 已取代
az spring app binding redis add

將 Azure Cache for Redis 與應用程式系結。

副檔名 已取代
az spring app binding redis update

更新應用程式的 Azure Cache for Redis 服務系結。

副檔名 已取代
az spring app binding remove

拿掉應用程式的服務系結。

副檔名 已取代
az spring app binding show

顯示服務系結的詳細數據。

副檔名 已取代
az spring app connect

連線 應用程式實例的互動式殼層進行疑難解答』。

副檔名 GA
az spring app create

在 Azure Spring Apps 實例中建立具有預設部署的新應用程式。

副檔名 GA
az spring app custom-domain

管理自訂網域的命令。

副檔名 GA
az spring app custom-domain bind

使用應用程式系結自定義網域。

副檔名 GA
az spring app custom-domain list

列出應用程式的所有自定義網域。

副檔名 GA
az spring app custom-domain show

顯示自訂網域的詳細數據。

副檔名 GA
az spring app custom-domain unbind

解除系結應用程式的自定義網域。

副檔名 GA
az spring app custom-domain update

更新應用程式的自定義網域。

副檔名 GA
az spring app delete

刪除 Azure Spring Apps 中的應用程式。

副檔名 GA
az spring app deploy

將原始碼或預先建置的二進位檔部署到應用程式,並更新相關的組態。

副檔名 GA
az spring app deployment

在 Azure Spring Apps 中管理應用程式部署生命週期的命令。 您可以使用 參數 --deployment,在應用層級上執行更多部署作業。 例如 az spring app deploy --deployment 。

副檔名 GA
az spring app deployment create

建立應用程式的預備部署。 若要將程式代碼或更新設定部署至現有的部署,請使用 az spring app deploy/update --deployment <staging deployment>

副檔名 GA
az spring app deployment delete

刪除應用程式的部署。

副檔名 GA
az spring app deployment generate-heap-dump

產生目標應用程式實例的堆積傾印至指定的檔案路徑。

副檔名 GA
az spring app deployment generate-thread-dump

產生目標應用程式實例的線程傾印至指定的檔案路徑。

副檔名 GA
az spring app deployment list

列出應用程式中的所有部署。

副檔名 GA
az spring app deployment show

顯示部署的詳細數據。

副檔名 GA
az spring app deployment start-jfr

在您的目標應用程式實例上啟動 JFR,以指定檔案路徑。

副檔名 GA
az spring app disable-remote-debugging

停用部署的遠端偵錯。

副檔名 GA
az spring app enable-remote-debugging

啟用部署的遠端偵錯。

副檔名 GA
az spring app get-remote-debugging-config

取得部署的遠端偵錯組態。

副檔名 GA
az spring app identity

管理應用程式的受控識別。

副檔名 GA
az spring app identity assign

啟用系統指派的受控識別,或將使用者指派的受控識別指派給應用程式。

副檔名 GA
az spring app identity force-set

強制在應用程式上設定受控識別。

副檔名 GA
az spring app identity remove

從應用程式移除受控識別。

副檔名 GA
az spring app identity show

顯示應用程式的受控識別資訊。

副檔名 GA
az spring app list

列出 Azure Spring Apps 中的所有應用程式。

副檔名 GA
az spring app log

使用多個選項結尾應用程式實例記錄的命令。 如果應用程式只有一個實例,則實例名稱是選擇性的。

副檔名 已取代
az spring app log tail

顯示應用程式實例的記錄,記錄會在設定 『-f/--follow』 時串流處理。

副檔名 已取代
az spring app logs

顯示應用程式實例的記錄,記錄會在設定 『-f/--follow』 時串流處理。

副檔名 GA
az spring app restart

重新啟動應用程式的實例,預設為生產部署。

副檔名 GA
az spring app scale

手動調整應用程式或其部署。

副檔名 GA
az spring app set-deployment

設定應用程式的生產部署。

副檔名 GA
az spring app show

在 Azure Spring Apps 中顯示應用程式的詳細數據。

副檔名 GA
az spring app show-deploy-log

顯示上次部署的組建記錄,僅適用於原始程式碼部署,預設為生產部署。

副檔名 GA
az spring app start

啟動應用程式的實例,預設為生產部署。

副檔名 GA
az spring app stop

停止應用程式的實例,預設為生產部署。

副檔名 GA
az spring app unset-deployment

取消設定應用程式的生產部署。

副檔名 GA
az spring app update

更新應用程式的組態。

副檔名 GA
az spring application-accelerator

(僅限企業層)在 Azure Spring Apps 中管理應用程式加速器的命令。

副檔名 GA
az spring application-accelerator create

(僅限企業層)在 Azure Spring Apps 實例中建立應用程式加速器。

副檔名 GA
az spring application-accelerator customized-accelerator

(僅限企業層)在 Azure Spring Apps 中管理自定義加速器的命令。

副檔名 GA
az spring application-accelerator customized-accelerator create

(僅限企業層)建立自定義的加速器。

副檔名 GA
az spring application-accelerator customized-accelerator delete

(僅限企業層)刪除自定義加速器。

副檔名 GA
az spring application-accelerator customized-accelerator list

(僅限企業層)列出所有現有的自定義加速器。

副檔名 GA
az spring application-accelerator customized-accelerator show

(僅限企業層)顯示自定義加速器的設定、布建狀態和運行時間狀態。

副檔名 GA
az spring application-accelerator customized-accelerator sync-cert

(僅限企業層)同步處理自定義加速器的憑證。

副檔名 GA
az spring application-accelerator customized-accelerator update

(僅限企業層)更新自定義加速器。

副檔名 GA
az spring application-accelerator delete

(僅限企業層)從 Azure Spring Apps 實例刪除應用程式加速器。

副檔名 GA
az spring application-accelerator predefined-accelerator

(僅限企業層)在 Azure Spring Apps 中管理預先定義的加速器的命令。

副檔名 GA
az spring application-accelerator predefined-accelerator disable

(僅限企業層)停用預先定義的加速器。

副檔名 GA
az spring application-accelerator predefined-accelerator enable

(僅限企業層)啟用預先定義的加速器。

副檔名 GA
az spring application-accelerator predefined-accelerator list

(僅限企業層)列出所有現有的預先定義加速器。

副檔名 GA
az spring application-accelerator predefined-accelerator show

(僅限企業層)顯示預先定義加速器的設定、布建狀態和運行時間狀態。

副檔名 GA
az spring application-accelerator show

(僅限企業層)顯示應用程式加速器的設定、布建狀態和運行時間狀態。

副檔名 GA
az spring application-configuration-service

(僅限企業層)在 Azure Spring Apps 中管理應用程式組態服務的命令。

副檔名 GA
az spring application-configuration-service bind

將應用程式系結至應用程式組態服務。

副檔名 GA
az spring application-configuration-service clear

重設所有應用程式組態服務設定。

副檔名 GA
az spring application-configuration-service config

用來管理應用程式組態服務從上游 Git 存放庫提取之組態的命令。

副檔名 GA
az spring application-configuration-service config show

顯示應用程式組態服務從上游 Git 存放庫提取之組態的命令。

副檔名 GA
az spring application-configuration-service create

建立應用程式組態服務。

副檔名 GA
az spring application-configuration-service delete

刪除應用程式組態服務。

副檔名 GA
az spring application-configuration-service git

在 Azure Spring Apps 中管理應用程式組態服務 git 屬性的命令。

副檔名 GA
az spring application-configuration-service git repo

在 Azure Spring Apps 中管理應用程式組態服務 Git 存放庫的命令。

副檔名 GA
az spring application-configuration-service git repo add

將 Git 屬性新增至應用程式組態服務設定。

副檔名 GA
az spring application-configuration-service git repo list

列出應用程式組態服務的所有 Git 設定。

副檔名 GA
az spring application-configuration-service git repo remove

從應用程式組態服務設定中刪除現有的 Git 屬性。

副檔名 GA
az spring application-configuration-service git repo update

在應用程式組態服務設定中更新現有的 Git 屬性。

副檔名 GA
az spring application-configuration-service show

顯示應用程式組態服務的布建狀態、運行時間狀態和設定。

副檔名 GA
az spring application-configuration-service unbind

從應用程式組態服務解除系結應用程式。

副檔名 GA
az spring application-configuration-service update

更新應用程式組態服務。

副檔名 GA
az spring application-live-view

(僅限企業層)在 Azure Spring Apps 中管理應用程式即時檢視的命令。 應用程式即時檢視會呈現應用程式實例計量,並讓開發人員輕鬆地監視應用程式運行時間。

副檔名 GA
az spring application-live-view create

建立應用程式實時檢視。

副檔名 GA
az spring application-live-view delete

刪除應用程式實時檢視。

副檔名 GA
az spring application-live-view show

顯示 [應用程式實時檢視] 的布建狀態、執行狀態和設定。

副檔名 GA
az spring build-service

(僅限企業層)在 Azure Spring Apps 中管理建置服務的命令。

副檔名 GA
az spring build-service build

(僅限企業層)管理建置資源的命令。

副檔名 GA
az spring build-service build create

建立組建。

副檔名 GA
az spring build-service build delete

刪除組建。

副檔名 GA
az spring build-service build list

列出組建。

副檔名 GA
az spring build-service build result

(僅限企業層)檢視建置結果資源的命令。

副檔名 GA
az spring build-service build result list

列出組建結果。

副檔名 GA
az spring build-service build result show

顯示建置結果。

副檔名 GA
az spring build-service build show

顯示組建。

副檔名 GA
az spring build-service build update

更新組建。

副檔名 GA
az spring build-service builder

(僅限企業層)管理建置服務建立器的命令。

副檔名 GA
az spring build-service builder buildpack-binding

(僅限企業層)管理產生器的 buildpack-binding 命令。

副檔名 GA
az spring build-service builder buildpack-binding create

(僅限企業層)建立 buildpack 系結。

副檔名 GA
az spring build-service builder buildpack-binding delete

(僅限企業層)刪除 buildpack 系結。

副檔名 GA
az spring build-service builder buildpack-binding list

(僅限企業層)列出產生器中的所有buildpack系結。 秘密將會遮罩。

副檔名 GA
az spring build-service builder buildpack-binding set

(僅限企業層)設定 buildpack 系結。

副檔名 GA
az spring build-service builder buildpack-binding show

(僅限企業層)顯示 buildpack 系結。 秘密將會遮罩。

副檔名 GA
az spring build-service builder create

建立建立器。

副檔名 GA
az spring build-service builder delete

刪除產生器。

副檔名 GA
az spring build-service builder show

顯示建置者。

副檔名 GA
az spring build-service builder show-deployments

顯示部署。

副檔名 GA
az spring build-service builder update

更新產生器。

副檔名 GA
az spring build-service show

顯示組建服務。

副檔名 GA
az spring build-service update

更新組建服務。

副檔名 GA
az spring certificate

管理憑證的命令。

副檔名 GA
az spring certificate add

在 Azure Spring Apps 中新增憑證。

副檔名 GA
az spring certificate list

列出 Azure Spring Apps 中的所有憑證。

副檔名 GA
az spring certificate list-reference-app

列出所有應用程式參考 Azure Spring Apps 中的現有憑證。

副檔名 GA
az spring certificate remove

拿掉 Azure Spring Apps 中的憑證。

副檔名 GA
az spring certificate show

在 Azure Spring Apps 中顯示憑證。

副檔名 GA
az spring certificate update

更新 Azure Spring Apps 中的憑證。

副檔名 GA
az spring component

(僅限企業層)用來處理Managed元件的命令。

副檔名 GA
az spring component instance

(僅限企業層)用來處理受控元件的實例的命令。

副檔名 GA
az spring component instance list

(僅限企業層)列出 Azure Spring Apps 實例中特定受控元件的所有可用實例。

副檔名 GA
az spring component list

(僅限企業層)列出受控元件。

副檔名 GA
az spring component logs

(僅限企業層)顯示受控元件的記錄。 設定 '-f/--follow' 時,將會串流記錄。 目前,僅支援 (a) 應用程式元件服務 (b) Spring Cloud Gateway 的子元件。

副檔名 GA
az spring config-server

(支援標準層和基本層)在 Azure Spring Apps 中管理組態伺服器的命令。

副檔名 GA
az spring config-server bind

(僅限企業層)將應用程式系結至 Config Server。

副檔名 預覽​​
az spring config-server clear

清除 Config Server 中的所有設定。

副檔名 GA
az spring config-server create

(僅限企業層)建立組態伺服器。

副檔名 預覽​​
az spring config-server delete

(僅限企業層)刪除組態伺服器。

副檔名 預覽​​
az spring config-server disable

(僅限標準使用量層)停用組態伺服器。

副檔名 GA
az spring config-server enable

(僅限標準使用量層)啟用組態伺服器。

副檔名 GA
az spring config-server git

在 Azure Spring Apps 中管理 Config Server git 屬性的命令。

副檔名 GA
az spring config-server git repo

在 Azure Spring Apps 中管理 Config Server Git 存放庫的命令。

副檔名 GA
az spring config-server git repo add

新增 Config Server Git 屬性的新存放庫。

副檔名 GA
az spring config-server git repo list

列出 Config Server 之 git 屬性的所有存放庫。

副檔名 GA
az spring config-server git repo remove

拿掉 Config Server 之 git 屬性的現有存放庫。

副檔名 GA
az spring config-server git repo update

覆寫 Config Server 之 git 屬性的現有存放庫,將會完全覆寫舊的存放庫。

副檔名 GA
az spring config-server git set

設定 Config Server 的 git 屬性,將會完全覆寫舊的。

副檔名 GA
az spring config-server set

從 yaml 檔案設定組態伺服器。

副檔名 GA
az spring config-server show

顯示組態伺服器。

副檔名 GA
az spring config-server unbind

(僅限企業層)從 Config Server 解除系結應用程式。

副檔名 預覽​​
az spring connection

管理 Spring 應用程式連線的命令。

核心 GA
az spring connection create

建立 Spring 應用程式與目標資源之間的連線。

核心 GA
az spring connection create app-insights

建立與 app-insights 的 Spring 應用程式連線。

核心 GA
az spring connection create appconfig

建立與 appconfig 的 Spring 應用程式連線。

核心 GA
az spring connection create confluent-cloud

建立與 confluent-cloud 的 Spring 應用程式連線。

核心 GA
az spring connection create cosmos-cassandra

建立cosmos-cassandra的 Spring 應用程式連線。

核心 GA
az spring connection create cosmos-gremlin

建立與cosmos-gremlin的 Spring 應用程式連線。

核心 GA
az spring connection create cosmos-mongo

建立cosmos-mongo的 Spring 應用程式連線。

核心 GA
az spring connection create cosmos-sql

建立cosmos-sql 的 Spring 應用程式連線。

核心 GA
az spring connection create cosmos-table

建立 cosmos-table 的 Spring 應用程式連線。

核心 GA
az spring connection create eventhub

建立與 eventhub 的 Spring 應用程式連線。

核心 GA
az spring connection create keyvault

建立keyvault的 Spring 應用程式連線。

核心 GA
az spring connection create mysql

建立 mysql 的 Spring 應用程式連線。

核心 已取代
az spring connection create mysql-flexible

建立 mysql 彈性的 Spring 應用程式連線。

核心 GA
az spring connection create postgres

建立 postgres 的 Spring 應用程式連線。

核心 已取代
az spring connection create postgres-flexible

建立 postgres 彈性的 Spring 應用程式連線。

核心 GA
az spring connection create redis

建立 redis 的 Spring 應用程式連線。

核心 GA
az spring connection create redis-enterprise

建立 redis-enterprise 的 Spring 應用程式連線。

核心 GA
az spring connection create servicebus

建立 Servicebus 的 Spring 應用程式連線。

核心 GA
az spring connection create signalr

建立與 signalr 的 Spring 應用程式連線。

核心 GA
az spring connection create sql

建立與 sql 的 Spring 應用程式連線。

核心 GA
az spring connection create storage-blob

建立與 storage-blob 的 Spring 應用程式連線。

核心 GA
az spring connection create storage-file

建立記憶體檔案的 Spring 應用程式連線。

核心 GA
az spring connection create storage-queue

建立記憶體佇列的 Spring 應用程式連線。

核心 GA
az spring connection create storage-table

建立記憶體數據表的 Spring 應用程式連線。

核心 GA
az spring connection create webpubsub

建立 Webpubsub 的 Spring 應用程式連線。

核心 GA
az spring connection delete

刪除 Spring 應用程式連線。

核心 GA
az spring connection list

列出 Spring 應用程式的連線。

核心 GA
az spring connection list-configuration

列出 Spring 應用程式連線的來源組態。

核心 GA
az spring connection list-support-types

列出 Spring 應用程式連線支援的用戶端類型和驗證類型。

核心 GA
az spring connection show

取得 Spring 應用程式連線的詳細數據。

核心 GA
az spring connection update

更新 Spring 應用程式連線。

核心 GA
az spring connection update app-insights

將 Spring 應用程式更新為 app-insights 連線。

核心 GA
az spring connection update appconfig

將 Spring 應用程式更新為 appconfig 連線。

核心 GA
az spring connection update confluent-cloud

將 Spring 應用程式更新為 confluent-cloud 連線。

核心 GA
az spring connection update cosmos-cassandra

將 Spring 應用程式更新為 cosmos-cassandra 連線。

核心 GA
az spring connection update cosmos-gremlin

將 Spring 應用程式更新為 cosmos-gremlin 連線。

核心 GA
az spring connection update cosmos-mongo

將 Spring 應用程式更新為 cosmos-mongo 連線。

核心 GA
az spring connection update cosmos-sql

將 Spring 應用程式更新為 cosmos-sql 連線。

核心 GA
az spring connection update cosmos-table

將 Spring 應用程式更新為 cosmos-table 連線。

核心 GA
az spring connection update eventhub

將 Spring 應用程式更新為 eventhub 連線。

核心 GA
az spring connection update keyvault

將 Spring 應用程式更新為 keyvault 連線。

核心 GA
az spring connection update mysql

將 Spring 應用程式更新為 mysql 連線。

核心 已取代
az spring connection update mysql-flexible

將 Spring 應用程式更新為 mysql 彈性連線。

核心 GA
az spring connection update postgres

將 Spring 應用程式更新為 postgres 連線。

核心 已取代
az spring connection update postgres-flexible

將 Spring 應用程式更新為 postgres 彈性連線。

核心 GA
az spring connection update redis

將 Spring 應用程式更新為 redis 連線。

核心 GA
az spring connection update redis-enterprise

將 Spring 應用程式更新為 redis-enterprise 連線。

核心 GA
az spring connection update servicebus

將 Spring 應用程式更新為 servicebus 連線。

核心 GA
az spring connection update signalr

將 Spring 應用程式更新為信號器連線。

核心 GA
az spring connection update sql

將 Spring 應用程式更新為 sql 連線。

核心 GA
az spring connection update storage-blob

將 Spring 應用程式更新為記憶體 Blob 連線。

核心 GA
az spring connection update storage-file

將 Spring 應用程式更新為記憶體檔案連線。

核心 GA
az spring connection update storage-queue

將 Spring 應用程式更新為記憶體佇列連線。

核心 GA
az spring connection update storage-table

將 Spring 應用程式更新為記憶體資料表連線。

核心 GA
az spring connection update webpubsub

將 Spring 應用程式更新為 webpubsub 連線。

核心 GA
az spring connection validate

驗證 Spring 應用程式連線。

核心 GA
az spring connection wait

將 CLI 置於等候狀態,直到符合連線的條件為止。

核心 GA
az spring container-registry

(僅限企業層)管理 Container Registry 資源的命令。

副檔名 GA
az spring container-registry create

建立容器登錄。

副檔名 GA
az spring container-registry delete

刪除容器登錄。

副檔名 GA
az spring container-registry list

列出所有容器登錄。

副檔名 GA
az spring container-registry show

顯示容器登錄。

副檔名 GA
az spring container-registry update

更新容器登錄。

副檔名 GA
az spring create

建立 Azure Spring Apps 實例。

副檔名 GA
az spring delete

刪除 Azure Spring Apps。

副檔名 GA
az spring dev-tool

(僅限企業層)在 Azure Spring Apps 中管理開發人員工具的命令。 開發人員工具入口網站是裝載開發人員工具的基礎應用程式。

副檔名 GA
az spring dev-tool create

建立開發工具入口網站。

副檔名 GA
az spring dev-tool delete

刪除開發工具入口網站。

副檔名 GA
az spring dev-tool show

顯示開發工具入口網站的布建狀態、執行狀態和設定。

副檔名 GA
az spring dev-tool update

更新開發工具入口網站。

副檔名 GA
az spring eureka-server

(支援標準耗用量層)在 Azure Spring Apps 中管理 Eureka Server 的命令。

副檔名 GA
az spring eureka-server disable

(支援標準耗用量層)停用 Eureka 伺服器。

副檔名 GA
az spring eureka-server enable

(支援標準耗用量層)啟用 Eureka 伺服器。

副檔名 GA
az spring eureka-server show

(支援標準耗用量層)顯示 Eureka 伺服器。

副檔名 GA
az spring flush-virtualnetwork-dns-settings

(僅限標準和企業層)排清 Azure Spring Apps 的虛擬網路 DNS 設定。

副檔名 預覽​​
az spring gateway

(僅限企業層)在 Azure Spring Apps 中管理閘道的命令。

副檔名 GA
az spring gateway clear

清除閘道的所有設定。

副檔名 GA
az spring gateway create

建立 Spring Cloud Gateway。

副檔名 GA
az spring gateway custom-domain

用來管理閘道自定義網域的命令。

副檔名 GA
az spring gateway custom-domain bind

使用網關係結自定義網域。

副檔名 GA
az spring gateway custom-domain list

列出閘道的所有自訂網域。

副檔名 GA
az spring gateway custom-domain show

顯示自訂網域的詳細數據。

副檔名 GA
az spring gateway custom-domain unbind

解除系結閘道的自定義網域。

副檔名 GA
az spring gateway custom-domain update

更新閘道的自定義網域。

副檔名 GA
az spring gateway delete

刪除 Spring Cloud Gateway。

副檔名 GA
az spring gateway restart

重新啟動 Spring Cloud Gateway。

副檔名 GA
az spring gateway route-config

在 Azure Spring Apps 中管理閘道路由設定的命令。

副檔名 GA
az spring gateway route-config create

使用 Json 陣組格式的路由規則建立閘道路由設定。

副檔名 GA
az spring gateway route-config list

列出所有現有的閘道路由設定。

副檔名 GA
az spring gateway route-config remove

刪除現有的閘道路由設定。

副檔名 GA
az spring gateway route-config show

取得現有的閘道路由設定。

副檔名 GA
az spring gateway route-config update

使用 Json 陣組格式的路由規則更新現有的閘道路由設定。

副檔名 GA
az spring gateway show

顯示閘道的設定、布建狀態和運行時間狀態。

副檔名 GA
az spring gateway sync-cert

同步閘道憑證。

副檔名 GA
az spring gateway update

更新現有的閘道屬性。

副檔名 GA
az spring list

列出指定資源群組中的所有 Azure Spring Apps,否則會列出訂用帳戶的 。

副檔名 GA
az spring list-marketplace-plan

(僅限企業層)列出要購買的 Marketplace 方案。

副檔名 預覽​​
az spring list-support-server-versions

(僅限標準和基本層)列出支持的伺服器版本。

副檔名 預覽​​
az spring service-registry

(僅限企業層)在 Azure Spring Apps 中管理服務登錄的命令。

副檔名 GA
az spring service-registry bind

將應用程式系結至 Service Registry。

副檔名 GA
az spring service-registry create

建立服務登錄。

副檔名 GA
az spring service-registry delete

刪除服務登錄。

副檔名 GA
az spring service-registry show

顯示服務登錄的布建狀態和運行時間狀態。

副檔名 GA
az spring service-registry unbind

從 Service Registry 解除系結應用程式。

副檔名 GA
az spring show

顯示 Azure Spring Apps 的詳細數據。

副檔名 GA
az spring start

啟動 Azure Spring Apps。

副檔名 GA
az spring stop

停止 Azure Spring Apps。

副檔名 GA
az spring storage

在 Azure Spring Apps 中管理 儲存體 的命令。

副檔名 GA
az spring storage add

在 Azure Spring Apps 中建立新的記憶體。

副檔名 GA
az spring storage list

列出 Azure Spring Apps 中的所有現有記憶體。

副檔名 GA
az spring storage list-persistent-storage

列出與 Azure Spring Apps 中現有記憶體相關的所有永續性記憶體。

副檔名 GA
az spring storage remove

拿掉 Azure Spring Apps 中的現有記憶體。

副檔名 GA
az spring storage show

在 Azure Spring Apps 中取得現有的記憶體。

副檔名 GA
az spring storage update

更新 Azure Spring Apps 中的現有記憶體。

副檔名 GA
az spring test-endpoint

在 Azure Spring Apps 中管理測試端點的命令。

副檔名 GA
az spring test-endpoint disable

停用 Azure Spring Apps 的測試端點。

副檔名 GA
az spring test-endpoint enable

啟用 Azure Spring Apps 的測試端點。

副檔名 GA
az spring test-endpoint list

列出 Azure Spring Apps 的測試端點金鑰。

副檔名 GA
az spring test-endpoint renew-key

重新產生 Azure Spring Apps 的測試端點金鑰。

副檔名 GA
az spring update

更新 Azure Spring Apps。

副檔名 GA

az spring create

建立 Azure Spring Apps 實例。

az spring create --name
                 --resource-group
                 [--acs-gen {Gen1, Gen2}]
                 [--ap-instance]
                 [--app-insights]
                 [--app-insights-key]
                 [--app-network-resource-group]
                 [--app-subnet]
                 [--build-pool-size {S1, S2, S3, S4, S5, S6, S7, S8, S9}]
                 [--disable-app-insights {false, true}]
                 [--disable-build-service {false, true}]
                 [--enable-acs]
                 [--enable-alv]
                 [--enable-api-portal]
                 [--enable-app-acc]
                 [--enable-config-server]
                 [--enable-dataplane-public-endpoint {false, true}]
                 [--enable-gateway]
                 [--enable-private-storage-access {false, true}]
                 [--enable-service-registry]
                 [--gateway-instance-count]
                 [--infra-resource-group]
                 [--ingress-read-timeout]
                 [--location]
                 [--managed-environment]
                 [--marketplace-plan-id]
                 [--no-wait]
                 [--outbound-type]
                 [--registry-password]
                 [--registry-server]
                 [--registry-username]
                 [--reserved-cidr-range]
                 [--sampling-rate]
                 [--service-runtime-network-resource-group]
                 [--service-runtime-subnet]
                 [--sku {Basic, Enterprise, Standard, StandardGen2}]
                 [--tags]
                 [--vnet]
                 [--zone-redundant {false, true}]

範例

在 westus 中建立新的 Azure Spring Apps。

az spring create -n MyService -g MyResourceGroup -l westus

使用 連線 ion 字串(建議)或檢測金鑰,在 westus 中建立新的 Azure Spring Apps 與現有的 Application Insights。

az spring create -n MyService -g MyResourceGroup -l westus --app-insights-key "MyConnectionString"

使用現有的 Application Insights 在 westus 中建立新的 Azure Spring Apps。

az spring create -n MyService -g MyResourceGroup -l westus --app-insights appInsightsName

使用現有的 Application Insights 在 westus 中建立新的 Azure Spring Apps,並指定取樣率。

az spring create -n MyService -g MyResourceGroup -l westus --app-insights appInsightsName --sampling-rate 10

建立已停用 Application Insights 的新 Azure Spring Apps。

az spring create -n MyService -g MyResourceGroup --disable-app-insights

透過在目前資源群組中提供 VNet 名稱,建立新的 Azure Spring Apps 並插入 VNet

az spring create -n MyService -g MyResourceGroup --vnet MyVNet --app-subnet MyAppSubnet --service-runtime-subnet MyServiceRuntimeSubnet

透過提供子網資源標識碼,使用 VNet 插入來建立新的 Azure Spring Apps

az spring create -n MyService -g MyResourceGroup --app-subnet /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyVnetRg/providers/Microsoft.Network/VirtualNetworks/test-vnet/subnets/app --service-runtime-subnet /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyVnetRg/providers/Microsoft.Network/VirtualNetworks/test-vnet/subnets/svc --reserved-cidr-range 10.0.0.0/16,10.1.0.0/16,10.2.0.1/16

如果 Azure 訂用帳戶永不裝載 Azure Spring Apps Enterprise 實例,請建立 Azure Spring Apps Enterprise 實例

az provider register -n Microsoft.SaaS
az term accept --publisher vmware-inc --product azure-spring-cloud-vmware-tanzu-2 --plan asa-ent-hr-mtr
az spring create -n MyService -g MyResourceGroup --sku Enterprise

建立已啟用 Tanzu 元件的 Azure Spring Apps Enterprise 實例。

az provider register -n Microsoft.SaaS
az term accept --publisher vmware-inc --product azure-spring-cloud-vmware-tanzu-2 --plan asa-ent-hr-mtr
az spring create -n MyService -g MyResourceGroup --sku Enterprise --enable-application-configuration-service --enable-config-server --enable-service-registry --enable-gateway --enable-api-portal --enable-application-live-view  --enable-application-accelerator

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--acs-gen --application-configuration-service-generation

(僅限企業層)要啟用的應用程式組態服務產生。

接受的值: Gen1, Gen2
--ap-instance --api-portal-instance-count

(僅限企業層)API 入口網站實例的數目。

--app-insights

相同資源群組中現有Application Insights 的名稱。 或不同資源群組中現有ApplicationInsights的資源標識碼。

--app-insights-key

連線 ion 字串 (建議) 或現有 Application Insights 的檢測密鑰。

--app-network-resource-group --app-nrg

將在其中建立應用程式所有網路資源的資源群組。

--app-subnet

要在其中部署 Spring Apps 應用程式之 「vnet」 中現有子網的名稱或標識碼。 部署至 虛擬網絡 時需要。 支援較小的子網大小,請參閱: https://aka.ms/azure-spring-cloud-smaller-subnet-vnet-docs

--build-pool-size

(僅限企業層)組建代理程式集區的大小。 如需大小資訊,請參閱 https://aka.ms/azure-spring-cloud-build-service-docs

接受的值: S1, S2, S3, S4, S5, S6, S7, S8, S9
--disable-app-insights

停用 Application Insights,如果未停用,且沒有使用 --app-insights-key 或 --app-insights 指定的現有 Application Insights,將會在相同的資源群組中建立新的 Application Insights 實例。

接受的值: false, true
--disable-build-service

(僅限企業層)停用組建服務。

接受的值: false, true
預設值: False
--enable-acs --enable-application-configuration-service

(僅限企業層)啟用應用程式組態服務。

預設值: False
--enable-alv --enable-application-live-view

(僅限企業層)啟用應用程式實時檢視。

預設值: False
--enable-api-portal

(僅限企業層)啟用 API 入口網站。

預設值: False
--enable-app-acc --enable-application-accelerator

(僅限企業層)啟用應用程式加速器。

預設值: False
--enable-config-server --enable-cs
預覽

(僅限企業層)啟用組態伺服器。

預設值: False
--enable-dataplane-public-endpoint --enable-dppa

如果為 true,請為記錄串流、遠端偵錯指派公用端點,以在可從虛擬網路存取的 vnet 插入實例中連線應用程式。

接受的值: false, true
--enable-gateway

(僅限企業層)啟用 Spring Cloud Gateway。

預設值: False
--enable-private-storage-access --enable-psa
預覽

如果為 true,請在 vnet 插入實例中設定後端記憶體的專用網存取權。

接受的值: false, true
--enable-service-registry --enable-sr

(僅限企業層)啟用服務登錄。

預設值: False
--gateway-instance-count

(僅限企業層)Spring Cloud Gateway 實例的數目。

--infra-resource-group

包含基礎結構資源的資源群組名稱。

--ingress-read-timeout

輸入讀取逾時值以秒為單位。 預設值 300,最小值為 1,最大值為 1800。

--location -l

位置。​​ 來自的值: az account list-locations。 您可以使用 az configure --defaults location=<location> 設定預設位置。

--managed-environment

Spring Apps 實例所建置之容器應用程式環境的資源標識碼。

--marketplace-plan-id
預覽

(僅限企業層)指定要使用 Spring 實例購買的不同 Marketplace 方案。 執行 az spring list-marketplace-plan -o table來列出所有計劃。

--no-wait

請勿等候長時間執行的作業完成。

預設值: False
--outbound-type

Azure Spring Apps VNet 實例的輸出類型。

預設值: loadBalancer
--registry-password

(僅限企業層)建置服務中使用的容器登錄密碼。

--registry-server

(僅限企業層)建置服務中使用的容器登錄伺服器。

--registry-username

(僅限企業層)建置服務中使用的容器登錄用戶名稱。

--reserved-cidr-range

以 CIDR 格式分隔的 IP 位址範圍逗號分隔清單。 IP 範圍會保留給裝載基礎 Azure Spring Apps 基礎結構,此基礎結構至少應為 3 /16 未使用的 IP 範圍,不得與任何子網 IP 範圍重疊。

--sampling-rate

Application Insights 的取樣率。 最小值為 0,最大值為 100。

--service-runtime-network-resource-group --svc-nrg

將在其中建立 Azure Spring Apps 服務運行時間之所有網路資源的資源群組。

--service-runtime-subnet --svc-subnet

要在其中部署 Spring Apps 服務運行時間之 「vnet」 中現有子網的名稱或標識碼。 部署至 虛擬網絡 時需要。

--sku

SKU 的名稱。

接受的值: Basic, Enterprise, Standard, StandardGen2
預設值: Standard
--tags

以空格分隔的標記:key[=value] [key[=value] ...]。使用 「清除現有的標記」。

--vnet

要在其中部署 Spring Apps 實例之現有 虛擬網絡 的名稱或標識碼。

--zone-redundant
預覽

在 Azure 可用性區域中建立您的 Azure Spring Apps 服務,目前只能在數個區域中支援此功能。

接受的值: false, true
預設值: False
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring delete

刪除 Azure Spring Apps。

az spring delete --name
                 --resource-group
                 [--no-wait]

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring flush-virtualnetwork-dns-settings

預覽

此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

(僅限標準和企業層)排清 Azure Spring Apps 的虛擬網路 DNS 設定。

az spring flush-virtualnetwork-dns-settings --name
                                            --resource-group
                                            [--no-wait]

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring list

列出指定資源群組中的所有 Azure Spring Apps,否則會列出訂用帳戶的 。

az spring list [--resource-group]

選擇性參數

--resource-group -g

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring list-marketplace-plan

預覽

此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

(僅限企業層)列出要購買的 Marketplace 方案。

az spring list-marketplace-plan

範例

列出所有方案。

az spring list-marketplace-plan -o table
全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring list-support-server-versions

預覽

此命令處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

(僅限標準和基本層)列出支持的伺服器版本。

az spring list-support-server-versions --resource-group
                                       --service

範例

列出支持的伺服器版本。

az spring list-support-server-versions -o table -s MyService -g MyResourceGroup

必要參數

--resource-group -g

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

--service -s

Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=來設定預設服務。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring show

顯示 Azure Spring Apps 的詳細數據。

az spring show --name
               --resource-group

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring start

啟動 Azure Spring Apps。

az spring start --name
                --resource-group
                [--no-wait]

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring stop

停止 Azure Spring Apps。

az spring stop --name
               --resource-group
               [--no-wait]

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

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

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。

az spring update

更新 Azure Spring Apps。

az spring update --name
                 --resource-group
                 [--build-pool-size {S1, S2, S3, S4, S5, S6, S7, S8, S9}]
                 [--enable-dataplane-public-endpoint {false, true}]
                 [--enable-planned-maintenance]
                 [--enable-private-storage-access {false, true}]
                 [--ingress-read-timeout]
                 [--no-wait]
                 [--planned-maintenance-day {Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday}]
                 [--planned-maintenance-start-hour]
                 [--sku {Basic, Enterprise, Standard, StandardGen2}]
                 [--tags]

範例

更新定價層。

az spring update -n MyService --sku Standard -g MyResourceGroup

更新現有 Azure Spring Apps 的標籤。

az spring update -n MyService -g MyResourceGroup --tags key1=value1 key2=value2

設定計劃性維護

az spring update -n MyService -g MyResourceGroup --enable-planned-maintenance --planned-maintenance-day Friday --planned-maintenance-start-hour 10

必要參數

--name -n

Azure Spring Apps 實例的名稱。

--resource-group -g

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

選擇性參數

--build-pool-size

(僅限企業層)組建代理程式集區的大小。 如需大小資訊,請參閱 https://aka.ms/azure-spring-cloud-build-service-docs

接受的值: S1, S2, S3, S4, S5, S6, S7, S8, S9
--enable-dataplane-public-endpoint --enable-dppa

如果為 true,請為記錄串流、遠端偵錯指派公用端點,以在可從虛擬網路存取的 vnet 插入實例中連線應用程式。

接受的值: false, true
--enable-planned-maintenance --enable-pm
預覽

如果已設定,請啟用實例的計劃性維護。

預設值: False
--enable-private-storage-access --enable-psa
預覽

如果為 true,請在 vnet 插入實例中設定後端記憶體的專用網存取權。

接受的值: false, true
--ingress-read-timeout

輸入讀取逾時值以秒為單位。 最小值為 1,最大值為 1800。

--no-wait

請勿等候長時間執行的作業完成。

預設值: False
--planned-maintenance-day --pm-day
預覽

計劃性維護排程的一周中的一天。

接受的值: Friday, Monday, Saturday, Sunday, Thursday, Tuesday, Wednesday
--planned-maintenance-start-hour --pm-start-hour
預覽

計劃性維護期間 UTC 的開始時間。 必須介於 0 到 23 之間。

--sku

SKU 的名稱。

接受的值: Basic, Enterprise, Standard, StandardGen2
--tags

以空格分隔的標記:key[=value] [key[=value] ...]。使用 「清除現有的標記」。

全域參數
--debug

增加記錄詳細資訊,以顯示所有偵錯記錄。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

增加記錄詳細資訊。 使用 --debug 來取得完整偵錯記錄。