File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed
src/NotificationHubs/NotificationHubs/help Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,19 @@ New-AzNotificationHubKey cmdlet regenerates the Primary Key/Secondary Key for th
25
25
## EXAMPLES
26
26
27
27
### Example 1
28
- ```
29
- PS C:\> {{ Add example code here }}
28
+ ``` powershell
29
+ New-AzNotificationHubKey -ResourceGroup "ContosoNotificationsGroup" -Namespace "ContosoNamespace" -NotificationHub "ContosoInternalHub" -AuthorizationRule "DefaultListenSharedAccessSignature" -PolicyKey "PrimaryKey"
30
30
```
31
31
32
- {{ Add example description here }}
32
+ ``` Output
33
+ PrimaryConnectionString : Endpoint=sb://contosonamespace.servicebus.windows.net/;SharedAccessKeyName=DefaultListenShare
34
+ dAccessSignature;SharedAccessKey=VUhKcGJXRnllVU52Ym01bFkzUnBiMjVUZEhKcGJtYz0=
35
+ SecondaryConnectionString : Endpoint=sb://contosonamespace.servicebus.windows.net/;SharedAccessKeyName=DefaultListenShare
36
+ dAccessSignature;SharedAccessKey=VTJWamIyNWtZWEo1UTI5dWJtVmpkR2x2YmxOMGNtbHV=
37
+ PrimaryKey : VUhKcGJXRnllVU52Ym01bFkzUnBiMjVUZEhKcGJtYz0=
38
+ SecondaryKey : VTJWamIyNWtZWEo1UTI5dWJtVmpkR2x2YmxOMGNtbHV=
39
+ KeyName : DefaultListenSharedAccessSignature
40
+ ```
33
41
34
42
## PARAMETERS
35
43
Original file line number Diff line number Diff line change @@ -20,16 +20,24 @@ New-AzNotificationHubsNamespaceKey [-ResourceGroup] <String> [-Namespace] <Strin
20
20
```
21
21
22
22
## DESCRIPTION
23
- New-AzNotificationHubNamespaceKey cmdlet regenerates the Primary Key/Secondary Key for the Namespace Authorization Rule.
23
+ New-AzNotificationHubsNamespaceKey cmdlet regenerates the Primary Key/Secondary Key for the Namespace Authorization Rule.
24
24
25
25
## EXAMPLES
26
26
27
27
### Example 1
28
- ```
29
- PS C:\> {{ Add example code here }}
28
+ ``` powershell
29
+ New-AzNotificationHubsNamespaceKey -ResourceGroup "ContosoNotificationsGroup" -Namespace "ContosoNamespace" -AuthorizationRule "RootManageSharedAccessKey" -PolicyKey "PrimaryKey"
30
30
```
31
31
32
- {{ Add example description here }}
32
+ ``` Output
33
+ PrimaryConnectionString : Endpoint=sb://contosonamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAc
34
+ cessKey;SharedAccessKey=VUhKcGJXRnllVU52Ym01bFkzUnBiMjVUZEhKcGJtYz0=
35
+ SecondaryConnectionString : Endpoint=sb://contosonamespace.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAc
36
+ cessKey;SharedAccessKey=VTJWamIyNWtZWEo1UTI5dWJtVmpkR2x2YmxOMGNtbHV=
37
+ PrimaryKey : VUhKcGJXRnllVU52Ym01bFkzUnBiMjVUZEhKcGJtYz0=
38
+ SecondaryKey : VTJWamIyNWtZWEo1UTI5dWJtVmpkR2x2YmxOMGNtbHV=
39
+ KeyName : RootManageSharedAccessKey
40
+ ```
33
41
34
42
## PARAMETERS
35
43
You can’t perform that action at this time.
0 commit comments