az appservice hybrid-connection
A method that sets the key a hybrid-connection uses.
Commands
Name | Description | Type | Status |
---|---|---|---|
az appservice hybrid-connection set-key |
Set the key that all apps in an appservice plan use to connect to the hybrid-connections in that appservice plan. |
Core | GA |
az appservice hybrid-connection set-key
Set the key that all apps in an appservice plan use to connect to the hybrid-connections in that appservice plan.
az appservice hybrid-connection set-key --hybrid-connection
--key-type
--namespace
--plan
--resource-group
Examples
set the key that all apps in an appservice plan use to connect to the hybrid-connections in that appservice plan
az appservice hybrid-connection set-key -g MyResourceGroup --plan MyAppServicePlan --namespace [HybridConectionNamespace] --hybrid-connection [HybridConnectionName] --key-type ["primary"/"secondary"]
Required Parameters
Hybrid connection name.
Which key (primary or secondary) should be used.
Hybrid connection namespace.
AppService plan.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.