你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az spring-cloud connection update

此命令组已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

更新 spring-cloud 连接。

命令

名称 说明 类型 状态
az spring-cloud connection update app-insights

将 spring-cloud 更新到 app-insights 连接。

核心 已放弃
az spring-cloud connection update appconfig

将 spring-cloud 更新为 appconfig 连接。

核心 已放弃
az spring-cloud connection update confluent-cloud

将 spring-cloud 更新为 confluent-cloud 连接。

核心 已放弃
az spring-cloud connection update cosmos-cassandra

将 spring-cloud 更新为 cosmos-cassandra 连接。

核心 已放弃
az spring-cloud connection update cosmos-gremlin

将 spring-cloud 更新为 cosmos-gremlin 连接。

核心 已放弃
az spring-cloud connection update cosmos-mongo

将 spring-cloud 更新为 cosmos-mongo 连接。

核心 已放弃
az spring-cloud connection update cosmos-sql

将 spring-cloud 更新为 cosmos-sql 连接。

核心 已放弃
az spring-cloud connection update cosmos-table

将 spring-cloud 更新为 cosmos-table 连接。

核心 已放弃
az spring-cloud connection update eventhub

将 spring-cloud 更新到 eventhub 连接。

核心 已放弃
az spring-cloud connection update keyvault

将 spring-cloud 更新为 keyvault 连接。

核心 已放弃
az spring-cloud connection update mysql

将 spring-cloud 更新到 mysql 连接。

核心 已放弃
az spring-cloud connection update mysql-flexible

将 spring-cloud 更新为 mysql 灵活连接。

核心 已放弃
az spring-cloud connection update postgres

将 spring-cloud 更新为 postgres 连接。

核心 已放弃
az spring-cloud connection update postgres-flexible

将 spring-cloud 更新为 postgres 灵活连接。

核心 已放弃
az spring-cloud connection update redis

将 spring-cloud 更新为 redis 连接。

核心 已放弃
az spring-cloud connection update redis-enterprise

将 spring-cloud 更新为 redis-enterprise 连接。

核心 已放弃
az spring-cloud connection update servicebus

将 spring-cloud 更新到 servicebus 连接。

核心 已放弃
az spring-cloud connection update signalr

将 spring-cloud 更新为信号器连接。

核心 已放弃
az spring-cloud connection update sql

将 spring-cloud 更新到 sql 连接。

核心 已放弃
az spring-cloud connection update storage-blob

将 spring-cloud 更新到 storage-blob 连接。

核心 已放弃
az spring-cloud connection update storage-file

将 spring-cloud 更新为存储文件连接。

核心 已放弃
az spring-cloud connection update storage-queue

将 spring-cloud 更新到存储队列连接。

核心 已放弃
az spring-cloud connection update storage-table

将 spring-cloud 更新到存储表连接。

核心 已放弃
az spring-cloud connection update webpubsub

将 spring-cloud 更新到 webpubsub 连接。

核心 已放弃

az spring-cloud connection update app-insights

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 app-insights 连接。

