az notification-hub credential wns
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 wns command. Learn more about extensions.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az notification-hub credential wns update |
Update credential for Windows(WNS). |
Extension | Experimental |
az notification-hub credential wns update
This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update credential for Windows(WNS).
az notification-hub credential wns update --name --notification-hub-name
--namespace-name
--package-sid
--resource-group
--secret-key
[--acquire-policy-token]
[--change-reference]
Required Parameters
The notification hub name.
The namespace name.
The package ID for this credential.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
The secret key.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
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 |