az notification-hub credential gcm
Note
This reference is part of the notification-hub extension for the Azure CLI (version 2.49.0 or higher). The extension will automatically install the first time you run an az notification-hub credential gcm command. Learn more about extensions.
Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Commands
Name | Description | Type | Status |
---|---|---|---|
az notification-hub credential gcm update |
Update the Google GCM/FCM API key. |
Extension | Experimental |
az notification-hub credential gcm update
Command group 'notification-hub' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update the Google GCM/FCM API key.
az notification-hub credential gcm update --google-api-key
--name
--namespace-name
--resource-group
Examples
Update Android push API key
az notification-hub credential gcm update --resource-group groupName --namespace-name spaceName --notification-hub-name hubName --google-api-key keyValue
Required Parameters
The Google API key.
The notification hub name.
The namespace name.
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.
Azure CLI