az webapp connection create
Create a connection between a webapp and a target resource.
Commands
az webapp connection create appconfig |
Create a webapp connection to appconfig. |
az webapp connection create confluent-cloud |
Create a webapp connection to confluent-cloud. |
az webapp connection create cosmos-cassandra |
Create a webapp connection to cosmos-cassandra. |
az webapp connection create cosmos-gremlin |
Create a webapp connection to cosmos-gremlin. |
az webapp connection create cosmos-mongo |
Create a webapp connection to cosmos-mongo. |
az webapp connection create cosmos-sql |
Create a webapp connection to cosmos-sql. |
az webapp connection create cosmos-table |
Create a webapp connection to cosmos-table. |
az webapp connection create eventhub |
Create a webapp connection to eventhub. |
az webapp connection create keyvault |
Create a webapp connection to keyvault. |
az webapp connection create mysql |
Create a webapp connection to mysql. |
az webapp connection create mysql-flexible |
Create a webapp connection to mysql-flexible. |
az webapp connection create postgres |
Create a webapp connection to postgres. |
az webapp connection create postgres-flexible |
Create a webapp connection to postgres-flexible. |
az webapp connection create redis |
Create a webapp connection to redis. |
az webapp connection create redis-enterprise |
Create a webapp connection to redis-enterprise. |
az webapp connection create servicebus |
Create a webapp connection to servicebus. |
az webapp connection create signalr |
Create a webapp connection to signalr. |
az webapp connection create sql |
Create a webapp connection to sql. |
az webapp connection create storage-blob |
Create a webapp connection to storage-blob. |
az webapp connection create storage-file |
Create a webapp connection to storage-file. |
az webapp connection create storage-queue |
Create a webapp connection to storage-queue. |
az webapp connection create storage-table |
Create a webapp connection to storage-table. |
az webapp connection create webpubsub |
Create a webapp connection to webpubsub. |
az webapp connection create appconfig
Create a webapp connection to appconfig.
az webapp connection create appconfig [--app-config]
[--client-type {dotnet, java, nodejs, none, python}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and appconfig interactively
az webapp connection create appconfig
Create a connection between webapp and appconfig with resource name
az webapp connection create appconfig -g WebAppRG -n MyWebApp --tg AppconfigRG --app-config MyConfigStore --system-identity
Create a connection between webapp and appconfig with resource id
az webapp connection create appconfig --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.AppConfiguration/configurationStores/{config_store} --system-identity
Optional Parameters
Name of the app configuration. Required if '--target-id' is not specified.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
The service principal auth info.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create confluent-cloud
Create a webapp connection to confluent-cloud.
az webapp connection create confluent-cloud --bootstrap-server
--kafka-key
--kafka-secret
--schema-key
--schema-registry
--schema-secret
[--client-type {dotnet, go, java, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--resource-group]
[--source-id]
[--vault-id]
Examples
Create a connection between webapp and confluent-cloud
az webapp connection create confluent-cloud -g WebAppRG -n MyWebApp --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
The client type used on the webapp.
Name of the connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The id of key vault to store secret value.
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 webapp connection create cosmos-cassandra
Create a webapp connection to cosmos-cassandra.
az webapp connection create cosmos-cassandra [--account]
[--client-type {dotnet, go, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--key-space]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and cosmos-cassandra interactively
az webapp connection create cosmos-cassandra
Create a connection between webapp and cosmos-cassandra with resource name
az webapp connection create cosmos-cassandra -g WebAppRG -n MyWebApp --tg CosmosRG --account MyAccount --key-space MyKeySpace --system-identity
Create a connection between webapp and cosmos-cassandra with resource id
az webapp connection create cosmos-cassandra --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create cosmos-gremlin
Create a webapp connection to cosmos-gremlin.
az webapp connection create cosmos-gremlin [--account]
[--client-type {dotnet, java, nodejs, none, php, python}]
[--connection]
[--customized-keys]
[--database]
[--graph]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and cosmos-gremlin interactively
az webapp connection create cosmos-gremlin
Create a connection between webapp and cosmos-gremlin with resource name
az webapp connection create cosmos-gremlin -g WebAppRG -n MyWebApp --tg CosmosRG --account MyAccount --database MyDB --graph MyGraph --system-identity
Create a connection between webapp and cosmos-gremlin with resource id
az webapp connection create cosmos-gremlin --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create cosmos-mongo
Create a webapp connection to cosmos-mongo.
az webapp connection create cosmos-mongo [--account]
[--client-type {dotnet, go, java, nodejs, none, springBoot}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and cosmos-mongo interactively
az webapp connection create cosmos-mongo
Create a connection between webapp and cosmos-mongo with resource name
az webapp connection create cosmos-mongo -g WebAppRG -n MyWebApp --tg CosmosRG --account MyAccount --database MyDB --system-identity
Create a connection between webapp and cosmos-mongo with resource id
az webapp connection create cosmos-mongo --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
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 webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create cosmos-sql
Create a webapp connection to cosmos-sql.
az webapp connection create cosmos-sql [--account]
[--client-type {dotnet, java, nodejs, none, python}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and cosmos-sql interactively
az webapp connection create cosmos-sql
Create a connection between webapp and cosmos-sql with resource name
az webapp connection create cosmos-sql -g WebAppRG -n MyWebApp --tg CosmosRG --account MyAccount --database MyDB --system-identity
Create a connection between webapp and cosmos-sql with resource id
az webapp connection create cosmos-sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
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 webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create cosmos-table
Create a webapp connection to cosmos-table.
az webapp connection create cosmos-table [--account]
[--client-type {dotnet, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--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 webapp and cosmos-table interactively
az webapp connection create cosmos-table
Create a connection between webapp and cosmos-table with resource name
az webapp connection create cosmos-table -g WebAppRG -n MyWebApp --tg CosmosRG --account MyAccount --table MyTable --system-identity
Create a connection between webapp and cosmos-table with resource id
az webapp connection create cosmos-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create eventhub
Create a webapp connection to eventhub.
az webapp connection create eventhub [--client-type {dotnet, go, java, kafka-springBoot, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--namespace]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and eventhub interactively
az webapp connection create eventhub
Create a connection between webapp and eventhub with resource name
az webapp connection create eventhub -g WebAppRG -n MyWebApp --tg EventhubRG --namespace MyNamespace --system-identity
Create a connection between webapp and eventhub with resource id
az webapp connection create eventhub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.EventHub/namespaces/{namespace} --system-identity
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Name of the eventhub namespace. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create keyvault
Create a webapp connection to keyvault.
az webapp connection create keyvault [--client-type {dotnet, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--new {false, true}]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--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 webapp and keyvault interactively
az webapp connection create keyvault
Create a connection between webapp and keyvault with resource name
az webapp connection create keyvault -g WebAppRG -n MyWebApp --tg KeyvaultRG --vault MyVault --system-identity
Create a connection between webapp and keyvault with resource id
az webapp connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.KeyVault/vaults/{vault} --system-identity
Create a new keyvault and connect webapp to it interactively
az webapp connection create keyvault --new
Create a new keyvault and connect webapp to it
az webapp connection create keyvault --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --new
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Indicates whether to create a new keyvault when creating the webapp connection.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
Name of the keyvault. Required if '--target-id' is not specified.
The id of key vault to store secret value.
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 webapp connection create mysql
Create a webapp connection to mysql.
az webapp connection create mysql [--client-type {django, dotnet, go, java, nodejs, none, php, python, ruby, springBoot}]
[--config-connstr {false, true}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and mysql interactively
az webapp connection create mysql
Create a connection between webapp and mysql with resource name
az webapp connection create mysql -g WebAppRG -n MyWebApp --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between webapp and mysql with resource id
az webapp connection create mysql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBForMySQL/servers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
The client type used on the webapp.
Store configuration into connection strings, only could be used together with dotnet client_type.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of the mysql server. Required if '--target-id' is not specified.
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 webapp. Required if ['--resource-group', '--name'] 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.
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 webapp connection create mysql-flexible
Create a webapp connection to mysql-flexible.
az webapp connection create mysql-flexible [--client-type {django, dotnet, go, java, nodejs, none, php, python, ruby, springBoot}]
[--config-connstr {false, true}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and mysql-flexible interactively
az webapp connection create mysql-flexible
Create a connection between webapp and mysql-flexible with resource name
az webapp connection create mysql-flexible -g WebAppRG -n MyWebApp --tg MysqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between webapp and mysql-flexible with resource id
az webapp connection create mysql-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforMySQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
The client type used on the webapp.
Store configuration into connection strings, only could be used together with dotnet client_type.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of the mysql flexible server. Required if '--target-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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 id of key vault to store secret value.
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 webapp connection create postgres
Create a webapp connection to postgres.
az webapp connection create postgres [--client-type {django, dotnet, go, java, nodejs, none, php, python, ruby, springBoot}]
[--config-connstr {false, true}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--new {false, true}]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and postgres interactively
az webapp connection create postgres
Create a connection between webapp and postgres with resource name
az webapp connection create postgres -g WebAppRG -n MyWebApp --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between webapp and postgres with resource id
az webapp connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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 webapp to it interactively
az webapp connection create postgres --new
Create a new postgres and connect webapp to it
az webapp connection create postgres --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --new
Optional Parameters
The client type used on the webapp.
Store configuration into connection strings, only could be used together with dotnet client_type.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Indicates whether to create a new postgres when creating the webapp connection.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of postgres server. Required if '--target-id' is not specified.
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 webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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 id of key vault to store secret value.
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 webapp connection create postgres-flexible
Create a webapp connection to postgres-flexible.
az webapp connection create postgres-flexible [--client-type {django, dotnet, go, java, nodejs, none, php, python, ruby, springBoot}]
[--config-connstr {false, true}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and postgres-flexible interactively
az webapp connection create postgres-flexible
Create a connection between webapp and postgres-flexible with resource name
az webapp connection create postgres-flexible -g WebAppRG -n MyWebApp --tg PostgresRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between webapp and postgres-flexible with resource id
az webapp connection create postgres-flexible --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
The client type used on the webapp.
Store configuration into connection strings, only could be used together with dotnet client_type.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of postgres flexible server. Required if '--target-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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 id of key vault to store secret value.
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 webapp connection create redis
Create a webapp connection to redis.
az webapp connection create redis [--client-type {dotnet, go, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and redis interactively
az webapp connection create redis
Create a connection between webapp and redis with resource name
az webapp connection create redis -g WebAppRG -n MyWebApp --tg RedisRG --server MyServer --database MyDB --secret
Create a connection between webapp and redis with resource id
az webapp connection create redis --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redis/{server}/databases/{database} --secret
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of the redis server. Required if '--target-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] 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.
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 webapp connection create redis-enterprise
Create a webapp connection to redis-enterprise.
az webapp connection create redis-enterprise [--client-type {dotnet, go, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--resource-group]
[--secret]
[--server]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and redis-enterprise interactively
az webapp connection create redis-enterprise
Create a connection between webapp and redis-enterprise with resource name
az webapp connection create redis-enterprise -g WebAppRG -n MyWebApp --tg RedisRG --server MyServer --database MyDB --secret
Create a connection between webapp and redis-enterprise with resource id
az webapp connection create redis-enterprise --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Cache/redisEnterprise/{server}/databases/{database} --secret
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of the redis enterprise server. Required if '--target-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] 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.
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 webapp connection create servicebus
Create a webapp connection to servicebus.
az webapp connection create servicebus [--client-type {dotnet, go, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--namespace]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and servicebus interactively
az webapp connection create servicebus
Create a connection between webapp and servicebus with resource name
az webapp connection create servicebus -g WebAppRG -n MyWebApp --tg ServicebusRG --namespace MyNamespace --system-identity
Create a connection between webapp and servicebus with resource id
az webapp connection create servicebus --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.ServiceBus/namespaces/{namespace} --system-identity
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Name of the servicebus namespace. Required if '--target-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create signalr
Create a webapp connection to signalr.
az webapp connection create signalr [--client-type {dotnet, none}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--signalr]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and signalr interactively
az webapp connection create signalr
Create a connection between webapp and signalr with resource name
az webapp connection create signalr -g WebAppRG -n MyWebApp --tg SignalrRG --signalr MySignalR --system-identity
Create a connection between webapp and signalr with resource id
az webapp connection create signalr --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/SignalR/{signalr} --system-identity
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
The service principal auth info.
Name of the signalr service. Required if '--target-id' is not specified.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create sql
Create a webapp connection to sql.
az webapp connection create sql [--client-type {django, dotnet, go, java, nodejs, none, php, python, ruby, springBoot}]
[--config-connstr {false, true}]
[--connection]
[--customized-keys]
[--database]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--server]
[--service-endpoint {false, true}]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and sql interactively
az webapp connection create sql
Create a connection between webapp and sql with resource name
az webapp connection create sql -g WebAppRG -n MyWebApp --tg SqlRG --server MyServer --database MyDB --secret name=XX secret=XX
Create a connection between webapp and sql with resource id
az webapp connection create sql --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Sql/servers/{server}/databases/{database} --secret name=XX secret=XX
Optional Parameters
The client type used on the webapp.
Store configuration into connection strings, only could be used together with dotnet client_type.
Name of the webapp connection.
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.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
Name of the sql server. Required if '--target-id' is not specified.
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 webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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 id of key vault to store secret value.
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 webapp connection create storage-blob
Create a webapp connection to storage-blob.
az webapp connection create storage-blob [--account]
[--client-type {dotnet, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--new {false, true}]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and storage-blob interactively
az webapp connection create storage-blob
Create a connection between webapp and storage-blob with resource name
az webapp connection create storage-blob -g WebAppRG -n MyWebApp --tg StorageRG --account MyAccount --system-identity
Create a connection between webapp and storage-blob with resource id
az webapp connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/blobServices/default --system-identity
Create a new storage-blob and connect webapp to it interactively
az webapp connection create storage-blob --new
Create a new storage-blob and connect webapp to it
az webapp connection create storage-blob --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --new
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Indicates whether to create a new storage-blob when creating the webapp connection.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create storage-file
Create a webapp connection to storage-file.
az webapp connection create storage-file [--account]
[--client-type {dotnet, java, nodejs, none, php, python, ruby, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and storage-file interactively
az webapp connection create storage-file
Create a connection between webapp and storage-file with resource name
az webapp connection create storage-file -g WebAppRG -n MyWebApp --tg StorageRG --account MyAccount --secret
Create a connection between webapp and storage-file with resource id
az webapp connection create storage-file --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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 webapp. Required if ['--resource-group', '--name'] 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.
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 webapp connection create storage-queue
Create a webapp connection to storage-queue.
az webapp connection create storage-queue [--account]
[--client-type {dotnet, java, nodejs, none, python, springBoot}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
Examples
Create a connection between webapp and storage-queue interactively
az webapp connection create storage-queue
Create a connection between webapp and storage-queue with resource name
az webapp connection create storage-queue -g WebAppRG -n MyWebApp --tg StorageRG --account MyAccount --system-identity
Create a connection between webapp and storage-queue with resource id
az webapp connection create storage-queue --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --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.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
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 webapp connection create storage-table
Create a webapp connection to storage-table.
az webapp connection create storage-table [--account]
[--client-type {dotnet, java, nodejs, none, python}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-endpoint {false, true}]
[--source-id]
[--target-id]
[--target-resource-group]
[--vault-id]
Examples
Create a connection between webapp and storage-table interactively
az webapp connection create storage-table
Create a connection between webapp and storage-table with resource name
az webapp connection create storage-table -g WebAppRG -n MyWebApp --tg StorageRG --account MyAccount --secret
Create a connection between webapp and storage-table with resource id
az webapp connection create storage-table --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.Storage/storageAccounts/{account}/tableServices/default --secret
Optional Parameters
Name of the storage account. Required if '--target-id' is not specified.
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
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 webapp. Required if ['--resource-group', '--name'] 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.
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 webapp connection create webpubsub
Create a webapp connection to webpubsub.
az webapp connection create webpubsub [--client-type {dotnet, java, nodejs, none, python}]
[--connection]
[--customized-keys]
[--name]
[--no-wait]
[--private-endpoint {false, true}]
[--resource-group]
[--secret]
[--service-principal]
[--source-id]
[--system-identity]
[--target-id]
[--target-resource-group]
[--user-identity]
[--vault-id]
[--webpubsub]
Examples
Create a connection between webapp and webpubsub interactively
az webapp connection create webpubsub
Create a connection between webapp and webpubsub with resource name
az webapp connection create webpubsub -g WebAppRG -n MyWebApp --tg WebpubsubRG --webpubsub MyWebPubSub --system-identity
Create a connection between webapp and webpubsub with resource id
az webapp connection create webpubsub --source-id /subscriptions/{subscription}/resourceGroups/{source_resource_group}/providers/Microsoft.Web/sites/{site} --target-id /subscriptions/{subscription}/resourceGroups/{target_resource_group}/providers/Microsoft.SignalRService/WebPubSub/{webpubsub} --system-identity
Optional Parameters
The client type used on the webapp.
Name of the webapp connection.
The customized keys used to change default configuration names. Key is the original name, value is the customized name.
Name of the webapp. Required if '--source-id' is not specified.
Do not wait for the long-running operation to finish.
Connect target service by private endpoint. The private endpoint in source virtual network must be created ahead.
The resource group which contains the webapp. Required if '--source-id' is not specified.
The secret auth info.
The service principal auth info.
The resource id of a webapp. Required if ['--resource-group', '--name'] are not specified.
The system assigned identity auth info.
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.
The id of key vault to store secret value.
Name of the webpubsub service. Required if '--target-id' is not specified.
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.
Feedback
Submit and view feedback for