File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed
Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ The **Get-AzRelayAuthorizationRule** cmdlet gets the description of the specifie
3535
3636## EXAMPLES
3737
38- ### Example 1 - Namespace
39- ```
38+ ### Example 1: Namespace
39+ ``` powershell
4040PS C:\> Get-AzRelayNamespaceAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
4141
4242Rights : {Listen, Send}
@@ -48,8 +48,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa
4848
4949Returns the specified authorization rule description for a specified namespace.
5050
51- ### Example 2 - WcfRelay
52- ```
51+ ### Example 2: WcfRelay
52+ ``` powershell
5353PS C:\>Get-AzWcfRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1
5454
5555Rights : {Listen, Send}
@@ -61,8 +61,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa
6161
6262Returns the specified authorization rule description for a given WcfRelay.
6363
64- ### Example 3 - HybridConnection
65- ```
64+ ### Example 3: HybridConnection
65+ ``` powershell
6666PS C:\> Get-AzRelayHybridConnectionAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnections TestHybridConnection -Name AuthoRule1
6767
6868Rights : {Listen, Send}
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ The **Get-AzRelayKey** cmdlet returns the primary and secondary connection strin
3535
3636## EXAMPLES
3737
38- ### Example 1 - Namespace
39- ```
38+ ### Example 1: Namespace
39+ ``` powershell
4040PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
4141
4242PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################
@@ -46,8 +46,8 @@ SecondaryKey : ############################################
4646KeyName : AuthoRule1
4747```
4848
49- ### Example 2 - WcfRelay
50- ```
49+ ### Example 2: WcfRelay
50+ ``` powershell
5151PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1
5252
5353PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1
@@ -57,8 +57,8 @@ SecondaryKey : ############################################
5757KeyName : AuthoRule1
5858```
5959
60- ### Example 3 - HybridConnection
61- ```
60+ ### Example 3: HybridConnection
61+ ``` powershell
6262PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1
6363
6464PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ The **New-AzRelayAuthorizationRule** cmdlet creates a new authorization rule for
3737
3838## EXAMPLES
3939
40- ### Example 1 - Namespace
41- ```
40+ ### Example 1: Namespace
41+ ``` powershell
4242PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -Rights "Listen"
4343
4444Rights : {Listen}
@@ -49,8 +49,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa
4949
5050Creates ` AuthoRule1 ` with ** Listen** rights for the namespace ` TestNameSpace-Relay1 ` .
5151
52- ### Example 2 - WcfRelay
53- ```
52+ ### Example 2: WcfRelay
53+ ``` powershell
5454PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1 -Rights "Listen"
5555
5656Rights : {Listen}
@@ -61,8 +61,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa
6161
6262Creates authorization rule ` AuthoRule1 ` with ** Listen** rights for the WcfRelay ` TestWCFRelay1 ` .
6363
64- ### Example 3 - HybridConnection
65- ```
64+ ### Example 3: HybridConnection
65+ ``` powershell
6666PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 -Rights "Listen"
6767
6868Rights : {Listen}
You can’t perform that action at this time.
0 commit comments