diff --git a/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md b/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md index 2d4865e31465..94bf2c86e1a9 100644 --- a/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md +++ b/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md @@ -67,7 +67,7 @@ Returns the specified authorization rule description for a given WcfRelay. ### Example 3: HybridConnection ```powershell -Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnections TestHybridConnection -Name AuthoRule1 +Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 ``` ```output diff --git a/src/Relay/Relay/help/New-AzRelayKey.md b/src/Relay/Relay/help/New-AzRelayKey.md index 886437f2ac84..bf74da0a74b6 100644 --- a/src/Relay/Relay/help/New-AzRelayKey.md +++ b/src/Relay/Relay/help/New-AzRelayKey.md @@ -45,10 +45,10 @@ New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameS ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################ -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################ -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` @@ -56,16 +56,16 @@ Regenerates the primary or secondary connection strings for the given Relay-Name ### Example 1.1 - Namespace KeyValue Provided ```powershell -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey PrimaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey PrimaryKey -KeyValue xxxxxxxxxxx -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey SecondaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey SecondaryKey -KeyValue xxxxxxxxxxx ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################ -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################ -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` @@ -79,10 +79,10 @@ New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameS ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1 -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1 -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestWCFRelay1 +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestWCFRelay1 +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` @@ -90,16 +90,16 @@ Regenerates the primary or secondary connection strings for the given Relay-WcfR ### Example 2.1 - WcfRelay KeyValue Provided ```powershell -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey PrimaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey PrimaryKey -KeyValue xxxxxxxxxxx -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey SecondaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey SecondaryKey -KeyValue xxxxxxxxxxx ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1 -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestWCFRelay1 -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestWCFRelay1 +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestWCFRelay1 +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` @@ -113,10 +113,10 @@ New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameS ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestHybridConnection +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestHybridConnection +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` @@ -124,16 +124,16 @@ Regenerates the primary or secondary connection strings for the given Relay enti ### Example 3.1 - HybridConnection KeyValue Provided ```powershell -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey PrimaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey PrimaryKey -KeyValue xxxxxxxxxxx -New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey SecondaryKey -KeyValue ############### +New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey SecondaryKey -KeyValue xxxxxxxxxxx ``` ```output -PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection -SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=############################################;EntityPath=TestHybridConnection -PrimaryKey : ############################################ -SecondaryKey : ############################################ +PrimaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestHybridConnection +SecondaryConnectionString : Endpoint=sb://testnamespace-relay1.servicebus.windows.net/;SharedAccessKeyName=AuthoRule1;SharedAccessKey=xxxxxxxxxxx;EntityPath=TestHybridConnection +PrimaryKey : xxxxxxxxxxx +SecondaryKey : xxxxxxxxxxx KeyName : AuthoRule1 ``` diff --git a/src/Relay/Relay/help/New-AzWcfRelay.md b/src/Relay/Relay/help/New-AzWcfRelay.md index 4c393497f336..d4e5b0677a04 100644 --- a/src/Relay/Relay/help/New-AzWcfRelay.md +++ b/src/Relay/Relay/help/New-AzWcfRelay.md @@ -33,11 +33,11 @@ The New-AzWcfRelay cmdlet creates a WcfRelay in the specified Relay namespace. ### Example 1 - InputObject ```powershell -$getWcfRelay = Get-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 +$getWcfRelay = Get-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay1 $GetWcfRelay.UserMetadata = "TestWCFRelay2" $GetWcfRelay.RequiresClientAuthorization = $False $GetWcfRelay.RelayType = "Http" -New-AzWcfRelay -ResourceGroupName Default-Storage-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay2 -InputObject +New-AzWcfRelay -ResourceGroupName Default-Storage-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay2 -InputObject $getWcfRelay ``` ```output diff --git a/src/Relay/Relay/help/Remove-AzWcfRelay.md b/src/Relay/Relay/help/Remove-AzWcfRelay.md index a1be1bdbbd02..e05e082e964c 100644 --- a/src/Relay/Relay/help/Remove-AzWcfRelay.md +++ b/src/Relay/Relay/help/Remove-AzWcfRelay.md @@ -24,7 +24,7 @@ The **Remove-AzWcfRelay** cmdlet removes the WcfRelay from the specified Relay n ### Example 1 ```powershell -Remove-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -NamespaceName TestNameSpace-Relay1 -Name TestWCFRelay1 +Remove-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay1 ``` Removes the WcfRelay `TestWCFRelay1` from the namespace `TestNameSpace-Relay1`. diff --git a/src/Relay/Relay/help/Set-AzWcfRelay.md b/src/Relay/Relay/help/Set-AzWcfRelay.md index 714e22c4c972..d896f934b6cb 100644 --- a/src/Relay/Relay/help/Set-AzWcfRelay.md +++ b/src/Relay/Relay/help/Set-AzWcfRelay.md @@ -32,7 +32,7 @@ The Set-AzWcfRelay cmdlet updates the description for the WcfRelay in the specif ### Example 1 - InputObject ```powershell -$getWcfRelay = Get-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay +$getWcfRelay = Get-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay $getWcfRelay.UserMetadata = "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store desc riptive data, such as list of teams and their contact information also user-defined configuration settings can be stored." Set-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay1 -InputObject $getWcfRelay