Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ The **Get-AzRelayAuthorizationRule** cmdlet gets the description of the specifie

## EXAMPLES

### Example 1 - Namespace
```
### Example 1: Namespace
```powershell
PS C:\> Get-AzRelayNamespaceAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1

Rights : {Listen, Send}
Expand All @@ -48,8 +48,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa

Returns the specified authorization rule description for a specified namespace.

### Example 2 - WcfRelay
```
### Example 2: WcfRelay
```powershell
PS C:\>Get-AzWcfRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1

Rights : {Listen, Send}
Expand All @@ -61,8 +61,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa

Returns the specified authorization rule description for a given WcfRelay.

### Example 3 - HybridConnection
```
### Example 3: HybridConnection
```powershell
PS C:\> Get-AzRelayHybridConnectionAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnections TestHybridConnection -Name AuthoRule1

Rights : {Listen, Send}
Expand Down
12 changes: 6 additions & 6 deletions src/Relay/Relay/help/Get-AzRelayKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ The **Get-AzRelayKey** cmdlet returns the primary and secondary connection strin

## EXAMPLES

### Example 1 - Namespace
```
### Example 1: Namespace
```powershell
PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1

PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################
Expand All @@ -46,8 +46,8 @@ SecondaryKey : ############################################
KeyName : AuthoRule1
```

### Example 2 - WcfRelay
```
### Example 2: WcfRelay
```powershell
PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1

PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1
Expand All @@ -57,8 +57,8 @@ SecondaryKey : ############################################
KeyName : AuthoRule1
```

### Example 3 - HybridConnection
```
### Example 3: HybridConnection
```powershell
PS C:\> Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1

PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection
Expand Down
12 changes: 6 additions & 6 deletions src/Relay/Relay/help/New-AzRelayAuthorizationRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ The **New-AzRelayAuthorizationRule** cmdlet creates a new authorization rule for

## EXAMPLES

### Example 1 - Namespace
```
### Example 1: Namespace
```powershell
PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -Rights "Listen"

Rights : {Listen}
Expand All @@ -49,8 +49,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa

Creates `AuthoRule1` with **Listen** rights for the namespace `TestNameSpace-Relay1`.

### Example 2 - WcfRelay
```
### Example 2: WcfRelay
```powershell
PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1 -Rights "Listen"

Rights : {Listen}
Expand All @@ -61,8 +61,8 @@ Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Defa

Creates authorization rule `AuthoRule1` with **Listen** rights for the WcfRelay `TestWCFRelay1`.

### Example 3 - HybridConnection
```
### Example 3: HybridConnection
```powershell
PS C:\>New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 -Rights "Listen"

Rights : {Listen}
Expand Down