az spring-cloud connection update app-insights [--app]
                                               [--appconfig-id]
                                               [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python}]
                                               [--connection]
                                               [--customized-keys]
                                               [--id]
                                               [--no-wait]
                                               [--opt-out {auth, configinfo, publicnetwork}]
                                               [--resource-group]
                                               [--secret]
                                               [--service]
                                               [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update app-insights -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update app-insights --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, python
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update appconfig

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 appconfig 连接。

az spring-cloud connection update appconfig [--app]
                                            [--appconfig-id]
                                            [--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
                                            [--connection]
                                            [--customized-keys]
                                            [--id]
                                            [--no-wait]
                                            [--opt-out {auth, configinfo, publicnetwork}]
                                            [--private-endpoint {false, true}]
                                            [--resource-group]
                                            [--secret]
                                            [--service]
                                            [--service-principal]
                                            [--system-identity]
                                            [--user-identity]
                                            [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update appconfig -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update appconfig --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update confluent-cloud

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 confluent-cloud 连接。

az spring-cloud connection update confluent-cloud --connection
                                                  [--app]
                                                  [--appconfig-id]
                                                  [--bootstrap-server]
                                                  [--client-type {dotnet, dotnet-internal, go, java, none, python, springBoot}]
                                                  [--customized-keys]
                                                  [--kafka-key]
                                                  [--kafka-secret]
                                                  [--no-wait]
                                                  [--opt-out {auth, configinfo, publicnetwork}]
                                                  [--resource-group]
                                                  [--schema-key]
                                                  [--schema-registry]
                                                  [--schema-secret]
                                                  [--service]
                                                  [--source-id]
                                                  [--vault-id]

示例

更新启动服务器连接的客户端类型

az spring-cloud connection update confluent-cloud -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client python

更新启动服务器连接的身份验证配置

az spring-cloud connection update confluent-cloud -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret

更新架构注册表连接的客户端类型

az spring-cloud connection update confluent-cloud -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection_schema --client python

更新架构注册表连接的身份验证配置

az spring-cloud connection update confluent-cloud -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection_schema --schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret

必需参数

--connection

连接的名称。

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--source-id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--bootstrap-server

Kafka bootstrap 服务器 URL。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, none, python, springBoot
--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--kafka-key

Kafka API-Key(密钥)。

--kafka-secret

Kafka API-Key(机密)。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--source-id”,则为必需。没有。

--schema-key

架构注册表 API 密钥(密钥)。

--schema-registry

架构注册表 URL。

--schema-secret

架构注册表 API 密钥(机密)。

--service

spring-cloud 服务的名称。 如果未指定“--source-id”,则为必需。没有。

--source-id

spring-cloud 的资源 ID。 如果未指定 ['--resource-group'、 '--service'、 '--app'、 '--deployment',则为必需。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update cosmos-cassandra

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 cosmos-cassandra 连接。

az spring-cloud connection update cosmos-cassandra [--app]
                                                   [--appconfig-id]
                                                   [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                                   [--connection]
                                                   [--customized-keys]
                                                   [--id]
                                                   [--no-wait]
                                                   [--opt-out {auth, configinfo, publicnetwork}]
                                                   [--private-endpoint {false, true}]
                                                   [--resource-group]
                                                   [--secret]
                                                   [--service]
                                                   [--service-endpoint {false, true}]
                                                   [--service-principal]
                                                   [--system-identity]
                                                   [--user-identity]
                                                   [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update cosmos-cassandra -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update cosmos-cassandra --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update cosmos-gremlin

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 cosmos-gremlin 连接。

az spring-cloud connection update cosmos-gremlin [--app]
                                                 [--appconfig-id]
                                                 [--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python}]
                                                 [--connection]
                                                 [--customized-keys]
                                                 [--id]
                                                 [--no-wait]
                                                 [--opt-out {auth, configinfo, publicnetwork}]
                                                 [--private-endpoint {false, true}]
                                                 [--resource-group]
                                                 [--secret]
                                                 [--service]
                                                 [--service-endpoint {false, true}]
                                                 [--service-principal]
                                                 [--system-identity]
                                                 [--user-identity]
                                                 [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update cosmos-gremlin -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update cosmos-gremlin --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, php, python
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update cosmos-mongo

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 cosmos-mongo 连接。

az spring-cloud connection update cosmos-mongo [--app]
                                               [--appconfig-id]
                                               [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, springBoot}]
                                               [--connection]
                                               [--customized-keys]
                                               [--id]
                                               [--no-wait]
                                               [--opt-out {auth, configinfo, publicnetwork}]
                                               [--private-endpoint {false, true}]
                                               [--resource-group]
                                               [--secret]
                                               [--service]
                                               [--service-endpoint {false, true}]
                                               [--service-principal]
                                               [--system-identity]
                                               [--user-identity]
                                               [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update cosmos-mongo -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update cosmos-mongo --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update cosmos-sql

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 cosmos-sql 连接。

az spring-cloud connection update cosmos-sql [--app]
                                             [--appconfig-id]
                                             [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                             [--connection]
                                             [--customized-keys]
                                             [--id]
                                             [--no-wait]
                                             [--opt-out {auth, configinfo, publicnetwork}]
                                             [--private-endpoint {false, true}]
                                             [--resource-group]
                                             [--secret]
                                             [--service]
                                             [--service-endpoint {false, true}]
                                             [--service-principal]
                                             [--system-identity]
                                             [--user-identity]
                                             [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update cosmos-sql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update cosmos-sql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update cosmos-table

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 cosmos-table 连接。

az spring-cloud connection update cosmos-table [--app]
                                               [--appconfig-id]
                                               [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                               [--connection]
                                               [--customized-keys]
                                               [--id]
                                               [--no-wait]
                                               [--opt-out {auth, configinfo, publicnetwork}]
                                               [--private-endpoint {false, true}]
                                               [--resource-group]
                                               [--secret]
                                               [--service]
                                               [--service-endpoint {false, true}]
                                               [--service-principal]
                                               [--system-identity]
                                               [--user-identity]
                                               [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update cosmos-table -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update cosmos-table --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update eventhub

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 eventhub 连接。

az spring-cloud connection update eventhub [--app]
                                           [--appconfig-id]
                                           [--client-type {dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
                                           [--connection]
                                           [--customized-keys]
                                           [--id]
                                           [--no-wait]
                                           [--opt-out {auth, configinfo, publicnetwork}]
                                           [--private-endpoint {false, true}]
                                           [--resource-group]
                                           [--secret]
                                           [--service]
                                           [--service-endpoint {false, true}]
                                           [--service-principal]
                                           [--system-identity]
                                           [--user-identity]
                                           [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update eventhub -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update eventhub --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update keyvault

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 keyvault 连接。

az spring-cloud connection update keyvault [--app]
                                           [--appconfig-id]
                                           [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                           [--connection]
                                           [--customized-keys]
                                           [--id]
                                           [--no-wait]
                                           [--opt-out {auth, configinfo, publicnetwork}]
                                           [--private-endpoint {false, true}]
                                           [--resource-group]
                                           [--service]
                                           [--service-endpoint {false, true}]
                                           [--service-principal]
                                           [--system-identity]
                                           [--user-identity]
                                           [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update keyvault -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update keyvault --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update mysql

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 mysql 连接。

az spring-cloud connection update mysql [--app]
                                        [--appconfig-id]
                                        [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                        [--connection]
                                        [--customized-keys]
                                        [--id]
                                        [--no-wait]
                                        [--opt-out {auth, configinfo, publicnetwork}]
                                        [--private-endpoint {false, true}]
                                        [--resource-group]
                                        [--secret]
                                        [--service]
                                        [--service-endpoint {false, true}]
                                        [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update mysql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update mysql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name :必需。 机密身份验证的用户名或帐户名称。机密:需要机密、机密 URI、机密名称>之一<。 机密身份验证的密码或帐户密钥。secret-uri:需要机密、机密 URI、机密名称>之一<。 用于存储密码的 Keyvault 机密 URI。 secret-name:需要机密、secret-uri、secret-name> 之一<。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update mysql-flexible

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 mysql 灵活连接。

az spring-cloud connection update mysql-flexible [--app]
                                                 [--appconfig-id]
                                                 [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                                 [--connection]
                                                 [--customized-keys]
                                                 [--id]
                                                 [--no-wait]
                                                 [--opt-out {auth, configinfo, publicnetwork}]
                                                 [--resource-group]
                                                 [--secret]
                                                 [--service]
                                                 [--service-principal]
                                                 [--system-identity]
                                                 [--user-identity]
                                                 [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update mysql-flexible -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update mysql-flexible --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name :必需。 机密身份验证的用户名或帐户名称。机密:需要机密、机密 URI、机密名称>之一<。 机密身份验证的密码或帐户密钥。secret-uri:需要机密、机密 URI、机密名称>之一<。 用于存储密码的 Keyvault 机密 URI。 secret-name:需要机密、secret-uri、secret-name> 之一<。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity mysql-identity-id=xx

mysql-identity-id :可选。 用于 MySQL 灵活服务器 AAD 身份验证的标识 ID。 如果你是服务器 AAD 管理员,请将其忽略。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update postgres

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 postgres 连接。

az spring-cloud connection update postgres [--app]
                                           [--appconfig-id]
                                           [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                           [--connection]
                                           [--customized-keys]
                                           [--id]
                                           [--no-wait]
                                           [--opt-out {auth, configinfo, publicnetwork}]
                                           [--private-endpoint {false, true}]
                                           [--resource-group]
                                           [--secret]
                                           [--service]
                                           [--service-endpoint {false, true}]
                                           [--service-principal]
                                           [--system-identity]
                                           [--user-identity]
                                           [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update postgres -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update postgres --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name :必需。 机密身份验证的用户名或帐户名称。机密:需要机密、机密 URI、机密名称>之一<。 机密身份验证的密码或帐户密钥。secret-uri:需要机密、机密 URI、机密名称>之一<。 用于存储密码的 Keyvault 机密 URI。 secret-name:需要机密、secret-uri、secret-name> 之一<。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update postgres-flexible

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 postgres 灵活连接。

az spring-cloud connection update postgres-flexible [--app]
                                                    [--appconfig-id]
                                                    [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                                    [--connection]
                                                    [--customized-keys]
                                                    [--id]
                                                    [--no-wait]
                                                    [--opt-out {auth, configinfo, publicnetwork}]
                                                    [--resource-group]
                                                    [--secret]
                                                    [--service]
                                                    [--service-principal]
                                                    [--system-identity]
                                                    [--user-identity]
                                                    [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update postgres-flexible -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update postgres-flexible --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name :必需。 机密身份验证的用户名或帐户名称。机密:需要机密、机密 URI、机密名称>之一<。 机密身份验证的密码或帐户密钥。secret-uri:需要机密、机密 URI、机密名称>之一<。 用于存储密码的 Keyvault 机密 URI。 secret-name:需要机密、secret-uri、secret-name> 之一<。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update redis

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 redis 连接。

az spring-cloud connection update redis [--app]
                                        [--appconfig-id]
                                        [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                        [--connection]
                                        [--customized-keys]
                                        [--id]
                                        [--no-wait]
                                        [--opt-out {auth, configinfo, publicnetwork}]
                                        [--private-endpoint {false, true}]
                                        [--resource-group]
                                        [--secret]
                                        [--service]
                                        [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update redis -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update redis --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update redis-enterprise

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为 redis-enterprise 连接。

az spring-cloud connection update redis-enterprise [--app]
                                                   [--appconfig-id]
                                                   [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                                   [--connection]
                                                   [--customized-keys]
                                                   [--id]
                                                   [--no-wait]
                                                   [--opt-out {auth, configinfo, publicnetwork}]
                                                   [--resource-group]
                                                   [--secret]
                                                   [--service]
                                                   [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update redis-enterprise -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update redis-enterprise --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update servicebus

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 servicebus 连接。

az spring-cloud connection update servicebus [--app]
                                             [--appconfig-id]
                                             [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                             [--connection]
                                             [--customized-keys]
                                             [--id]
                                             [--no-wait]
                                             [--opt-out {auth, configinfo, publicnetwork}]
                                             [--private-endpoint {false, true}]
                                             [--resource-group]
                                             [--secret]
                                             [--service]
                                             [--service-endpoint {false, true}]
                                             [--service-principal]
                                             [--system-identity]
                                             [--user-identity]
                                             [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update servicebus -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update servicebus --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update signalr

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为信号器连接。

az spring-cloud connection update signalr [--app]
                                          [--appconfig-id]
                                          [--client-type {dotnet, dotnet-internal, none}]
                                          [--connection]
                                          [--customized-keys]
                                          [--id]
                                          [--no-wait]
                                          [--opt-out {auth, configinfo, publicnetwork}]
                                          [--private-endpoint {false, true}]
                                          [--resource-group]
                                          [--secret]
                                          [--service]
                                          [--service-principal]
                                          [--system-identity]
                                          [--user-identity]
                                          [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update signalr -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update signalr --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, none
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update sql

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 sql 连接。

az spring-cloud connection update sql [--app]
                                      [--appconfig-id]
                                      [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                      [--connection]
                                      [--customized-keys]
                                      [--id]
                                      [--no-wait]
                                      [--opt-out {auth, configinfo, publicnetwork}]
                                      [--private-endpoint {false, true}]
                                      [--resource-group]
                                      [--secret]
                                      [--service]
                                      [--service-endpoint {false, true}]
                                      [--service-principal]
                                      [--system-identity]
                                      [--user-identity]
                                      [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update sql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update sql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name :必需。 机密身份验证的用户名或帐户名称。机密:需要机密、机密 URI、机密名称>之一<。 机密身份验证的密码或帐户密钥。secret-uri:需要机密、机密 URI、机密名称>之一<。 用于存储密码的 Keyvault 机密 URI。 secret-name:需要机密、secret-uri、secret-name> 之一<。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update storage-blob

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 storage-blob 连接。

az spring-cloud connection update storage-blob [--app]
                                               [--appconfig-id]
                                               [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                               [--connection]
                                               [--customized-keys]
                                               [--id]
                                               [--no-wait]
                                               [--opt-out {auth, configinfo, publicnetwork}]
                                               [--private-endpoint {false, true}]
                                               [--resource-group]
                                               [--secret]
                                               [--service]
                                               [--service-endpoint {false, true}]
                                               [--service-principal]
                                               [--system-identity]
                                               [--user-identity]
                                               [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update storage-blob -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update storage-blob --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update storage-file

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新为存储文件连接。

az spring-cloud connection update storage-file [--app]
                                               [--appconfig-id]
                                               [--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot}]
                                               [--connection]
                                               [--customized-keys]
                                               [--id]
                                               [--no-wait]
                                               [--opt-out {auth, configinfo, publicnetwork}]
                                               [--private-endpoint {false, true}]
                                               [--resource-group]
                                               [--secret]
                                               [--service]
                                               [--service-endpoint {false, true}]
                                               [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update storage-file -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update storage-file --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update storage-queue

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到存储队列连接。

az spring-cloud connection update storage-queue [--app]
                                                [--appconfig-id]
                                                [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                                [--connection]
                                                [--customized-keys]
                                                [--id]
                                                [--no-wait]
                                                [--opt-out {auth, configinfo, publicnetwork}]
                                                [--private-endpoint {false, true}]
                                                [--resource-group]
                                                [--secret]
                                                [--service]
                                                [--service-endpoint {false, true}]
                                                [--service-principal]
                                                [--system-identity]
                                                [--user-identity]
                                                [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update storage-queue -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update storage-queue --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update storage-table

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到存储表连接。

az spring-cloud connection update storage-table [--app]
                                                [--appconfig-id]
                                                [--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
                                                [--connection]
                                                [--customized-keys]
                                                [--id]
                                                [--no-wait]
                                                [--opt-out {auth, configinfo, publicnetwork}]
                                                [--private-endpoint {false, true}]
                                                [--resource-group]
                                                [--secret]
                                                [--service]
                                                [--service-endpoint {false, true}]
                                                [--service-principal]
                                                [--system-identity]
                                                [--user-identity]
                                                [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update storage-table -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update storage-table --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-endpoint

按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。

接受的值: false, true
--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。

az spring-cloud connection update webpubsub

已放弃

此命令已隐式弃用,因为命令组“spring-cloud”已弃用,将在将来的版本中删除。 请改用“spring”。

将 spring-cloud 更新到 webpubsub 连接。

az spring-cloud connection update webpubsub [--app]
                                            [--appconfig-id]
                                            [--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
                                            [--connection]
                                            [--customized-keys]
                                            [--id]
                                            [--no-wait]
                                            [--opt-out {auth, configinfo, publicnetwork}]
                                            [--private-endpoint {false, true}]
                                            [--resource-group]
                                            [--secret]
                                            [--service]
                                            [--service-principal]
                                            [--system-identity]
                                            [--user-identity]
                                            [--vault-id]

示例

使用资源名称更新连接的客户端类型

az spring-cloud connection update webpubsub -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --connection MyConnection --client-type dotnet

使用资源 ID 更新连接的客户端类型

az spring-cloud connection update webpubsub --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet

可选参数

--app

spring-cloud 应用的名称。 如果未指定“--id”,则为必需。没有。

--appconfig-id

要存储配置的应用配置 ID。

--client-type

spring-cloud 上使用的客户端类型。

接受的值: dotnet, dotnet-internal, java, nodejs, none, python
--connection

spring-cloud 连接的名称。

--customized-keys

用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。

--id

连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、--service'、'--app'、'--deployment'、'--connection']。

--no-wait

不等待长时间运行的操作完成。

默认值: False
--opt-out

是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。

接受的值: auth, configinfo, publicnetwork
--private-endpoint

按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。

接受的值: false, true
--resource-group -g

包含 spring-cloud 的资源组。 如果未指定“--id”,则为必需。没有。

--secret

机密身份验证信息。

用法:--secret。

--service

spring-cloud 服务的名称。 如果未指定“--id”,则为必需。没有。

--service-principal

服务主体身份验证信息。

用法:--service-principal client-id=XX secret=XX

client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。

--system-identity

系统分配的标识身份验证信息。

用法:--system-identity。

--user-identity

用户分配的标识身份验证信息。

用法:--user-identity client-id=XX subs-id=XX

client-id :必需。 用户分配标识的客户端 ID。 subs-id:必需。 用户分配的标识的订阅 ID。

--vault-id

用于存储机密值的密钥保管库的 ID。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。