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

Hybrid connection name.

--key-type

Which key (primary or secondary) should be used.

--namespace

Hybrid connection namespace.

--plan

AppService plan.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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