az webapp hybrid-connection

Methods that list, add and remove hybrid-connections from webapps.

Commands

az webapp hybrid-connection add Add a hybrid-connection to a webapp.
az webapp hybrid-connection list List the hybrid-connections on a webapp.
az webapp hybrid-connection remove Remove a hybrid-connection from a webapp.

az webapp hybrid-connection add

Add a hybrid-connection to a webapp.

az webapp hybrid-connection add --hybrid-connection
--name
--namespace
--resource-group
[--slot]
[--subscription]

Examples

add a hybrid-connection to a webapp

az webapp hybrid-connection add -g MyResourceGroup -n MyWebapp --namespace [HybridConnectionNamespace] --hybrid-connection [HybridConnectionName] -s [slot]

Required Parameters

--hybrid-connection

Hybrid connection name.

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--namespace

Hybrid connection namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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

az webapp hybrid-connection list

List the hybrid-connections on a webapp.

az webapp hybrid-connection list --name
--resource-group
[--slot]
[--subscription]

Examples

list the hybrid-connections on a webapp

az webapp hybrid-connection list -g MyResourceGroup -n MyWebapp -s [slot]

Required Parameters

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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

az webapp hybrid-connection remove

Remove a hybrid-connection from a webapp.

az webapp hybrid-connection remove --hybrid-connection
--name
--namespace
--resource-group
[--slot]
[--subscription]

Examples

remove a hybrid-connection from a webapp

az webapp hybrid-connection remove  -g MyResourceGroup -n MyWebapp --namespace [HybridConnectionNamespace] --hybrid-connection [HybridConnectionName] -s [slot]

Required Parameters

--hybrid-connection

Hybrid connection name.

--name -n

Name of the web app. You can configure the default using 'az configure --defaults web='.

--namespace

Hybrid connection namespace.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

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