az notification-hub credential gcm
Note
This reference is part of the notification-hub extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az notification-hub credential gcm command. Learn more about extensions.
Commands to manage notification hub credential for Google(GCM/FCM).
Commands
| az notification-hub credential gcm update |
Update the Google GCM/FCM API key. |
az notification-hub credential gcm update
Update the Google GCM/FCM API key.
az notification-hub credential gcm update --google-api-key
--namespace-name
--notification-hub-name
--resource-group
Examples
Update gcm key
az notification-hub credential gcm update --resource-group MyResourceGroup \
--namespace-name my-namespace --notification-hub-name my-hub --google-api-key \
"xxxxxxxxx"
Required Parameters
Google GCM/FCM API key.
The namespace name.
The notification hub name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