az spring connection
此命令群組已隱含取代,因為命令群組 'spring' 已被取代,並將在未來版本中移除。
管理 Spring 應用程式連線的命令。
命令
az spring connection delete
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
刪除 Spring 應用程式連線。
az spring connection delete [--app]
[--connection]
[--deployment]
[--id]
[--no-wait]
[--resource-group]
[--service]
[--yes]
範例
以互動方式刪除 Spring 應用程式連線
az spring connection delete
依連線名稱刪除 Spring 應用程式連線
az spring connection delete -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection
依連線標識碼刪除 Spring 應用程式連線
az spring connection delete --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker}
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
Spring 連接的名稱。
應用程式的部署名稱。
連接的資源識別碼。 如果未指定 '--id',則需要 [''--resource-group'、'--service'、'--app'、'--connection']。
請勿等候長時間執行的作業完成。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--id』 ,則為必要項。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
請勿提示確認。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection list
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
列出 Spring 應用程式的連線。
az spring connection list [--app]
[--deployment]
[--resource-group]
[--service]
[--source-id]
範例
以互動方式列出 Spring 應用程式連線
az spring connection list
依來源資源名稱列出 Spring 應用程式連線
az spring connection list -g SpringCloudRG --service MySpringService --app MyApp
依來源資源標識碼列出 Spring 應用程式連線
az spring connection list --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--source-id』,則為必要專案。沒有。
應用程式的部署名稱。
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--source-id』,則為必要專案。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--source-id』,則為必要專案。沒有。
spring 的資源標識碼。 如果未指定 ['--resource-group'、'--service'、'--app'] ,則為必要專案。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection list-configuration
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
列出 Spring 應用程式連線的來源組態。
az spring connection list-configuration [--app]
[--connection]
[--deployment]
[--id]
[--resource-group]
[--service]
範例
以互動方式列出連線的來源組態
az spring connection list-configuration
依連線名稱列出連線的來源組態
az spring connection list-configuration -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection
依線上標識碼列出連線的來源組態
az spring connection list-configuration --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker}
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
Spring 連接的名稱。
應用程式的部署名稱。
連接的資源識別碼。 如果未指定 '--id',則需要 [''--resource-group'、'--service'、'--app'、'--connection']。
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--id』 ,則為必要項。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection list-support-types
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
列出 Spring 應用程式連線支援的用戶端類型和驗證類型。
az spring connection list-support-types [--target-type {app-insights, appconfig, cognitiveservices, confluent-cloud, cosmos-cassandra, cosmos-gremlin, cosmos-mongo, cosmos-sql, cosmos-table, eventhub, fabric-sql, keyvault, mongodb-atlas, mysql, mysql-flexible, neon-postgres, postgres, postgres-flexible, redis, redis-enterprise, servicebus, signalr, sql, storage-blob, storage-file, storage-queue, storage-table, webpubsub}]
範例
列出所有支援的 Spring 應用程式目標資源類型和驗證類型
az spring connection list-support-types -o table
列出特定目標資源類型支援的 Spring 應用程式驗證類型
az spring connection list-support-types --target-type storage-blob -o table
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
目標資源類型。
| 屬性 | 值 |
|---|---|
| 接受的值: | app-insights, appconfig, cognitiveservices, confluent-cloud, cosmos-cassandra, cosmos-gremlin, cosmos-mongo, cosmos-sql, cosmos-table, eventhub, fabric-sql, keyvault, mongodb-atlas, mysql, mysql-flexible, neon-postgres, postgres, postgres-flexible, redis, redis-enterprise, servicebus, signalr, sql, storage-blob, storage-file, storage-queue, storage-table, webpubsub |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection show
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
取得 Spring 應用程式連線的詳細數據。
az spring connection show [--app]
[--connection]
[--deployment]
[--id]
[--resource-group]
[--service]
範例
以互動方式取得連線
az spring connection show
依線上名稱取得連線
az spring connection show -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection
依線上標識碼取得連線
az spring connection show --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker}
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
Spring 連接的名稱。
應用程式的部署名稱。
連接的資源識別碼。 如果未指定 '--id',則需要 [''--resource-group'、'--service'、'--app'、'--connection']。
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--id』 ,則為必要項。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection validate
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
驗證 Spring 應用程式連線。
az spring connection validate [--app]
[--connection]
[--deployment]
[--id]
[--resource-group]
[--service]
範例
以互動方式驗證連線
az spring connection validate
依線上名稱驗證連線
az spring connection validate -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection
依線上標識碼驗證連線
az spring connection validate --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker}
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
Spring 連接的名稱。
應用程式的部署名稱。
連接的資源識別碼。 如果未指定 '--id',則需要 [''--resource-group'、'--service'、'--app'、'--connection']。
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--id』 ,則為必要項。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | 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 connection wait
此指令已隱含取代,因為指令群組 'spring' 已被取代,且將在未來版本中移除。
將 CLI 置於等候狀態,直到符合連線的條件為止。
az spring connection wait [--app]
[--connection]
[--created]
[--custom]
[--deleted]
[--deployment]
[--exists]
[--id]
[--interval]
[--resource-group]
[--service]
[--timeout]
[--updated]
範例
等到連線成功建立為止。
az spring connection wait --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --created
選擇性參數
下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。
Azure Spring Apps 中應用程式的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
Spring 連接的名稱。
請等候在 'Succeeded' 使用 'provisioningState' 建立。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
等到刪除為止。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
應用程式的部署名稱。
等候資源存在。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
連接的資源識別碼。 如果未指定 '--id',則需要 [''--resource-group'、'--service'、'--app'、'--connection']。
輪詢間隔以秒為單位。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 30 |
資源群組,其中包含 Azure Spring Apps 中的應用程式。 如果未指定 『--id』 ,則為必要項。沒有。
Azure Spring Apps 資源的名稱。 如果未指定 『--id』 ,則為必要項。沒有。
以秒為單位的等候上限。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | 3600 |
等到 provisioningState 更新為 'Succeeded'。
| 屬性 | 值 |
|---|---|
| 參數群組: | Wait Condition Arguments |
| 預設值: | False |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
| 屬性 | 值 |
|---|---|
| 預設值: | False |
輸出格式。
| 屬性 | 值 |
|---|---|
| 預設值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
| 屬性 | 值 |
|---|---|
| 預設值: | False |