az notification-hub credential gcm
Note
This reference is part of the notification-hub extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az notification-hub credential gcm command. Learn more about extensions.
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
This command 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 --notification-hub-name
--namespace-name
--resource-group
[--acquire-policy-token]
[--change-reference]
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.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
The notification hub name.
The namespace name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |