az aks connection update
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
更新 aks 连接。
命令
| 名称 | 说明 | 类型 | Status |
|---|---|---|---|
| az aks connection update app-insights |
将 aks 更新到 app-insights 连接。 |
Core | Preview |
| az aks connection update appconfig |
将 aks 更新为 appconfig 连接。 |
Core | Preview |
| az aks connection update cognitiveservices |
将 aks 更新为认知服务连接。 |
Core | Preview |
| az aks connection update confluent-cloud |
将 aks 更新为 confluent-cloud 连接。 |
Core | Preview |
| az aks connection update cosmos-cassandra |
将 aks 更新为 cosmos-cassandra 连接。 |
Core | Preview |
| az aks connection update cosmos-gremlin |
将 aks 更新为 cosmos-gremlin 连接。 |
Core | Preview |
| az aks connection update cosmos-mongo |
将 aks 更新为 cosmos-mongo 连接。 |
Core | Preview |
| az aks connection update cosmos-sql |
将 aks 更新为 cosmos-sql 连接。 |
Core | Preview |
| az aks connection update cosmos-table |
将 aks 更新为 cosmos-table 连接。 |
Core | Preview |
| az aks connection update eventhub |
将 aks 更新到 eventhub 连接。 |
Core | Preview |
| az aks connection update keyvault |
将 aks 更新为 keyvault 连接。 |
Core | Preview |
| az aks connection update mongodb-atlas |
将 aks 更新为 mongodb-atlas 连接。 |
Core | Preview |
| az aks connection update mysql |
将 aks 更新到 mysql 连接。 |
Core | 预览和弃用 |
| az aks connection update mysql-flexible |
将 aks 更新为 mysql 灵活连接。 |
Core | Preview |
| az aks connection update neon-postgres |
将 aks 更新为 neon-postgres 连接。 |
Core | Preview |
| az aks connection update postgres |
将 aks 更新为 postgres 连接。 |
Core | 预览和弃用 |
| az aks connection update postgres-flexible |
将 aks 更新为 postgres 灵活连接。 |
Core | Preview |
| az aks connection update redis |
将 aks 更新为 redis 连接。 |
Core | Preview |
| az aks connection update redis-enterprise |
将 aks 更新为 redis-enterprise 连接。 |
Core | Preview |
| az aks connection update servicebus |
将 aks 更新到 servicebus 连接。 |
Core | Preview |
| az aks connection update signalr |
将 aks 更新为信号器连接。 |
Core | Preview |
| az aks connection update sql |
将 aks 更新到 sql 连接。 |
Core | Preview |
| az aks connection update storage-blob |
将 ak 更新到 storage-blob 连接。 |
Core | Preview |
| az aks connection update storage-file |
将 ak 更新到存储文件连接。 |
Core | Preview |
| az aks connection update storage-queue |
将 ak 更新到存储队列连接。 |
Core | Preview |
| az aks connection update storage-table |
将 ak 更新到存储表连接。 |
Core | Preview |
| az aks connection update webpubsub |
将 aks 更新到 webpubsub 连接。 |
Core | Preview |
az aks connection update app-insights
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新到 app-insights 连接。
az aks connection update app-insights [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update app-insights -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update app-insights --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update appconfig
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 appconfig 连接。
az aks connection update appconfig [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update appconfig -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update appconfig --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cognitiveservices
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为认知服务连接。
az aks connection update cognitiveservices [--appconfig-id]
[--client-type {dotnet, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cognitiveservices -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cognitiveservices --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, none, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update confluent-cloud
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 confluent-cloud 连接。
az aks connection update confluent-cloud --connection
[--appconfig-id]
[--bootstrap-server]
[--client-type {dotnet, dotnet-internal, go, java, none, python, springBoot}]
[--customized-keys]
[--kafka-key]
[--kafka-secret]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--schema-key]
[--schema-registry]
[--schema-secret]
[--source-id]
示例
更新启动服务器连接的客户端类型
az aks connection update confluent-cloud -g ClusterRG -n MyCluster --connection MyConnection --client python
更新启动服务器连接的身份验证配置
az aks connection update confluent-cloud -g ClusterRG -n MyCluster --connection MyConnection --bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret
更新架构注册表连接的客户端类型
az aks connection update confluent-cloud -g ClusterRG -n MyCluster --connection MyConnection_schema --client python
更新架构注册表连接的身份验证配置
az aks connection update confluent-cloud -g ClusterRG -n MyCluster --connection MyConnection_schema --schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret
必需参数
连接的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
Kafka bootstrap 服务器 URL。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, none, python, springBoot |
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
Kafka API-Key(密钥)。
Kafka API-Key(机密)。
托管群集的名称。 如果未指定“--source-id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--source-id”,则为必需。没有。
架构注册表 API 密钥(密钥)。
架构注册表 URL。
架构注册表 API 密钥(机密)。
aks 的资源 ID。 如果未指定 ['--resource-group', '--name'] ,则为必需。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cosmos-cassandra
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 cosmos-cassandra 连接。
az aks connection update cosmos-cassandra [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cosmos-cassandra -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cosmos-cassandra --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cosmos-gremlin
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 cosmos-gremlin 连接。
az aks connection update cosmos-gremlin [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cosmos-gremlin -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cosmos-gremlin --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, php, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cosmos-mongo
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 cosmos-mongo 连接。
az aks connection update cosmos-mongo [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cosmos-mongo -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cosmos-mongo --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cosmos-sql
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 cosmos-sql 连接。
az aks connection update cosmos-sql [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cosmos-sql -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cosmos-sql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update cosmos-table
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 cosmos-table 连接。
az aks connection update cosmos-table [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update cosmos-table -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update cosmos-table --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update eventhub
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新到 eventhub 连接。
az aks connection update eventhub [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update eventhub -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update eventhub --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update keyvault
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 keyvault 连接。
az aks connection update keyvault [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update keyvault -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update keyvault --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update mongodb-atlas
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 mongodb-atlas 连接。
az aks connection update mongodb-atlas [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update mongodb-atlas -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update mongodb-atlas --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证的连接字符串。
用法:--secret secret=XX
secret : 机密身份验证的连接字符串。示例:mongodb+srv://myUser:myPassword@cluster0.a12345.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update mysql
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
此命令已弃用,将在将来的版本中删除。
将 aks 更新到 mysql 连接。
az aks connection update mysql [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
示例
使用资源名称更新连接的客户端类型
az aks connection update mysql -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update mysql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update mysql-flexible
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 mysql 灵活连接。
az aks connection update mysql-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update mysql-flexible -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update mysql-flexible --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update neon-postgres
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 neon-postgres 连接。
az aks connection update neon-postgres [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update neon-postgres -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update neon-postgres --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update postgres
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
此命令已弃用,将在将来的版本中删除。
将 aks 更新为 postgres 连接。
az aks connection update postgres [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
示例
使用资源名称更新连接的客户端类型
az aks connection update postgres -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update postgres --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update postgres-flexible
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 postgres 灵活连接。
az aks connection update postgres-flexible [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update postgres-flexible -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update postgres-flexible --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update redis
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 redis 连接。
az aks connection update redis [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update redis -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update redis --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update redis-enterprise
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为 redis-enterprise 连接。
az aks connection update redis-enterprise [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
示例
使用资源名称更新连接的客户端类型
az aks connection update redis-enterprise -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update redis-enterprise --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update servicebus
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新到 servicebus 连接。
az aks connection update servicebus [--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update servicebus -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update servicebus --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update signalr
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新为信号器连接。
az aks connection update signalr [--appconfig-id]
[--client-type {dotnet, dotnet-internal, none}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update signalr -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update signalr --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, none |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update sql
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新到 sql 连接。
az aks connection update sql [--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
示例
使用资源名称更新连接的客户端类型
az aks connection update sql -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update sql --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret name=XX secret=XX --secret name=XX secret-name=XX
name :必需。 机密身份验证的用户名或帐户名称。机密:需要 <secret, secret-uri, secret-name> 之一。 机密身份验证的密码或帐户密钥。机密名称:需要 <secret, secret-uri, secret-name> 之一。 存储密码的 Keyvault 机密名称。 仅适用于 AKS。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update storage-blob
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 ak 更新到 storage-blob 连接。
az aks connection update storage-blob [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update storage-blob -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update storage-blob --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update storage-file
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 ak 更新到存储文件连接。
az aks connection update storage-file [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
示例
使用资源名称更新连接的客户端类型
az aks connection update storage-file -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update storage-file --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update storage-queue
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 ak 更新到存储队列连接。
az aks connection update storage-queue [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update storage-queue -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update storage-queue --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python, springBoot |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update storage-table
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 ak 更新到存储表连接。
az aks connection update storage-table [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update storage-table -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update storage-table --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
按服务终结点连接目标服务。 源资源必须位于 VNet 中,目标 SKU 必须支持服务终结点功能。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
az aks connection update webpubsub
命令组“aks 连接”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
将 aks 更新到 webpubsub 连接。
az aks connection update webpubsub [--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--enable-csi {false, true}]
[--id]
[--kube-namespace]
[--name]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--workload-identity]
示例
使用资源名称更新连接的客户端类型
az aks connection update webpubsub -g ClusterRG -n MyCluster --connection MyConnection --client-type dotnet
使用资源 ID 更新连接的客户端类型
az aks connection update webpubsub --id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site}/providers/Microsoft.ServiceLinker/linkers/{linker} --client-type dotnet
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
要存储配置的应用配置 ID。
aks 上使用的客户端类型。
| 属性 | 值 |
|---|---|
| 接受的值: | dotnet, dotnet-internal, java, nodejs, none, python |
aks 连接的名称。
用于生成连接字符串的其他连接字符串属性。
用于更改默认配置名称的自定义密钥。 键是原始名称,值为自定义名称。
通过 CSI 卷将 keyvault 用作机密存储。 如果指定,则不需要 AuthType 参数。
| 属性 | 值 |
|---|---|
| 默认值: | False |
| 接受的值: | false, true |
连接的资源 ID。 如果未指定“--id”,则需要 ['--resource-group'、'--name'、'--connection']。
将连接信息保存到的 kubernetes 命名空间(作为 kubernetes 机密)。
| 属性 | 值 |
|---|---|
| 默认值: | default |
托管群集的名称。 如果未指定“--id”,则为必需。没有。
不等待长时间运行的操作完成。
| 属性 | 值 |
|---|---|
| 默认值: | False |
是否禁用某些配置步骤。 使用 configinfo 取消源上的配置信息更改。 使用 publicnetwork 禁用公用网络访问配置。使用身份验证跳过身份验证配置,例如启用托管标识和授予 RBAC 角色。
| 属性 | 值 |
|---|---|
| 接受的值: | auth, configinfo, publicnetwork |
按专用终结点连接目标服务。 源虚拟网络中的专用终结点必须提前创建。
| 属性 | 值 |
|---|---|
| Parameter group: | NetworkSolution Arguments |
| 接受的值: | false, true |
包含托管群集的资源组。 如果未指定“--id”,则为必需。没有。
机密身份验证信息。
用法:--secret。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
服务主体身份验证信息。
用法:--service-principal client-id=XX secret=XX
client-id :必需。 服务主体的客户端 ID。 object-id :可选。 服务主体的对象 ID(企业应用程序)。 secret :必需。 服务主体的机密。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
用于创建工作负荷标识联合的用户分配托管标识。
用法:--workload-identity <user-identity-resource-id>
user-identity-resource-id:必需。 用户分配标识的资源 ID。 请勿使用联合标识凭据不支持的 AKS 控制平面标识和 kubelet 标识。
| 属性 | 值 |
|---|---|
| Parameter group: | AuthType Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 |
|---|---|
| 默认值: | False |
输出格式。
| 属性 | 值 |
|---|---|
| 默认值: | json |
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 |
|---|---|
| 默认值: | False |