Share via


az spring connection update

This command group is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app connection.

Commands

Name Description Type Status
az spring connection update app-insights

Update a spring app to app-insights connection.

Core Deprecated
az spring connection update appconfig

Update a spring app to appconfig connection.

Core Deprecated
az spring connection update cognitiveservices

Update a spring app to cognitiveservices connection.

Core Deprecated
az spring connection update confluent-cloud

Update a spring app to confluent-cloud connection.

Core Deprecated
az spring connection update cosmos-cassandra

Update a spring app to cosmos-cassandra connection.

Core Deprecated
az spring connection update cosmos-gremlin

Update a spring app to cosmos-gremlin connection.

Core Deprecated
az spring connection update cosmos-mongo

Update a spring app to cosmos-mongo connection.

Core Deprecated
az spring connection update cosmos-sql

Update a spring app to cosmos-sql connection.

Core Deprecated
az spring connection update cosmos-table

Update a spring app to cosmos-table connection.

Core Deprecated
az spring connection update eventhub

Update a spring app to eventhub connection.

Core Deprecated
az spring connection update fabric-sql

Update a spring app to fabric-sql connection.

Core Deprecated
az spring connection update keyvault

Update a spring app to keyvault connection.

Core Deprecated
az spring connection update mongodb-atlas

Update a spring app to mongodb-atlas connection.

Core Deprecated
az spring connection update mysql

Update a spring app to mysql connection.

Core Deprecated
az spring connection update mysql-flexible

Update a spring app to mysql-flexible connection.

Core Deprecated
az spring connection update neon-postgres

Update a spring app to neon-postgres connection.

Core Deprecated
az spring connection update postgres

Update a spring app to postgres connection.

Core Deprecated
az spring connection update postgres-flexible

Update a spring app to postgres-flexible connection.

Core Deprecated
az spring connection update redis

Update a spring app to redis connection.

Core Deprecated
az spring connection update redis-enterprise

Update a spring app to redis-enterprise connection.

Core Deprecated
az spring connection update servicebus

Update a spring app to servicebus connection.

Core Deprecated
az spring connection update signalr

Update a spring app to signalr connection.

Core Deprecated
az spring connection update sql

Update a spring app to sql connection.

Core Deprecated
az spring connection update storage-blob

Update a spring app to storage-blob connection.

Core Deprecated
az spring connection update storage-file

Update a spring app to storage-file connection.

Core Deprecated
az spring connection update storage-queue

Update a spring app to storage-queue connection.

Core Deprecated
az spring connection update storage-table

Update a spring app to storage-table connection.

Core Deprecated
az spring connection update webpubsub

Update a spring app to webpubsub connection.

Core Deprecated

az spring connection update app-insights

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to app-insights connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update appconfig

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to appconfig connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cognitiveservices

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cognitiveservices connection.

az spring connection update cognitiveservices [--app]
                                              [--appconfig-id]
                                              [--client-type {dotnet, none, python}]
                                              [--connection]
                                              [--connstr-props]
                                              [--customized-keys]
                                              [--deployment]
                                              [--id]
                                              [--no-wait]
                                              [--opt-out {auth, configinfo, publicnetwork}]
                                              [--resource-group]
                                              [--secret]
                                              [--service]
                                              [--service-principal]
                                              [--system-identity]
                                              [--user-identity]
                                              [--vault-id]

Examples

Update the client type of a connection with resource name

az spring connection update cognitiveservices -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection --client-type dotnet

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, none, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update confluent-cloud

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to confluent-cloud connection.

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

Examples

Update the client-type of a bootstrap server connection

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

Update the auth configurations of a bootstrap server connection

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

Update the client-type of a schema registry connection

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

Update the auth configurations of a schema registry connection

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

Required Parameters

--connection

Name of the connection.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--source-id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--bootstrap-server

Kafka bootstrap server url.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, none, python, springBoot
--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--kafka-key

Kafka API-Key (key).

--kafka-secret

Kafka API-Key (secret).

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--source-id' is not specified.None.

--schema-key

Schema registry API-Key (key).

--schema-registry

Schema registry url.

--schema-secret

Schema registry API-Key (secret).

--service

Name of the the Azure Spring Apps resource. Required if '--source-id' is not specified.None.

--source-id

The resource id of a spring. Required if ['--resource-group', '--service', '--app'] are not specified.

--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cosmos-cassandra

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cosmos-cassandra connection.

az spring connection update cosmos-cassandra [--app]
                                             [--appconfig-id]
                                             [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                             [--connection]
                                             [--connstr-props]
                                             [--customized-keys]
                                             [--deployment]
                                             [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cosmos-gremlin

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cosmos-gremlin connection.

az spring connection update cosmos-gremlin [--app]
                                           [--appconfig-id]
                                           [--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python}]
                                           [--connection]
                                           [--connstr-props]
                                           [--customized-keys]
                                           [--deployment]
                                           [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, php, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cosmos-mongo

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cosmos-mongo connection.

az spring connection update cosmos-mongo [--app]
                                         [--appconfig-id]
                                         [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, springBoot}]
                                         [--connection]
                                         [--connstr-props]
                                         [--customized-keys]
                                         [--deployment]
                                         [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cosmos-sql

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cosmos-sql connection.

az spring connection update cosmos-sql [--app]
                                       [--appconfig-id]
                                       [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                       [--connection]
                                       [--connstr-props]
                                       [--customized-keys]
                                       [--deployment]
                                       [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update cosmos-table

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to cosmos-table connection.

az spring connection update cosmos-table [--app]
                                         [--appconfig-id]
                                         [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                         [--connection]
                                         [--connstr-props]
                                         [--customized-keys]
                                         [--deployment]
                                         [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update eventhub

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to eventhub connection.

az spring connection update eventhub [--app]
                                     [--appconfig-id]
                                     [--client-type {dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
                                     [--connection]
                                     [--connstr-props]
                                     [--customized-keys]
                                     [--deployment]
                                     [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update fabric-sql

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to fabric-sql connection.

az spring connection update fabric-sql [--app]
                                       [--appconfig-id]
                                       [--client-type {dotnet, go, java, none, php, python}]
                                       [--connection]
                                       [--connstr-props]
                                       [--customized-keys]
                                       [--deployment]
                                       [--id]
                                       [--no-wait]
                                       [--opt-out {auth, configinfo, publicnetwork}]
                                       [--resource-group]
                                       [--service]
                                       [--system-identity]
                                       [--user-identity]
                                       [--vault-id]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, go, java, none, php, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update keyvault

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to keyvault connection.

az spring connection update keyvault [--app]
                                     [--appconfig-id]
                                     [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                     [--connection]
                                     [--connstr-props]
                                     [--customized-keys]
                                     [--deployment]
                                     [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update mongodb-atlas

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to mongodb-atlas connection.

az spring connection update mongodb-atlas [--app]
                                          [--appconfig-id]
                                          [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                          [--connection]
                                          [--connstr-props]
                                          [--customized-keys]
                                          [--deployment]
                                          [--id]
                                          [--no-wait]
                                          [--opt-out {auth, configinfo, publicnetwork}]
                                          [--resource-group]
                                          [--secret]
                                          [--service]
                                          [--vault-id]

Examples

Update the client type of a connection with resource name

az spring connection update mongodb-atlas -g SpringCloudRG --service MySpringService --app MyApp --connection MyConnection --client-type dotnet

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The connection string for secret auth.

Usage: --secret secret=XX

secret : Connection string for secret auth. Example: mongodb+srv://myUser:myPassword@cluster0.a12345.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update mysql

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to mysql connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update mysql-flexible

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to mysql-flexible connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The system assigned identity auth info.

Usage: --system-identity mysql-identity-id=xx

mysql-identity-id : Optional. ID of identity used for MySQL flexible server AAD Authentication. Ignore it if you are the server AAD administrator.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update neon-postgres

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to neon-postgres connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update postgres

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to postgres connection.

az spring connection update postgres [--app]
                                     [--appconfig-id]
                                     [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                     [--connection]
                                     [--connstr-props]
                                     [--customized-keys]
                                     [--deployment]
                                     [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update postgres-flexible

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to postgres-flexible connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update redis

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to redis connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update redis-enterprise

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to redis-enterprise connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update servicebus

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to servicebus connection.

az spring connection update servicebus [--app]
                                       [--appconfig-id]
                                       [--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
                                       [--connection]
                                       [--connstr-props]
                                       [--customized-keys]
                                       [--deployment]
                                       [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update signalr

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to signalr connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, none
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update sql

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to sql connection.

az spring connection update sql [--app]
                                [--appconfig-id]
                                [--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
                                [--connection]
                                [--connstr-props]
                                [--customized-keys]
                                [--deployment]
                                [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret name=XX secret=XX --secret name=XX secret-uri=XX --secret name=XX secret-name=XX

name : Required. Username or account name for secret auth. secret : One of <secret, secret-uri, secret-name> is required. Password or account key for secret auth. secret-uri : One of <secret, secret-uri, secret-name> is required. Keyvault secret uri which stores password. secret-name : One of <secret, secret-uri, secret-name> is required. Keyvault secret name which stores password. It's for AKS only.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update storage-blob

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to storage-blob connection.

az spring connection update storage-blob [--app]
                                         [--appconfig-id]
                                         [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                         [--connection]
                                         [--connstr-props]
                                         [--customized-keys]
                                         [--deployment]
                                         [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update storage-file

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to storage-file connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update storage-queue

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to storage-queue connection.

az spring connection update storage-queue [--app]
                                          [--appconfig-id]
                                          [--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
                                          [--connection]
                                          [--connstr-props]
                                          [--customized-keys]
                                          [--deployment]
                                          [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python, springBoot
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update storage-table

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to storage-table connection.

az spring connection update storage-table [--app]
                                          [--appconfig-id]
                                          [--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
                                          [--connection]
                                          [--connstr-props]
                                          [--customized-keys]
                                          [--deployment]
                                          [--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]

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-endpoint

Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az spring connection update webpubsub

Deprecated

This command is implicitly deprecated because command group 'spring' is deprecated and will be removed in a future release.

Update a spring app to webpubsub connection.

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

Examples

Update the client type of a connection with resource name

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

Update the client type of a connection with resource id

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--app

Name of the app in the Azure Spring Apps. Required if '--id' is not specified.None.

--appconfig-id

The app configuration id to store configuration.

--client-type

The client type used on the spring.

Property Value
Accepted values: dotnet, dotnet-internal, java, nodejs, none, python
--connection

Name of the spring connection.

--connstr-props

The additional connection string properties used to build connection string.

--customized-keys

The customized keys used to change default configuration names. Key is the original name, value is the customized name.

--deployment

The deployment name of the app.

--id

The resource id of the connection. ['--resource-group', '--service', '--app', '--connection'] are required if '--id' is not specified.

--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--opt-out

Whether to disable some configuration steps. Use configinfo to disbale configuration information changes on source. Use publicnetwork to disable public network access configuration.Use auth to skip auth configuration such as enabling managed identity and granting RBAC roles.

Property Value
Accepted values: auth, configinfo, publicnetwork
--private-endpoint

Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.

Property Value
Parameter group: NetworkSolution Arguments
Accepted values: false, true
--resource-group -g

The resource group which contains app in the Azure Spring Apps. Required if '--id' is not specified.None.

--secret

The secret auth info.

Usage: --secret.

Property Value
Parameter group: AuthType Arguments
--service

Name of the the Azure Spring Apps resource. Required if '--id' is not specified.None.

--service-principal

The service principal auth info.

Usage: --service-principal client-id=XX secret=XX

client-id : Required. Client id of the service principal. object-id : Optional. Object id of the service principal (Enterprise Application). secret : Required. Secret of the service principal.

Property Value
Parameter group: AuthType Arguments
--system-identity

The flag to use system assigned identity auth info. No additional parameters are needed.

Usage: --system-identity.

Property Value
Parameter group: AuthType Arguments
--user-identity

The user assigned identity auth info.

Usage: --user-identity client-id=XX subs-id=XX

client-id : Required. Client id of the user assigned identity. subs-id : Required. Subscription id of the user assigned identity.

Property Value
Parameter group: AuthType Arguments
--vault-id

The id of key vault to store secret value.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False