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