az spring-cloud connection create
This command group is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a connection between a spring-cloud and a target resource.
Commands
Name | Description | Type | Status |
---|---|---|---|
az spring-cloud connection create app-insights |
Create a spring-cloud connection to app-insights. |
Core | Deprecated |
az spring-cloud connection create appconfig |
Create a spring-cloud connection to appconfig. |
Core | Deprecated |
az spring-cloud connection create cognitiveservices |
Create a spring-cloud connection to cognitiveservices. |
Core | Deprecated |
az spring-cloud connection create confluent-cloud |
Create a spring-cloud connection to confluent-cloud. |
Core | Deprecated |
az spring-cloud connection create cosmos-cassandra |
Create a spring-cloud connection to cosmos-cassandra. |
Core | Deprecated |
az spring-cloud connection create cosmos-gremlin |
Create a spring-cloud connection to cosmos-gremlin. |
Core | Deprecated |
az spring-cloud connection create cosmos-mongo |
Create a spring-cloud connection to cosmos-mongo. |
Core | Deprecated |
az spring-cloud connection create cosmos-sql |
Create a spring-cloud connection to cosmos-sql. |
Core | Deprecated |
az spring-cloud connection create cosmos-table |
Create a spring-cloud connection to cosmos-table. |
Core | Deprecated |
az spring-cloud connection create eventhub |
Create a spring-cloud connection to eventhub. |
Core | Deprecated |
az spring-cloud connection create fabric-sql |
Create a spring-cloud connection to fabric-sql. |
Core | Deprecated |
az spring-cloud connection create keyvault |
Create a spring-cloud connection to keyvault. |
Core | Deprecated |
az spring-cloud connection create mysql |
Create a spring-cloud connection to mysql. |
Core | Deprecated |
az spring-cloud connection create mysql-flexible |
Create a spring-cloud connection to mysql-flexible. |
Core | Deprecated |
az spring-cloud connection create postgres |
Create a spring-cloud connection to postgres. |
Core | Deprecated |
az spring-cloud connection create postgres-flexible |
Create a spring-cloud connection to postgres-flexible. |
Core | Deprecated |
az spring-cloud connection create redis |
Create a spring-cloud connection to redis. |
Core | Deprecated |
az spring-cloud connection create redis-enterprise |
Create a spring-cloud connection to redis-enterprise. |
Core | Deprecated |
az spring-cloud connection create servicebus |
Create a spring-cloud connection to servicebus. |
Core | Deprecated |
az spring-cloud connection create signalr |
Create a spring-cloud connection to signalr. |
Core | Deprecated |
az spring-cloud connection create sql |
Create a spring-cloud connection to sql. |
Core | Deprecated |
az spring-cloud connection create storage-blob |
Create a spring-cloud connection to storage-blob. |
Core | Deprecated |
az spring-cloud connection create storage-file |
Create a spring-cloud connection to storage-file. |
Core | Deprecated |
az spring-cloud connection create storage-queue |
Create a spring-cloud connection to storage-queue. |
Core | Deprecated |
az spring-cloud connection create storage-table |
Create a spring-cloud connection to storage-table. |
Core | Deprecated |
az spring-cloud connection create webpubsub |
Create a spring-cloud connection to webpubsub. |
Core | Deprecated |
az spring-cloud connection create app-insights
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to app-insights.
az spring-cloud connection create app-insights [--app]
[--app-insights]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--service]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between spring-cloud and app-insights interactively
az spring-cloud connection create app-insights
Create a connection between spring-cloud and app-insights with resource name
az spring-cloud connection create app-insights -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg AppInsightsRG --app-insights MyAppInsights --secret
Create a connection between spring-cloud and app-insights with resource id
az spring-cloud connection create app-insights --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/microsoft.insights/components/{appinsights} --secret
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
Name of the app insights. Required if '--target-id' is not specified.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The resource id of target service. Required if ['--target-resource-group', '--app-insights'] are not specified.
The resource group which contains the app insights. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create appconfig
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to appconfig.
az spring-cloud connection create appconfig [--app]
[--app-config]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and appconfig interactively
az spring-cloud connection create appconfig
Create a connection between spring-cloud and appconfig with resource name
az spring-cloud connection create appconfig -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg AppconfigRG --app-config MyConfigStore --system-identity
Create a connection between spring-cloud and appconfig with resource id
az spring-cloud connection create appconfig --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.AppConfiguration/configurationStores/{config_store} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
Name of the app configuration. Required if '--target-id' is not specified.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--app-config'] are not specified.
The resource group which contains the app configuration. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cognitiveservices
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cognitiveservices.
az spring-cloud connection create cognitiveservices [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--service]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cognitiveservices interactively
az spring-cloud connection create cognitiveservices
Create a connection between spring-cloud and cognitiveservices with resource name
az spring-cloud connection create cognitiveservices -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CognitiveServicesRG --account MyAccount --system-identity
Create a connection between spring-cloud and cognitiveservices with resource id
az spring-cloud connection create cognitiveservices --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.CognitiveServices/accounts/{account} --system-identity
Optional Parameters
Name of the cognitive services account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account'] are not specified.
The resource group which contains the cognitive services. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create confluent-cloud
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to confluent-cloud.
az spring-cloud connection create confluent-cloud --bootstrap-server
--kafka-key
--kafka-secret
--schema-key
--schema-registry
--schema-secret
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, none, python, springBoot}]
[--connection]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--service]
[--source-id]
[--vault-id]
Examples
Create a connection between spring-cloud and confluent-cloud
az spring-cloud connection create confluent-cloud -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret --schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret
Required Parameters
Kafka bootstrap server url.
Kafka API-Key (key).
Kafka API-Key (secret).
Schema registry API-Key (key).
Schema registry url.
Schema registry API-Key (secret).
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cosmos-cassandra
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cosmos-cassandra.
az spring-cloud connection create cosmos-cassandra [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--key-space]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cosmos-cassandra interactively
az spring-cloud connection create cosmos-cassandra
Create a connection between spring-cloud and cosmos-cassandra with resource name
az spring-cloud connection create cosmos-cassandra -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CosmosRG --account MyAccount --key-space MyKeySpace --system-identity
Create a connection between spring-cloud and cosmos-cassandra with resource id
az spring-cloud connection create cosmos-cassandra --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/cassandraKeyspaces/{key_space} --system-identity
Optional Parameters
Name of the cosmos database account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the keyspace. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account', '--key-space'] are not specified.
The resource group which contains the cosmos database account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cosmos-gremlin
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cosmos-gremlin.
az spring-cloud connection create cosmos-gremlin [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--graph]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cosmos-gremlin interactively
az spring-cloud connection create cosmos-gremlin
Create a connection between spring-cloud and cosmos-gremlin with resource name
az spring-cloud connection create cosmos-gremlin -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CosmosRG --account MyAccount --database MyDB --graph MyGraph --system-identity
Create a connection between spring-cloud and cosmos-gremlin with resource id
az spring-cloud connection create cosmos-gremlin --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/gremlinDatabases/{database}/graphs/{graph} --system-identity
Optional Parameters
Name of the cosmos database account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the database. Required if '--target-id' is not specified.
Name of the graph. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account', '--database', '--graph'] are not specified.
The resource group which contains the cosmos database account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cosmos-mongo
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cosmos-mongo.
az spring-cloud connection create cosmos-mongo [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cosmos-mongo interactively
az spring-cloud connection create cosmos-mongo
Create a connection between spring-cloud and cosmos-mongo with resource name
az spring-cloud connection create cosmos-mongo -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CosmosRG --account MyAccount --database MyDB --system-identity
Create a connection between spring-cloud and cosmos-mongo with resource id
az spring-cloud connection create cosmos-mongo --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/mongodbDatabases/{database} --system-identity
Optional Parameters
Name of the cosmos database account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account', '--database'] are not specified.
The resource group which contains the cosmos database account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cosmos-sql
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cosmos-sql.
az spring-cloud connection create cosmos-sql [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cosmos-sql interactively
az spring-cloud connection create cosmos-sql
Create a connection between spring-cloud and cosmos-sql with resource name
az spring-cloud connection create cosmos-sql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CosmosRG --account MyAccount --database MyDB --system-identity
Create a connection between spring-cloud and cosmos-sql with resource id
az spring-cloud connection create cosmos-sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/sqlDatabases/{database} --system-identity
Optional Parameters
Name of the cosmos database account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account', '--database'] are not specified.
The resource group which contains the cosmos database account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create cosmos-table
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to cosmos-table.
az spring-cloud connection create cosmos-table [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--table]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and cosmos-table interactively
az spring-cloud connection create cosmos-table
Create a connection between spring-cloud and cosmos-table with resource name
az spring-cloud connection create cosmos-table -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg CosmosRG --account MyAccount --table MyTable --system-identity
Create a connection between spring-cloud and cosmos-table with resource id
az spring-cloud connection create cosmos-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DocumentDB/databaseAccounts/{account}/tables/{table} --system-identity
Optional Parameters
Name of the cosmos database account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
Name of the table. Required if '--target-id' is not specified.
The resource id of target service. Required if ['--target-resource-group', '--account', '--table'] are not specified.
The resource group which contains the cosmos database account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create eventhub
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to eventhub.
az spring-cloud connection create eventhub [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--namespace]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and eventhub interactively
az spring-cloud connection create eventhub
Create a connection between spring-cloud and eventhub with resource name
az spring-cloud connection create eventhub -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg EventhubRG --namespace MyNamespace --system-identity
Create a connection between spring-cloud and eventhub with resource id
az spring-cloud connection create eventhub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.EventHub/namespaces/{namespace} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the eventhub namespace. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--namespace'] are not specified.
The resource group which contains the eventhub. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create fabric-sql
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to fabric-sql.
az spring-cloud connection create fabric-sql [--app]
[--appconfig-id]
[--client-type {dotnet, go, java, none, php, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--service]
[--source-id]
[--system-identity]
[--target-id]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and fabric-sql interactively
az spring-cloud connection create fabric-sql
Create a connection between spring-cloud and fabric-sql with resource name
az spring-cloud connection create fabric-sql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --system-identity
Create a connection between spring-cloud and fabric-sql with resource id
az spring-cloud connection create fabric-sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id https://api.fabric.microsoft.com/v1/workspaces/{workspace_id}/SqlDatabases/{sql_id} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if [] are not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create keyvault
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to keyvault.
az spring-cloud connection create keyvault [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault]
[--vault-id]
Examples
Create a connection between spring-cloud and keyvault interactively
az spring-cloud connection create keyvault
Create a connection between spring-cloud and keyvault with resource name
az spring-cloud connection create keyvault -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg KeyvaultRG --vault MyVault --system-identity
Create a connection between spring-cloud and keyvault with resource id
az spring-cloud connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.KeyVault/vaults/{vault} --system-identity
Create a new keyvault and connect spring-cloud to it interactively
az spring-cloud connection create keyvault --new
Create a new keyvault and connect spring-cloud to it
az spring-cloud connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --new
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Indicates whether to create a new keyvault when creating the spring-cloud connection.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--vault'] are not specified.
The resource group which contains the keyvault. Required if '--target-id' is not specified.
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.
Name of the keyvault. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create mysql
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to mysql.
az spring-cloud connection create mysql [--app]
[--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between spring-cloud and mysql interactively
az spring-cloud connection create mysql
Create a connection between spring-cloud and mysql with resource name
az spring-cloud connection create mysql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between spring-cloud and mysql with resource id
az spring-cloud connection create mysql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBForMySQL/servers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the mysql database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
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.
Name of the mysql server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the mysql server. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create mysql-flexible
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to mysql-flexible.
az spring-cloud connection create mysql-flexible [--app]
[--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and mysql-flexible interactively
az spring-cloud connection create mysql-flexible
Create a connection between spring-cloud and mysql-flexible with resource name
az spring-cloud connection create mysql-flexible -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between spring-cloud and mysql-flexible with resource id
az spring-cloud connection create mysql-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforMySQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the mysql flexible database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
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.
Name of the mysql flexible server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
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.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the mysql flexible server. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create postgres
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to postgres.
az spring-cloud connection create postgres [--app]
[--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and postgres interactively
az spring-cloud connection create postgres
Create a connection between spring-cloud and postgres with resource name
az spring-cloud connection create postgres -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between spring-cloud and postgres with resource id
az spring-cloud connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/servers/{server}/databases/{database} --secret name=XX secret=XX
Create a new postgres and connect spring-cloud to it interactively
az spring-cloud connection create postgres --new
Create a new postgres and connect spring-cloud to it
az spring-cloud connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --new
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of postgres database. Required if '--target-id' is not specified.
Indicates whether to create a new postgres when creating the spring-cloud connection.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
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.
Name of postgres server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the postgres service. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create postgres-flexible
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to postgres-flexible.
az spring-cloud connection create postgres-flexible [--app]
[--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--service]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and postgres-flexible interactively
az spring-cloud connection create postgres-flexible
Create a connection between spring-cloud and postgres-flexible with resource name
az spring-cloud connection create postgres-flexible -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between spring-cloud and postgres-flexible with resource id
az spring-cloud connection create postgres-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of postgres flexible database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
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.
Name of postgres flexible server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the flexible postgres service. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create redis
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to redis.
az spring-cloud connection create redis [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between spring-cloud and redis interactively
az spring-cloud connection create redis
Create a connection between spring-cloud and redis with resource name
az spring-cloud connection create redis -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg RedisRG --server MyServer --database MyDB --secret
Create a connection between spring-cloud and redis with resource id
az spring-cloud connection create redis --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redis/{server}/databases/{database} --secret
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the redis database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the redis server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the redis server. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create redis-enterprise
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to redis-enterprise.
az spring-cloud connection create redis-enterprise [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--resource-group]
[--secret]
[--server]
[--service]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between spring-cloud and redis-enterprise interactively
az spring-cloud connection create redis-enterprise
Create a connection between spring-cloud and redis-enterprise with resource name
az spring-cloud connection create redis-enterprise -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg RedisRG --server MyServer --database MyDB --secret
Create a connection between spring-cloud and redis-enterprise with resource id
az spring-cloud connection create redis-enterprise --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redisEnterprise/{server}/databases/{database} --secret
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the redis enterprise database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the redis enterprise server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the redis server. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create servicebus
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to servicebus.
az spring-cloud connection create servicebus [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, go, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--namespace]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and servicebus interactively
az spring-cloud connection create servicebus
Create a connection between spring-cloud and servicebus with resource name
az spring-cloud connection create servicebus -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg ServicebusRG --namespace MyNamespace --system-identity
Create a connection between spring-cloud and servicebus with resource id
az spring-cloud connection create servicebus --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.ServiceBus/namespaces/{namespace} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the servicebus namespace. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--namespace'] are not specified.
The resource group which contains the servicebus. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create signalr
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to signalr.
az spring-cloud connection create signalr [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, none}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-principal]
[--signalr]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and signalr interactively
az spring-cloud connection create signalr
Create a connection between spring-cloud and signalr with resource name
az spring-cloud connection create signalr -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg SignalrRG --signalr MySignalR --system-identity
Create a connection between spring-cloud and signalr with resource id
az spring-cloud connection create signalr --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/SignalR/{signalr} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
Name of the signalr service. Required if '--target-id' is not specified.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--signalr'] are not specified.
The resource group which contains the signalr. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create sql
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to sql.
az spring-cloud connection create sql [--app]
[--appconfig-id]
[--client-type {django, dotnet, dotnet-internal, go, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--database]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and sql interactively
az spring-cloud connection create sql
Create a connection between spring-cloud and sql with resource name
az spring-cloud connection create sql -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg SqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between spring-cloud and sql with resource id
az spring-cloud connection create sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Sql/servers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the sql database. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
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.
Name of the sql server. Required if '--target-id' is not specified.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--server', '--database'] are not specified.
The resource group which contains the sql server. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create storage-blob
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to storage-blob.
az spring-cloud connection create storage-blob [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--new {false, true}]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and storage-blob interactively
az spring-cloud connection create storage-blob
Create a connection between spring-cloud and storage-blob with resource name
az spring-cloud connection create storage-blob -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg StorageRG --account MyAccount --system-identity
Create a connection between spring-cloud and storage-blob with resource id
az spring-cloud connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/blobServices/default --system-identity
Create a new storage-blob and connect spring-cloud to it interactively
az spring-cloud connection create storage-blob --new
Create a new storage-blob and connect spring-cloud to it
az spring-cloud connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --new
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Indicates whether to create a new storage-blob when creating the spring-cloud connection.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account'] are not specified.
The resource group which contains the storage account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create storage-file
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to storage-file.
az spring-cloud connection create storage-file [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between spring-cloud and storage-file interactively
az spring-cloud connection create storage-file
Create a connection between spring-cloud and storage-file with resource name
az spring-cloud connection create storage-file -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg StorageRG --account MyAccount --secret
Create a connection between spring-cloud and storage-file with resource id
az spring-cloud connection create storage-file --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/fileServices/default --secret
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The resource id of target service. Required if ['--target-resource-group', '--account'] are not specified.
The resource group which contains the storage account. Required if '--target-id' is not specified.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create storage-queue
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to storage-queue.
az spring-cloud connection create storage-queue [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python, springBoot}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and storage-queue interactively
az spring-cloud connection create storage-queue
Create a connection between spring-cloud and storage-queue with resource name
az spring-cloud connection create storage-queue -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg StorageRG --account MyAccount --system-identity
Create a connection between spring-cloud and storage-queue with resource id
az spring-cloud connection create storage-queue --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/queueServices/default --system-identity
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account'] are not specified.
The resource group which contains the storage account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create storage-table
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to storage-table.
az spring-cloud connection create storage-table [--account]
[--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between spring-cloud and storage-table interactively
az spring-cloud connection create storage-table
Create a connection between spring-cloud and storage-table with resource name
az spring-cloud connection create storage-table -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg StorageRG --account MyAccount --system-identity
Create a connection between spring-cloud and storage-table with resource id
az spring-cloud connection create storage-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/tableServices/default --system-identity
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
Connect target service by service endpoint. Source resource must be in the VNet and target SKU must support service endpoint feature.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--account'] are not specified.
The resource group which contains the storage account. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az spring-cloud connection create webpubsub
This command is implicitly deprecated because command group 'spring-cloud' is deprecated and will be removed in a future release. Use 'spring' instead.
Create a spring-cloud connection to webpubsub.
az spring-cloud connection create webpubsub [--app]
[--appconfig-id]
[--client-type {dotnet, dotnet-internal, java, nodejs, none, python}]
[--connection]
[--connstr-props]
[--customized-keys]
[--no-wait]
[--opt-out {auth, configinfo, publicnetwork}]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
[--webpubsub]
Examples
Create a connection between spring-cloud and webpubsub interactively
az spring-cloud connection create webpubsub
Create a connection between spring-cloud and webpubsub with resource name
az spring-cloud connection create webpubsub -g SpringCloudRG --service MySpringService --app MyApp --deployment MyDeployment --tg WebpubsubRG --webpubsub MyWebPubSub --system-identity
Create a connection between spring-cloud and webpubsub with resource id
az spring-cloud connection create webpubsub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.AppPlatform/Spring/{spring}/apps/{app}/deployments/{deployment} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/WebPubSub/{webpubsub} --system-identity
Optional Parameters
Name of the spring-cloud app. Required if '--source-id' is not specified.None.
The app configuration id to store configuration.
The client type used on the spring-cloud.
Name of the spring-cloud connection.
The addtional connection string properties used to for building connection string.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Do not wait for the long-running operation to finish.
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.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the spring-cloud. Required if '--source-id' is not specified.None.
The secret auth info.
Usage: --secret.
Name of the spring-cloud service. Required if '--source-id' is not specified.None.
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.
The resource id of a spring-cloud. Required if ['--resource-group', '--service', '--app', '--deployment'] are not specified.
The system assigned identity auth info.
Usage: --system-identity.
The resource id of target service. Required if ['--target-resource-group', '--webpubsub'] are not specified.
The resource group which contains the webpubsub. Required if '--target-id' is not specified.
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.
The id of key vault to store secret value.
Name of the webpubsub service. Required if '--target-id' is not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.