az spring application-accelerator
備註
此參考是 Azure CLI 的 spring 延伸模組的一部分(2.56.0 版或更高版本)。 擴充功能會在您第一次執行 az spring application-accelerator 命令時自動安裝
此命令群組已隱含取代,因為命令群組 'spring' 已被取代,並將在未來版本中移除。
(僅限企業層)在 Azure Spring Apps 中管理應用程式加速器的命令。
命令
az spring application-accelerator create
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
(僅限企業層)在 Azure Spring Apps 實例中建立應用程式加速器。
az spring application-accelerator create --resource-group
--service
[--no-wait]
範例
在 Azure Spring Apps 實例中建立應用程式加速器。
az spring application-accelerator create --service MyCluster --resource-group MyResourceGroup
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring application-accelerator delete
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
(僅限企業層)從 Azure Spring Apps 實例刪除應用程式加速器。
az spring application-accelerator delete --resource-group
--service
[--no-wait]
[--yes]
範例
從 Azure Spring Apps 實例刪除應用程式加速器。
az spring application-accelerator delete --service MyCluster --resource-group MyResourceGroup
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
az spring application-accelerator show
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
(僅限企業層)顯示應用程式加速器的設定、布建狀態和運行時間狀態。
az spring application-accelerator show --resource-group
--service
範例
顯示應用程式加速器的詳細數據。
az spring application-accelerator show --service MyCluster --resource-group MyResourceGroup
必要參數
資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。
Azure Spring Apps 實例的名稱,您可以使用 az configure --defaults spring=<name>來設定預設服務。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |