diff --git a/src/Relay/Az.Relay.csproj b/src/Relay/Az.Relay.csproj
new file mode 100644
index 000000000000..0ccb07f3fa3e
--- /dev/null
+++ b/src/Relay/Az.Relay.csproj
@@ -0,0 +1,8 @@
+
+
+ Relay
+
+
+
+
+
diff --git a/src/Relay/Az.Relay.format.ps1xml b/src/Relay/Az.Relay.format.ps1xml
new file mode 100644
index 000000000000..7d84b6dc828a
--- /dev/null
+++ b/src/Relay/Az.Relay.format.ps1xml
@@ -0,0 +1,1281 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.RelayIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.RelayIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AuthorizationRuleName
+
+
+ HybridConnectionName
+
+
+ NamespaceName
+
+
+ PrivateEndpointConnectionName
+
+
+ PrivateLinkResourceName
+
+
+ RelayName
+
+
+ ResourceGroupName
+
+
+ SubscriptionId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api30.ErrorDetail
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api30.ErrorDetail
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api30.SystemData
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api30.SystemData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ CreatedBy
+
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AccessKeys
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AccessKeys
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeyName
+
+
+ PrimaryConnectionString
+
+
+ PrimaryKey
+
+
+ SecondaryConnectionString
+
+
+ SecondaryKey
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRuleListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRuleListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRuleProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.AuthorizationRuleProperties
+
+
+
+
+
+
+
+
+
+
+
+ Rights
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.CheckNameAvailability
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.CheckNameAvailability
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.CheckNameAvailabilityResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.CheckNameAvailabilityResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message
+
+
+ NameAvailable
+
+
+ Reason
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ConnectionState
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ConnectionState
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnection
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnectionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnectionListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnectionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.HybridConnectionProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ ListenerCount
+
+
+ RequiresClientAuthorization
+
+
+ UpdatedAt
+
+
+ UserMetadata
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NetworkRuleSet
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NetworkRuleSet
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NetworkRuleSetProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NetworkRuleSetProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DefaultAction
+
+
+ PublicNetworkAccess
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NwRuleSetIPRules
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.NwRuleSetIPRules
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Action
+
+
+ IPMask
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.Operation
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.Operation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IsDataAction
+
+
+ Name
+
+
+ Origin
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.OperationDisplay
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.OperationDisplay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Operation
+
+
+ Provider
+
+
+ Resource
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.OperationListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.OperationListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnection
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnectionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnectionListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnectionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateEndpointConnectionProperties
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResourceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResourceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GroupId
+
+
+ RequiredMember
+
+
+ RequiredZoneName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResourcesListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.PrivateLinkResourcesListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RegenerateAccessKeyParameters
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RegenerateAccessKeyParameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Key
+
+
+ KeyType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespace
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+ Location
+
+
+ Status
+
+
+ SkuName
+
+
+ ServiceBusEndpoint
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespaceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespaceListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespaceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayNamespaceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ MetricId
+
+
+ ProvisioningState
+
+
+ PublicNetworkAccess
+
+
+ ServiceBusEndpoint
+
+
+ Status
+
+
+ UpdatedAt
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayUpdateParameters
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.RelayUpdateParameters
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ResourceNamespacePatch
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ResourceNamespacePatch
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ResourceNamespacePatchTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.ResourceNamespacePatchTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.Sku
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.Sku
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Tier
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelay
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+ ResourceGroupName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelayProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelayProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ IsDynamic
+
+
+ ListenerCount
+
+
+ RelayType
+
+
+ RequiresClientAuthorization
+
+
+ RequiresTransportSecurity
+
+
+ UpdatedAt
+
+
+ UserMetadata
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelaysListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20211101.WcfRelaysListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.ProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.ProxyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Location
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.Resource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.Resource
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.TrackedResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.TrackedResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Location
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.TrackedResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.Relay.Models.Api20170401.TrackedResourceTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Relay/Relay/Az.Relay.psd1 b/src/Relay/Az.Relay.psd1
similarity index 72%
rename from src/Relay/Relay/Az.Relay.psd1
rename to src/Relay/Az.Relay.psd1
index 4b659a79b044..b4f204278d20 100644
--- a/src/Relay/Relay/Az.Relay.psd1
+++ b/src/Relay/Az.Relay.psd1
@@ -3,22 +3,22 @@
#
# Generated by: Microsoft Corporation
#
-# Generated on: 3/6/2023
+# Generated on: 4/17/2023
#
@{
# Script module or binary module file associated with this manifest.
-# RootModule = ''
+RootModule = './Az.Relay.psm1'
# Version number of this module.
-ModuleVersion = '1.0.4'
+ModuleVersion = '0.1.0'
# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
# ID used to uniquely identify this module
-GUID = '668e7be1-9801-496f-a7ed-25b1077d2f23'
+GUID = '14fdcc41-318e-4838-8905-9cf090a8339c'
# Author of this module
Author = 'Microsoft Corporation'
@@ -30,9 +30,7 @@ CompanyName = 'Microsoft Corporation'
Copyright = 'Microsoft Corporation. All rights reserved.'
# Description of the functionality provided by this module
-Description = 'Microsoft Azure PowerShell - Relay service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.
-
-For more information on Relay, please visit the following: https://learn.microsoft.com/azure/service-bus-relay/relay-what-is-it'
+Description = 'Microsoft Azure PowerShell: Relay cmdlets'
# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '5.1'
@@ -53,10 +51,10 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
-RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.0'; })
+RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.12.1'; })
# Assemblies that must be loaded prior to importing this module
-RequiredAssemblies = 'Microsoft.Azure.Management.Relay.dll'
+RequiredAssemblies = './bin/Az.Relay.private.dll'
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
@@ -65,30 +63,32 @@ RequiredAssemblies = 'Microsoft.Azure.Management.Relay.dll'
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
-# FormatsToProcess = @()
+FormatsToProcess = './Az.Relay.format.ps1xml'
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
-NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.Relay.dll')
+# NestedModules = @()
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
-FunctionsToExport = @()
+FunctionsToExport = 'Get-AzRelayAuthorizationRule', 'Get-AzRelayHybridConnection',
+ 'Get-AzRelayKey', 'Get-AzRelayNamespace',
+ 'Get-AzRelayNamespaceNetworkRuleSet', 'Get-AzWcfRelay',
+ 'New-AzRelayAuthorizationRule', 'New-AzRelayHybridConnection',
+ 'New-AzRelayKey', 'New-AzRelayNamespace',
+ 'New-AzRelayNetworkRuleSetIPRuleObject', 'New-AzWcfRelay',
+ 'Remove-AzRelayAuthorizationRule', 'Remove-AzRelayHybridConnection',
+ 'Remove-AzRelayNamespace', 'Remove-AzWcfRelay',
+ 'Set-AzRelayAuthorizationRule', 'Set-AzRelayHybridConnection',
+ 'Set-AzRelayNamespaceNetworkRuleSet', 'Set-AzWcfRelay',
+ 'Test-AzRelayName', 'Update-AzRelayNamespace'
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
-CmdletsToExport = 'New-AzRelayNamespace', 'Get-AzRelayNamespace',
- 'Set-AzRelayNamespace', 'Remove-AzRelayNamespace', 'New-AzWcfRelay',
- 'Get-AzWcfRelay', 'Set-AzWcfRelay', 'Remove-AzWcfRelay',
- 'New-AzRelayHybridConnection', 'Get-AzRelayHybridConnection',
- 'Set-AzRelayHybridConnection', 'Remove-AzRelayHybridConnection',
- 'Test-AzRelayName', 'Get-AzRelayOperation', 'New-AzRelayKey',
- 'Get-AzRelayKey', 'New-AzRelayAuthorizationRule',
- 'Get-AzRelayAuthorizationRule', 'Set-AzRelayAuthorizationRule',
- 'Remove-AzRelayAuthorizationRule'
+CmdletsToExport = @()
# Variables to export from this module
# VariablesToExport = @()
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
-AliasesToExport = @()
+AliasesToExport = '*'
# DSC resources to export from this module
# DscResourcesToExport = @()
@@ -105,7 +105,7 @@ PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
- Tags = 'Azure','ResourceManager','ARM','Relay','ServiceBus'
+ Tags = 'Azure','ResourceManager','ARM','PSModule','Relay'
# A URL to the license for this module.
LicenseUri = 'https://aka.ms/azps-license'
@@ -117,9 +117,7 @@ PrivateData = @{
# IconUri = ''
# ReleaseNotes of this module
- ReleaseNotes = '* Added breaking change message for cmdlets.
- * ''Set-AzRelayNamespace''
- * ''Get-AzRelayOperation'''
+ # ReleaseNotes = ''
# Prerelease string of this module
# Prerelease = ''
diff --git a/src/Relay/Az.Relay.psm1 b/src/Relay/Az.Relay.psm1
new file mode 100644
index 000000000000..55bfd1993e4e
--- /dev/null
+++ b/src/Relay/Az.Relay.psm1
@@ -0,0 +1,115 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ # Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
+ # ----------------------------------------------------------------------------------
+ # Load required Az.Accounts module
+ $accountsName = 'Az.Accounts'
+ $accountsModule = Get-Module -Name $accountsName
+ if(-not $accountsModule) {
+ $localAccountsPath = Join-Path $PSScriptRoot 'generated\modules'
+ if(Test-Path -Path $localAccountsPath) {
+ $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
+ if($localAccounts) {
+ $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
+ }
+ }
+ if(-not $accountsModule) {
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
+ if($hasAdequateVersion) {
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
+ }
+ }
+ }
+
+ if(-not $accountsModule) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ }
+ Write-Information "Loaded Module '$($accountsModule.Name)'"
+
+ # Load the private module dll
+ $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.Relay.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.Relay.Module]::Instance
+
+ # Ask for the shared functionality table
+ $VTable = Register-AzModule
+
+ # Tweaks the pipeline on module load
+ $instance.OnModuleLoad = $VTable.OnModuleLoad
+
+ # Following two delegates are added for telemetry
+ $instance.GetTelemetryId = $VTable.GetTelemetryId
+ $instance.Telemetry = $VTable.Telemetry
+
+
+ # Tweaks the pipeline per call
+ $instance.OnNewRequest = $VTable.OnNewRequest
+
+ # Gets shared parameter values
+ $instance.GetParameterValue = $VTable.GetParameterValue
+
+ # Allows shared module to listen to events from this module
+ $instance.EventListener = $VTable.EventListener
+
+ # Gets shared argument completers
+ $instance.ArgumentCompleter = $VTable.ArgumentCompleter
+
+ # The name of the currently selected Azure profile
+ $instance.ProfileName = $VTable.ProfileName
+
+
+ # Load the custom module
+ $customModulePath = Join-Path $PSScriptRoot './custom/Az.Relay.custom.psm1'
+ if(Test-Path $customModulePath) {
+ $null = Import-Module -Name $customModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export proxy cmdlet scripts
+ $exportsPath = Join-Path $PSScriptRoot './exports'
+ $directories = Get-ChildItem -Directory -Path $exportsPath
+ $profileDirectory = $null
+ if($instance.ProfileName) {
+ if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
+ $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
+ } else {
+ # Don't export anything if the profile doesn't exist for the module
+ $exportsPath = $null
+ Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
+ }
+ } elseif(($directories | Measure-Object).Count -gt 0) {
+ # Load the last folder if no profile is selected
+ $profileDirectory = $directories | Select-Object -Last 1
+ }
+
+ if($profileDirectory) {
+ Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
+ $exportsPath = $profileDirectory.FullName
+ }
+
+ if($exportsPath) {
+ Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
+ Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
+ }
+
+ # Finalize initialization of this module
+ $instance.Init();
+ Write-Information "Loaded Module '$($instance.Name)'"
+# endregion
diff --git a/src/Relay/Relay/ChangeLog.md b/src/Relay/ChangeLog.md
similarity index 92%
rename from src/Relay/Relay/ChangeLog.md
rename to src/Relay/ChangeLog.md
index f3d573d93614..89814ff3f71b 100644
--- a/src/Relay/Relay/ChangeLog.md
+++ b/src/Relay/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Updated api version to 2021-11-01
## Version 1.0.4
* Added breaking change message for cmdlets.
@@ -34,4 +35,4 @@
* Fix typos in customer-facing messages
## Version 1.0.0
-* General availability of `Az.Relay` module
+* General availability of `Az.Relay` module
\ No newline at end of file
diff --git a/src/Relay/Relay/Properties/AssemblyInfo.cs b/src/Relay/Properties/AssemblyInfo.cs
similarity index 83%
rename from src/Relay/Relay/Properties/AssemblyInfo.cs
rename to src/Relay/Properties/AssemblyInfo.cs
index 648e690b408b..03c26eb1eb3d 100644
--- a/src/Relay/Relay/Properties/AssemblyInfo.cs
+++ b/src/Relay/Properties/AssemblyInfo.cs
@@ -14,16 +14,15 @@
using System;
using System.Reflection;
-using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
-[assembly: AssemblyTitle("Microsoft Azure Powershell - Azure Relay")]
+[assembly: AssemblyTitle("Microsoft Azure Powershell - Relay")]
[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)]
[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)]
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
-[assembly: Guid("3ea250fe-7987-426b-8ca0-2dd65deda73c")]
-[assembly: AssemblyVersion("1.0.4")]
-[assembly: AssemblyFileVersion("1.0.4")]
+[assembly: Guid("86ef5d63-c1ed-4cab-93b7-15aa5c76b259")]
+[assembly: AssemblyVersion("0.1.0")]
+[assembly: AssemblyFileVersion("0.1.0")]
diff --git a/src/Relay/README.md b/src/Relay/README.md
new file mode 100644
index 000000000000..0364b71208ac
--- /dev/null
+++ b/src/Relay/README.md
@@ -0,0 +1,376 @@
+
+# Az.Relay
+This directory contains the PowerShell module for the Relay service.
+
+---
+## Status
+[](https://www.powershellgallery.com/packages/Az.Relay/)
+
+## Info
+- Modifiable: yes
+- Generated: all
+- Committed: yes
+- Packaged: yes
+
+---
+## Detail
+This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.
+
+## Module Requirements
+- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater
+
+## Authentication
+AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
+
+## Development
+For information on how to develop for `Az.Relay`, see [how-to.md](how-to.md).
+
+
+### AutoRest Configuration
+> see https://aka.ms/autorest
+
+``` yaml
+branch: 591b17c5a50e7fc0ef09211197279e6d9f7ebc22
+require:
+ - $(this-folder)/../readme.azure.noprofile.md
+ - $(repo)/specification/relay/resource-manager/readme.md
+
+title: Relay
+
+identity-correction-for-post: true
+resourcegroup-append: true
+nested-object-to-string: true
+inlining-threshold: 50
+
+directive:
+ # Namespace Authorization Rule
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}"].put.operationId
+ transform: return "AuthorizationRule_CreateOrUpdate"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}"].get.operationId
+ transform: return "AuthorizationRule_Get"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules].get.operationId
+ transform: return "AuthorizationRule_List"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}"].delete.operationId
+ transform: return "AuthorizationRule_Delete"
+
+ # HybridConnections Authorization Rule
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}"].put.operationId
+ transform: return "AuthorizationRule_CreateOrUpdate"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}"].get.operationId
+ transform: return "AuthorizationRule_Get"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules"].get.operationId
+ transform: return "AuthorizationRule_List"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}"].delete.operationId
+ transform: return "AuthorizationRule_Delete"
+
+# WcfRelays Authorization Rule
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}"].put.operationId
+ transform: return "AuthorizationRule_CreateOrUpdate"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}"].get.operationId
+ transform: return "AuthorizationRule_Get"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules"].get.operationId
+ transform: return "AuthorizationRule_List"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}"].delete.operationId
+ transform: return "AuthorizationRule_Delete"
+
+ # Merge Namepsace,HybridConnections, WcfRelays Api
+ # Namespace key
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys"].post.operationId
+ transform: return "Key_RegenerateKeys"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys"].post.operationId
+ transform: return "Key_ListKeys"
+
+ # HybridConnections Key
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/regenerateKeys"].post.operationId
+ transform: return "Key_RegenerateKeys"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/listKeys"].post.operationId
+ transform: return "Key_ListKeys"
+
+ # WcfRelays Key
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/regenerateKeys"].post.operationId
+ transform: return "Key_RegenerateKeys"
+
+ - from: swagger-document
+ where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/listKeys"].post.operationId
+ transform: return "Key_ListKeys"
+
+ # Remove cmdlet, Private link related resource should be ignored.
+ - where:
+ subject: PrivateEndpointConnection|PrivateLinkResource
+ remove: true
+
+ # Custom New-AzRelayNamespaceNetworkRuleSet to Set-AzRelayNamespaceNetworkRuleSet
+ - where:
+ verb: New
+ subject: ^NamespaceNetworkRuleSet$
+ hide: true
+
+ - where:
+ verb: New
+ subject: ^NamespaceNetworkRuleSet$
+ variant: ^Create$
+ remove: true
+
+ - where:
+ verb: New
+ subject: ^NamespaceNetworkRuleSet$
+ variant: ^CreateViaIdentity$
+ hide: true
+
+ - where:
+ verb: Set
+ subject: ^NamespaceNetworkRuleSet$
+ remove: true
+
+ # Custom Set Wcf Relay UpdateExpanded
+ - where:
+ verb: Set
+ subject: ^WcfRelay$
+ hide: true
+
+# Custom Set-AzRelayAuthorizationRule
+ - where:
+ verb: Set
+ subject: ^AuthorizationRule$
+ hide: true
+
+# Custom Set-AzRelayHybridConnection
+ - where:
+ verb: Set
+ subject: ^HybridConnection$
+ hide: true
+
+ - where:
+ verb: Set
+ subject: ^Namespace$
+ remove: true
+
+ - where:
+ verb: Test
+ subject: NamespaceNameAvailability
+ set:
+ subject: Name
+ - where:
+ subject: ^WcfRelay$
+ set:
+ subject-prefix: Wcf
+ subject: Relay
+
+ - where:
+ verb: New
+ subject: ^Namespace$
+ variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$
+ remove: true
+
+ - where:
+ verb: Update
+ subject: ^Namespace$
+ variant: ^Update$|^UpdateViaIdentity$
+ remove: true
+
+ - where:
+ verb: New
+ subject: ^HybridConnection$|^Relay$
+ variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$
+ remove: true
+
+ - where:
+ subject: ^Key$
+ variant: ^Regenerate$|^RegenerateViaIdentityExpanded$|^RegenerateViaIdentity$|^Regenerate1$|^RegenerateViaIdentityExpanded1$|^RegenerateViaIdentity1$|^Regenerate2$|^RegenerateViaIdentityExpanded2$|^RegenerateViaIdentity2$
+ remove: true
+
+ - where:
+ subject: ^AuthorizationRule$
+ variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Create1$|^^CreateViaIdentity1$|^CreateViaIdentityExpanded1$|^Create2$|^^CreateViaIdentity2$|^CreateViaIdentityExpanded2$
+ remove: true
+
+ - where:
+ verb: Test
+ subject: ^Name$
+ variant: ^Check$|^CheckViaIdentity$|^CheckViaIdentityExpanded$
+ remove: true
+
+ - where:
+ subject: ^Namespace$
+ parameter-name: PrivateEndpointConnection
+ hide: true
+
+ - where:
+ verb: Test
+ subject: ^Name$
+ parameter-name: Name
+ set:
+ parameter-name: Namespace
+
+ - where:
+ subject: ^AuthorizationRule$|^Key$
+ parameter-name: NamespaceName
+ set:
+ parameter-name: Namespace
+
+ - where:
+ subject: ^AuthorizationRule$|^Key$
+ parameter-name: HybridConnectionName
+ set:
+ parameter-name: HybridConnection
+
+ - where:
+ subject: ^AuthorizationRule$|^Key$
+ parameter-name: RelayName
+ set:
+ parameter-name: WcfRelay
+
+ - where:
+ subject: ^Key$
+ parameter-name: AuthorizationRuleName
+ set:
+ parameter-name: Name
+
+ - where:
+ subject: ^Key$
+ parameter-name: KeyType
+ set:
+ parameter-name: RegenerateKey
+
+ - where:
+ subject: ^Key$
+ parameter-name: Key
+ set:
+ parameter-name: KeyValue
+
+ - where:
+ subject: ^HybridConnection$
+ parameter-name: NamespaceName
+ set:
+ parameter-name: Namespace
+
+ - where:
+ verb: New|Set
+ subject: ^HybridConnection$
+ parameter-name: Parameter
+ set:
+ parameter-name: InputObject
+
+ - where:
+ verb: Set
+ varinat: ^UpdateExpanded$
+ subject: ^HybridConnection$
+ parameter-name: RequiresClientAuthorization
+ hide: true
+
+ - where:
+ verb: New|Set
+ subject: ^Relay$
+ parameter-name: Parameter
+ set:
+ parameter-name: InputObject
+
+ - where:
+ verb: Set
+ subject: ^Relay$
+ parameter-name: RequiresClientAuthorization
+ hide: true
+
+ - where:
+ verb: Set
+ subject: ^Relay$
+ parameter-name: RequiresTransportSecurity
+ hide: true
+
+ - where:
+ verb: Set
+ subject: ^Relay$
+ parameter-name: WcfRelayType
+ hide: true
+
+ - where:
+ verb: Set
+ subject: ^AuthorizationRule$
+ parameter-name: Parameter
+ set:
+ parameter-name: InputObject
+
+ - where:
+ subject-prefix: Wcf
+ subject: ^Relay$
+ parameter-name: NamespaceName
+ set:
+ parameter-name: Namespace
+
+ - where:
+ subject-prefix: Wcf
+ subject: ^Relay$
+ parameter-name: RelayName
+ set:
+ parameter-name: Name
+
+ - where:
+ subject-prefix: Wcf
+ subject: ^Relay$
+ parameter-name: RelayType
+ set:
+ parameter-name: WcfRelayType
+
+ - where:
+ verb: Get|Remove
+ subject: ^AuthorizationRule$
+ hide: true
+
+ # Hide parameter -PublicNetworkAccess from New-AzRelayNamespace and Update-AzRelayNamespace
+ - where:
+ verb: New|Update
+ subject: ^NameSpace$
+ parameter-name: PublicNetworkAccess
+ hide: true
+
+ # Hide parameter -SkuTier in Update-AzRelayNamespace
+ - where:
+ verb: Update
+ subject: ^NameSpace$
+ parameter-name: SkuTier
+ hide: true
+
+ # - model-cmdlet:
+ # - NwRuleSetIPRules
+
+ - where:
+ model-name: RelayNamespace
+ set:
+ format-table:
+ properties:
+ - Name
+ - ResourceGroupName
+ - Location
+ - Status
+ - SkuName
+ - ServiceBusEndpoint
+
+```
diff --git a/src/Relay/Relay.Test/Properties/AssemblyInfo.cs b/src/Relay/Relay.Test/Properties/AssemblyInfo.cs
deleted file mode 100644
index 931d7d0d2373..000000000000
--- a/src/Relay/Relay.Test/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-using Xunit;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Commands.Websites.Test")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("Commands.Websites.Test")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2014")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("a893f297-3311-4224-8086-a4bb3c5e478a")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-
-[assembly: AssemblyVersion("0.3.0")]
-[assembly: AssemblyFileVersion("0.3.0")]
-[assembly: CollectionBehavior(DisableTestParallelization = true)]
diff --git a/src/Relay/Relay.Test/Relay.Test.csproj b/src/Relay/Relay.Test/Relay.Test.csproj
deleted file mode 100644
index c1085fd268b0..000000000000
--- a/src/Relay/Relay.Test/Relay.Test.csproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- Relay
-
-
-
-
-
- $(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.cs b/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.cs
deleted file mode 100644
index d154238543e1..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class HybridConnectionsTests : RelayTestRunner
- {
- public HybridConnectionsTests(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void HybridConnectionsCRUD()
- {
- TestRunner.RunTestScript("HybridConnectionsTests");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.ps1 b/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.ps1
deleted file mode 100644
index 0e7511650201..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/HybridConnectionsTests.ps1
+++ /dev/null
@@ -1,96 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ----------------------------------------------------------------------------------
-
-<#
-.SYNOPSIS
-Tests HybridConnections Create Get List Remove operations.
-#>
-function HybridConnectionsTests
-{
- # Setup
- $location = "West US"
- $resourceGroupName = getAssetName
- $namespaceName = getAssetName "Relay-NS"
- $HybridConnectionsName = getAssetName "Relay-NS"
-
- # Create Resource Group
- Write-Debug "Create resource group"
- Write-Debug " Resource Group Name : $resourceGroupName"
- New-AzResourceGroup -Name $resourceGroupName -Location $location -Force
-
-
- # Create Relay Namespace
- Write-Debug " Create new Relay namespace"
- Write-Debug " Namespace name : $namespaceName"
- $result = New-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName -Location $location
- Wait-Seconds 15
-
- Try
- {
- # Assert
- Assert-True {$result.ProvisioningState -eq "Succeeded"}
-
- # get the created Relay Namespace
- Write-Debug " Get the created namespace within the resource group"
- $returnedNamespace = Get-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
- # Assert
- Assert-AreEqual $location $returnedNamespace.Location "NameSpace Location Not matched."
- Assert-True {$returnedNamespace.Name -eq $namespaceName} "Namespace created earlier is not found."
-
- # Create a HybridConnections
- Write-Debug "Create new HybridConnections"
- $userMetadata = "User Meta data"
- $result = New-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName -RequiresClientAuthorization $True -UserMetadata $userMetadata
-
-
- Write-Debug " Get the created HybridConnections "
- $createdHybridConnections = Get-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName
-
- $result2 = Set-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName -UserMetadata "Test UserMetdata"
-
- #Assert
- Assert-True {$result2.Name -eq $HybridConnectionsName} "HybridConnections created earlier is not found."
-
- # Get the Created HybridConnections
- Write-Debug " Get all the created HybridConnections "
- $createdHybridConnectionsList = Get-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName
-
- #Assert
- Assert-True {$createdHybridConnectionsList[0].Name -eq $HybridConnectionsName }"HybridConnections created earlier is not found."
-
- # Update the Created HybridConnections
- Write-Debug " Update HybridConnections "
- $createdHybridConnections.UserMetadata = "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored."
- $result1 = Set-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName -InputObject $createdHybridConnections
- Wait-Seconds 15
-
- # Assert
- Assert-True { $result1.UserMetadata -eq $createdHybridConnections.UserMetadata } "Updated HybridConnections 'RequiresClientAuthorization' not Matched "
- }
- Finally
- {
- # Cleanup
- # Delete all Created HybridConnections
- Write-Debug " Delete the HybridConnections"
- for ($i = 0; $i -lt $createdHybridConnectionsList.Count; $i++)
- {
- $delete1 = Remove-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName
- }
- Write-Debug " Delete namespaces"
- Remove-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Write-Debug " Delete resourcegroup"
- Remove-AzResourceGroup -Name $resourceGroupName -Force
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/Namespace.cs b/src/Relay/Relay.Test/ScenarioTests/Namespace.cs
deleted file mode 100644
index 6edb33d77a03..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/Namespace.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class RelayNamespaceTests : RelayTestRunner
- {
- public RelayNamespaceTests(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void RelayNamespaceCRUD()
- {
- TestRunner.RunTestScript("RelayNamespaceTests");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/OperationsListTest.cs b/src/Relay/Relay.Test/ScenarioTests/OperationsListTest.cs
deleted file mode 100644
index d2d525a9aaa0..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/OperationsListTest.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class OperationsListTest : RelayTestRunner
- {
- public OperationsListTest(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void Operations()
- {
- TestRunner.RunTestScript("OperationsListTest");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.cs b/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.cs
deleted file mode 100644
index 264d10062c68..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class RelayAuthorizationRulesTests : RelayTestRunner
- {
- public RelayAuthorizationRulesTests(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void RelayAuthorizationRulesTestsCRUD()
- {
- TestRunner.RunTestScript("RelayAuthTests");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.ps1 b/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.ps1
deleted file mode 100644
index b63f32e74bdb..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/RelayAuthorizationRulesTests.ps1
+++ /dev/null
@@ -1,321 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ----------------------------------------------------------------------------------
-
-<#
-.SYNOPSIS
-Tests AuthorizationRules Create List Remove operations.
-#>
-function RelayAuthTests
-{
- # Setup
- $location = "West US"
- $resourceGroupName = getAssetName
- $namespaceName = getAssetName "Relay-NS"
- $wcfRelayName = getAssetName "Relay-WcfR"
- $HybridConnectionsName = getAssetName "Relay-HybrdCon"
- $authRuleName = getAssetName "Relay-NSAuthoRule"
- $WcfRelayAuthRuleName = getAssetName "WcfR-AuthoRule"
- $HybirdConnectionAuthRuleName = getAssetName "HybrdCon-AuthoRule"
- $keyValue = "YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc="
-
- # Create ResourceGroup
- Write-Debug " Create resource group"
- Write-Debug "Resource group name : $resourceGroupName"
- New-AzResourceGroup -Name $resourceGroupName -Location $location -Force
-
- # Create Relay Namespace
- Write-Debug " Create new Relay namespace"
- Write-Debug "Namespace name : $namespaceName"
- $result = New-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName -Location $location
- Wait-Seconds 15
-
- # Assert
- Assert-True {$result.ProvisioningState -eq "Succeeded"}
-
- Try
- {
- # Get Created NameSpace
- Write-Debug " Get the created namespace within the resource group"
- $createdNamespace = Get-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- # Assert
- Assert-True {$createdNamespace.Name -eq $namespaceName} "Namespace created earlier is not found."
-
- ## Create a WcfRelay
- Write-Debug " Create new WcfRelay "
- $wcfRelayType = "NetTcp"
- $userMetadata = "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored."
- $resultWcfRelay = New-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName -WcfRelayType $wcfRelayType -RequiresClientAuthorization $true -RequiresTransportSecurity $true -UserMetadata $userMetadata
-
- Write-Debug " Get the created WcfRelay"
- $createdWcfRelay = Get-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $resultWcfRelay.Name
-
- # Assert
- Assert-True {$createdWcfRelay.Name -eq $wcfRelayName} "WcfRelay created earlier is not found."
-
- # Create a HybridConnections
- Write-Debug "Create new HybridConnections"
- $userMetadata = "User Meta data"
- $resultHybirdconnection = New-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName -RequiresClientAuthorization $True -UserMetadata $userMetadata
-
-
- Write-Debug " Get the created HybridConnections "
- $createdHybridConnections = Get-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName
-
- #Assert
- Assert-True {$createdHybridConnections.Name -eq $HybridConnectionsName} "HybridConnections created earlier is not found."
-
- #Create Namespace AuthorizationRule
- Write-Debug "Create a WcfRelay Authorization Rule"
- $result = New-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -Rights "Send"
-
- # Assert
- Assert-AreEqual $authRuleName $result.Name
- Assert-True { $result.Rights -Contains "Send" }
- Wait-Seconds 15
-
- # get the Updated Namespace Authorization Rule
- $getAuthRule = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName
-
- $getAuthRule.Rights.Add("Listen")
-
- # Update the Namespace Authorization Rule
- Write-Debug "Update Namespace AuthorizationRule"
- $updatedAuthRule = Set-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -InputObject $getAuthRule
- Wait-Seconds 15
-
- # get the Updated Namespace Authorization Rule
- $getAuthRule1 = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName
-
- # Create WcfRelay Authorization Rule
- Write-Debug "Create a WcfRelay Authorization Rule"
- $result = New-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName -Rights "Listen","Send"
-
- # Assert
- Assert-AreEqual $WcfRelayAuthRuleName $result.Name
- Assert-True { $result.Rights -Contains "Listen" }
- Assert-True { $result.Rights -Contains "Send" }
- Wait-Seconds 15
-
- # Get Created HybridConnection Authorization Rule
- Write-Debug "Get created authorizationRule"
- $createdAuthRule = New-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName -Rights "Listen","Send"
-
- # Assert
- Assert-AreEqual $HybirdConnectionAuthRuleName $createdAuthRule.Name
- Assert-True { $createdAuthRule.Rights -Contains "Listen" }
- Assert-True { $createdAuthRule.Rights -Contains "Send" }
-
-
- # Get all Namespace Authorization Rules
- Write-Debug "Get All WcfRelay AuthorizationRule"
- $result = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName
- # Assert
- $found = 0
-
- if ($result.Name -eq $authRuleName)
- {
- $found = 1
- Assert-True { $result.Rights -Contains "Listen" }
- Assert-True { $result.Rights -Contains "Send" }
- Assert-True {$found -eq 1} "Namespace AuthorizationRule created earlier is not found."
- }
-
- # Get all WcfRelay Authorization Rules
- Write-Debug "Get All WcfRelay AuthorizationRule"
- $resultWcfRelayAuthoRuleList = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName
- # Assert
- $found = 0
-
- if ($resultWcfRelayAuthoRuleList.Name -eq $WcfRelayAuthRuleName)
- {
- $found = 1
- Assert-True { $resultWcfRelayAuthoRuleList.Rights -Contains "Listen" }
- Assert-True { $resultWcfRelayAuthoRuleList.Rights -Contains "Send" }
- Assert-True {$found -eq 1} "WcfRelay AuthorizationRule created earlier is not found."
- }
-
-
- # Get all HybirdConnection Authorization Rules
- Write-Debug "Get All WcfRelay AuthorizationRule"
- $resultHybirdConnectionAuthoRuleList = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName
- # Assert
- $found = 0
-
- if ($resultHybirdConnectionAuthoRuleList.Name -eq $HybirdConnectionAuthRuleName)
- {
- $found = 1
- Assert-True { $resultHybirdConnectionAuthoRuleList.Rights -Contains "Listen" }
- Assert-True { $resultHybirdConnectionAuthoRuleList.Rights -Contains "Send" }
- Assert-True {$found -eq 1} "WcfRelay AuthorizationRule created earlier is not found."
- }
-
- # Update the Namespace Authorization Rule
- Write-Debug "Update Namespace AuthorizationRule"
- $updatedAuthRule = Set-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -Rights "Listen","Manage","Send"
- Wait-Seconds 15
-
- # Assert
- Assert-AreEqual $authRuleName $updatedAuthRule.Name
- Assert-AreEqual 3 $updatedAuthRule.Rights.Count
- Assert-True { $updatedAuthRule.Rights -Contains "Listen" }
- Assert-True { $updatedAuthRule.Rights -Contains "Send" }
- Assert-True { $updatedAuthRule.Rights -Contains "Manage" }
-
- # get the Updated Namespace Authorization Rule
- $updatedAuthRule = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName
-
- # Assert
- Assert-AreEqual $authRuleName $updatedAuthRule.Name
- Assert-AreEqual 3 $updatedAuthRule.Rights.Count
- Assert-True { $updatedAuthRule.Rights -Contains "Listen" }
- Assert-True { $updatedAuthRule.Rights -Contains "Send" }
- Assert-True { $updatedAuthRule.Rights -Contains "Manage" }
-
-
- # Update the WcfRelay Authorization Rule
- Write-Debug "Update WcfRelay AuthorizationRule"
- $updatedWcfRelayAuthRule = Set-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName -Rights "Listen","Send", "Manage"
- Wait-Seconds 15
-
- # Assert
- Assert-AreEqual $WcfRelayAuthRuleName $updatedWcfRelayAuthRule.Name
- Assert-AreEqual 3 $updatedWcfRelayAuthRule.Rights.Count
- Assert-True { $updatedWcfRelayAuthRule.Rights -Contains "Listen" }
- Assert-True { $updatedWcfRelayAuthRule.Rights -Contains "Send" }
- Assert-True { $updatedWcfRelayAuthRule.Rights -Contains "Manage" }
-
- # get the Updated WcfRelay Authorization Rule
- $updatedWcfRelayAuthRule1 = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName
-
- # Assert
- Assert-AreEqual $WcfRelayAuthRuleName $updatedWcfRelayAuthRule1.Name
- Assert-AreEqual 3 $updatedWcfRelayAuthRule1.Rights.Count
- Assert-True { $updatedWcfRelayAuthRule1.Rights -Contains "Listen" }
- Assert-True { $updatedWcfRelayAuthRule1.Rights -Contains "Send" }
- Assert-True { $updatedWcfRelayAuthRule1.Rights -Contains "Manage" }
-
-
-
- # Update the HybirdConnection Authorization Rule
- Write-Debug "Update HybirdConnection AuthorizationRule"
- $updatedHybirdConnectionAuthRule = Set-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName -Rights "Listen","Send", "Manage"
- Wait-Seconds 15
-
- # Assert
- Assert-AreEqual $HybirdConnectionAuthRuleName $updatedHybirdConnectionAuthRule.Name
- Assert-AreEqual 3 $updatedHybirdConnectionAuthRule.Rights.Count
- Assert-True { $updatedHybirdConnectionAuthRule.Rights -Contains "Listen" }
- Assert-True { $updatedHybirdConnectionAuthRule.Rights -Contains "Send" }
- Assert-True { $updatedHybirdConnectionAuthRule.Rights -Contains "Manage" }
-
- # get the Updated HybridConnection Authorization Rule
- $updatedHybirdConnectionAuthRule1 = Get-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName
-
- # Assert
- Assert-AreEqual $HybirdConnectionAuthRuleName $updatedHybirdConnectionAuthRule1.Name
- Assert-AreEqual 3 $updatedHybirdConnectionAuthRule1.Rights.Count
- Assert-True { $updatedHybirdConnectionAuthRule1.Rights -Contains "Listen" }
- Assert-True { $updatedHybirdConnectionAuthRule1.Rights -Contains "Send" }
- Assert-True { $updatedHybirdConnectionAuthRule1.Rights -Contains "Manage" }
-
- # Get the List Keys - Namespace
- Write-Debug "Get WcfRelay authorizationRules connectionStrings"
- $namespaceListKeys = Get-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName
-
- Assert-True {$namespaceListKeys.PrimaryConnectionString.Contains($namespaceListKeys.PrimaryKey)}
- Assert-True {$namespaceListKeys.SecondaryConnectionString.Contains($namespaceListKeys.SecondaryKey)}
-
- # Regentrate the Keys
- $policyKey = "PrimaryKey"
-
- $namespaceRegenerateKeys = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -RegenerateKey $policyKey -KeyValue $keyValue
- Assert-True {$namespaceRegenerateKeys.PrimaryKey -ne $namespaceListKeys.PrimaryKey}
- Assert-AreEqual $namespaceRegenerateKeys.PrimaryKey $keyValue
-
- $policyKey1 = "SecondaryKey"
-
- $namespaceRegenerateKeys1 = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -RegenerateKey $policyKey1 -KeyValue $keyValue
- Assert-True {$namespaceRegenerateKeys1.SecondaryKey -ne $namespaceListKeys.SecondaryKey}
- Assert-AreEqual $namespaceRegenerateKeys1.SecondaryKey $keyValue
-
-
-
- # Get the List Keys - WcfRelay
- Write-Debug "Get WcfRelay authorizationRules connectionStrings"
- $WcfRelayListKeys = Get-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName
-
- Assert-True {$WcfRelayListKeys.PrimaryConnectionString.Contains($WcfRelayListKeys.PrimaryKey)}
- Assert-True {$WcfRelayListKeys.SecondaryConnectionString.Contains($WcfRelayListKeys.SecondaryKey)}
-
- # Regentrate the Keys
- $policyKey = "PrimaryKey"
-
- $WcfRelayRegenerateKeys = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName -RegenerateKey $policyKey -KeyValue $keyValue
- Assert-True {$WcfRelayRegenerateKeys.PrimaryKey -ne $WcfRelayListKeys.PrimaryKey}
- Assert-AreEqual $WcfRelayRegenerateKeys.PrimaryKey $keyValue
-
- $policyKey1 = "SecondaryKey"
-
- $WcfRelayRegenerateKeys1 = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName -RegenerateKey $policyKey1 -KeyValue $keyValue
- Assert-True {$WcfRelayRegenerateKeys1.SecondaryKey -ne $WcfRelayListKeys.SecondaryKey}
- Assert-AreEqual $WcfRelayRegenerateKeys1.SecondaryKey $keyValue
-
- # Get the List Keys - HybirdConnection
- Write-Debug "Get WcfRelay authorizationRules connectionStrings"
- $HybirdConnectionListKeys = Get-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName
-
- Assert-True {$HybirdConnectionListKeys.PrimaryConnectionString.Contains($HybirdConnectionListKeys.PrimaryKey)}
- Assert-True {$HybirdConnectionListKeys.SecondaryConnectionString.Contains($HybirdConnectionListKeys.SecondaryKey)}
-
- # Regentrate the Keys
- $policyKey = "PrimaryKey"
-
- $HybirdConnectionRegenerateKeys = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName -RegenerateKey $policyKey -KeyValue $keyValue
- Assert-True {$HybirdConnectionRegenerateKeys.PrimaryKey -ne $HybirdConnectionListKeys.PrimaryKey}
- Assert-AreEqual $HybirdConnectionRegenerateKeys.PrimaryKey $keyValue
-
- $policyKey1 = "SecondaryKey"
-
- $HybirdConnectionRegenerateKeys1 = New-AzRelayKey -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName -RegenerateKey $policyKey1 -KeyValue $keyValue
- Assert-True {$HybirdConnectionRegenerateKeys1.SecondaryKey -ne $HybirdConnectionListKeys.SecondaryKey}
- Assert-AreEqual $HybirdConnectionRegenerateKeys1.SecondaryKey $keyValue
-
-
- # Cleanup
- Write-Debug "Delete the created Namespace AuthorizationRule"
- $result = Remove-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $authRuleName -Force
-
- Write-Debug "Delete the created WcfRelay AuthorizationRule"
- $result = Remove-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -WcfRelay $wcfRelayName -Name $WcfRelayAuthRuleName -Force
-
- Write-Debug "Delete the created HybridConnection AuthorizationRule"
- $result = Remove-AzRelayAuthorizationRule -ResourceGroupName $resourceGroupName -Namespace $namespaceName -HybridConnection $HybridConnectionsName -Name $HybirdConnectionAuthRuleName -Force
-
-
- Write-Debug "Delete the WcfRelay"
- Remove-AzRelayHybridConnection -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $HybridConnectionsName
-
- Write-Debug "Delete the WcfRelay"
- Remove-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName
- }
- Finally
- {
- Write-Debug "Delete NameSpace"
- Remove-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Write-Debug " Delete resourcegroup"
- Remove-AzResourceGroup -Name $resourceGroupName -Force
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/RelayNamespaceTests.ps1 b/src/Relay/Relay.Test/ScenarioTests/RelayNamespaceTests.ps1
deleted file mode 100644
index dd9c8f500446..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/RelayNamespaceTests.ps1
+++ /dev/null
@@ -1,96 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ----------------------------------------------------------------------------------
-
-<#
-.SYNOPSIS
-Tests Relay Namespace Create List Remove operations.
-#>
-function RelayNamespaceTests
-{
- # Setup
- $location = "West US"
- $namespaceName = getAssetName "Relay-NS"
- $namespaceName2 = getAssetName "Relay-NS"
- $resourceGroupName = getAssetName
- $secondResourceGroup = getAssetName
-
- Write-Debug "Create resource group"
- Write-Debug "ResourceGroup name : $resourceGroupName"
- New-AzResourceGroup -Name $resourceGroupName -Location $location -Force
-
- Write-Debug "Create resource group"
- Write-Debug "ResourceGroup name : $secondResourceGroup"
- New-AzResourceGroup -Name $secondResourceGroup -Location $location -Force
-
-
- Write-Debug " Create new Relay namespace"
- Write-Debug "NamespaceName : $namespaceName"
- $result = New-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName -Location $location
- Wait-Seconds 15
-
- # Assert
- Assert-True {$result.ProvisioningState -eq "Succeeded"}
-
- Write-Debug "Namespace name : $namespaceName2"
- $result1 = New-AzRelayNamespace -ResourceGroupName $secondResourceGroup -Name $namespaceName2 -Location $location
- Wait-Seconds 15
-
- # Assert
- Assert-True {$result1.ProvisioningState -eq "Succeeded"}
-
- Try
- {
- Write-Debug "Get the created namespace within the resource group"
- $createdNamespace = Get-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Assert-True {$createdNamespace.Name -eq $namespaceName} "Get-AzRelayNamespace Namespace created earlier is not found. "
-
- Write-Debug "Get all the namespaces created in the resourceGroup"
- $allCreatedNamespace = Get-AzRelayNamespace -ResourceGroupName $secondResourceGroup
-
- Assert-True {$allCreatedNamespace[0].Name -eq $namespaceName2} "Get-AzRelayNamespace - ResourceGroup Namespace created earlier is not found"
-
- Write-Debug "Get all the namespaces created in the subscription"
- $allCreatedNamespace = Get-AzRelayNamespace
-
- $found = 0
- for ($i = 0; $i -lt $allCreatedNamespace.Items.Count; $i++)
- {
- if ($allCreatedNamespace[$i].Name -eq $namespaceName)
- {
- $found = $found + 1
- Assert-AreEqual $location $allCreatedNamespace[$i].Location
- }
-
- if ($allCreatedNamespace[$i].Name -eq $namespaceName2)
- {
- $found = $found + 1
- Assert-AreEqual $location $allCreatedNamespace[$i].Location
- }
- }
-
- Assert-True {$found -eq 0} "Get-AzRelayNamespace - Subscription Namespaces created earlier is not found."
- }
- Finally
- {
- Write-Debug " Delete namespaces"
- Remove-AzRelayNamespace -ResourceGroupName $secondResourceGroup -Name $namespaceName2
- Remove-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Write-Debug " Delete resourcegroup"
- Remove-AzResourceGroup -Name $resourceGroupName -Force
- }
-
-
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/RelayTestRunner.cs b/src/Relay/Relay.Test/ScenarioTests/RelayTestRunner.cs
deleted file mode 100644
index f85a51c9807c..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/RelayTestRunner.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System.Collections.Generic;
-using Microsoft.Azure.Commands.TestFx;
-using Xunit.Abstractions;
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- public class RelayTestRunner
- {
- protected readonly ITestRunner TestRunner;
-
- protected RelayTestRunner(ITestOutputHelper output)
- {
- TestRunner = TestManager.CreateInstance(output)
- .WithNewPsScriptFilename($"{GetType().Name}.ps1")
- .WithProjectSubfolderForTests("ScenarioTests")
- .WithCommonPsScripts(new[]
- {
- @"../AzureRM.Resources.ps1"
- })
- .WithNewRmModules(helper => new[]
- {
- helper.RMProfileModule,
- helper.GetRMModulePath("Az.Relay.psd1")
- })
- .WithNewRecordMatcherArguments(
- userAgentsToIgnore: new Dictionary
- {
- {"Microsoft.Azure.Management.Resources.ResourceManagementClient", "2016-07-01"}
- },
- resourceProviders: new Dictionary
- {
- {"Microsoft.Resources", null},
- {"Microsoft.Features", null},
- {"Microsoft.Authorization", null}
- }
- )
- .Build();
- }
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.cs b/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.cs
deleted file mode 100644
index 7789c990f4ad..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class TestAzureRmRelayNameTests : RelayTestRunner
- {
- public TestAzureRmRelayNameTests(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void CheckNameAvailability()
- {
- TestRunner.RunTestScript("TestAzureRmRelayNameTests");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.ps1 b/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.ps1
deleted file mode 100644
index d93aebb9dd5d..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/TestAzureRmRelayNameTests.ps1
+++ /dev/null
@@ -1,55 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ----------------------------------------------------------------------------------
-
-<#
-.SYNOPSIS
-Tests Relay Namespace CheckNameAvailability operations.
-#>
-function TestAzureRmRelayNameTests
-{
- # Setup
- $location = "West US"
- $namespaceName = getAssetName "Relay-NS"
- $namespaceName2 = getAssetName "Relay-NS"
- $resourceGroupName = getAssetName
- $secondResourceGroup = getAssetName
-
- Write-Debug "Create resource group"
- Write-Debug "ResourceGroup name : $resourceGroupName"
- New-AzResourceGroup -Name $resourceGroupName -Location $location -Force
-
- Write-Debug "Create resource group"
- Write-Debug "ResourceGroup name : $secondResourceGroup"
- New-AzResourceGroup -Name $secondResourceGroup -Location $location -Force
-
- $ResultCheckNameAvailability = Test-AzRelayName -Namespace $namespaceName
- Assert-True {$ResultCheckNameAvailability.NameAvailable} "The Namespace Name not Available"
-
- Write-Debug " Create new Relay namespace"
- Write-Debug "NamespaceName : $namespaceName"
- $result = New-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName -Location $location
- Wait-Seconds 15
-
- # Assert
- Assert-True {$result.ProvisioningState -eq "Succeeded"}
-
- $ReCheckNameAvailability = Test-AzRelayName -Namespace $namespaceName
- Assert-False {$ReCheckNameAvailability.NameAvailable} "The Namespace Name Available failed"
-
- Write-Debug " Delete namespaces"
- Remove-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Write-Debug " Delete resourcegroup"
- Remove-AzResourceGroup -Name $resourceGroupName -Force
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.cs b/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.cs
deleted file mode 100644
index 19b2550feaf0..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay.Test.ScenarioTests
-{
- using Microsoft.WindowsAzure.Commands.ScenarioTest;
- using Xunit;
- using Xunit.Abstractions;
- public class WcfRelayTests : RelayTestRunner
- {
- public WcfRelayTests(ITestOutputHelper output) : base(output)
- {
- }
-
- [Fact]
- [Trait(Category.AcceptanceType, Category.CheckIn)]
- public void WcfRelayCRUD()
- {
- TestRunner.RunTestScript("WcfRelayTests");
- }
- }
-}
diff --git a/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.ps1 b/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.ps1
deleted file mode 100644
index 8f484873001d..000000000000
--- a/src/Relay/Relay.Test/ScenarioTests/WcfRelayTests.ps1
+++ /dev/null
@@ -1,99 +0,0 @@
-# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ----------------------------------------------------------------------------------
-
-<#
-.SYNOPSIS
-Tests WcfRelay Create List Remove operations.
-#>
-function WcfRelayTests
-{
- # Setup
- $location = "West US"
- $resourceGroupName = getAssetName
- $namespaceName = getAssetName "Relay-NS"
- $wcfRelayName = getAssetName "Relay-WcfR"
-
- # Create Resource Group
- Write-Debug "Create resource group"
- Write-Debug " Resource Group Name : $resourceGroupName"
- New-AzResourceGroup -Name $resourceGroupName -Location $location -Force
-
-
- # Create Relay Namespace
- Write-Debug " Create new Relay namespace"
- Write-Debug " Namespace name : $namespaceName"
- $result = New-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName -Location $location
- Wait-Seconds 15
-
- Try
- {
- # Assert
- Assert-True {$result.ProvisioningState -eq "Succeeded"}
-
- # get the created Relay Namespace
- Write-Debug " Get the created namespace within the resource group"
- $returnedNamespace = Get-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
- # Assert
- Assert-AreEqual $location $returnedNamespace.Location "NameSpace Location Not matched."
- Assert-True {$returnedNamespace.Name -eq $namespaceName} "Namespace created earlier is not found."
-
- # Create a WcfRelay
- Write-Debug "Create new WcfRelay"
- $wcfRelayType = "NetTcp"
- $userMetadata = "User Meta data"
- $result = New-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName -WcfRelayType $wcfRelayType -RequiresClientAuthorization $True -RequiresTransportSecurity $True -UserMetadata $userMetadata
-
-
- Write-Debug " Get the created WcfRelay "
- $createdWcfRelay = Get-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName
-
- # Assert
- Assert-True {$createdWcfRelay.Name -eq $wcfRelayName} "WcfRelay created earlier is not found."
-
- # Get the Created WcfRelay
- Write-Debug " Get all the created WcfRelay "
- $createdWcfRelayList = Get-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName
-
- # Assert
- Assert-True {$createdWcfRelayList[0].Name -eq $wcfRelayName }"WcfRelay created earlier is not found."
-
- #Update the Creatred WcfRelay with Porperties
- $result2 = Set-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName -UserMetadata "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored."
-
- # Update the Created WcfRelay
- Write-Debug " Update the first WcfRelay "
- $createdWcfRelay.UserMetadata = "usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored."
- $result1 = Set-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName -InputObject $createdWcfRelay
- Wait-Seconds 15
-
- # Assert
- Assert-True { $result1.RequiresClientAuthorization -eq $createdWcfRelay.RequiresClientAuthorization } "Updated WCFRelay 'RequiresClientAuthorization' not Matched "
-
- # Cleanup
- # Delete all Created WcfRelay
- Write-Debug " Delete the WcfRelay"
- for ($i = 0; $i -lt $createdWcfRelayList.Count; $i++)
- {
- $delete1 = Remove-AzWcfRelay -ResourceGroupName $resourceGroupName -Namespace $namespaceName -Name $wcfRelayName
- }
- }
- Finally
- {
- Write-Debug " Delete namespaces"
- Remove-AzRelayNamespace -ResourceGroupName $resourceGroupName -Name $namespaceName
-
- Write-Debug " Delete resourcegroup"
- Remove-AzResourceGroup -Name $resourceGroupName -Force
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.HybridConnectionsTests/HybridConnectionsCRUD.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.HybridConnectionsTests/HybridConnectionsCRUD.json
deleted file mode 100644
index d83435a1c258..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.HybridConnectionsTests/HybridConnectionsCRUD.json
+++ /dev/null
@@ -1,1163 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps9933?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzOTkzMz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9bd5c952-6abe-4b20-b824-d3fc3062bdbe"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "e08f8424-ae87-4aea-9c31-f512064dce3c"
- ],
- "x-ms-correlation-request-id": [
- "e08f8424-ae87-4aea-9c31-f512064dce3c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185514Z:e08f8424-ae87-4aea-9c31-f512064dce3c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:13 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933\",\r\n \"name\": \"ps9933\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "aba56518-7be9-42d7-8673-35b1d564fb03"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "737f9d05-1f56-49fa-b2be-ed3be0ba9c47_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "00b6268c-62cf-4626-8179-5b10b11d32e9"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185515Z:00b6268c-62cf-4626-8179-5b10b11d32e9"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:15 GMT"
- ],
- "Content-Length": [
- "537"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850\",\r\n \"name\": \"Relay-NS2850\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2850\",\r\n \"createdAt\": \"2018-11-09T18:55:15Z\",\r\n \"updatedAt\": \"2018-11-09T18:55:15Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2850.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f1be5fb9-405b-4436-904d-6562d59a41b6_M5CH3_M5CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "590b5f6d-5bc2-4e28-bac4-c85afbdba32f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185545Z:590b5f6d-5bc2-4e28-bac4-c85afbdba32f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:45 GMT"
- ],
- "Content-Length": [
- "538"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850\",\r\n \"name\": \"Relay-NS2850\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2850\",\r\n \"createdAt\": \"2018-11-09T18:55:15Z\",\r\n \"updatedAt\": \"2018-11-09T18:55:39.19Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2850.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "eb9ae02e-ab6d-4492-ac21-8583cab1ca05"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f096e428-d245-4502-a96b-ff5524f577e8_M9CH3_M9CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "46183c55-b105-4809-8586-2bd209be7e97"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185600Z:46183c55-b105-4809-8586-2bd209be7e97"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:59 GMT"
- ],
- "Content-Length": [
- "538"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850\",\r\n \"name\": \"Relay-NS2850\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2850\",\r\n \"createdAt\": \"2018-11-09T18:55:15Z\",\r\n \"updatedAt\": \"2018-11-09T18:55:39.19Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2850.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zL1JlbGF5LU5TMjQ0MT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9af3c928-ac4f-48e3-834e-52619b1fc3cc"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "108"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d3de6c46-c729-4a5c-9ec8-f49c1be85d00_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "bbd6d44f-8d92-4ee7-83c8-541c24fe5e49"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185604Z:bbd6d44f-8d92-4ee7-83c8-541c24fe5e49"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:03 GMT"
- ],
- "Content-Length": [
- "446"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441\",\r\n \"name\": \"Relay-NS2441\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:56:03.6976792Z\",\r\n \"updatedAt\": \"2018-11-09T18:56:03.6976792Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zL1JlbGF5LU5TMjQ0MT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"userMetadata\": \"Test UserMetdata\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "16a8329f-7b0d-4e02-ade6-382b727a4cec"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "68"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4d9316b4-392b-4230-805b-895ce7fc3d92_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "f5dfa8f5-c14b-4b51-8def-f344918f945f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185606Z:f5dfa8f5-c14b-4b51-8def-f344918f945f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:05 GMT"
- ],
- "Content-Length": [
- "430"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441\",\r\n \"name\": \"Relay-NS2441\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"0001-01-01T00:00:00\",\r\n \"updatedAt\": \"0001-01-01T00:00:00\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"Test UserMetdata\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zL1JlbGF5LU5TMjQ0MT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b7e86644-18e5-47b9-8c9d-cd070d5da10b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "305"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "989d93f4-80ef-4e79-9623-1bd146ea9377_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "fc50e1e3-bf07-41a1-ae45-68e406905e48"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185607Z:fc50e1e3-bf07-41a1-ae45-68e406905e48"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:06 GMT"
- ],
- "Content-Length": [
- "667"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441\",\r\n \"name\": \"Relay-NS2441\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"0001-01-01T00:00:00\",\r\n \"updatedAt\": \"0001-01-01T00:00:00\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zL1JlbGF5LU5TMjQ0MT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "6e2bd7d2-a357-44c6-a032-9a6ee6f80289"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2cc4a000-12a6-464d-8baf-850a5b4e021f_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "d4000902-216e-458d-991f-77ce1ce2eefa"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185605Z:d4000902-216e-458d-991f-77ce1ce2eefa"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:04 GMT"
- ],
- "Content-Length": [
- "446"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441\",\r\n \"name\": \"Relay-NS2441\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:56:03.6976792Z\",\r\n \"updatedAt\": \"2018-11-09T18:56:03.6976792Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "3e7a129c-83c9-4b92-ad6f-9475ec679153"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-inline-count": [
- ""
- ],
- "x-ms-request-id": [
- "8e31d48d-6cb7-43e0-a785-ed52de11d9ad_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "02d8d8ac-f0b2-4354-b99b-952398467977"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185607Z:02d8d8ac-f0b2-4354-b99b-952398467977"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:06 GMT"
- ],
- "Content-Length": [
- "460"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/relay-ns2441\",\r\n \"name\": \"relay-ns2441\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:56:03.6976792Z\",\r\n \"updatedAt\": \"2018-11-09T18:56:06.0359778Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"Test UserMetdata\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/hybridConnections/Relay-NS2441?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL2h5YnJpZENvbm5lY3Rpb25zL1JlbGF5LU5TMjQ0MT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "0d954629-6502-4f53-b1e7-787746aab6e4"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "0d2d0acc-cc6d-4fc0-8d02-4dcb429503c9_M2CH3_M2CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "e3cd5f0a-1991-459c-8e8a-caadc96a91d8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185623Z:e3cd5f0a-1991-459c-8e8a-caadc96a91d8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:23 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9c6e6384-6666-48d6-a859-f32328762eb3"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9c138a47-af3f-4b62-bb61-45fe1409453c_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/operationresults/Relay-NS2850?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
- ],
- "x-ms-correlation-request-id": [
- "18ad6692-cfa7-4d1e-a983-bd589651bc9f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185624Z:18ad6692-cfa7-4d1e-a983-bd589651bc9f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:24 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/operationresults/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "70a6ec23-388e-4294-9ea2-11ca07428a47_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-correlation-request-id": [
- "8e00ce21-228a-4363-8d6f-8c78ec466369"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185654Z:8e00ce21-228a-4363-8d6f-8c78ec466369"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:54 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps9933/providers/Microsoft.Relay/namespaces/Relay-NS2850/operationresults/Relay-NS2850?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzOTkzMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMyODUwL29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlMyODUwP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3a9949e5-eafe-4260-af55-426a4a2a0586_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-correlation-request-id": [
- "246f9fac-0237-4af7-a76a-01a925e45920"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185654Z:246f9fac-0237-4af7-a76a-01a925e45920"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:54 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps9933?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzOTkzMz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "cc805bf3-36fa-4011-ba16-c1edb1e9e3b0"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "3e3c476b-e53b-4925-88dc-081b68877764"
- ],
- "x-ms-correlation-request-id": [
- "3e3c476b-e53b-4925-88dc-081b68877764"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185655Z:3e3c476b-e53b-4925-88dc-081b68877764"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:56:54 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprNU16TXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-request-id": [
- "80692abc-d278-4f43-994c-0eaa1aaaa634"
- ],
- "x-ms-correlation-request-id": [
- "80692abc-d278-4f43-994c-0eaa1aaaa634"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185710Z:80692abc-d278-4f43-994c-0eaa1aaaa634"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:10 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprNU16TXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-request-id": [
- "4cc6fd08-af10-470d-95f5-75a99a922b9e"
- ],
- "x-ms-correlation-request-id": [
- "4cc6fd08-af10-470d-95f5-75a99a922b9e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185725Z:4cc6fd08-af10-470d-95f5-75a99a922b9e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:25 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprNU16TXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-request-id": [
- "13144111-dcb2-44e5-8238-a45ce172466c"
- ],
- "x-ms-correlation-request-id": [
- "13144111-dcb2-44e5-8238-a45ce172466c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185740Z:13144111-dcb2-44e5-8238-a45ce172466c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:39 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzk5MzMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXprNU16TXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-request-id": [
- "9ae6ae3d-f441-469b-9417-a62c572f05a9"
- ],
- "x-ms-correlation-request-id": [
- "9ae6ae3d-f441-469b-9417-a62c572f05a9"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185740Z:9ae6ae3d-f441-469b-9417-a62c572f05a9"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:40 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "": [
- "ps9933",
- "Relay-NS2850",
- "Relay-NS2441"
- ]
- },
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.OperationsListTest/Operations.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.OperationsListTest/Operations.json
deleted file mode 100644
index 7bc19be34a72..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.OperationsListTest/Operations.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/providers/Microsoft.Relay/operations?api-version=2017-04-01",
- "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "800b32b1-730c-48d1-a7e5-435b81264777"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c3f8ba64-ca1f-4174-9e7e-7cd4f9e7cb50_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-tenant-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "b1cb9bd6-39e7-4bae-b6a9-0604edd49e2a"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185741Z:b1cb9bd6-39e7-4bae-b6a9-0604edd49e2a"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:41 GMT"
- ],
- "Content-Length": [
- "20099"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Microsoft.Relay/checkNamespaceAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Non Resource Operation\",\r\n \"operation\": \"Get namespace availability.\",\r\n \"description\": \"Checks availability of namespace under given subscription. This API is deprecated please use CheckNameAvailabiltiy instead.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/checkNameAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Non Resource Operation\",\r\n \"operation\": \"Get namespace availability.\",\r\n \"description\": \"Checks availability of namespace under given subscription.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/register/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Relay and Hybridconnection Resource Provider\",\r\n \"operation\": \"Registers the Relay Resource Provider\",\r\n \"description\": \"Registers the subscription for the Relay resource provider and enables the creation of Relay resources\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/unregister/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Relay and Hybridconnection Resource Provider\",\r\n \"operation\": \"Registers the Relay Resource Provider\",\r\n \"description\": \"Registers the subscription for the Relay resource provider and enables the creation of Relay resources\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Create Or Update Namespace \",\r\n \"description\": \"Create a Namespace Resource and Update its properties. Tags and Capacity of the Namespace are the properties which can be updated.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Get Namespace Resource\",\r\n \"description\": \"Get the list of Namespace Resource Description\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/operationresults/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Get Namespace Resource\",\r\n \"description\": \"Get the status of Namespace operation\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/Delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Delete Namespace\",\r\n \"description\": \"Delete Namespace Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Get Namespace Authorization Rules\",\r\n \"description\": \"Get the list of Namespaces Authorization Rules description.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Create or Update Namespace Authorization Rules\",\r\n \"description\": \"Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Delete Namespace Authorization Rule\",\r\n \"description\": \"Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. \"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/listkeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Get Namespace Listkeys\",\r\n \"description\": \"Get the Connection String to the Namespace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/regenerateKeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Resource Regeneratekeys\",\r\n \"description\": \"Regenerate the Primary or Secondary key to the Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/messagingPlan/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Get Messaging Plan (Deprecated)\",\r\n \"description\": \"Gets the Messaging Plan for a namespace. This API is deprecated. Properties exposed via the MessagingPlan resource are moved to the (parent) Namespace resource in later API versions.. This operation is not supported on API version 2017-04-01.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/messagingPlan/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace\",\r\n \"operation\": \"Create or Update Messaging Plan (Deprecated)\",\r\n \"description\": \"Updates the Messaging Plan for a namespace. This API is deprecated. Properties exposed via the MessagingPlan resource are moved to the (parent) Namespace resource in later API versions.. This operation is not supported on API version 2017-04-01.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/authorizationRules/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Updates Namespace Authorization Rule (Deprecated)\",\r\n \"description\": \"Updates Namespace Authorization Rule. This API is depricated. Please use a PUT call to update the Namespace Authorization Rule instead.. This operation is not supported on API version 2017-04-01.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection\",\r\n \"operation\": \"Create or Update HybridConnection\",\r\n \"description\": \"Create or Update HybridConnection properties.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection\",\r\n \"operation\": \"Get HybridConnection\",\r\n \"description\": \"Get list of HybridConnection Resource Descriptions\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/Delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection\",\r\n \"operation\": \"Delete HybridConnection\",\r\n \"description\": \"Operation to delete HybridConnection Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \" Get HybridConnection Authorization Rules\",\r\n \"description\": \" Get the list of HybridConnection Authorization Rules\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \"Create or Update HybridConnection Authorization Rule\",\r\n \"description\": \"Create HybridConnection Authorization Rules and Update its properties. The Authorization Rules Access Rights can be updated.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \"Delete HybridConnection Authorization Rules\",\r\n \"description\": \"Operation to delete HybridConnection Authorization Rules\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/listkeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \"List HybridConnection keys\",\r\n \"description\": \"Get the Connection String to HybridConnection\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/regeneratekeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \"Resource Regeneratekeys\",\r\n \"description\": \"Regenerate the Primary or Secondary key to the Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/HybridConnections/authorizationRules/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"HybridConnection AuthorizationRules\",\r\n \"operation\": \"Update HybridConnection Authorization Rules (Deprecated)\",\r\n \"description\": \"Operation to update HybridConnection. This operation is not supported on API version 2017-04-01. Authorization Rules. Please use a PUT call to update Authorization Rule.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay\",\r\n \"operation\": \"Create or Update WcfRelay\",\r\n \"description\": \"Create or Update WcfRelay properties.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay\",\r\n \"operation\": \"Get WcfRelay\",\r\n \"description\": \"Get list of WcfRelay Resource Descriptions\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/Delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay\",\r\n \"operation\": \"Delete WcfRelay\",\r\n \"description\": \"Operation to delete WcfRelay Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \" Get WcfRelay Authorization Rules\",\r\n \"description\": \" Get the list of WcfRelay Authorization Rules\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \"Create or Update WcfRelay Authorization Rule\",\r\n \"description\": \"Create WcfRelay Authorization Rules and Update its properties. The Authorization Rules Access Rights can be updated.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \"Delete WcfRelay Authorization Rules\",\r\n \"description\": \"Operation to delete WcfRelay Authorization Rules\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/listkeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \"List WcfRelay keys\",\r\n \"description\": \"Get the Connection String to WcfRelay\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/regeneratekeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \"Resource Regeneratekeys\",\r\n \"description\": \"Regenerate the Primary or Secondary key to the Resource\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/WcfRelays/authorizationRules/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"WcfRelay AuthorizationRules\",\r\n \"operation\": \"Update WcfRelay Authorization Rules (Deprecated)\",\r\n \"description\": \"Operation to update WcfRelay. This operation is not supported on API version 2017-04-01. Authorization Rules. Please use a PUT call to update Authorization Rule.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/operations/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Operations\",\r\n \"operation\": \"Get Operations\",\r\n \"description\": \"Get Operations\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/providers/Microsoft.Insights/metricDefinitions/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Namespace metrics\",\r\n \"operation\": \"Get Namespace metrics\",\r\n \"description\": \"Get list of Namespace metrics Resource Descriptions\"\r\n },\r\n \"properties\": {\r\n \"serviceSpecification\": {\r\n \"metricSpecifications\": [\r\n {\r\n \"name\": \"ListenerConnections-Success\",\r\n \"displayName\": \"ListenerConnections-Success\",\r\n \"displayDescription\": \"Successful ListenerConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ListenerConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Success\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ListenerConnections-ClientError\",\r\n \"displayName\": \"ListenerConnections-ClientError\",\r\n \"displayDescription\": \"ClientError on ListenerConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ListenerConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"ClientError\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ListenerConnections-ServerError\",\r\n \"displayName\": \"ListenerConnections-ServerError\",\r\n \"displayDescription\": \"ServerError on ListenerConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ListenerConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"InternalServerError\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"SenderConnections-Success\",\r\n \"displayName\": \"SenderConnections-Success\",\r\n \"displayDescription\": \"Successful SenderConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"SenderConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"Success\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"SenderConnections-ClientError\",\r\n \"displayName\": \"SenderConnections-ClientError\",\r\n \"displayDescription\": \"ClientError on SenderConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"SenderConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"ClientError\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"SenderConnections-ServerError\",\r\n \"displayName\": \"SenderConnections-ServerError\",\r\n \"displayDescription\": \"ServerError on SenderConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"SenderConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n },\r\n {\r\n \"name\": \"OperationResult\",\r\n \"isHidden\": true,\r\n \"defaultDimensionValues\": [\r\n {\r\n \"value\": \"InternalServerError\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ListenerConnections-TotalRequests\",\r\n \"displayName\": \"ListenerConnections-TotalRequests\",\r\n \"displayDescription\": \"Total ListenerConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ListenerConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"SenderConnections-TotalRequests\",\r\n \"displayName\": \"SenderConnections-TotalRequests\",\r\n \"displayDescription\": \"Total SenderConnections requests for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"SenderConnectionAttempts\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActiveConnections\",\r\n \"displayName\": \"ActiveConnections\",\r\n \"displayDescription\": \"Total ActiveConnections for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ActiveConnectionsCount\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ActiveListeners\",\r\n \"displayName\": \"ActiveListeners\",\r\n \"displayDescription\": \"Total ActiveListeners for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ActiveListenersCount\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"BytesTransferred\",\r\n \"displayName\": \"BytesTransferred\",\r\n \"displayDescription\": \"Total BytesTransferred for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"BytesTransferred\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"ListenerDisconnects\",\r\n \"displayName\": \"ListenerDisconnects\",\r\n \"displayDescription\": \"Total ListenerDisconnects for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"ListenerConnectionDisconnects\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n },\r\n {\r\n \"name\": \"SenderDisconnects\",\r\n \"displayName\": \"SenderDisconnects\",\r\n \"displayDescription\": \"Total SenderDisconnects for Microsoft.Relay.\",\r\n \"unit\": \"Count\",\r\n \"aggregationType\": \"Total\",\r\n \"internalMetricName\": \"SenderConnectionDisconnects\",\r\n \"isDimensionRequired\": false,\r\n \"sourceMdmAccount\": \"servicebus\",\r\n \"sourceMdmNamespace\": \"OperationQoSMetrics\",\r\n \"availabilities\": [\r\n {\r\n \"timeGrain\": \"PT1M\",\r\n \"blobDuration\": \"P30D\"\r\n }\r\n ],\r\n \"dimensions\": [\r\n {\r\n \"name\": \"EntityName\"\r\n }\r\n ],\r\n \"fillGapWithZero\": true\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterrecoveryconfigs/checkNameAvailability/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Non Resource Operation\",\r\n \"operation\": \"Get alias availability.\",\r\n \"description\": \"Checks availability of namespace alias under given subscription.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/write\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"DisasterRecoveryConfigurations\",\r\n \"operation\": \"Create or Update Disaster Recovery configuration.\",\r\n \"description\": \"Creates or Updates the Disaster Recovery configuration associated with the namespace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"DisasterRecoveryConfigurations\",\r\n \"operation\": \"Get Disaster Recovery configuration\",\r\n \"description\": \"Gets the Disaster Recovery configuration associated with the namespace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/delete\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"DisasterRecoveryConfigurations\",\r\n \"operation\": \"Delete Disaster Recovery configuration\",\r\n \"description\": \"Deletes the Disaster Recovery configuration associated with the namespace. This operation can only be invoked via the primary namespace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/breakPairing/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"DisasterRecoveryConfigurations\",\r\n \"operation\": \"Break Pairing\",\r\n \"description\": \"Disables Disaster Recovery and stops replicating changes from primary to secondary namespaces.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/failover/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"DisasterRecoveryConfigurations\",\r\n \"operation\": \"Failover\",\r\n \"description\": \"Invokes a GEO DR failover and reconfigures the namespace alias to point to the secondary namespace.\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/authorizationRules/read\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Get Disaster Recovery Primary Namespace's Authorization Rules\",\r\n \"description\": \"Get Disaster Recovery Primary Namespace's Authorization Rules\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/disasterRecoveryConfigs/authorizationRules/listkeys/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"AuthorizationRules\",\r\n \"operation\": \"Gets the authorization rules keys for the Disaster Recovery primary namespace\",\r\n \"description\": \"Gets the authorization rules keys for the Disaster Recovery primary namespace\"\r\n }\r\n },\r\n {\r\n \"name\": \"Microsoft.Relay/namespaces/removeAcsNamepsace/action\",\r\n \"display\": {\r\n \"provider\": \"Microsoft Azure Relay\",\r\n \"resource\": \"Remove ACS namespace\",\r\n \"operation\": \"Remove ACS namespace\",\r\n \"description\": \"Remove ACS namespace\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}",
- "StatusCode": 200
- }
- ],
- "Names": {},
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayAuthorizationRulesTests/RelayAuthorizationRulesTestsCRUD.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayAuthorizationRulesTests/RelayAuthorizationRulesTestsCRUD.json
deleted file mode 100644
index 8e9991dc7a0c..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayAuthorizationRulesTests/RelayAuthorizationRulesTestsCRUD.json
+++ /dev/null
@@ -1,3033 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps1023?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzMTAyMz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "8b072b41-fabc-49a3-bc4d-1a70d7b9afa8"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "5267d685-f38d-406b-ab5c-839b50fb0a8e"
- ],
- "x-ms-correlation-request-id": [
- "5267d685-f38d-406b-ab5c-839b50fb0a8e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011842Z:5267d685-f38d-406b-ab5c-839b50fb0a8e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:18:42 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023\",\r\n \"name\": \"ps1023\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "c5491f5c-bdac-4751-8147-cc6a22b99325"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c24f3c7b-99d0-4b46-bab9-4672b8b36dc6_M0CH3_M0CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "e4c4014a-07b3-4564-b77f-8e01b5cf90be"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011844Z:e4c4014a-07b3-4564-b77f-8e01b5cf90be"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:18:43 GMT"
- ],
- "Content-Length": [
- "539"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938\",\r\n \"name\": \"Relay-NS938\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns938\",\r\n \"createdAt\": \"2018-11-10T01:18:43.49Z\",\r\n \"updatedAt\": \"2018-11-10T01:18:43.49Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS938.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ce0ccd6d-2952-4bf3-9cc3-9d6e7c3c7cf9_M0CH3_M0CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "ba961304-d99b-4d85-8829-11647c8c8de6"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011914Z:ba961304-d99b-4d85-8829-11647c8c8de6"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:14 GMT"
- ],
- "Content-Length": [
- "538"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938\",\r\n \"name\": \"Relay-NS938\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns938\",\r\n \"createdAt\": \"2018-11-10T01:18:43.49Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:08.187Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS938.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e75b282c-a863-4019-9ba8-f9377a1a483b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "dcee6a9e-f387-4e8f-8e8d-4cf4fc646965_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "ab6f6aa4-2042-4f11-9025-e35c3e2db602"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011929Z:ab6f6aa4-2042-4f11-9025-e35c3e2db602"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:28 GMT"
- ],
- "Content-Length": [
- "538"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938\",\r\n \"name\": \"Relay-NS938\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns938\",\r\n \"createdAt\": \"2018-11-10T01:18:43.49Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:08.187Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS938.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"relayType\": \"NetTcp\",\r\n \"requiresClientAuthorization\": true,\r\n \"requiresTransportSecurity\": true,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "60e393de-8723-4cb7-b892-1f67052ad65d"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "415"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a631dcb2-0e24-4092-b6c0-b1effa447b42_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "0f8684fc-7040-49f2-b74a-f2832d031646"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011932Z:0f8684fc-7040-49f2-b74a-f2832d031646"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:31 GMT"
- ],
- "Content-Length": [
- "744"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199\",\r\n \"name\": \"Relay-WcfR3199\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-10T01:19:31.8335988Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:31.8335988Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "d90bbd6c-b223-43ce-ac3d-5d8c3fa220a7"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "30033b0f-fa58-4885-ae80-fe368b12a6b1_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-correlation-request-id": [
- "ef2a48b5-2bf2-4eb4-8d79-376191c1ac84"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011932Z:ef2a48b5-2bf2-4eb4-8d79-376191c1ac84"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:31 GMT"
- ],
- "Content-Length": [
- "744"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199\",\r\n \"name\": \"Relay-WcfR3199\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-10T01:19:31.8335988Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:31.8335988Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f2f5fb8d-2fc3-447e-8cbc-43b77306bcf6"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "108"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "ec342629-e86d-4fed-941b-5c8e65274365_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "afd0ab07-a057-4532-bcdc-53da8b07946c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011935Z:afd0ab07-a057-4532-bcdc-53da8b07946c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:34 GMT"
- ],
- "Content-Length": [
- "457"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361\",\r\n \"name\": \"Relay-HybrdCon8361\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-10T01:19:34.6746086Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:34.6746086Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "cc204781-8a79-47b5-b7ca-28d163ee9212"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3b03b84f-2658-4d36-b5c2-0d1a385ce736_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "352e5cbf-f2e0-4bf3-91f2-f8b43c91a170"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011935Z:352e5cbf-f2e0-4bf3-91f2-f8b43c91a170"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:34 GMT"
- ],
- "Content-Length": [
- "457"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361\",\r\n \"name\": \"Relay-HybrdCon8361\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-10T01:19:34.6746086Z\",\r\n \"updatedAt\": \"2018-11-10T01:19:34.6746086Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "da8f978e-56cf-4fff-996f-8ac14986a5e9"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "66"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c515659e-14e3-4b07-884f-3cf6c740334d_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "81857ba2-38f0-4b37-9851-db8c7f2a1c0b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T011952Z:81857ba2-38f0-4b37-9851-db8c7f2a1c0b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:19:52 GMT"
- ],
- "Content-Length": [
- "267"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\",\r\n \"Listen\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "0a5f4a54-38d9-41fc-9303-1c9b54f608fc"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "83"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "47c02276-9117-4046-8f23-3451cab6be7b_M6CH3_M6CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
- ],
- "x-ms-correlation-request-id": [
- "84376dd9-f8a5-4b0b-9e68-e904c10bd9f6"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012024Z:84376dd9-f8a5-4b0b-9e68-e904c10bd9f6"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:23 GMT"
- ],
- "Content-Length": [
- "276"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\",\r\n \"Listen\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Manage\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b4e25865-af23-41c1-80f6-bfddf2330f01"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "100"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2f8c9696-1276-4c36-9ace-104778bf70ac_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
- ],
- "x-ms-correlation-request-id": [
- "8bb28189-d429-433d-a723-be3665f91274"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012114Z:8bb28189-d429-433d-a723-be3665f91274"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:21:14 GMT"
- ],
- "Content-Length": [
- "285"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Manage\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "be107c07-9f64-4bdf-814e-0b2a70e3726e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f8f083ba-0071-4b48-ad51-79fca84c3833_M5CH3_M5CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-correlation-request-id": [
- "a0418c73-d5f9-4990-9f47-3d921c1713a5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012008Z:a0418c73-d5f9-4990-9f47-3d921c1713a5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:07 GMT"
- ],
- "Content-Length": [
- "267"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b52893d7-6c0d-42dc-be30-d8841e50271a"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "aa074347-2cc8-4a52-bca4-50eb90b411a5_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-correlation-request-id": [
- "4b6ec657-fcbd-409b-ac86-497ffe293a86"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012040Z:4b6ec657-fcbd-409b-ac86-497ffe293a86"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:39 GMT"
- ],
- "Content-Length": [
- "276"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\",\r\n \"Listen\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "021b341a-1447-4515-9b41-91c803e0ae20"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "19329826-2ed1-4531-9a15-989ea7453cc7_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11990"
- ],
- "x-ms-correlation-request-id": [
- "5ec56f03-669e-408c-b713-55580eca0477"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012130Z:5ec56f03-669e-408c-b713-55580eca0477"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:21:29 GMT"
- ],
- "Content-Length": [
- "285"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Manage\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7faa4d22-1e39-47a0-b991-448a1a7e4ad7"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "83"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "bfeb8036-d4c3-47f1-83a2-e0758f4b942f_M2CH3_M2CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-correlation-request-id": [
- "e83b55c0-cddf-453e-9969-902d10f8531c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012040Z:e83b55c0-cddf-453e-9969-902d10f8531c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:40 GMT"
- ],
- "Content-Length": [
- "348"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531\",\r\n \"name\": \"WcfR-AuthoRule531\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7004db94-873a-4134-9a5b-30bde914a632"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "100"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9a26a617-dc04-4f1d-93cf-69145cb05d99_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1191"
- ],
- "x-ms-correlation-request-id": [
- "f27642d0-9330-4525-8758-19a40b7f63ce"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012131Z:f27642d0-9330-4525-8758-19a40b7f63ce"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:21:30 GMT"
- ],
- "Content-Length": [
- "357"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531\",\r\n \"name\": \"WcfR-AuthoRule531\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "494d6547-c9ea-42ed-a709-a5a0990ff0a0"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "83"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6c16a71f-fd04-4818-a7f6-aecce87991cf_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-correlation-request-id": [
- "e683e835-3abf-422c-bef7-a4f3d2e8fd23"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012056Z:e683e835-3abf-422c-bef7-a4f3d2e8fd23"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:56 GMT"
- ],
- "Content-Length": [
- "378"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973\",\r\n \"name\": \"HybrdCon-AuthoRule6973\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "ad2306f5-85f2-4633-9762-4ef3a1a35aeb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "100"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "def225d5-f0e7-401b-8c37-46b0a8158d65_M0CH3_M0CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
- ],
- "x-ms-correlation-request-id": [
- "2560fa05-3772-4048-8644-76055499a4f1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012147Z:2560fa05-3772-4048-8644-76055499a4f1"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:21:46 GMT"
- ],
- "Content-Length": [
- "387"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973\",\r\n \"name\": \"HybrdCon-AuthoRule6973\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "debcab5d-eebc-45bb-99be-2b2903000483"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "49193a5d-e2c6-4c9c-857a-70a511942fa4_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-correlation-request-id": [
- "14697b7f-598e-44ab-94bd-2eaa10f64e4b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012057Z:14697b7f-598e-44ab-94bd-2eaa10f64e4b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:57 GMT"
- ],
- "Content-Length": [
- "582"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/RootManageSharedAccessKey\",\r\n \"name\": \"RootManageSharedAccessKey\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Manage\",\r\n \"Send\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718\",\r\n \"name\": \"Relay-NSAuthoRule7718\",\r\n \"type\": \"\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\",\r\n \"Listen\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "03e5598b-0b7b-45ed-89ae-1f8bf4423e89"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "df1a6c3d-440f-4c44-baa8-3318b2da4196_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "05e01513-7af3-41a7-afd4-297825578b6c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012057Z:05e01513-7af3-41a7-afd4-297825578b6c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:57 GMT"
- ],
- "Content-Length": [
- "360"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531\",\r\n \"name\": \"WcfR-AuthoRule531\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "bfc6c8ce-4bbc-475d-b924-51825fbeb484"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "0fa523a5-b870-46f7-94a6-b56cd7fd6fc5_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
- ],
- "x-ms-correlation-request-id": [
- "0cd02847-6ac2-4492-aa72-289c04324718"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012058Z:0cd02847-6ac2-4492-aa72-289c04324718"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:20:58 GMT"
- ],
- "Content-Length": [
- "390"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973\",\r\n \"name\": \"HybrdCon-AuthoRule6973\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b7496d91-47b8-4724-8b6e-da06e223500f"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2aad188a-3b0b-46d6-8655-1c123e407917_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11989"
- ],
- "x-ms-correlation-request-id": [
- "6c4c359c-ee4d-4ef4-93fc-6d616aba6d8d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012146Z:6c4c359c-ee4d-4ef4-93fc-6d616aba6d8d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:21:45 GMT"
- ],
- "Content-Length": [
- "357"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531\",\r\n \"name\": \"WcfR-AuthoRule531\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "927c4f94-80b1-4781-9ee2-1d041fe4af2e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "cad78195-756f-4ad1-a293-ba55a0b6d0a1_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11988"
- ],
- "x-ms-correlation-request-id": [
- "55b80b34-7ef7-436b-9105-43a8f7ca9037"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012203Z:55b80b34-7ef7-436b-9105-43a8f7ca9037"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:03 GMT"
- ],
- "Content-Length": [
- "387"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973\",\r\n \"name\": \"HybrdCon-AuthoRule6973\",\r\n \"type\": \"Microsoft.Relay/Namespaces/HybridConnections/AuthorizationRules\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"rights\": [\r\n \"Listen\",\r\n \"Send\",\r\n \"Manage\"\r\n ]\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718/listKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOC9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "277961b8-1270-43b1-96ab-94f455d049ac"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "052c6a09-5cb3-40e3-8314-8f3187a29389_M1CH3_M1CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1189"
- ],
- "x-ms-correlation-request-id": [
- "9b006767-e71c-4235-9f88-3a442500bc8e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012204Z:9b006767-e71c-4235-9f88-3a442500bc8e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:04 GMT"
- ],
- "Content-Length": [
- "521"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=BXY3ah8HElQvVbtiwnfFZLMjaNG1go/4uMiVZvidCbc=\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=Ad6sSeCKhQ/Exqy3iuauxvVwfMHoqIt9+Oh+jskLNzc=\",\r\n \"primaryKey\": \"BXY3ah8HElQvVbtiwnfFZLMjaNG1go/4uMiVZvidCbc=\",\r\n \"secondaryKey\": \"Ad6sSeCKhQ/Exqy3iuauxvVwfMHoqIt9+Oh+jskLNzc=\",\r\n \"keyName\": \"Relay-NSAuthoRule7718\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOC9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"PrimaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "130d61a1-08d2-443c-963f-1808ff24524e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "89"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f97b19a6-7b4d-4383-924d-aa418b78f6a5_M1CH3_M1CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1188"
- ],
- "x-ms-correlation-request-id": [
- "f6d1c4ee-eed4-4701-a1b3-b61c53589100"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012221Z:f6d1c4ee-eed4-4701-a1b3-b61c53589100"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:21 GMT"
- ],
- "Content-Length": [
- "521"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=Ad6sSeCKhQ/Exqy3iuauxvVwfMHoqIt9+Oh+jskLNzc=\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"Ad6sSeCKhQ/Exqy3iuauxvVwfMHoqIt9+Oh+jskLNzc=\",\r\n \"keyName\": \"Relay-NSAuthoRule7718\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOC9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"SecondaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "29f1b52a-5bd4-407a-97f7-01aee96c192c"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "91"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "64fe96eb-b648-49cd-ac6e-8668e027cbf3_M1CH3_M1CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1187"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-correlation-request-id": [
- "2e2dc8d9-6c8f-423f-9e8f-a45c699455d0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012238Z:2e2dc8d9-6c8f-423f-9e8f-a45c699455d0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:37 GMT"
- ],
- "Content-Length": [
- "521"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=Relay-NSAuthoRule7718;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"keyName\": \"Relay-NSAuthoRule7718\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531/listKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "4aefac08-c4ff-4a6d-97fd-4a5dea2eb3d5"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "dd22985b-a4b2-4b66-a2f8-15d54b46ca6b_M5CH3_M5CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1186"
- ],
- "x-ms-correlation-request-id": [
- "1cfd68f9-3821-47d9-a441-ec585b9e8767"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012238Z:1cfd68f9-3821-47d9-a441-ec585b9e8767"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:37 GMT"
- ],
- "Content-Length": [
- "561"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=VpSz4iCZBhtBtuJhq1E4dJo0hch+7FsncA3SNbFCtiI=;EntityPath=Relay-WcfR3199\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=u0HMwI5NT9jTJSOOEmQ0QCsfNuToplSCesCESfbILNk=;EntityPath=Relay-WcfR3199\",\r\n \"primaryKey\": \"VpSz4iCZBhtBtuJhq1E4dJo0hch+7FsncA3SNbFCtiI=\",\r\n \"secondaryKey\": \"u0HMwI5NT9jTJSOOEmQ0QCsfNuToplSCesCESfbILNk=\",\r\n \"keyName\": \"WcfR-AuthoRule531\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMS9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"PrimaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "d7298b80-c4a7-4625-b4f1-d0108f15486d"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "89"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "804fc053-b359-442f-8eca-0ad46a9410c2_M5CH3_M5CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1185"
- ],
- "x-ms-correlation-request-id": [
- "791e09c0-2279-4e36-868c-dc5a53b1eb90"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012239Z:791e09c0-2279-4e36-868c-dc5a53b1eb90"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:38 GMT"
- ],
- "Content-Length": [
- "561"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-WcfR3199\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=u0HMwI5NT9jTJSOOEmQ0QCsfNuToplSCesCESfbILNk=;EntityPath=Relay-WcfR3199\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"u0HMwI5NT9jTJSOOEmQ0QCsfNuToplSCesCESfbILNk=\",\r\n \"keyName\": \"WcfR-AuthoRule531\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMS9yZWdlbmVyYXRlS2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"SecondaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "3fadee59-7f71-4f98-b81c-9bc164be1917"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "91"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "0ecbf880-845b-4142-bd35-c8e3ad518c94_M5CH3_M5CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1184"
- ],
- "x-ms-correlation-request-id": [
- "88098f9f-7143-477e-a076-10ba9fff0b81"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012240Z:88098f9f-7143-477e-a076-10ba9fff0b81"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:39 GMT"
- ],
- "Content-Length": [
- "561"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-WcfR3199\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=WcfR-AuthoRule531;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-WcfR3199\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"keyName\": \"WcfR-AuthoRule531\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973/listKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LUh5YnJkQ29uODM2MS9hdXRob3JpemF0aW9uUnVsZXMvSHlicmRDb24tQXV0aG9SdWxlNjk3My9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "POST",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e383a47a-3256-4c97-988d-6e0f45bae9ae"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "64eedb23-5c8e-4c08-8ea3-00c09f1c8166_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1183"
- ],
- "x-ms-correlation-request-id": [
- "d60f8324-5ef5-4c82-ae3f-492771ae3c5a"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012240Z:d60f8324-5ef5-4c82-ae3f-492771ae3c5a"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:39 GMT"
- ],
- "Content-Length": [
- "584"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=2CC+15kQAhamnGWxfzVb2uAYqBKD8FaeH6Pbzi5EzQE=;EntityPath=Relay-HybrdCon8361\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=0feeFUj7tqc3Jqmp7oc3QbQeQoKNEljLhQoZiGoKAXA=;EntityPath=Relay-HybrdCon8361\",\r\n \"primaryKey\": \"2CC+15kQAhamnGWxfzVb2uAYqBKD8FaeH6Pbzi5EzQE=\",\r\n \"secondaryKey\": \"0feeFUj7tqc3Jqmp7oc3QbQeQoKNEljLhQoZiGoKAXA=\",\r\n \"keyName\": \"HybrdCon-AuthoRule6973\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczL3JlZ2VuZXJhdGVLZXlzP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"PrimaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "76d634da-af60-4e8d-badd-5dbaa2a2175c"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "89"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7df0f559-1c1d-4702-9a6e-2dd4d0416492_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1182"
- ],
- "x-ms-correlation-request-id": [
- "c74e6fc2-3b44-40ef-b3c4-4cc01dec7a42"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012241Z:c74e6fc2-3b44-40ef-b3c4-4cc01dec7a42"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:40 GMT"
- ],
- "Content-Length": [
- "584"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-HybrdCon8361\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=0feeFUj7tqc3Jqmp7oc3QbQeQoKNEljLhQoZiGoKAXA=;EntityPath=Relay-HybrdCon8361\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"0feeFUj7tqc3Jqmp7oc3QbQeQoKNEljLhQoZiGoKAXA=\",\r\n \"keyName\": \"HybrdCon-AuthoRule6973\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973/regenerateKeys?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczL3JlZ2VuZXJhdGVLZXlzP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"keyType\": \"SecondaryKey\",\r\n \"key\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "2a547062-ab71-48d1-843e-fff63eba32fb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "91"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "0f3fb9ed-4e6d-4443-9616-c7e0c1d45d99_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1181"
- ],
- "x-ms-correlation-request-id": [
- "2b148f99-2f11-4780-8229-b5152de47e90"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012241Z:2b148f99-2f11-4780-8229-b5152de47e90"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:41 GMT"
- ],
- "Content-Length": [
- "584"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-HybrdCon8361\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://relay-ns938.servicebus.windows.net/;SharedAccessKeyName=HybrdCon-AuthoRule6973;SharedAccessKey=YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=;EntityPath=Relay-HybrdCon8361\",\r\n \"primaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"secondaryKey\": \"YskcXxK7Jk0qeOPlISv8J/JFHU5pGFfxI4p0W1voKIc=\",\r\n \"keyName\": \"HybrdCon-AuthoRule6973\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/authorizationRules/Relay-NSAuthoRule7718?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvYXV0aG9yaXphdGlvblJ1bGVzL1JlbGF5LU5TQXV0aG9SdWxlNzcxOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "41b54963-4ba4-490c-bc3d-b37407c9cf29"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a76341d6-4c20-46b7-919a-1e7bb75dc581_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "6115d6d7-cb99-4800-a65d-b1bfeea4ca9b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012258Z:6115d6d7-cb99-4800-a65d-b1bfeea4ca9b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:58 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199/authorizationRules/WcfR-AuthoRule531?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5L2F1dGhvcml6YXRpb25SdWxlcy9XY2ZSLUF1dGhvUnVsZTUzMT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e5e828ef-42c9-4186-be48-3ccf333d80e7"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "bad321e7-948f-41ca-8e11-0005035a05f6_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-correlation-request-id": [
- "635a3cbd-858e-4ded-8753-a30148a6f8b8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012259Z:635a3cbd-858e-4ded-8753-a30148a6f8b8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:59 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361/authorizationRules/HybrdCon-AuthoRule6973?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxL2F1dGhvcml6YXRpb25SdWxlcy9IeWJyZENvbi1BdXRob1J1bGU2OTczP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "666d3a43-a58c-4484-8dee-87ed15a78cc3"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d4024b85-495d-4769-a2c5-f5548b4139a2_M6CH3_M6CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14997"
- ],
- "x-ms-correlation-request-id": [
- "5523a3b1-56c3-4d5d-8e85-69a9a2c74f87"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012300Z:5523a3b1-56c3-4d5d-8e85-69a9a2c74f87"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:22:59 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/hybridConnections/Relay-HybrdCon8361?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5MzgvaHlicmlkQ29ubmVjdGlvbnMvUmVsYXktSHlicmRDb244MzYxP2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "4d7c5d81-a0e9-48ec-9c6b-ec73c3f09cff"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "1ecd4931-30d7-4958-b679-36f64caaf315_M6CH3_M6CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14996"
- ],
- "x-ms-correlation-request-id": [
- "42ae166b-9563-4e9b-9982-c57fb3902f1b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012301Z:42ae166b-9563-4e9b-9982-c57fb3902f1b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:00 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/wcfRelays/Relay-WcfR3199?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvd2NmUmVsYXlzL1JlbGF5LVdjZlIzMTk5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "33580c5a-9280-4aec-a1e2-6528bf4156da"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "11051a0e-8931-4e4d-b7a1-a19af8030ed6_M6CH3_M6CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14995"
- ],
- "x-ms-correlation-request-id": [
- "7e118e09-0977-41fa-a4a5-030eff07adb8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012301Z:7e118e09-0977-41fa-a4a5-030eff07adb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:01 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f8eb2202-8846-4e09-a712-59a9a745dd8e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f0852071-7a1c-4e94-ba4b-dd594470b70a_M2CH3_M2CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/operationresults/Relay-NS938?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14994"
- ],
- "x-ms-correlation-request-id": [
- "e4a13bfb-aef7-4d67-af3a-cbcf967051d1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012302Z:e4a13bfb-aef7-4d67-af3a-cbcf967051d1"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:02 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/operationresults/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvb3BlcmF0aW9ucmVzdWx0cy9SZWxheS1OUzkzOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "a3f1a503-333c-4031-802f-a6e9dde88c39_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11987"
- ],
- "x-ms-correlation-request-id": [
- "6a435912-e8ec-4964-8db9-1321c9d4de08"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012332Z:6a435912-e8ec-4964-8db9-1321c9d4de08"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:32 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps1023/providers/Microsoft.Relay/namespaces/Relay-NS938/operationresults/Relay-NS938?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzMTAyMy9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM5Mzgvb3BlcmF0aW9ucmVzdWx0cy9SZWxheS1OUzkzOD9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b8a42e71-5e2e-431c-8095-09b9b36b8d3e_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11986"
- ],
- "x-ms-correlation-request-id": [
- "de1e085d-377f-48c4-9563-2072eda09ed2"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012333Z:de1e085d-377f-48c4-9563-2072eda09ed2"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:32 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps1023?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzMTAyMz9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "cbeff0ab-2d84-4f2f-852a-8b661003c599"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "699b5f62-7953-43ca-bd89-a43e50f58ebe"
- ],
- "x-ms-correlation-request-id": [
- "699b5f62-7953-43ca-bd89-a43e50f58ebe"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012333Z:699b5f62-7953-43ca-bd89-a43e50f58ebe"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:33 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd01qTXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-request-id": [
- "d836f004-97b7-4307-8abd-5c271d10e135"
- ],
- "x-ms-correlation-request-id": [
- "d836f004-97b7-4307-8abd-5c271d10e135"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012348Z:d836f004-97b7-4307-8abd-5c271d10e135"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:23:47 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd01qTXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-request-id": [
- "f7c657b8-ad7c-4c62-937b-ba3077ac494c"
- ],
- "x-ms-correlation-request-id": [
- "f7c657b8-ad7c-4c62-937b-ba3077ac494c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012403Z:f7c657b8-ad7c-4c62-937b-ba3077ac494c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:24:03 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd01qTXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-request-id": [
- "97f3678d-3a3e-43d2-9a57-7790afbe3962"
- ],
- "x-ms-correlation-request-id": [
- "97f3678d-3a3e-43d2-9a57-7790afbe3962"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012418Z:97f3678d-3a3e-43d2-9a57-7790afbe3962"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:24:18 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzEwMjMtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpFd01qTXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-request-id": [
- "8b2f9c94-3761-4e6d-b5ac-0b1ccd9f8a62"
- ],
- "x-ms-correlation-request-id": [
- "8b2f9c94-3761-4e6d-b5ac-0b1ccd9f8a62"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181110T012419Z:8b2f9c94-3761-4e6d-b5ac-0b1ccd9f8a62"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Sat, 10 Nov 2018 01:24:18 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "": [
- "ps1023",
- "Relay-NS938",
- "Relay-WcfR3199",
- "Relay-HybrdCon8361",
- "Relay-NSAuthoRule7718",
- "WcfR-AuthoRule531",
- "HybrdCon-AuthoRule6973"
- ]
- },
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayNamespaceTests/RelayNamespaceCRUD.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayNamespaceTests/RelayNamespaceCRUD.json
deleted file mode 100644
index 90cf28fc4e8c..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.RelayNamespaceTests/RelayNamespaceCRUD.json
+++ /dev/null
@@ -1,1261 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps5772?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNTc3Mj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "5d381d7a-9a27-4d05-aa8f-478d75089706"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "4fa126a4-92f8-4ed3-950b-83988b8326f0"
- ],
- "x-ms-correlation-request-id": [
- "4fa126a4-92f8-4ed3-950b-83988b8326f0"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190528Z:4fa126a4-92f8-4ed3-950b-83988b8326f0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:05:27 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772\",\r\n \"name\": \"ps5772\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps676?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNjc2P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f8e24ef1-aee9-4f84-ad59-25c2982cf35e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "3292b470-d73f-43fb-a60f-cd4d05dfc064"
- ],
- "x-ms-correlation-request-id": [
- "3292b470-d73f-43fb-a60f-cd4d05dfc064"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190528Z:3292b470-d73f-43fb-a60f-cd4d05dfc064"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:05:27 GMT"
- ],
- "Content-Length": [
- "163"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676\",\r\n \"name\": \"ps676\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e3258207-5642-44dc-a170-774034a72e60"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "2d7cea28-43e1-4cc1-9ddb-b615fd9e9bc4_M9CH3_M9CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "022ab20a-c326-4425-8ecb-6eb16974896c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190530Z:022ab20a-c326-4425-8ecb-6eb16974896c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:05:29 GMT"
- ],
- "Content-Length": [
- "545"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705\",\r\n \"name\": \"Relay-NS3705\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns3705\",\r\n \"createdAt\": \"2018-11-09T19:05:29.643Z\",\r\n \"updatedAt\": \"2018-11-09T19:05:29.643Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS3705.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e2cf7ac7-f0b1-48cb-a1bf-9431605195af_M9CH3_M9CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "662d2387-ecf2-46d2-a4f4-fb5bd777f73c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190600Z:662d2387-ecf2-46d2-a4f4-fb5bd777f73c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:05:59 GMT"
- ],
- "Content-Length": [
- "543"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705\",\r\n \"name\": \"Relay-NS3705\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns3705\",\r\n \"createdAt\": \"2018-11-09T19:05:29.643Z\",\r\n \"updatedAt\": \"2018-11-09T19:05:51.927Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS3705.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "bc834b58-120d-49d2-97d5-07df86a3755f"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4b810bb0-5927-4dbb-a7d8-e3d7c2279c07_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "67dc7007-4979-48bd-a3c7-247344f6c1b3"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190702Z:67dc7007-4979-48bd-a3c7-247344f6c1b3"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:01 GMT"
- ],
- "Content-Length": [
- "543"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705\",\r\n \"name\": \"Relay-NS3705\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns3705\",\r\n \"createdAt\": \"2018-11-09T19:05:29.643Z\",\r\n \"updatedAt\": \"2018-11-09T19:05:51.927Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS3705.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy9SZWxheS1OUzI5OTg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "0a0d0b6c-651a-474d-8ab3-1aa0ee440a1c"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9cc95238-302b-4359-920d-1c2134ea58a4_M9CH3_M9CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "ad313f00-9c4d-45b4-915c-732e5d7b1dfd"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190616Z:ad313f00-9c4d-45b4-915c-732e5d7b1dfd"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:06:16 GMT"
- ],
- "Content-Length": [
- "544"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998\",\r\n \"name\": \"Relay-NS2998\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2998\",\r\n \"createdAt\": \"2018-11-09T19:06:15.927Z\",\r\n \"updatedAt\": \"2018-11-09T19:06:15.927Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2998.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy9SZWxheS1OUzI5OTg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "047bd6ee-76c0-4449-b768-e8eb13361623_M2CH3_M2CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "993ff6ef-8b61-4d2e-aaf4-b9e33275e451"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190646Z:993ff6ef-8b61-4d2e-aaf4-b9e33275e451"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:06:46 GMT"
- ],
- "Content-Length": [
- "541"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998\",\r\n \"name\": \"Relay-NS2998\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2998\",\r\n \"createdAt\": \"2018-11-09T19:06:15.927Z\",\r\n \"updatedAt\": \"2018-11-09T19:06:38.42Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2998.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7bad5713-6959-4a10-9286-4b7fddbb1be4"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "73e6d776-a750-43ba-8036-a8b4f774ff8f_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "20b7a822-3121-4f60-b35c-df37c4a3a5ac"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190702Z:20b7a822-3121-4f60-b35c-df37c4a3a5ac"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:01 GMT"
- ],
- "Content-Length": [
- "553"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998\",\r\n \"name\": \"Relay-NS2998\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2998\",\r\n \"createdAt\": \"2018-11-09T19:06:15.927Z\",\r\n \"updatedAt\": \"2018-11-09T19:06:38.42Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2998.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/providers/Microsoft.Relay/namespaces?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "bfb2f427-fce6-4cdd-9d0d-b7c2d9fa353e"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "d5bfb2ec-8f8b-496e-8839-4b3151f2adac_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-correlation-request-id": [
- "99616117-5b33-41da-912a-34cecaf944ce"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190702Z:99616117-5b33-41da-912a-34cecaf944ce"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:01 GMT"
- ],
- "Content-Length": [
- "14931"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/test-service-bus-brian-liu/providers/Microsoft.Relay/namespaces/relaySample181106162759\",\r\n \"name\": \"relaySample181106162759\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relaysample181106162759\",\r\n \"createdAt\": \"2018-11-07T00:28:46.153Z\",\r\n \"updatedAt\": \"2018-11-07T00:29:09.03Z\",\r\n \"serviceBusEndpoint\": \"https://relaySample181106162759.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/cvtest29/providers/Microsoft.Relay/namespaces/cvtest29i\",\r\n \"name\": \"cvtest29i\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:cvtest29i\",\r\n \"createdAt\": \"2018-07-09T11:12:42.69Z\",\r\n \"updatedAt\": \"2018-07-09T11:13:07.813Z\",\r\n \"serviceBusEndpoint\": \"https://cvtest29i.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/cvtest29/providers/Microsoft.Relay/namespaces/cvtest29k\",\r\n \"name\": \"cvtest29k\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:cvtest29k\",\r\n \"createdAt\": \"2018-07-09T11:31:39.27Z\",\r\n \"updatedAt\": \"2018-07-09T11:32:02.65Z\",\r\n \"serviceBusEndpoint\": \"https://cvtest29k.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/dstucki-rg-eastasia/providers/Microsoft.Relay/namespaces/dstucki-relay-eastasia\",\r\n \"name\": \"dstucki-relay-eastasia\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"East Asia\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:dstucki-relay-eastasia\",\r\n \"createdAt\": \"2018-08-15T01:09:37.59Z\",\r\n \"updatedAt\": \"2018-08-15T01:10:03.457Z\",\r\n \"serviceBusEndpoint\": \"https://dstucki-relay-eastasia.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/cvtest29/providers/Microsoft.Relay/namespaces/cvtest29j\",\r\n \"name\": \"cvtest29j\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:cvtest29j\",\r\n \"createdAt\": \"2018-07-09T11:20:44.983Z\",\r\n \"updatedAt\": \"2018-07-09T11:28:40.757Z\",\r\n \"serviceBusEndpoint\": \"https://cvtest29j.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705\",\r\n \"name\": \"Relay-NS3705\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns3705\",\r\n \"createdAt\": \"2018-11-09T19:05:29.643Z\",\r\n \"updatedAt\": \"2018-11-09T19:05:51.927Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS3705.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ARM-ManagementClient-Testing-RG/providers/Microsoft.Relay/namespaces/relay-brazil\",\r\n \"name\": \"relay-brazil\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-brazil\",\r\n \"createdAt\": \"2017-07-13T02:28:53.723Z\",\r\n \"updatedAt\": \"2017-08-15T23:49:19.28Z\",\r\n \"serviceBusEndpoint\": \"https://relay-brazil.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/relayrg/providers/Microsoft.Relay/namespaces/cesarmeuswestcentral\",\r\n \"name\": \"cesarmeuswestcentral\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:cesarmeuswestcentral\",\r\n \"createdAt\": \"2016-09-28T00:27:30.343Z\",\r\n \"updatedAt\": \"2017-06-28T01:02:52.997Z\",\r\n \"serviceBusEndpoint\": \"https://cesarmeuswestcentral.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ardsouza-resourcemovetest-group2/providers/Microsoft.Relay/namespaces/ardsouza-5-11-movetest-relay\",\r\n \"name\": \"ardsouza-5-11-movetest-relay\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:ardsouza-5-11-movetest-relay\",\r\n \"createdAt\": \"2017-05-11T23:06:38.667Z\",\r\n \"updatedAt\": \"2017-08-25T02:20:54.203Z\",\r\n \"serviceBusEndpoint\": \"https://ardsouza-5-11-movetest-relay.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/test-vnet-bailiu/providers/Microsoft.Relay/namespaces/bailiu-test-relay\",\r\n \"name\": \"bailiu-test-relay\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:bailiu-test-relay\",\r\n \"createdAt\": \"2018-10-08T22:12:41.663Z\",\r\n \"updatedAt\": \"2018-10-08T22:13:05.6Z\",\r\n \"serviceBusEndpoint\": \"https://bailiu-test-relay.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/testvinsusouthcentral/providers/Microsoft.Relay/namespaces/testvinsurelay815\",\r\n \"name\": \"testvinsurelay815\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"South Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:testvinsurelay815\",\r\n \"createdAt\": \"2018-08-15T23:12:03.507Z\",\r\n \"updatedAt\": \"2018-08-15T23:12:26.83Z\",\r\n \"serviceBusEndpoint\": \"https://testvinsurelay815.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/RelayAspNetCoreUnitTest/providers/Microsoft.Relay/namespaces/RelayAspNetCoreUnitTest\",\r\n \"name\": \"RelayAspNetCoreUnitTest\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relayaspnetcoreunittest\",\r\n \"createdAt\": \"2018-05-22T08:09:21.853Z\",\r\n \"updatedAt\": \"2018-05-22T08:09:48.777Z\",\r\n \"serviceBusEndpoint\": \"https://RelayAspNetCoreUnitTest.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/dstucki-rg-usw/providers/Microsoft.Relay/namespaces/dstucki-relay-usw2\",\r\n \"name\": \"dstucki-relay-usw2\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:dstucki-relay-usw2\",\r\n \"createdAt\": \"2018-05-03T21:37:27.297Z\",\r\n \"updatedAt\": \"2018-11-06T17:26:42.293Z\",\r\n \"serviceBusEndpoint\": \"https://dstucki-relay-usw2.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-CentralUS/providers/Microsoft.Relay/namespaces/testrelay2vinsu815\",\r\n \"name\": \"testrelay2vinsu815\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:testrelay2vinsu815\",\r\n \"createdAt\": \"2018-08-16T04:07:19.137Z\",\r\n \"updatedAt\": \"2018-08-16T04:21:43.64Z\",\r\n \"serviceBusEndpoint\": \"https://testrelay2vinsu815.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/azbridgeunittests/providers/Microsoft.Relay/namespaces/azbridgeunittests\",\r\n \"name\": \"azbridgeunittests\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:azbridgeunittests\",\r\n \"createdAt\": \"2018-06-08T13:07:17.977Z\",\r\n \"updatedAt\": \"2018-06-08T13:07:43.56Z\",\r\n \"serviceBusEndpoint\": \"https://azbridgeunittests.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/testvinsucentralus/providers/Microsoft.Relay/namespaces/testrelay815\",\r\n \"name\": \"testrelay815\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:testrelay815\",\r\n \"createdAt\": \"2018-08-15T22:55:37.28Z\",\r\n \"updatedAt\": \"2018-08-15T22:56:03.16Z\",\r\n \"serviceBusEndpoint\": \"https://testrelay815.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ali-test-rg-relay/providers/Microsoft.Relay/namespaces/ali-test-relay-final\",\r\n \"name\": \"ali-test-relay-final\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {\r\n \"name\": \"val\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:ali-test-relay-final\",\r\n \"createdAt\": \"2018-07-03T19:12:31.36Z\",\r\n \"updatedAt\": \"2018-07-03T19:24:05.727Z\",\r\n \"serviceBusEndpoint\": \"https://ali-test-relay-final.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-CentralUSEUAP/providers/Microsoft.Relay/namespaces/testvinsurelay2\",\r\n \"name\": \"testvinsurelay2\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"Central US EUAP\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:testvinsurelay2\",\r\n \"createdAt\": \"2018-08-16T00:06:52.663Z\",\r\n \"updatedAt\": \"2018-08-16T00:07:15.567Z\",\r\n \"serviceBusEndpoint\": \"https://testvinsurelay2.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998\",\r\n \"name\": \"Relay-NS2998\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns2998\",\r\n \"createdAt\": \"2018-11-09T19:06:15.927Z\",\r\n \"updatedAt\": \"2018-11-09T19:06:38.42Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS2998.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/dstucki-rg-eastasia/providers/Microsoft.Relay/namespaces/dstucki-relay-ausse\",\r\n \"name\": \"dstucki-relay-ausse\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"Australia Southeast\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:dstucki-relay-ausse\",\r\n \"createdAt\": \"2018-08-20T17:07:03.767Z\",\r\n \"updatedAt\": \"2018-11-06T17:31:43.123Z\",\r\n \"serviceBusEndpoint\": \"https://dstucki-relay-ausse.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/cvtest29/providers/Microsoft.Relay/namespaces/cvtest29\",\r\n \"name\": \"cvtest29\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:cvtest29\",\r\n \"createdAt\": \"2018-07-03T16:56:30.43Z\",\r\n \"updatedAt\": \"2018-07-03T16:56:56.803Z\",\r\n \"serviceBusEndpoint\": \"https://cvtest29.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/alitest/providers/Microsoft.Relay/namespaces/ali-relay\",\r\n \"name\": \"ali-relay\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"East US 2\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:ali-relay\",\r\n \"createdAt\": \"2018-05-15T17:43:36.567Z\",\r\n \"updatedAt\": \"2018-05-15T17:44:02.733Z\",\r\n \"serviceBusEndpoint\": \"https://ali-relay.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/test-service-bus-brian-liu/providers/Microsoft.Relay/namespaces/bailiu-relay-test\",\r\n \"name\": \"bailiu-relay-test\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"UK West\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:bailiu-relay-test\",\r\n \"createdAt\": \"2018-10-05T20:38:36.047Z\",\r\n \"updatedAt\": \"2018-10-05T20:38:59.96Z\",\r\n \"serviceBusEndpoint\": \"https://bailiu-relay-test.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/relayrg/providers/Microsoft.Relay/namespaces/onemorerelay\",\r\n \"name\": \"onemorerelay\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"North Central US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:onemorerelay\",\r\n \"createdAt\": \"2016-10-18T20:55:59.42Z\",\r\n \"updatedAt\": \"2016-10-18T20:56:22.5Z\",\r\n \"serviceBusEndpoint\": \"https://onemorerelay.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/dstucki-rg-usw/providers/Microsoft.Relay/namespaces/dstucki-relay-usw\",\r\n \"name\": \"dstucki-relay-usw\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:dstucki-relay-usw\",\r\n \"createdAt\": \"2018-08-22T16:52:19.507Z\",\r\n \"updatedAt\": \"2018-11-06T17:18:51.427Z\",\r\n \"serviceBusEndpoint\": \"https://dstucki-relay-usw.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n },\r\n {\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/test-service-bus-brian-liu/providers/Microsoft.Relay/namespaces/test-relay-brian-liu\",\r\n \"name\": \"test-relay-brian-liu\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:test-relay-brian-liu\",\r\n \"createdAt\": \"2018-09-14T22:24:46.443Z\",\r\n \"updatedAt\": \"2018-09-14T22:25:13.927Z\",\r\n \"serviceBusEndpoint\": \"https://test-relay-brian-liu.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy9SZWxheS1OUzI5OTg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "5300422b-184c-42fb-8f24-f3759ec68214"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "bd5e984e-a99f-4a2d-a53e-69f51b15f62e_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998/operationresults/Relay-NS2998?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "af9d8d91-bf88-4c4b-b545-07caf6505e1c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190703Z:af9d8d91-bf88-4c4b-b545-07caf6505e1c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:02 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998/operationresults/Relay-NS2998?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy9SZWxheS1OUzI5OTgvb3BlcmF0aW9ucmVzdWx0cy9SZWxheS1OUzI5OTg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4178a768-914e-465c-ba2f-42f6f644ae84_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-correlation-request-id": [
- "14a12ff4-f349-4630-81ef-89009ddb67ce"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190733Z:14a12ff4-f349-4630-81ef-89009ddb67ce"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:32 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps676/providers/Microsoft.Relay/namespaces/Relay-NS2998/operationresults/Relay-NS2998?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjc2L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy9SZWxheS1OUzI5OTgvb3BlcmF0aW9ucmVzdWx0cy9SZWxheS1OUzI5OTg/YXBpLXZlcnNpb249MjAxNy0wNC0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "59018c1f-a368-483d-8e0a-1581522d8342_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-correlation-request-id": [
- "da2688e7-6529-45de-a976-fcfcb338a74f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190733Z:da2688e7-6529-45de-a976-fcfcb338a74f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:32 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e109e875-1841-4e59-a057-e53cdc0852aa"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "63f6ea86-ac03-430e-a031-b0042469024d_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705/operationresults/Relay-NS3705?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
- ],
- "x-ms-correlation-request-id": [
- "c85e304d-fa77-475e-9372-f1707d6408df"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190733Z:c85e304d-fa77-475e-9372-f1707d6408df"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:07:33 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705/operationresults/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "f54bd78c-7da7-4bcc-bd58-bcbe0ee88dea_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "f4dc0c82-18e6-4591-839d-d10d8e59c0eb"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190804Z:f4dc0c82-18e6-4591-839d-d10d8e59c0eb"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:03 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps5772/providers/Microsoft.Relay/namespaces/Relay-NS3705/operationresults/Relay-NS3705?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNTc3Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlMzNzA1L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlMzNzA1P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "5fd66266-d849-4f27-8f4e-639bccfa80ac_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
- ],
- "x-ms-correlation-request-id": [
- "4a2b7b1a-9a85-4d3a-a960-fe1a293d00cd"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190804Z:4a2b7b1a-9a85-4d3a-a960-fe1a293d00cd"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:03 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps5772?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNTc3Mj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7b5af81e-6430-4552-a097-70b266d0b560"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "c26f832c-2fde-4569-9fd8-538bbf3801b1"
- ],
- "x-ms-correlation-request-id": [
- "c26f832c-2fde-4569-9fd8-538bbf3801b1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190804Z:c26f832c-2fde-4569-9fd8-538bbf3801b1"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:04 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM056SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-request-id": [
- "230e16e1-880c-41d9-9ac3-d58fe6417068"
- ],
- "x-ms-correlation-request-id": [
- "230e16e1-880c-41d9-9ac3-d58fe6417068"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190819Z:230e16e1-880c-41d9-9ac3-d58fe6417068"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:19 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM056SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-request-id": [
- "7a578611-f071-474d-821a-ec97cd2ddbb5"
- ],
- "x-ms-correlation-request-id": [
- "7a578611-f071-474d-821a-ec97cd2ddbb5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190834Z:7a578611-f071-474d-821a-ec97cd2ddbb5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:33 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM056SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-request-id": [
- "a46fc3ea-b592-4131-93ab-f49ec449d7b4"
- ],
- "x-ms-correlation-request-id": [
- "a46fc3ea-b592-4131-93ab-f49ec449d7b4"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190849Z:a46fc3ea-b592-4131-93ab-f49ec449d7b4"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:49 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU3NzItV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVM056SXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-request-id": [
- "4a999d9c-b6e9-44e0-bf66-96acb927c6ba"
- ],
- "x-ms-correlation-request-id": [
- "4a999d9c-b6e9-44e0-bf66-96acb927c6ba"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T190850Z:4a999d9c-b6e9-44e0-bf66-96acb927c6ba"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 19:08:49 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "": [
- "Relay-NS3705",
- "Relay-NS2998",
- "ps5772",
- "ps676"
- ]
- },
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.TestAzureRmRelayNameTests/CheckNameAvailability.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.TestAzureRmRelayNameTests/CheckNameAvailability.json
deleted file mode 100644
index 36c7970a581c..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.TestAzureRmRelayNameTests/CheckNameAvailability.json
+++ /dev/null
@@ -1,889 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps6145?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNjE0NT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "075829ec-ea90-429b-b1ae-049bec9a61df"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "eaf957b7-758d-4791-8860-44905c93fef8"
- ],
- "x-ms-correlation-request-id": [
- "eaf957b7-758d-4791-8860-44905c93fef8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185743Z:eaf957b7-758d-4791-8860-44905c93fef8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:43 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145\",\r\n \"name\": \"ps6145\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps7159?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNzE1OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9a8129bb-3ade-4426-9e6b-2f28119f592a"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "8e52e47e-e220-43be-89fd-f2be187b1815"
- ],
- "x-ms-correlation-request-id": [
- "8e52e47e-e220-43be-89fd-f2be187b1815"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185744Z:8e52e47e-e220-43be-89fd-f2be187b1815"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:43 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps7159\",\r\n \"name\": \"ps7159\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/providers/Microsoft.Relay/checkNameAvailability?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvY2hlY2tOYW1lQXZhaWxhYmlsaXR5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"name\": \"Relay-NS7189\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "b723ec1a-38d2-484f-b3c9-c10fa0ba91f6"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "30"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "c7233cec-8602-4a14-a3a0-59301348c117_M1CH3_M1CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
- ],
- "x-ms-correlation-request-id": [
- "4a4167ab-74e8-414f-b438-dbae7649922c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185744Z:4a4167ab-74e8-414f-b438-dbae7649922c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:43 GMT"
- ],
- "Content-Length": [
- "53"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"nameAvailable\": true,\r\n \"reason\": \"None\",\r\n \"message\": null\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/providers/Microsoft.Relay/checkNameAvailability?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvY2hlY2tOYW1lQXZhaWxhYmlsaXR5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "POST",
- "RequestBody": "{\r\n \"name\": \"Relay-NS7189\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "a770adcb-d01d-43c8-b37b-1c1334c4d12b"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "30"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "668a680c-d309-464d-8c56-0b949a99cba7_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-correlation-request-id": [
- "dcb64252-c1d8-4145-b0e3-b373fb5fe14f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185830Z:dcb64252-c1d8-4145-b0e3-b373fb5fe14f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:58:30 GMT"
- ],
- "Content-Length": [
- "93"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"nameAvailable\": false,\r\n \"reason\": \"NameInUse\",\r\n \"message\": \"The specified name is not available.\"\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjE0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTg5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7981bdbe-d5b1-429e-ab44-e75b86cedfc8"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6de2ff11-6525-42d2-8a0c-ed5632ccf066_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-correlation-request-id": [
- "9a712b29-857d-4174-ad18-8179b0c94864"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185745Z:9a712b29-857d-4174-ad18-8179b0c94864"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:57:44 GMT"
- ],
- "Content-Length": [
- "545"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189\",\r\n \"name\": \"Relay-NS7189\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns7189\",\r\n \"createdAt\": \"2018-11-09T18:57:45.033Z\",\r\n \"updatedAt\": \"2018-11-09T18:57:45.033Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS7189.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjE0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTg5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "35b2e48d-aa5a-4faa-a23a-74e4cba32c36_M11CH3_M11CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-correlation-request-id": [
- "866d15e9-d6d1-44f3-8b51-bc2bba68abfd"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185815Z:866d15e9-d6d1-44f3-8b51-bc2bba68abfd"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:58:15 GMT"
- ],
- "Content-Length": [
- "542"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189\",\r\n \"name\": \"Relay-NS7189\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns7189\",\r\n \"createdAt\": \"2018-11-09T18:57:45.033Z\",\r\n \"updatedAt\": \"2018-11-09T18:58:10.14Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS7189.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjE0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTg5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7a0e9571-7ee1-4c2a-8e4d-5fbbc34413ae"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3529f4f2-7620-4a0d-890a-d201a4600777_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189/operationresults/Relay-NS7189?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14997"
- ],
- "x-ms-correlation-request-id": [
- "e32700e8-39bd-438e-928f-425d56c89d59"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185831Z:e32700e8-39bd-438e-928f-425d56c89d59"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:58:31 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189/operationresults/Relay-NS7189?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjE0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTg5L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlM3MTg5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "3fd02462-6d58-4ba7-954d-ee4ecd48e2ab_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "4e4a5060-7c03-4889-b2ef-745d64e2539b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185901Z:4e4a5060-7c03-4889-b2ef-745d64e2539b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:01 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6145/providers/Microsoft.Relay/namespaces/Relay-NS7189/operationresults/Relay-NS7189?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjE0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTg5L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlM3MTg5P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9f1f56c9-23d7-490b-89ae-78be54912e95_M10CH3_M10CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
- ],
- "x-ms-correlation-request-id": [
- "e490bb5d-858d-4e1e-884d-6c9755479f1d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185901Z:e490bb5d-858d-4e1e-884d-6c9755479f1d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:01 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps6145?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNjE0NT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "397b9b5a-6a68-4714-8147-fce23627c88d"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "34a46295-ea9b-4d93-8f02-e2b8b0edfd01"
- ],
- "x-ms-correlation-request-id": [
- "34a46295-ea9b-4d93-8f02-e2b8b0edfd01"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185902Z:34a46295-ea9b-4d93-8f02-e2b8b0edfd01"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:01 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZeE5EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-request-id": [
- "2cddb651-f746-4c1a-96b0-a339647283ea"
- ],
- "x-ms-correlation-request-id": [
- "2cddb651-f746-4c1a-96b0-a339647283ea"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185917Z:2cddb651-f746-4c1a-96b0-a339647283ea"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:16 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZeE5EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-request-id": [
- "6c655f3e-eb12-45b7-b27e-e32a14602460"
- ],
- "x-ms-correlation-request-id": [
- "6c655f3e-eb12-45b7-b27e-e32a14602460"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185932Z:6c655f3e-eb12-45b7-b27e-e32a14602460"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:32 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZeE5EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-request-id": [
- "981e0646-daae-4ad2-a274-6c413242482d"
- ],
- "x-ms-correlation-request-id": [
- "981e0646-daae-4ad2-a274-6c413242482d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185947Z:981e0646-daae-4ad2-a274-6c413242482d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:47 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYxNDUtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZeE5EVXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-request-id": [
- "e5f22e9d-20b5-4dde-8456-2516e9f9656d"
- ],
- "x-ms-correlation-request-id": [
- "e5f22e9d-20b5-4dde-8456-2516e9f9656d"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185947Z:e5f22e9d-20b5-4dde-8456-2516e9f9656d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:59:47 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "": [
- "Relay-NS7189",
- "Relay-NS6855",
- "ps6145",
- "ps7159"
- ]
- },
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.WcfRelayTests/WcfRelayCRUD.json b/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.WcfRelayTests/WcfRelayCRUD.json
deleted file mode 100644
index 4a25da4c6796..000000000000
--- a/src/Relay/Relay.Test/SessionRecords/Microsoft.Azure.Commands.Relay.Test.ScenarioTests.WcfRelayTests/WcfRelayCRUD.json
+++ /dev/null
@@ -1,1297 +0,0 @@
-{
- "Entries": [
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps6316?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNjMxNj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f408afa7-779a-48b9-8bed-477ed977ec41"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-request-id": [
- "3a0de303-9dab-4b0c-8619-7471034006d2"
- ],
- "x-ms-correlation-request-id": [
- "3a0de303-9dab-4b0c-8619-7471034006d2"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185246Z:3a0de303-9dab-4b0c-8619-7471034006d2"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:52:45 GMT"
- ],
- "Content-Length": [
- "165"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316\",\r\n \"name\": \"ps6316\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"location\": \"West US\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "f7bf6277-979f-47a6-b868-b48528428b46"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "29"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b6400d85-01fd-475a-b14c-eac76f8afa86_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
- ],
- "x-ms-correlation-request-id": [
- "e080b167-a432-44ce-ba1b-58428b31ace1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185247Z:e080b167-a432-44ce-ba1b-58428b31ace1"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:52:47 GMT"
- ],
- "Content-Length": [
- "543"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128\",\r\n \"name\": \"Relay-NS7128\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Created\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns7128\",\r\n \"createdAt\": \"2018-11-09T18:52:46.65Z\",\r\n \"updatedAt\": \"2018-11-09T18:52:46.65Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS7128.servicebus.windows.net:443/\",\r\n \"status\": \"Activating\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "33630331-c284-4bf3-be9c-03f138ac3a3b_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-correlation-request-id": [
- "71dc671b-24e1-4e45-8cc4-bc224218a552"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185317Z:71dc671b-24e1-4e45-8cc4-bc224218a552"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:16 GMT"
- ],
- "Content-Length": [
- "541"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128\",\r\n \"name\": \"Relay-NS7128\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns7128\",\r\n \"createdAt\": \"2018-11-09T18:52:46.65Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:10.03Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS7128.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "c9dc7bd4-8c4f-4edd-9070-eb8f869b443a"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "567ad434-0118-47e9-a720-84297fe5f3f1_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "37d58cd8-0738-44c9-907d-aa9363fb87d7"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185332Z:37d58cd8-0738-44c9-907d-aa9363fb87d7"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:31 GMT"
- ],
- "Content-Length": [
- "541"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128\",\r\n \"name\": \"Relay-NS7128\",\r\n \"type\": \"Microsoft.Relay/Namespaces\",\r\n \"location\": \"West US\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"854d368f-1828-428f-8f3c-f2affa9b2f7d:relay-ns7128\",\r\n \"createdAt\": \"2018-11-09T18:52:46.65Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:10.03Z\",\r\n \"serviceBusEndpoint\": \"https://Relay-NS7128.servicebus.windows.net:443/\",\r\n \"status\": \"Active\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"relayType\": \"NetTcp\",\r\n \"requiresClientAuthorization\": true,\r\n \"requiresTransportSecurity\": true,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "5495d359-aacd-40e3-ba78-066fe9479771"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "176"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "28177aaf-e945-4772-8bf7-775a9fd69bee_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-correlation-request-id": [
- "0519849d-39f7-4b7f-a3ab-04fb538541b9"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185335Z:0519849d-39f7-4b7f-a3ab-04fb538541b9"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:35 GMT"
- ],
- "Content-Length": [
- "506"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"relayType\": \"NetTcp\",\r\n \"requiresClientAuthorization\": true,\r\n \"requiresTransportSecurity\": true,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "ee3e0b98-2203-416c-8e85-6d9397426641"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "415"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "193fe02b-db20-4544-8ce6-f5544ea842ab_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "968b272f-1383-4e1a-9bff-a655da6d534e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185338Z:968b272f-1383-4e1a-9bff-a655da6d534e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:38 GMT"
- ],
- "Content-Length": [
- "727"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"0001-01-01T00:00:00\",\r\n \"updatedAt\": \"0001-01-01T00:00:00\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"relayType\": \"NetTcp\",\r\n \"requiresClientAuthorization\": true,\r\n \"requiresTransportSecurity\": true,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "0391ce1b-3b24-4ac0-8d4a-dbeaf65b0374"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "415"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "b62457cd-32c6-4805-bf20-500b4f46fe33_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-correlation-request-id": [
- "e32b8a8b-2009-4d01-9475-8af727255bba"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185339Z:e32b8a8b-2009-4d01-9475-8af727255bba"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:39 GMT"
- ],
- "Content-Length": [
- "727"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"0001-01-01T00:00:00\",\r\n \"updatedAt\": \"0001-01-01T00:00:00\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7b725a13-7259-4796-a028-233707ce0079"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "50a67207-b6f9-4ce2-af48-73795abe561c_M7CH3_M7CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "dcb83159-15b2-4bf2-9704-48528f4fa2cf"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185336Z:dcb83159-15b2-4bf2-9704-48528f4fa2cf"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:36 GMT"
- ],
- "Content-Length": [
- "506"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "8768cc47-ac4f-4890-a834-ac388891eecb"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "9c10152c-a79e-4fdc-a110-00660d2574c7_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
- ],
- "x-ms-correlation-request-id": [
- "f1682a9d-e24a-4aa5-9395-b7fa63014c41"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185337Z:f1682a9d-e24a-4aa5-9395-b7fa63014c41"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:37 GMT"
- ],
- "Content-Length": [
- "506"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "73d104c1-eb91-4df2-835d-e47c3e55d629"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "541c158e-e4ca-4906-9402-906aeffa4a29_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-correlation-request-id": [
- "4510d415-55c3-42a9-80df-a7b58c0aef4b"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185338Z:4510d415-55c3-42a9-80df-a7b58c0aef4b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:38 GMT"
- ],
- "Content-Length": [
- "745"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015\",\r\n \"name\": \"Relay-WcfR2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:38.1097311Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.\"\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "21419b5f-65cd-4544-b92c-98c74954a886"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-inline-count": [
- ""
- ],
- "x-ms-request-id": [
- "a7cb31fa-9170-4d32-8e3a-e36993dee528_M3CH3_M3CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "a97b142c-4014-4e94-973f-4771754031c4"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185336Z:a97b142c-4014-4e94-973f-4771754031c4"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:36 GMT"
- ],
- "Content-Length": [
- "518"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/relay-wcfr2015\",\r\n \"name\": \"relay-wcfr2015\",\r\n \"type\": \"Microsoft.Relay/Namespaces/WcfRelays\",\r\n \"location\": \"West US\",\r\n \"properties\": {\r\n \"createdAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"updatedAt\": \"2018-11-09T18:53:35.2622848Z\",\r\n \"listenerCount\": 0,\r\n \"requiresClientAuthorization\": true,\r\n \"relayType\": \"NetTcp\",\r\n \"requiresTransportSecurity\": true,\r\n \"isDynamic\": false,\r\n \"userMetadata\": \"User Meta data\"\r\n }\r\n }\r\n ]\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/wcfRelays/Relay-WcfR2015?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L3djZlJlbGF5cy9SZWxheS1XY2ZSMjAxNT9hcGktdmVyc2lvbj0yMDE3LTA0LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e328a8b3-70a3-4476-9865-08c76033d2ee"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4b6027ef-cd69-40dd-a3ee-9f2188ef7afd_M4CH3_M4CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-correlation-request-id": [
- "4fb41b44-c173-4479-b163-d5423f7de356"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185355Z:4fb41b44-c173-4479-b163-d5423f7de356"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:55 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "9f185394-7e6b-4f4f-b80d-569c75d4fbd5"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "26fa2198-d1b5-4c51-910f-3b6dede74c0a_M8CH3_M8CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/operationresults/Relay-NS7128?api-version=2017-04-01"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
- ],
- "x-ms-correlation-request-id": [
- "87ffd612-277e-4c85-969f-1c645b25649f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185356Z:87ffd612-277e-4c85-969f-1c645b25649f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:53:56 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/operationresults/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "689f8067-8be7-4b7c-9981-756fbd3d3ca0_M0CH3_M0CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-correlation-request-id": [
- "910b4bdb-2b1e-4db6-9688-eaf4fd2a5724"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185426Z:910b4bdb-2b1e-4db6-9688-eaf4fd2a5724"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:54:25 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/ps6316/providers/Microsoft.Relay/namespaces/Relay-NS7128/operationresults/Relay-NS7128?api-version=2017-04-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlR3JvdXBzL3BzNjMxNi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXMvUmVsYXktTlM3MTI4L29wZXJhdGlvbnJlc3VsdHMvUmVsYXktTlM3MTI4P2FwaS12ZXJzaW9uPTIwMTctMDQtMDE=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Relay.RelayManagementClient/2.0.2.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "4b8808ed-cc0f-467e-905c-c9fcb12f4cd3_M0CH3_M0CH3"
- ],
- "Server-SB": [
- "Service-Bus-Resource-Provider/CH3"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Server": [
- "Service-Bus-Resource-Provider/CH3",
- "Microsoft-HTTPAPI/2.0"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "de013cb7-256d-4261-bb95-bd600cc8aa28"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185426Z:de013cb7-256d-4261-bb95-bd600cc8aa28"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:54:25 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourcegroups/ps6316?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL3Jlc291cmNlZ3JvdXBzL3BzNjMxNj9hcGktdmVyc2lvbj0yMDE2LTA5LTAx",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "d3f7929c-63cd-4a05-8075-2ce6c2bbac35"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
- ],
- "x-ms-request-id": [
- "6a6d69f2-8e5b-431b-94a9-a4b915d8df48"
- ],
- "x-ms-correlation-request-id": [
- "6a6d69f2-8e5b-431b-94a9-a4b915d8df48"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185427Z:6a6d69f2-8e5b-431b-94a9-a4b915d8df48"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:54:26 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZek1UWXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
- ],
- "x-ms-request-id": [
- "8bcf857e-325b-4aaf-a78e-8483b58e40b8"
- ],
- "x-ms-correlation-request-id": [
- "8bcf857e-325b-4aaf-a78e-8483b58e40b8"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185442Z:8bcf857e-325b-4aaf-a78e-8483b58e40b8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:54:41 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZek1UWXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "Retry-After": [
- "15"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-request-id": [
- "95da4163-c6b1-4359-947b-c5340bf74e66"
- ],
- "x-ms-correlation-request-id": [
- "95da4163-c6b1-4359-947b-c5340bf74e66"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185457Z:95da4163-c6b1-4359-947b-c5340bf74e66"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:54:57 GMT"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 202
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZek1UWXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-request-id": [
- "8b3eb355-2774-483b-aade-7ecc5e18434e"
- ],
- "x-ms-correlation-request-id": [
- "8b3eb355-2774-483b-aade-7ecc5e18434e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185512Z:8b3eb355-2774-483b-aade-7ecc5e18434e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:12 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYzMTYtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODU0ZDM2OGYtMTgyOC00MjhmLThmM2MtZjJhZmZhOWIyZjdkL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZek1UWXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "User-Agent": [
- "FxVersion/4.7.3190.0",
- "OSName/Windows",
- "OSVersion/10.0.17763.0",
- "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/4.1.0"
- ]
- },
- "ResponseHeaders": {
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-request-id": [
- "a878f995-bb37-4985-bb52-931aa78e6e88"
- ],
- "x-ms-correlation-request-id": [
- "a878f995-bb37-4985-bb52-931aa78e6e88"
- ],
- "x-ms-routing-request-id": [
- "WESTUS2:20181109T185512Z:a878f995-bb37-4985-bb52-931aa78e6e88"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Fri, 09 Nov 2018 18:55:12 GMT"
- ],
- "Content-Length": [
- "0"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "",
- "StatusCode": 200
- }
- ],
- "Names": {
- "": [
- "ps6316",
- "Relay-NS7128",
- "Relay-WcfR2015"
- ]
- },
- "Variables": {
- "SubscriptionId": "854d368f-1828-428f-8f3c-f2affa9b2f7d"
- }
-}
\ No newline at end of file
diff --git a/src/Relay/Relay.sln b/src/Relay/Relay.sln
index c68f6918bdf3..ad5fa138f1c5 100644
--- a/src/Relay/Relay.sln
+++ b/src/Relay/Relay.sln
@@ -1,67 +1,58 @@
+
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.27703.2042
+# Visual Studio Version 17
+VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Relay", "Relay\Relay.csproj", "{10C8273F-7C1B-455C-B358-420DD2EA8FF8}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{830E91D5-CCAA-454A-8D79-DF7820B5D5EC}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{95C16AED-FD57-42A0-86C3-2CF4300A4817}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{5222B0D9-ABB7-48B9-90F1-1EBAA8C0F053}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Relay.Test", "Relay.Test\Relay.Test.csproj", "{BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{38595AB9-9A70-48A8-87EC-9777618A9B0D}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{01ECA245-933F-4913-9809-CA742BB31E84}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{6BD6B80A-06AF-4B5B-9230-69CCFC6C8D64}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{F3032E0C-2950-4524-989D-90B0FF1CBA61}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{9DF9318E-7332-4C2A-863F-A0FF244AA28E}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{3E016018-D65D-4336-9F64-17DA97783AD0}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManager", "..\..\tools\ScenarioTest.ResourceManager\ScenarioTest.ResourceManager.csproj", "{F83FBA8D-732D-437C-A0E2-02E45B01E123}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Relay", "Az.Relay.csproj", "{B68336B0-0567-432D-A0E5-B92C34E031E0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {10C8273F-7C1B-455C-B358-420DD2EA8FF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {10C8273F-7C1B-455C-B358-420DD2EA8FF8}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {10C8273F-7C1B-455C-B358-420DD2EA8FF8}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {10C8273F-7C1B-455C-B358-420DD2EA8FF8}.Release|Any CPU.Build.0 = Release|Any CPU
- {BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791}.Release|Any CPU.Build.0 = Release|Any CPU
- {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
- {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {FF81DC73-B8EC-4082-8841-4FBF2B16E7CE}.Release|Any CPU.Build.0 = Release|Any CPU
- {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3E016018-D65D-4336-9F64-17DA97783AD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3E016018-D65D-4336-9F64-17DA97783AD0}.Release|Any CPU.Build.0 = Release|Any CPU
- {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F83FBA8D-732D-437C-A0E2-02E45B01E123}.Release|Any CPU.Build.0 = Release|Any CPU
- {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
- GlobalSection(NestedProjects) = preSolution
- {BBB6D0C0-8CBC-49EC-9E7C-56EF981AD791} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {4AFDCE09-0FEE-4359-9537-8E09BF65BC83}
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {830E91D5-CCAA-454A-8D79-DF7820B5D5EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {830E91D5-CCAA-454A-8D79-DF7820B5D5EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {830E91D5-CCAA-454A-8D79-DF7820B5D5EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {830E91D5-CCAA-454A-8D79-DF7820B5D5EC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5222B0D9-ABB7-48B9-90F1-1EBAA8C0F053}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5222B0D9-ABB7-48B9-90F1-1EBAA8C0F053}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5222B0D9-ABB7-48B9-90F1-1EBAA8C0F053}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5222B0D9-ABB7-48B9-90F1-1EBAA8C0F053}.Release|Any CPU.Build.0 = Release|Any CPU
+ {38595AB9-9A70-48A8-87EC-9777618A9B0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {38595AB9-9A70-48A8-87EC-9777618A9B0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {38595AB9-9A70-48A8-87EC-9777618A9B0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {38595AB9-9A70-48A8-87EC-9777618A9B0D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {01ECA245-933F-4913-9809-CA742BB31E84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {01ECA245-933F-4913-9809-CA742BB31E84}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {01ECA245-933F-4913-9809-CA742BB31E84}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {01ECA245-933F-4913-9809-CA742BB31E84}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F3032E0C-2950-4524-989D-90B0FF1CBA61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F3032E0C-2950-4524-989D-90B0FF1CBA61}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F3032E0C-2950-4524-989D-90B0FF1CBA61}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F3032E0C-2950-4524-989D-90B0FF1CBA61}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9DF9318E-7332-4C2A-863F-A0FF244AA28E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9DF9318E-7332-4C2A-863F-A0FF244AA28E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9DF9318E-7332-4C2A-863F-A0FF244AA28E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9DF9318E-7332-4C2A-863F-A0FF244AA28E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B68336B0-0567-432D-A0E5-B92C34E031E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B68336B0-0567-432D-A0E5-B92C34E031E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B68336B0-0567-432D-A0E5-B92C34E031E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B68336B0-0567-432D-A0E5-B92C34E031E0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayAuthorizationRules.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayAuthorizationRules.cs
deleted file mode 100644
index 74a72f027ef1..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayAuthorizationRules.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'Get-AzWcfRelayAuthorizationRule' Cmdlet gives the details of a / List of AuthorizationRule(s)
- /// If AuthorizationRule name provided, a single AuthorizationRule detials will be returned
- /// If AuthorizationRule name not provided, list of AuthorizationRules will be returned
- ///
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayAuthorizationRule", DefaultParameterSetName = NamespaceAuthoRuleParameterSet), OutputType(typeof(PSAuthorizationRuleAttributes))]
- public class GetAzureRelayAuthorizationRule : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
-
- //Get Namespace Authorization Rule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- {
- if (!string.IsNullOrEmpty(Name))
- {
- // Get a Namespace AuthorizationRule
- PSAuthorizationRuleAttributes authRule = Client.GetNamespaceAuthorizationRule(ResourceGroupName, Namespace, Name);
- WriteObject(authRule);
- }
- else
- {
- // Get all Namespace AuthorizationRules
- IEnumerable authRuleList = Client.ListNamespaceAuthorizationRules(ResourceGroupName, Namespace);
- WriteObject(authRuleList, true);
- }
- }
-
-
- // Get WcfRelay authorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- {
- if (!string.IsNullOrEmpty(Name))
- {
- // Get a WcfRelay AuthorizationRule
- PSAuthorizationRuleAttributes authRule = Client.GetWcfRelayAuthorizationRules(ResourceGroupName, Namespace, WcfRelay, Name);
- WriteObject(authRule);
- }
- else
- {
- // Get all WcfRelay AuthorizationRules
- IEnumerable authRuleList = Client.ListWcfRelayAuthorizationRules(ResourceGroupName, Namespace, WcfRelay);
- WriteObject(authRuleList, true);
- }
- }
-
- // Get HybridConnection authorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- {
- if (!string.IsNullOrEmpty(Name))
- {
- // Get a HybridConnection AuthorizationRule
- PSAuthorizationRuleAttributes authRule = Client.GetHybridConnectionsAuthorizationRules(ResourceGroupName, Namespace, HybridConnection, Name);
- WriteObject(authRule);
- }
- else
- {
- // Get all HybridConnection AuthorizationRules
- IEnumerable authRuleList = Client.ListHybridConnectionsAuthorizationRules(ResourceGroupName, Namespace, HybridConnection);
- WriteObject(authRuleList, true);
- }
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayKey.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayKey.cs
deleted file mode 100644
index 36e3b4fb211d..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/GetAzureRelayKey.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Management.Relay.Models;
-using Microsoft.Azure.Commands.Relay.Models;
-using System.Management.Automation;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'Get-AzRelayKey' Cmdlet gives key detials for the given Authorization Rule
- ///
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayKey", DefaultParameterSetName = NamespaceAuthoRuleParameterSet), OutputType(typeof(PSAuthorizationRuleKeysAttributes))]
- public class GetAzureRelayKey : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
-
- // Get a Namespace List Keys for the specified AuthorizationRule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- {
- PSAuthorizationRuleKeysAttributes keys = Client.GetNamespaceListKeys(ResourceGroupName, Namespace, Name);
- WriteObject(keys,true);
- }
-
- // Get a WcfRelay List Keys for the specified AuthorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- {
- PSAuthorizationRuleKeysAttributes keys = Client.GetWcfRelayListKeys(ResourceGroupName, Namespace, WcfRelay, Name);
- WriteObject(keys,true);
- }
-
- // Get a HybridConnection List Keys for the specified AuthorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- {
- PSAuthorizationRuleKeysAttributes keys = Client.GethybridConnectionsListKeys(ResourceGroupName, Namespace, HybridConnection, Name);
- WriteObject(keys,true);
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayAuthorizationRules.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayAuthorizationRules.cs
deleted file mode 100644
index 22cb5daa344e..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayAuthorizationRules.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System.Management.Automation;
-using Microsoft.Azure.Commands.Relay.Models;
-using System.Collections.Generic;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'New-AzRelayAuthorizationRule' Cmdlet creates a new AuthorizationRule
- ///
- [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayAuthorizationRule", DefaultParameterSetName = NamespaceAuthoRuleParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSAuthorizationRuleAttributes))]
- public class NewAzureRelayAuthorizationRule : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")][Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "Rights, e.g. \"Listen\",\"Send\",\"Manage\"")]
- [ValidateSet("Listen","Send","Manage",
- IgnoreCase = true)]
- public string[] Rights { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSAuthorizationRuleAttributes sasRule = new PSAuthorizationRuleAttributes();
- sasRule.Rights = new List();
- sasRule.Name = Name;
-
- foreach (string test in Rights)
- {
- sasRule.Rights.Add(test);
- }
-
- //Create a new Namespace Authorization Rule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.CreateNamespaceAuthorizationrule, Name, Namespace)))
- {
- WriteObject(Client.CreateOrUpdateNamespaceAuthorizationRules(ResourceGroupName, Namespace, Name, sasRule));
- }
-
- // Create a new WcfRelay authorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.CreateWcfRelayAuthorizationrule, Name, WcfRelay)))
- {
- WriteObject(Client.CreateOrUpdateWcfRelayAuthorizationRules(ResourceGroupName, Namespace, WcfRelay, Name, sasRule));
- }
-
- // Create a new HybridConnection authorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.CreateHybirdconnectionAuthorizationrule, Name, HybridConnection)))
- {
- WriteObject(Client.CreateOrUpdateHybridConnectionsAuthorizationRules(ResourceGroupName, Namespace, HybridConnection, Name, sasRule));
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayKey.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayKey.cs
deleted file mode 100644
index 9e66bffe2587..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/NewAzureRelayKey.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Management.Relay.Models;
-using Microsoft.Azure.Commands.Relay.Models;
-using System.Management.Automation;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'New-AzRelayKey' Cmdlet creates a new specified (PrimaryKey / SecondaryKey) key for the given WcfRelay Authorization Rule
- ///
- [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayKey", DefaultParameterSetName = NamespaceAuthoRuleParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSAuthorizationRuleKeysAttributes))]
- public class NewAzureRmRelayKey : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = true,
- HelpMessage = "Regenerate Keys - 'PrimaryKey'/'SecondaryKey'.")]
- [ValidateSet(RegeneKeys.PrimaryKey,
- RegeneKeys.SecondaryKey,
- IgnoreCase = true)]
- public string RegenerateKey { get; set; }
-
- [Parameter(Mandatory = false, HelpMessage = "A base64-encoded 256-bit key for signing and validating the SAS token.")]
- public string KeyValue { get; set; }
-
- public override void ExecuteCmdlet()
- {
-
- // Generate new Namespace List Keys for the specified AuthorizationRule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- {
- if (ShouldProcess(target: RegenerateKey, action: string.Format(Resources.RegenerateKeyNamesapce, Name, Namespace)))
- {
- WriteObject(Client.NamespaceRegenerateKeys(ResourceGroupName, Namespace, Name, RegenerateKey, KeyValue));
- }
- }
-
- // Generate new WcfRelay List Keys for the specified AuthorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- {
- if (ShouldProcess(target: RegenerateKey, action: string.Format(Resources.RegenerateKeyWcfRelay, Name, WcfRelay)))
- {
- WriteObject(Client.WcfRelayRegenerateKeys(ResourceGroupName, Namespace, WcfRelay, Name, RegenerateKey, KeyValue));
- }
- }
-
- // Generate new WcfRelayHybridConnection List Keys for the specified AuthorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- {
- if (ShouldProcess(target: RegenerateKey, action: string.Format(Resources.RegenerateKeyHybirdconnection, Name, HybridConnection)))
- {
- WriteObject(Client.HybridConnectionsRegenerateKeys(ResourceGroupName, Namespace, HybridConnection, Name, RegenerateKey, KeyValue));
- }
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/RemoveAzureRelayAuthorizationRules.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/RemoveAzureRelayAuthorizationRules.cs
deleted file mode 100644
index 8831da107f03..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/RemoveAzureRelayAuthorizationRules.cs
+++ /dev/null
@@ -1,121 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'Remove-AzRelayAuthorizationRule' Cmdlet removes/deletes AuthorizationRule
- ///
- [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayAuthorizationRule", DefaultParameterSetName = NamespaceAuthoRuleParameterSet, SupportsShouldProcess = true), OutputType(typeof(bool))]
- public class RemoveAzureRelayAuthorizationRule : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false, HelpMessage = "Do not ask for confirmation.")]
- public SwitchParameter Force { get; set; }
-
- [Parameter(Mandatory = false)]
- public SwitchParameter PassThru { get; set; }
-
- public override void ExecuteCmdlet()
- {
- // Delete Namespace authorizationRule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- ConfirmAction(
- Force.IsPresent,
- string.Format(Resources.RemovingNamespaceAuthorizationRule, Name, Namespace),
- string.Format(Resources.RemoveNamespaceAuthorizationRule, Name, Namespace),
- Name,
- () =>
- {
- Client.DeleteNamespaceAuthorizationRules(ResourceGroupName, Namespace, Name);
- if (PassThru)
- {
- WriteObject(true);
- }
- });
-
- // Delete WcfRelay authorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- ConfirmAction(
- Force.IsPresent,
- string.Format(Resources.RemovingWcfRelayAuthorizationRule, Namespace, WcfRelay, Name),
- string.Format(Resources.RemoveWcfRelayAuthorizationRule, Namespace, WcfRelay, Name),
- Name,
- () =>
- {
- Client.DeleteWcfRelayAuthorizationRules(ResourceGroupName, Namespace, WcfRelay, Name);
- if (PassThru)
- {
- WriteObject(true);
- }
- });
-
- // Delete Hybird authorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- ConfirmAction(
- Force.IsPresent,
- string.Format(Resources.RemovingHybirdconnectionAuthorizationrule, Namespace, HybridConnection, Name),
- string.Format(Resources.RemovingHybirdconnectionAuthorizationrule, Namespace, HybridConnection, Name),
- Name,
- () =>
- {
- Client.DeleteHybridConnectionsAuthorizationRules(ResourceGroupName, Namespace, HybridConnection, Name);
- if (PassThru)
- {
- WriteObject(true);
- }
- });
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AuthorizationRule/SetAzureRelayAuthorizationRules.cs b/src/Relay/Relay/Cmdlets/AuthorizationRule/SetAzureRelayAuthorizationRules.cs
deleted file mode 100644
index 8b70b892e934..000000000000
--- a/src/Relay/Relay/Cmdlets/AuthorizationRule/SetAzureRelayAuthorizationRules.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Management.Relay.Models;
-using System.Management.Automation;
-using System.Collections.Generic;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
- ///
- /// 'Set-AzRelayAuthorizationRule' Cmdlet updates the specified AuthorizationRule
- ///
- [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayAuthorizationRule", DefaultParameterSetName = NamespaceAuthoRuleParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSAuthorizationRuleAttributes))]
- public class SetAzureRelayAuthorizationRule : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1, ParameterSetName = NamespaceAuthoRuleParameterSet,
- HelpMessage = "Namespace Name.")]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = WcfRelayAuthoRuleParameterSet,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string WcfRelay { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2, ParameterSetName = HybridConnectionAuthoRuleParameterSet,
- HelpMessage = "HybridConnection Name.")]
- [ValidateNotNullOrEmpty]
- public string HybridConnection { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "AuthorizationRule Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipeline = true,
- Position = 4,
- ParameterSetName = AuthoRuleInputObjectParameterSet,
- HelpMessage = "Relay AuthorizationRule Object.")]
- [Parameter(ParameterSetName = NamespaceAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public PSAuthorizationRuleAttributes InputObject { get; set; }
-
- [Parameter(Mandatory = true,
- Position = 4,
- ParameterSetName = AuthoRulePropertiesParameterSet,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "Rights, e.g. @(\"Listen\",\"Send\",\"Manage\")")]
- [Parameter(ParameterSetName = NamespaceAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = WcfRelayAuthoRuleParameterSet)]
- [Parameter(ParameterSetName = HybridConnectionAuthoRuleParameterSet)]
- [ValidateNotNullOrEmpty]
- public string[] Rights { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSAuthorizationRuleAttributes sasRule = new PSAuthorizationRuleAttributes();
-
- if (InputObject != null)
- {
- sasRule = InputObject;
- }
- else
- {
- sasRule.Rights = new List();
- if (Rights != null && Rights.Length > 0)
- foreach (string test in Rights)
- {
- sasRule.Rights.Add(test);
- }
- }
-
- // update Namespace Authorization Rule
- if (ParameterSetName == NamespaceAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.UpdateNamespaceAuthorizationrule, Name, Namespace)))
- {
- WriteObject(Client.CreateOrUpdateNamespaceAuthorizationRules(ResourceGroupName, Namespace, Name, sasRule));
- }
-
-
- // Update WcfRelay authorizationRule
- if (ParameterSetName == WcfRelayAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.UpdateWcfRelayAuthorizationrule, Name, WcfRelay)))
- {
- WriteObject(Client.CreateOrUpdateWcfRelayAuthorizationRules(ResourceGroupName, Namespace, WcfRelay, Name, sasRule));
- }
-
- // Update HybridConnection authorizationRule
- if (ParameterSetName == HybridConnectionAuthoRuleParameterSet)
- if (ShouldProcess(target: sasRule.Name, action: string.Format(Resources.UpdateHybirdconnectionAuthorizationrule, Name, HybridConnection)))
- {
- WriteObject(Client.CreateOrUpdateHybridConnectionsAuthorizationRules(ResourceGroupName, Namespace, HybridConnection, Name, sasRule));
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/AzureRmRelayCmdletBase.cs b/src/Relay/Relay/Cmdlets/AzureRmRelayCmdletBase.cs
deleted file mode 100644
index 4cb244645e50..000000000000
--- a/src/Relay/Relay/Cmdlets/AzureRmRelayCmdletBase.cs
+++ /dev/null
@@ -1,175 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay;
-using Microsoft.Azure.Management.Relay;
-using Microsoft.Azure.Management.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common;
-using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
-using Microsoft.WindowsAzure.Commands.Utilities.Common;
-using Newtonsoft.Json;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using System.Globalization;
-using System.IO;
-using System.Management.Automation;
-using System.Threading;
-
-
-namespace Microsoft.Azure.Commands.Relay.Commands
-{
-
- public abstract class AzureRelayCmdletBase : AzureRMCmdlet
- {
- public const string InputFileParameterSetName = "InputFileParameterSet";
- public const string SASRuleParameterSetName = "SASRuleParameterSet";
- public const string RelayParameterSetName = "RelayParameterSet";
- public const string ConsumerGroupParameterSetName = "ConsumerGroupParameterSet";
- public const string RegenerateKeySetName = "RegenerateKeySet";
-
- protected const string RelayNamespaceVerb = "AzureRmRelayNamespace";
- protected const string RelayNamespaceAuthorizationRuleVerb = "AzureRmRelayNamespaceAuthorizationRule";
- protected const string RelayNamespaceKeyVerb = "AzureRmRelayNamespaceKey";
-
- protected const string RelayWcfRelayVerb = "AzureRmWcfRelay";
- protected const string RelayWcfRelayAuthorizationRuleVerb = "AzureRmWcfRelayAuthorizationRule";
- protected const string RelayWcfRelayKeyVerb = "AzureRmWcfRelayKey";
-
- protected const string RelayHybridConnectionVerb = "AzureRmRelayHybridConnection";
- protected const string RelayHybridConnectionAuthorizationRuleVerb = "AzureRmRelayHybridConnectionAuthorizationRule";
- protected const string RelayHybridConnectionKeyVerb = "AzureRmRelayHybridConnectionKey";
-
- //AuthorizationRules
- protected const string RelayAuthorizationRuleVerb = "AzureRmRelayAuthorizationRule";
- protected const string RelayKeyVerb = "AzureRmRelayKey";
-
- //Parametersets for Authorizationrules
- protected const string NamespaceAuthoRuleParameterSet = "NamespaceAuthorizationRuleSet";
- protected const string WcfRelayAuthoRuleParameterSet = "WcfRelayAuthorizationRuleSet";
- protected const string HybridConnectionAuthoRuleParameterSet = "HybridConnectionAuthorizationRuleSet";
-
- //Parameter sets for InputObjects
- protected const string NamespaceInputObjectParameterSet = "NamespaceInputObjectSet";
- protected const string WcfRelayInputObjectParameterSet = "WcfRelayInputObjectSet";
- protected const string HybridConnectionInputObjectParameterSet = "HybridConnectionInputObjectSet";
- protected const string AuthoRuleInputObjectParameterSet = "AuthoRuleInputObjectSet";
-
- //Parameter sets for Properties
- protected const string NamespacePropertiesParameterSet = "NamespacePropertiesSet";
- protected const string WcfRelayPropertiesParameterSet = "WcfRelayPropertiesSet";
- protected const string HybridConnectionPropertiesParameterSet = "HybridConnectionPropertiesSet";
- protected const string AuthoRulePropertiesParameterSet = "AuthoRulePropertiesSet";
-
-
- protected struct SKU
- {
- internal const string Basic = "Basic";
- internal const string Standard = "Standard";
- internal const string Premium = "Premium";
- }
-
- protected struct RegeneKeys
- {
- internal const string PrimaryKey = "PrimaryKey";
- internal const string SecondaryKey = "SecondaryKey";
- }
-
- protected static TimeSpan LongRunningOperationDefaultTimeout = TimeSpan.FromMinutes(1);
- private RelayClient _client;
-
- public RelayClient Client
- {
- get
- {
- if (_client == null)
- {
- _client = new RelayClient(DefaultContext);
- }
- return _client;
- }
- set
- {
- _client = value;
- }
- }
-
- protected T ParseInputFile(string InputFile)
- {
- T parsedObj;
- string path = Directory.GetCurrentDirectory();
- if (!string.IsNullOrEmpty(InputFile))
- {
- string fileName = this.TryResolvePath(InputFile);
- if (!(new FileInfo(fileName)).Exists)
- {
- throw new PSArgumentException(string.Format(CultureInfo.InvariantCulture,Resources.FileDoesNotExist, fileName));
- }
-
- try
- {
- parsedObj = JsonConvert.DeserializeObject(File.ReadAllText(fileName));
- return parsedObj;
- }
- catch (JsonException)
- {
- WriteVerbose("Deserializing the input role definition failed.");
- throw;
- }
- }
-
- return default(T);
- }
- #region TagsHelper
-
- public Dictionary ConvertTagsToDictionary(Hashtable tags)
- {
- if (tags != null)
- {
- Dictionary tagsDictionary = new Dictionary();
- foreach (DictionaryEntry tag in tags)
- {
- string key = tag.Key as string;
- if (string.IsNullOrWhiteSpace(key))
- throw new ArgumentException("Invalid tag name");
-
- if (tag.Value != null && !(tag.Value is string))
- throw new ArgumentException("Tag has invalid value");
- string value = (tag.Value == null) ? string.Empty : (string)tag.Value;
- tagsDictionary[key] = value;
- }
- return tagsDictionary;
-
- }
-
- return null;
- }
-
- public Hashtable ConvertTagsToHashtable(IDictionary tags)
- {
- if (tags != null)
- {
- Hashtable tagsHashtable = new Hashtable();
- foreach (var tag in tags)
- tagsHashtable[tag.Key] = tag.Value;
-
- return tagsHashtable;
- }
-
- return null;
- }
-
- #endregion
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/CheckNameAvailability/TestAzureRelayCheckNameAvailability.cs b/src/Relay/Relay/Cmdlets/CheckNameAvailability/TestAzureRelayCheckNameAvailability.cs
deleted file mode 100644
index e5da481b81fe..000000000000
--- a/src/Relay/Relay/Cmdlets/CheckNameAvailability/TestAzureRelayCheckNameAvailability.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// 'Test-AzureRmCheckNameAvailability' Cmdlet Check Availability of the NameSpace Name
- ///
- [Cmdlet("Test", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayName"), OutputType(typeof(PSCheckNameAvailabilityResultAttributes))]
- public class TestAzureRmRelayName : AzureRelayCmdletBase
- {
- [Parameter(
- Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Relay Namespace Name.")]
- public string Namespace { get; set; }
-
- public override void ExecuteCmdlet()
- { //Check the Relay namespaces name is availability
- PSCheckNameAvailabilityResultAttributes checkNameAvailabilityResult = Client.GetCheckNameAvailability(Namespace);
- WriteObject(checkNameAvailabilityResult, true);
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/HybridConnections/GetAzureRelayHybridConnections.cs b/src/Relay/Relay/Cmdlets/HybridConnections/GetAzureRelayHybridConnections.cs
deleted file mode 100644
index ca9bb18f182b..000000000000
--- a/src/Relay/Relay/Cmdlets/HybridConnections/GetAzureRelayHybridConnections.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.HybridConnections
-{
- ///
- /// 'Get-AzRelayHybridConnection' Cmdlet gives the details of a / List of HybridConnections(s)
- /// If HybridConnections name provided, a single HybridConnections detials will be returned
- /// If WcfRelayHybridConnections name not provided, list of WcfRelayHybridConnections will be returned
- ///
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayHybridConnection"), OutputType(typeof(PSHybridConnectionAttributes))]
- public class GetAzureRmRelayHybridConnection : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "HybridConnections Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- if (!string.IsNullOrEmpty(Name))
- {
- // Get a HybridConnections
- PSHybridConnectionAttributes hybridConnections = Client.GetHybridConnections(ResourceGroupName, Namespace, Name);
- WriteObject(hybridConnections);
- }
- else
- {
- // Get all HybridConnections
- IEnumerable hybridConnectionsList = Client.ListAllHybridConnections(ResourceGroupName, Namespace);
- WriteObject(hybridConnectionsList.ToList(), true);
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/HybridConnections/NewAzureRelayHybridConnections.cs b/src/Relay/Relay/Cmdlets/HybridConnections/NewAzureRelayHybridConnections.cs
deleted file mode 100644
index ecb4e8666762..000000000000
--- a/src/Relay/Relay/Cmdlets/HybridConnections/NewAzureRelayHybridConnections.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using Microsoft.Azure.Management.Relay.Models;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.HybridConnection
-{
- ///
- /// 'New-AzRelayHybridConnection' Cmdlet creates a new HybridConnections
- ///
- [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayHybridConnection", SupportsShouldProcess = true), OutputType(typeof(PSHybridConnectionAttributes))]
- public class NewAzureRmRelayHybridConnection : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "HybridConnections Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = HybridConnectionInputObjectParameterSet,
- HelpMessage = "HybridConnections object.")]
- [ValidateNotNullOrEmpty]
- public PSHybridConnectionAttributes InputObject { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = HybridConnectionPropertiesParameterSet,
- HelpMessage = "true if client authorization is needed for this HybridConnections; otherwise, false")]
- [ValidateNotNullOrEmpty]
- public bool? RequiresClientAuthorization { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = HybridConnectionPropertiesParameterSet,
- HelpMessage = "Gets or sets usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.")]
- [ValidateNotNullOrEmpty]
- public string UserMetadata { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSHybridConnectionAttributes hybridConnections = new PSHybridConnectionAttributes();
-
- if (InputObject != null)
- {
- hybridConnections = InputObject;
- }
- else
- {
-
- if (RequiresClientAuthorization.HasValue)
- hybridConnections.RequiresClientAuthorization = RequiresClientAuthorization;
-
-
- if (!string.IsNullOrEmpty(UserMetadata))
- hybridConnections.UserMetadata = UserMetadata;
-
- }
-
- if(ShouldProcess(target: Name, action:string.Format("Creating new HybridConnections:{0} under NameSpace:{1} ", Name, Namespace)))
- {
- WriteObject(Client.CreateOrUpdateHybridConnections(ResourceGroupName, Namespace, Name, hybridConnections));
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/HybridConnections/RemoveAzureRelayHybridConnections.cs b/src/Relay/Relay/Cmdlets/HybridConnections/RemoveAzureRelayHybridConnections.cs
deleted file mode 100644
index 8366e239fe40..000000000000
--- a/src/Relay/Relay/Cmdlets/HybridConnections/RemoveAzureRelayHybridConnections.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-namespace Microsoft.Azure.Commands.Relay.Commands.HybridConnections
-{
- ///
- /// 'Remove-AzRelayHybridConnection' Cmdlet removes the specified HybridConnections
- ///
- [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayHybridConnection", SupportsShouldProcess = true), OutputType(typeof(void))]
- public class RemoveAzureRelayHybridConnections : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "HybridConnections Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- // Remove a HybridConnections
- ConfirmAction(
- string.Format(Resources.RemoveHybirdconnection, Name, Namespace),
- Name,
- () =>
- {
- Client.DeleteHybridConnections(ResourceGroupName, Namespace, Name);
- });
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/HybridConnections/SetAzureRelayHybridConnections.cs b/src/Relay/Relay/Cmdlets/HybridConnections/SetAzureRelayHybridConnections.cs
deleted file mode 100644
index e515fb935b9d..000000000000
--- a/src/Relay/Relay/Cmdlets/HybridConnections/SetAzureRelayHybridConnections.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.HybridConnections
-{
- ///
- /// 'Set-AzRelayHybridConnection' Cmdlet updates the specified WcfRelay
- ///
- [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayHybridConnection", SupportsShouldProcess = true), OutputType(typeof(PSHybridConnectionAttributes))]
- public class SetAzureRelayHybridConnections : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "HybridConnections Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false,
- ParameterSetName = HybridConnectionInputObjectParameterSet,
- ValueFromPipeline = true,
- HelpMessage = "HybridConnections object.")]
- [ValidateNotNullOrEmpty]
- public PSHybridConnectionAttributes InputObject { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = HybridConnectionPropertiesParameterSet,
- HelpMessage = "Gets or sets usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.")]
- [ValidateNotNullOrEmpty]
- public string UserMetadata { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSHybridConnectionAttributes hybridConnections = new PSHybridConnectionAttributes();
-
- if (InputObject != null)
- {
- hybridConnections = InputObject;
- }
- else
- {
- if (!string.IsNullOrEmpty(UserMetadata))
- hybridConnections.UserMetadata = UserMetadata;
- }
-
- if(ShouldProcess(target: Name, action: string.Format(Resources.UpdateHybirdconnection, Name,Namespace)))
- {
- WriteObject(Client.UpdateHybridConnections(ResourceGroupName, Namespace, Name, hybridConnections));
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/Namespace/GetAzureRelayNamespace.cs b/src/Relay/Relay/Cmdlets/Namespace/GetAzureRelayNamespace.cs
deleted file mode 100644
index 3bdef40479c4..000000000000
--- a/src/Relay/Relay/Cmdlets/Namespace/GetAzureRelayNamespace.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// 'Get-AzRelayNamespace' Cmdlet gives the details of a / List of Relay Namespace(s)
- /// If Namespace name provided, a single Namespace detials will be returned
- /// If Namespace name not provided, list of Namespace will be returned
- ///
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayNamespace"), OutputType(typeof(PSRelayNamespaceAttributes))]
- public class GetAzureRmRelayNamespace : AzureRelayCmdletBase
- {
- [Parameter(
- Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- public string ResourceGroupName { get; set; }
-
- [Parameter(
- Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Relay Namespace Name.")]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- if (!string.IsNullOrEmpty(ResourceGroupName) && !string.IsNullOrEmpty(Name))
- {
- // Get Relay namespace
- PSRelayNamespaceAttributes attributes = Client.GetNamespace(ResourceGroupName, Name);
- WriteObject(attributes);
- }
- else if (!string.IsNullOrEmpty(ResourceGroupName) && string.IsNullOrEmpty(Name))
- {
- // List all Relay namespace in given resource group
- IEnumerable namespaceList = Client.ListNamespacesByResourceGroup(ResourceGroupName);
- WriteObject(namespaceList.ToList(), true);
- }
- else
- {
- // List all Relay namespaces in the given subscription
- IEnumerable namespaceList = Client.ListNamespacesBySubscription();
- WriteObject(namespaceList.ToList(), true);
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/Namespace/NewAzureRelayNamespace.cs b/src/Relay/Relay/Cmdlets/Namespace/NewAzureRelayNamespace.cs
deleted file mode 100644
index 8d7dcecb0dfd..000000000000
--- a/src/Relay/Relay/Cmdlets/Namespace/NewAzureRelayNamespace.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
-using System.Collections;
-using System.Collections.Generic;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// this commandlet will let you Create Relay namespace.
- ///
- [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayNamespace", SupportsShouldProcess = true), OutputType(typeof(PSRelayNamespaceAttributes))]
- public class NewAzureRelayNamespace : AzureRelayCmdletBase
- {
- ///
- /// Name of the resource group.
- ///
- [Parameter(
- Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- ///
- /// Relay Namespace Name.
- ///
- [Parameter(
- Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Relay Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- ///
- /// Relay Namespace Location.
- ///
- [Parameter(
- Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "Relay Namespace Location.")]
- [LocationCompleter("Microsoft.Relay/namespaces")]
- [ValidateNotNullOrEmpty]
- public string Location { get; set; }
-
-
- ///
- /// Hashtables which represents resource Tags.
- ///
- [Parameter(
- Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "Hashtables which represents resource Tags.")]
- public Hashtable Tag { get; set; }
-
- ///
- ///
- ///
- public override void ExecuteCmdlet()
- {
- // Create a new Relay namespaces
- Dictionary tagDictionary = TagsConversionHelper.CreateTagDictionary(Tag, validate: true);
- if (ShouldProcess(target: Name, action: string.Format("Create a new Relay-Namespace:{0} under Resource Group:{1}", Name, ResourceGroupName)))
- {
- WriteObject(Client.BeginCreateNamespace(ResourceGroupName, Name, Location, tagDictionary));
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/Namespace/RemoveAzureRelayNamespace.cs b/src/Relay/Relay/Cmdlets/Namespace/RemoveAzureRelayNamespace.cs
deleted file mode 100644
index d6d86c2449c5..000000000000
--- a/src/Relay/Relay/Cmdlets/Namespace/RemoveAzureRelayNamespace.cs
+++ /dev/null
@@ -1,53 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// 'Remove-AzRelayNamespace' Cmdlet deletes the specified Relay Namespace
- ///
- [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayNamespace", SupportsShouldProcess = true), OutputType(typeof(void))]
- public class RemoveAzureRmRelayNamespace : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Relay Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- // Remove a Relay namespace
- ConfirmAction(
- string.Format(Resources.RemoveRelayNamespace, Name, ResourceGroupName),
- Name,
- () =>
- {
- Client.BeginDeleteNamespace(ResourceGroupName, Name);
- });
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/Namespace/SetAzureRelayNamespace.cs b/src/Relay/Relay/Cmdlets/Namespace/SetAzureRelayNamespace.cs
deleted file mode 100644
index f0e517e99e4a..000000000000
--- a/src/Relay/Relay/Cmdlets/Namespace/SetAzureRelayNamespace.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using Microsoft.Azure.Commands.ResourceManager.Common.Tags;
-using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
-using System.Collections;
-using System.Collections.Generic;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// 'Set-AzRelayNamespace' Cmdlet updates the specified Relay Namespace
- ///
- [GenericBreakingChange("Set-AzRelayNamespace will be removed in an upcoming breaking change release, you can use Update-AzRelayNamespace in a future release", "2.0.0")]
- [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayNamespace", SupportsShouldProcess = true), OutputType(typeof(PSRelayNamespaceAttributes))]
- public class SetAzureRelayNamespace : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Relay Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "Hashtables which represents resource Tag.")]
- public Hashtable Tag { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipeline = true,
- HelpMessage = "Relay Namespace object.")]
- [ValidateNotNullOrEmpty]
- public RelayNamespaceAttirbutesUpdateParameter InputObject { get; set; }
-
- public override void ExecuteCmdlet()
- {
- RelayNamespaceAttirbutesUpdateParameter relayNamespace = new RelayNamespaceAttirbutesUpdateParameter();
-
- if (InputObject != null)
- {
- relayNamespace = InputObject;
- }
- else
- {
- // Update a Relay namespace
- Dictionary tagDictionary = TagsConversionHelper.CreateTagDictionary(Tag, validate: true);
-
- relayNamespace.Tags = tagDictionary;
- }
- if (ShouldProcess(target: Name, action: string.Format(Resources.UpdateRelayNamespace, Name, ResourceGroupName)))
- {
- WriteObject(Client.UpdateNamespace(ResourceGroupName, Name, relayNamespace));
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/Operations/GetAzureRelayOperations.cs b/src/Relay/Relay/Cmdlets/Operations/GetAzureRelayOperations.cs
deleted file mode 100644
index 4a2b26ea3558..000000000000
--- a/src/Relay/Relay/Cmdlets/Operations/GetAzureRelayOperations.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.Namespace
-{
- ///
- /// 'Get-AzRelayOperation' Cmdlet retrive the Operations List
- ///
- [GenericBreakingChange("Get-AzRelayOperation will be removed in an upcoming breaking change release. Please use 'Get-AzProviderOperation Microsoft.Relay/*'", "2.0.0")]
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RelayOperation"), OutputType(typeof(PSOperationAttributes))]
- public class GetAzureRmRelayOperation : AzureRelayCmdletBase
- {
- public override void ExecuteCmdlet()
- { //Get Relay Operations List
- IEnumerable GetOperationsResult = Client.GetOperations();
- WriteObject(GetOperationsResult, true);
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/WcfRelay/GetAzureWcfRelay.cs b/src/Relay/Relay/Cmdlets/WcfRelay/GetAzureWcfRelay.cs
deleted file mode 100644
index fecd9976d399..000000000000
--- a/src/Relay/Relay/Cmdlets/WcfRelay/GetAzureWcfRelay.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Collections.Generic;
-using System.Linq;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.WcfRelay
-{
- ///
- /// 'Get-AzWcfRelay' Cmdlet gives the details of a / List of WcfRelay(s)
- /// If WcfRelay name provided, a single WcfRelay detials will be returned
- /// If WcfRelay name not provided, list of WcfRelay will be returned
- ///
- [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WcfRelay"), OutputType(typeof(PSWcfRelayAttributes))]
- public class GetAzureRmRelayWcfRelay : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- Position = 3,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- if (!string.IsNullOrEmpty(Name))
- {
- // Get a WcfRelay
- PSWcfRelayAttributes wcfRelay = Client.GetWcfRelay(ResourceGroupName, Namespace, Name);
- WriteObject(wcfRelay);
- }
- else
- {
- // Get all WcfRelay
- IEnumerable wcfRelayList = Client.ListAllWcfRelay(ResourceGroupName, Namespace);
- WriteObject(wcfRelayList.ToList(), true);
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/WcfRelay/NewAzureWcfRelay.cs b/src/Relay/Relay/Cmdlets/WcfRelay/NewAzureWcfRelay.cs
deleted file mode 100644
index 4598b65aac0b..000000000000
--- a/src/Relay/Relay/Cmdlets/WcfRelay/NewAzureWcfRelay.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using Microsoft.Azure.Management.Relay.Models;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.WcfRelay
-{
- ///
- /// 'New-AzWcfRelay' Cmdlet creates a new WcfRelay
- ///
- [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WcfRelay", SupportsShouldProcess = true), OutputType(typeof(PSWcfRelayAttributes))]
- public class NewAzureRmWcfRelay : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false,
- ParameterSetName = WcfRelayInputObjectParameterSet,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "WcfRelay object.")]
- [ValidateNotNullOrEmpty]
- public PSWcfRelayAttributes InputObject { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = WcfRelayPropertiesParameterSet,
- HelpMessage = "WcfRelay Type. Possible values include: 'NetTcp' or 'Http'")]
- [ValidateNotNullOrEmpty]
- [ValidateSet("NetTcp", "Http", IgnoreCase = false)]
- public string WcfRelayType { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = WcfRelayPropertiesParameterSet,
- HelpMessage = "true if client authorization is needed for this relay; otherwise, false")]
- [ValidateNotNullOrEmpty]
- public bool? RequiresClientAuthorization { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = WcfRelayPropertiesParameterSet,
- HelpMessage = "true if transport security is needed for this relay; otherwise, false")]
- [ValidateNotNullOrEmpty]
- public bool? RequiresTransportSecurity { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = WcfRelayPropertiesParameterSet,
- HelpMessage = "Gets or sets usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.")]
- [ValidateNotNullOrEmpty]
- public string UserMetadata { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSWcfRelayAttributes wcfRelay = new PSWcfRelayAttributes();
-
- if (InputObject != null)
- {
- wcfRelay = InputObject;
- }
- else
- {
- if (!string.IsNullOrEmpty(WcfRelayType))
- wcfRelay.RelayType = WcfRelayType;
-
- if (RequiresClientAuthorization.HasValue)
- wcfRelay.RequiresClientAuthorization = RequiresClientAuthorization;
-
- if (RequiresTransportSecurity.HasValue)
- wcfRelay.RequiresTransportSecurity = RequiresTransportSecurity;
-
- if (!string.IsNullOrEmpty(UserMetadata))
- wcfRelay.UserMetadata = UserMetadata;
-
- }
-
- if(ShouldProcess(target: Name, action:string.Format("Creating new WcfRelay:{0} under NameSpace:{1} ", Name, Namespace)))
- {
- WriteObject(Client.CreateOrUpdateWcfRelay(ResourceGroupName, Namespace, Name, wcfRelay));
- }
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/WcfRelay/RemoveAzureWcfRelay.cs b/src/Relay/Relay/Cmdlets/WcfRelay/RemoveAzureWcfRelay.cs
deleted file mode 100644
index 8eaec2c990e1..000000000000
--- a/src/Relay/Relay/Cmdlets/WcfRelay/RemoveAzureWcfRelay.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-namespace Microsoft.Azure.Commands.Relay.Commands.WcfRelay
-{
- ///
- /// 'Remove-AzWcfRelay' Cmdlet removes the specified WcfRelay
- ///
- [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WcfRelay", SupportsShouldProcess = true), OutputType(typeof(void))]
- public class RemoveAzureWcfRelay : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- public override void ExecuteCmdlet()
- {
- // Remove a HybridConnections
- ConfirmAction(
- string.Format(Resources.RemoveWcfRelay, Name, Namespace),
- Name,
- () =>
- {
- Client.DeleteWcfRelay(ResourceGroupName, Namespace, Name);
- });
-
- }
- }
-}
diff --git a/src/Relay/Relay/Cmdlets/WcfRelay/SetAzureWcfRelay.cs b/src/Relay/Relay/Cmdlets/WcfRelay/SetAzureWcfRelay.cs
deleted file mode 100644
index bbe28b02a04c..000000000000
--- a/src/Relay/Relay/Cmdlets/WcfRelay/SetAzureWcfRelay.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
-using System.Management.Automation;
-
-namespace Microsoft.Azure.Commands.Relay.Commands.WcfRelay
-{
- ///
- /// 'Set-AzWcfRelay' Cmdlet updates the specified WcfRelay
- ///
- [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "WcfRelay", SupportsShouldProcess = true), OutputType(typeof(PSWcfRelayAttributes))]
- public class SetAzureWcfRelay : AzureRelayCmdletBase
- {
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 0,
- HelpMessage = "Resource Group Name.")]
- [ResourceGroupCompleter]
- [ValidateNotNullOrEmpty]
- public string ResourceGroupName { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 1,
- HelpMessage = "Namespace Name.")]
- [ValidateNotNullOrEmpty]
- public string Namespace { get; set; }
-
- [Parameter(Mandatory = true,
- ValueFromPipelineByPropertyName = true,
- Position = 2,
- HelpMessage = "WcfRelay Name.")]
- [ValidateNotNullOrEmpty]
- public string Name { get; set; }
-
- [Parameter(Mandatory = false,
- ParameterSetName = WcfRelayInputObjectParameterSet,
- ValueFromPipelineByPropertyName = true,
- HelpMessage = "WcfRelay object.")]
- [ValidateNotNullOrEmpty]
- public PSWcfRelayAttributes InputObject { get; set; }
-
- [Parameter(Mandatory = false,
- ValueFromPipelineByPropertyName = true,
- ParameterSetName = WcfRelayPropertiesParameterSet,
- HelpMessage = "Gets or sets usermetadata is a placeholder to store user-defined string data for the WcfRelay endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.")]
- [ValidateNotNullOrEmpty]
- public string UserMetadata { get; set; }
-
- public override void ExecuteCmdlet()
- {
- PSWcfRelayAttributes wcfRelay = new PSWcfRelayAttributes();
-
- if (InputObject != null)
- {
- wcfRelay = InputObject;
- }
- else
- {
- if (!string.IsNullOrEmpty(UserMetadata))
- wcfRelay.UserMetadata = UserMetadata;
- }
-
- if(ShouldProcess(target: Name, action: string.Format(Resources.UpdateWcfRelay, Name,Namespace)))
- {
- WriteObject(Client.UpdateWcfRelay(ResourceGroupName, Namespace, Name, wcfRelay));
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Models/PSAccessRightsAttributes.cs b/src/Relay/Relay/Models/PSAccessRightsAttributes.cs
deleted file mode 100644
index fcbdd30cdcf1..000000000000
--- a/src/Relay/Relay/Models/PSAccessRightsAttributes.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- ///
- /// Defines values for AccessRights.
- ///
- public static class PSAccessRightsAttributes
- {
- public const string Manage = "Manage";
- public const string Send = "Send";
- public const string Listen = "Listen";
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSAuthorizationRuleAttributes.cs b/src/Relay/Relay/Models/PSAuthorizationRuleAttributes.cs
deleted file mode 100644
index 8837085275a0..000000000000
--- a/src/Relay/Relay/Models/PSAuthorizationRuleAttributes.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using System.Collections.Generic;
- using Azure.Management.Relay.Models;
-
- ///
- /// Description of a Namespace AuthorizationRules.
- ///
- public partial class PSAuthorizationRuleAttributes
- {
- ///
- ///
- ///
- public const string DefaultClaimType = "SharedAccessKey";
- ///
- ///
- ///
- public const string DefaultClaimValue = "None";
-
- ///
- ///
- ///
- internal const string DefaultNamespaceAuthorizationRule = "RootManageSharedAccessKey";
-
- ///
- /// Initializes a new instance of the AuthorizationRule class.
- ///
- public PSAuthorizationRuleAttributes() { Rights = new List(); }
-
- ///
- /// Initializes a new instance of the AuthorizationRule class.
- ///
- ///
- public PSAuthorizationRuleAttributes(AuthorizationRule authorizationrule)
- {
- Id = authorizationrule.Id;
- Name = authorizationrule.Name;
- Type = authorizationrule.Type;
-
- Rights = new List();
-
- foreach (AccessRights rights in authorizationrule.Rights)
- {
- Rights.Add(rights.ToString());
- }
- }
-
-
- ///
- /// Gets or sets the rights associated with the rule.
- ///
- public IList Rights { get; set; }
-
- ///
- /// Gets or sets the rights associated with the rule.
- ///
- public string Name { get; set; }
-
- ///
- /// Gets or sets the rights associated with the rule.
- ///
- public string Type { get; set; }
-
- ///
- /// Gets or sets the rights associated with the rule.
- ///
- public string Id { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSAuthorizationRuleKeysAttributes.cs b/src/Relay/Relay/Models/PSAuthorizationRuleKeysAttributes.cs
deleted file mode 100644
index be86d50d151e..000000000000
--- a/src/Relay/Relay/Models/PSAuthorizationRuleKeysAttributes.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure.Management.Relay.Models;
-
- ///
- /// Namespace/Relay Connection String
- ///
- public partial class PSAuthorizationRuleKeysAttributes
- {
- ///
- /// Initializes a new instance of the AuthorizationRuleKeys class.
- ///
- public PSAuthorizationRuleKeysAttributes() { }
-
- ///
- /// Initializes a new instance of the AuthorizationRuleKeysAttributes class.
- ///
- /// PrimaryConnectionString of
- /// the created Namespace AuthorizationRule.
- /// SecondaryConnectionString
- /// of the created Namespace AuthorizationRule
- /// A base64-encoded 256-bit primary key for
- /// signing and validating the SAS token
- /// A base64-encoded 256-bit secondary key
- /// for signing and validating the SAS token
- /// A string that describes the authorization
- /// rule
- public PSAuthorizationRuleKeysAttributes(string primaryConnectionString = default(string), string secondaryConnectionString = default(string), string primaryKey = default(string), string secondaryKey = default(string), string keyName = default(string))
- {
- PrimaryConnectionString = primaryConnectionString;
- SecondaryConnectionString = secondaryConnectionString;
- PrimaryKey = primaryKey;
- SecondaryKey = secondaryKey;
- KeyName = keyName;
- }
-
- ///
- /// Initializes a new instance of the AuthorizationRuleKeysAttributes class with a Azure.Management.Relay.Models.AuthorizationRuleKeys
- ///
- ///
- public PSAuthorizationRuleKeysAttributes(AccessKeys authorizationruleskeys)
- {
- PrimaryConnectionString = authorizationruleskeys.PrimaryConnectionString;
- SecondaryConnectionString = authorizationruleskeys.SecondaryConnectionString;
- PrimaryKey = authorizationruleskeys.PrimaryKey;
- SecondaryKey = authorizationruleskeys.SecondaryKey;
- KeyName = authorizationruleskeys.KeyName;
- }
-
- ///
- /// Gets or sets primaryConnectionString of the created Namespace
- /// AuthorizationRule.
- ///
- public string PrimaryConnectionString { get; set; }
-
- ///
- /// Gets or sets secondaryConnectionString of the created Namespace
- /// AuthorizationRule
- ///
- public string SecondaryConnectionString { get; set; }
-
- ///
- /// Gets or sets a base64-encoded 256-bit primary key for signing and
- /// validating the SAS token
- ///
- public string PrimaryKey { get; set; }
-
- ///
- /// Gets or sets a base64-encoded 256-bit secondary key for signing and
- /// validating the SAS token
- ///
- public string SecondaryKey { get; set; }
-
- ///
- /// Gets or sets a string that describes the authorization rule
- ///
- public string KeyName { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSCheckNameAvailabilityAttributes.cs b/src/Relay/Relay/Models/PSCheckNameAvailabilityAttributes.cs
deleted file mode 100644
index a7f5c41ed2ac..000000000000
--- a/src/Relay/Relay/Models/PSCheckNameAvailabilityAttributes.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
-
- ///
- /// Description of a Check Name availability request properties.
- ///
- public partial class PSCheckNameAvailabilityAttributes
- {
- ///
- /// Initializes a new instance of the CheckNameAvailability class.
- ///
- public PSCheckNameAvailabilityAttributes() { }
-
- ///
- /// Initializes a new instance of the CheckNameAvailability class.
- ///
- /// The Name to check the namespace name availability
- /// and The namespace name can contain only letters, numbers, and
- /// hyphens. The namespace must start with a letter, and it must end
- /// with a letter or number.
- public PSCheckNameAvailabilityAttributes(string name)
- {
- Name = name;
- }
-
- ///
- /// Gets or sets the Name to check the namespace name availability and
- /// The namespace name can contain only letters, numbers, and hyphens.
- /// The namespace must start with a letter, and it must end with a
- /// letter or number.
- ///
- public string Name { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSCheckNameAvailabilityResultAttributes.cs b/src/Relay/Relay/Models/PSCheckNameAvailabilityResultAttributes.cs
deleted file mode 100644
index fba19d1cba7d..000000000000
--- a/src/Relay/Relay/Models/PSCheckNameAvailabilityResultAttributes.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure.Management.Relay.Models;
- using System;
-
- ///
- /// Description of a Check Name availability request properties.
- ///
- public partial class PSCheckNameAvailabilityResultAttributes
- {
- ///
- /// Initializes a new instance of the CheckNameAvailabilityResult
- /// class.
- ///
- public PSCheckNameAvailabilityResultAttributes() { }
-
- ///
- /// Initializes a new instance of the CheckNameAvailabilityResult
- /// class.
- ///
- /// Value indicating namespace is
- /// availability, true if the namespace is available; otherwise,
- /// false.
- /// The reason for unavailability of a namespace.
- /// Possible values include: 'None', 'InvalidName',
- /// 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
- /// 'TooManyNamespaceInCurrentSubscription'
- /// The detailed info regarding the reason
- /// associated with the namespace.
- public PSCheckNameAvailabilityResultAttributes(bool? nameAvailable = default(bool?), PSUnavailableReasonAttributes? reason = default(PSUnavailableReasonAttributes?), string message = default(string))
- {
- NameAvailable = nameAvailable;
- Reason = reason;
- Message = message;
- }
-
-
- public PSCheckNameAvailabilityResultAttributes(CheckNameAvailabilityResult checkNameAvailabilityResult)
- {
- NameAvailable = checkNameAvailabilityResult.NameAvailable;
- if (checkNameAvailabilityResult.Reason.HasValue)
- {
- Reason = (PSUnavailableReasonAttributes)Enum.Parse(typeof(PSUnavailableReasonAttributes), checkNameAvailabilityResult.Reason.Value.ToString(), true);
- }
-
- Message = checkNameAvailabilityResult.Message;
- }
-
- ///
- /// Gets or sets value indicating namespace is availability, true if
- /// the namespace is available; otherwise, false.
- ///
- public bool? NameAvailable { get; set; }
-
- ///
- /// Gets or sets the reason for unavailability of a namespace. Possible
- /// values include: 'None', 'InvalidName', 'SubscriptionIsDisabled',
- /// 'NameInUse', 'NameInLockdown',
- /// 'TooManyNamespaceInCurrentSubscription'
- ///
- public PSUnavailableReasonAttributes? Reason { get; set; }
-
- ///
- /// Gets the detailed info regarding the reason associated with the
- /// namespace.
- ///
- public string Message { get; protected set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSHybridConnectionAttributes.cs b/src/Relay/Relay/Models/PSHybridConnectionAttributes.cs
deleted file mode 100644
index 1df6bf9dc9be..000000000000
--- a/src/Relay/Relay/Models/PSHybridConnectionAttributes.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure.Management.Relay.Models;
-
- ///
- /// Description of HybridConnection Resource.
- ///
- public partial class PSHybridConnectionAttributes : PSResourceAttributes
- {
- ///
- /// Initializes a new instance of the HybridConnection class.
- ///
- public PSHybridConnectionAttributes() { }
-
- ///
- /// Initializes a new instance of the HybridConnection class.
- ///
- /// Resource Id
- /// Resource name
- /// Resource type
- /// The time the HybridConnection was
- /// created.
- /// The time the namespace was updated.
- /// The number of listeners for this
- /// HybridConnection. min : 1 and max:25 supported
- /// true if client
- /// authorization is needed for this HybridConnection; otherwise,
- /// false.
- /// usermetadata is a placeholder to store
- /// user-defined string data for the HybridConnection endpoint.e.g. it
- /// can be used to store descriptive data, such as list of teams and
- /// their contact information also user-defined configuration settings
- /// can be stored.
- public PSHybridConnectionAttributes(string id = default(string), string name = default(string), string type = default(string), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), int? listenerCount = default(int?), bool? requiresClientAuthorization = default(bool?), string userMetadata = default(string))
- : base(id, name, type)
- {
- CreatedAt = createdAt;
- UpdatedAt = updatedAt;
- ListenerCount = listenerCount;
- RequiresClientAuthorization = requiresClientAuthorization;
- UserMetadata = userMetadata;
- }
-
-
- public PSHybridConnectionAttributes(HybridConnection hybridConnection)
- {
- Id = hybridConnection.Id;
- Name = hybridConnection.Name;
- Type = hybridConnection.Type;
- CreatedAt = hybridConnection.CreatedAt;
- UpdatedAt = hybridConnection.UpdatedAt;
- ListenerCount = hybridConnection.ListenerCount;
- RequiresClientAuthorization = hybridConnection.RequiresClientAuthorization;
- UserMetadata = hybridConnection.UserMetadata;
- }
-
-
- ///
- /// Gets the time the HybridConnection was created.
- ///
- public System.DateTime? CreatedAt { get; protected set; }
-
- ///
- /// Gets the time the namespace was updated.
- ///
- public System.DateTime? UpdatedAt { get; protected set; }
-
- ///
- /// Gets the number of listeners for this HybridConnection. min : 1 and
- /// max:25 supported
- ///
- public int? ListenerCount { get; protected set; }
-
- ///
- /// Gets or sets true if client authorization is needed for this
- /// HybridConnection; otherwise, false.
- ///
- public bool? RequiresClientAuthorization { get; set; }
-
- ///
- /// Gets or sets usermetadata is a placeholder to store user-defined
- /// string data for the HybridConnection endpoint.e.g. it can be used
- /// to store descriptive data, such as list of teams and their contact
- /// information also user-defined configuration settings can be stored.
- ///
- public string UserMetadata { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSOperationAttributes.cs b/src/Relay/Relay/Models/PSOperationAttributes.cs
deleted file mode 100644
index fdce3094ce4d..000000000000
--- a/src/Relay/Relay/Models/PSOperationAttributes.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure.Management.Relay.Models;
-
- ///
- /// A Relay REST API operation
- ///
- public partial class PSOperationAttributes
- {
- ///
- /// Initializes a new instance of the Operation class.
- ///
- public PSOperationAttributes() { }
-
- ///
- /// Initializes a new instance of the Operation class.
- ///
- /// Operation name:
- /// {provider}/{resource}/{operation}
- /// The object that represents the
- /// operation.
- public PSOperationAttributes(string name = default(string), PSOperationDisplayAttributes display = default(PSOperationDisplayAttributes))
- {
- Name = name;
- Display = display;
- }
-
- public PSOperationAttributes(Operation operation)
- {
- Name = operation.Name;
- if(operation.Display != null)
- Display = new PSOperationDisplayAttributes(operation.Display.Operation);
- }
-
-
- ///
- /// Gets operation name: {provider}/{resource}/{operation}
- ///
- public string Name { get; protected set; }
-
- ///
- /// Gets or sets the object that represents the operation.
- ///
- public PSOperationDisplayAttributes Display { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSOperationDisplayAttributes.cs b/src/Relay/Relay/Models/PSOperationDisplayAttributes.cs
deleted file mode 100644
index 35e5eaebf6fc..000000000000
--- a/src/Relay/Relay/Models/PSOperationDisplayAttributes.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure.Management.Relay.Models;
-
- ///
- /// The object that represents the operation.
- ///
- public partial class PSOperationDisplayAttributes
- {
- ///
- /// Initializes a new instance of the OperationDisplay class.
- ///
- public PSOperationDisplayAttributes() { }
-
- ///
- /// Initializes a new instance of the OperationDisplay class.
- ///
- /// Service provider: Microsoft.RelayName
- /// Resource on which the operation is
- /// performed: Invoice, etc.
- /// Operation type: Read, write, delete,
- /// etc.
- public PSOperationDisplayAttributes(string provider = default(string), string resource = default(string), string operation = default(string))
- {
- Provider = provider;
- Resource = resource;
- Operation = operation;
- }
-
- public PSOperationDisplayAttributes(OperationDisplay operationDisplay)
- {
- Provider = operationDisplay.Provider;
- Resource = operationDisplay.Resource;
- Operation = operationDisplay.Operation;
- }
-
- ///
- /// Gets service provider: Microsoft.RelayName
- ///
- public string Provider { get; protected set; }
-
- ///
- /// Gets resource on which the operation is performed: Invoice, etc.
- ///
- public string Resource { get; protected set; }
-
- ///
- /// Gets operation type: Read, write, delete, etc.
- ///
- public string Operation { get; protected set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSPageAttributes.cs b/src/Relay/Relay/Models/PSPageAttributes.cs
deleted file mode 100644
index 3f0f4b329ade..000000000000
--- a/src/Relay/Relay/Models/PSPageAttributes.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Rest.Azure;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
-
- ///
- /// Defines a page in Azure responses.
- ///
- /// Type of the page content items
- [JsonObject]
- public class Page : IPage
- {
- ///
- /// Gets the link to the next page.
- ///
- [JsonProperty("nextLink")]
- public string NextPageLink { get; private set; }
-
- [JsonProperty("value")]
- private IList Items{ get; set; }
-
- ///
- /// Returns an enumerator that iterates through the collection.
- ///
- /// A an enumerator that can be used to iterate through the collection.
- public IEnumerator GetEnumerator()
- {
- return Items == null ? System.Linq.Enumerable.Empty().GetEnumerator() : Items.GetEnumerator();
- }
-
- ///
- /// Returns an enumerator that iterates through the collection.
- ///
- /// A an enumerator that can be used to iterate through the collection.
- IEnumerator IEnumerable.GetEnumerator()
- {
- return GetEnumerator();
- }
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSPolicyKeyAttributes.cs b/src/Relay/Relay/Models/PSPolicyKeyAttributes.cs
deleted file mode 100644
index 9fcd856d3851..000000000000
--- a/src/Relay/Relay/Models/PSPolicyKeyAttributes.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- ///
- /// Defines values for PolicyKey.
- ///
- public static class PSPolicyKeyAttributes
- {
- public const string PrimaryKey = "PrimaryKey";
- public const string SecondaryKey = "SecondaryKey";
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSRegenerateKeysAttirbutes.cs b/src/Relay/Relay/Models/PSRegenerateKeysAttirbutes.cs
deleted file mode 100644
index 9864ab9e13b5..000000000000
--- a/src/Relay/Relay/Models/PSRegenerateKeysAttirbutes.cs
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Newtonsoft.Json;
-
- ///
- /// Parameters supplied to the Regenerate Authorization Rule operation.
- ///
- public partial class PSRegenerateKeysAttirbutes
- {
- ///
- /// Initializes a new instance of the RegenerateKeysParameters class.
- ///
- public PSRegenerateKeysAttirbutes() { }
-
- ///
- /// Initializes a new instance of the RegenerateKeysParameters class.
- ///
- /// Key that needs to be regenerated. Possible
- /// values include: 'PrimaryKey', 'SecondaryKey'
- public PSRegenerateKeysAttirbutes(string policyKey = default(string))
- {
- PolicyKey = policyKey;
- }
-
- ///
- /// Gets or sets key that needs to be regenerated. Possible values
- /// include: 'PrimaryKey', 'SecondaryKey'
- ///
- [JsonProperty(PropertyName = "policyKey")]
- public string PolicyKey { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSRelayNamespaceAttributes.cs b/src/Relay/Relay/Models/PSRelayNamespaceAttributes.cs
deleted file mode 100644
index 991258a9c467..000000000000
--- a/src/Relay/Relay/Models/PSRelayNamespaceAttributes.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Newtonsoft.Json;
- using System.Collections.Generic;
- using Azure.Management.Relay.Models;
- using System.Text.RegularExpressions;
-
- ///
- /// Description of a Namespace resource.
- ///
- public partial class PSRelayNamespaceAttributes : PSTrackedResourceAttributes
- {
- ///
- /// Initializes a new instance of the RelayNamespace class.
- ///
- public PSRelayNamespaceAttributes()
- {
- }
-
- ///
- /// Initializes a new instance of the RelayNamespace class.
- ///
- /// Resource location
- /// Resource Id
- /// Resource name
- /// Resource type
- /// Resource tags
- /// Provisioning state of the
- /// namespace.
- /// The time the namespace was created.
- /// The time the namespace was updated.
- /// Endpoint you can use to perform
- /// Service Bus operations.
- /// Identifier for Azure Insights
- /// metrics
- public PSRelayNamespaceAttributes(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), System.DateTime? createdAt = default(System.DateTime?), System.DateTime? updatedAt = default(System.DateTime?), string serviceBusEndpoint = default(string), string metricId = default(string))
- : base(location, id, name, type, tags)
- {
- ProvisioningState = provisioningState;
- CreatedAt = createdAt;
- UpdatedAt = updatedAt;
- ServiceBusEndpoint = serviceBusEndpoint;
- MetricId = metricId;
- }
-
- public PSRelayNamespaceAttributes(RelayNamespace relaynamespace)
- {
- Location = relaynamespace.Location;
- Id = relaynamespace.Id;
- Name = relaynamespace.Name;
- Type = relaynamespace.Type;
- Tags = relaynamespace.Tags;
- ProvisioningState = relaynamespace.ProvisioningState.ToString();
- CreatedAt = relaynamespace.CreatedAt;
- UpdatedAt = relaynamespace.UpdatedAt;
- ServiceBusEndpoint = relaynamespace.ServiceBusEndpoint;
- MetricId = relaynamespace.MetricId;
- ResourceGroup = Regex.Split(relaynamespace.Id, @"/")[4];
- }
-
-
- ///
- /// Gets the resourcegroup name
- ///
- public string ResourceGroup { get; }
-
- ///
- /// Static constructor for RelayNamespaceAttributes class.
- ///
- static PSRelayNamespaceAttributes()
- {
- Sku = new PSSkuAttributes();
- }
-
- ///
- /// Gets provisioning state of the namespace.
- ///
- public string ProvisioningState { get; protected set; }
-
- ///
- /// Gets the time the namespace was created.
- ///
- public System.DateTime? CreatedAt { get; protected set; }
-
- ///
- /// Gets the time the namespace was updated.
- ///
- public System.DateTime? UpdatedAt { get; protected set; }
-
- ///
- /// Gets endpoint you can use to perform Service Bus operations.
- ///
- public string ServiceBusEndpoint { get; protected set; }
-
- ///
- /// Gets identifier for Azure Insights metrics
- ///
- [JsonProperty(PropertyName = "properties.metricId")]
- public string MetricId { get; protected set; }
-
- ///
- /// Sku of the Namespace.
- ///
- public static PSSkuAttributes Sku { get; private set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSRelayNamespaceAttributesUpdateParameter.cs b/src/Relay/Relay/Models/PSRelayNamespaceAttributesUpdateParameter.cs
deleted file mode 100644
index 8cde8b9e6996..000000000000
--- a/src/Relay/Relay/Models/PSRelayNamespaceAttributesUpdateParameter.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Azure;
- using Management;
- using Relay;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using Azure.Management.Relay.Models;
-
- ///
- /// Parameters supplied to the Patch Namespace operation.
- ///
- public partial class RelayNamespaceAttirbutesUpdateParameter
- {
- ///
- /// Initializes a new instance of the RelayNamespaceUpdateParameter
- /// class.
- ///
- public RelayNamespaceAttirbutesUpdateParameter()
- {
- }
-
- ///
- /// Initializes a new instance of the RelayNamespaceUpdateParameter
- /// class.
- ///
- /// Resource tags
- public RelayNamespaceAttirbutesUpdateParameter(IDictionary tags = default(IDictionary))
- {
- Tags = tags;
- }
-
- public RelayNamespaceAttirbutesUpdateParameter(RelayUpdateParameters relaynamespaceupdateparameter)
- {
- Tags = relaynamespaceupdateparameter.Tags;
- }
-
-
- ///
- /// Static constructor for RelayNamespaceUpdateParameter class.
- ///
- static RelayNamespaceAttirbutesUpdateParameter()
- {
- Sku = new PSSkuAttributes();
- }
-
- ///
- /// Gets or sets resource tags
- ///
- [JsonProperty(PropertyName = "tags")]
- public IDictionary Tags { get; set; }
-
- ///
- /// The sku of the created namespace
- ///
- [JsonProperty(PropertyName = "sku")]
- public static PSSkuAttributes Sku { get; private set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSRelaytypeAttributes.cs b/src/Relay/Relay/Models/PSRelaytypeAttributes.cs
deleted file mode 100644
index 871531b61ad3..000000000000
--- a/src/Relay/Relay/Models/PSRelaytypeAttributes.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- ///
- /// Defines values for Relaytype.
- ///
- public static class PSRelaytypeAttributes
- {
- public const string NetTcp = "NetTcp";
- public const string Http = "Http";
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSResourceAttributes.cs b/src/Relay/Relay/Models/PSResourceAttributes.cs
deleted file mode 100644
index ca3687f76def..000000000000
--- a/src/Relay/Relay/Models/PSResourceAttributes.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Rest.Azure;
- using Newtonsoft.Json;
- using Azure.Management.Relay.Models;
-
- ///
- /// The Resource definition
- ///
- public partial class PSResourceAttributes : IResource
- {
- ///
- /// Initializes a new instance of the Resource class.
- ///
- public PSResourceAttributes() { }
-
- ///
- /// Initializes a new instance of the Resource class.
- ///
- /// Resource Id
- /// Resource name
- /// Resource type
- public PSResourceAttributes(string id = default(string), string name = default(string), string type = default(string))
- {
- Id = id;
- Name = name;
- Type = type;
- }
-
- public PSResourceAttributes(Resource resource)
- {
- Id = resource.Id;
- Name = resource.Name;
- Type = resource.Type;
- }
-
- ///
- /// Gets resource Id
- ///
- [JsonProperty(PropertyName = "id")]
- public string Id { get; protected set; }
-
- ///
- /// Gets resource name
- ///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; protected set; }
-
- ///
- /// Gets resource type
- ///
- [JsonProperty(PropertyName = "type")]
- public string Type { get; protected set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSSkuAttributes.cs b/src/Relay/Relay/Models/PSSkuAttributes.cs
deleted file mode 100644
index 5c4ba05a4399..000000000000
--- a/src/Relay/Relay/Models/PSSkuAttributes.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Newtonsoft.Json;
-
- ///
- /// Sku of the Namespace.
- ///
- public partial class PSSkuAttributes
- {
- ///
- /// Initializes a new instance of the Sku class.
- ///
- public PSSkuAttributes() { }
-
- ///
- /// Static constructor for Sku class.
- ///
- static PSSkuAttributes()
- {
- Name = "Standard";
- Tier = "Standard";
- }
-
- ///
- /// Name of this Sku
- ///
- [JsonProperty(PropertyName = "name")]
- public static string Name { get; private set; }
-
- ///
- /// The tier of this particular SKU
- ///
- [JsonProperty(PropertyName = "tier")]
- public static string Tier { get; private set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSTrackedResourceAttributes.cs b/src/Relay/Relay/Models/PSTrackedResourceAttributes.cs
deleted file mode 100644
index 0a0150e2c065..000000000000
--- a/src/Relay/Relay/Models/PSTrackedResourceAttributes.cs
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Rest;
- using Newtonsoft.Json;
- using System.Collections.Generic;
-
- ///
- /// Definition of Resource
- ///
- public partial class PSTrackedResourceAttributes : PSResourceAttributes
- {
- ///
- /// Initializes a new instance of the TrackedResource class.
- ///
- public PSTrackedResourceAttributes() { }
-
- ///
- /// Initializes a new instance of the TrackedResource class.
- ///
- /// Resource location
- /// Resource Id
- /// Resource name
- /// Resource type
- /// Resource tags
- public PSTrackedResourceAttributes(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary))
- : base(id, name, type)
- {
- Location = location;
- Tags = tags;
- }
-
- ///
- /// Gets or sets resource location
- ///
- [JsonProperty(PropertyName = "location")]
- public string Location { get; set; }
-
- ///
- /// Gets or sets resource tags
- ///
- [JsonProperty(PropertyName = "tags")]
- public IDictionary Tags { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Location == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Location");
- }
- }
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSUnavailableReasonAttributes.cs b/src/Relay/Relay/Models/PSUnavailableReasonAttributes.cs
deleted file mode 100644
index 14fec80a0399..000000000000
--- a/src/Relay/Relay/Models/PSUnavailableReasonAttributes.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Newtonsoft.Json;
- using Newtonsoft.Json.Converters;
- using System.Runtime.Serialization;
-
- ///
- /// Defines values for UnavailableReason.
- ///
- [JsonConverter(typeof(StringEnumConverter))]
- public enum PSUnavailableReasonAttributes
- {
- [EnumMember(Value = "None")]
- None,
- [EnumMember(Value = "InvalidName")]
- InvalidName,
- [EnumMember(Value = "SubscriptionIsDisabled")]
- SubscriptionIsDisabled,
- [EnumMember(Value = "NameInUse")]
- NameInUse,
- [EnumMember(Value = "NameInLockdown")]
- NameInLockdown,
- [EnumMember(Value = "TooManyNamespaceInCurrentSubscription")]
- TooManyNamespaceInCurrentSubscription
- }
-}
-
diff --git a/src/Relay/Relay/Models/PSWcfRelayAttributes.cs b/src/Relay/Relay/Models/PSWcfRelayAttributes.cs
deleted file mode 100644
index d080700f008b..000000000000
--- a/src/Relay/Relay/Models/PSWcfRelayAttributes.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-
-namespace Microsoft.Azure.Commands.Relay.Models
-{
- using Rest.Serialization;
- using Azure.Management.Relay.Models;
-
- ///
- /// Description of WcfRelays Resource.
- ///
- [JsonTransformation]
- public partial class PSWcfRelayAttributes : PSResourceAttributes
- {
- ///
- /// Initializes a new instance of the WcfRelay class.
- ///
- public PSWcfRelayAttributes() { }
-
- ///
- /// Initializes a new instance of the WcfRelay class.
- ///
- ///
- public PSWcfRelayAttributes(WcfRelay wcfRelay)
- {
- Id = wcfRelay.Id;
- Name = wcfRelay.Name;
- RelayType = wcfRelay.RelayType.ToString();
- Type = wcfRelay.Type;
- CreatedAt = wcfRelay.CreatedAt;
- UpdatedAt = wcfRelay.UpdatedAt;
- ListenerCount = wcfRelay.ListenerCount;
- RequiresClientAuthorization = wcfRelay.RequiresClientAuthorization;
- RequiresTransportSecurity = wcfRelay.RequiresTransportSecurity;
- IsDynamic = wcfRelay.IsDynamic;
- UserMetadata = wcfRelay.UserMetadata;
- }
-
-
- ///
- /// Gets or sets wCFRelay Type. Possible values include: 'NetTcp',
- /// 'Http'
- ///
- public string RelayType { get; set; }
-
- ///
- /// Gets the time the WCFRelay was created.
- ///
- public System.DateTime? CreatedAt { get; protected set; }
-
- ///
- /// Gets the time the namespace was updated.
- ///
- public System.DateTime? UpdatedAt { get; protected set; }
-
- ///
- /// Gets the number of listeners for this relay. min : 1 and max:25
- /// supported
- ///
- public int? ListenerCount { get; protected set; }
-
- ///
- /// Gets or sets true if client authorization is needed for this relay;
- /// otherwise, false.
- ///
- public bool? RequiresClientAuthorization { get; set; }
-
- ///
- /// Gets or sets true if transport security is needed for this relay;
- /// otherwise, false.
- ///
- public bool? RequiresTransportSecurity { get; set; }
-
- ///
- /// Gets true if the relay is dynamic; otherwise, false.
- ///
- public bool? IsDynamic { get; protected set; }
-
- ///
- /// Gets or sets usermetadata is a placeholder to store user-defined
- /// string data for the HybridConnection endpoint.e.g. it can be used
- /// to store descriptive data, such as list of teams and their contact
- /// information also user-defined configuration settings can be stored.
- ///
- public string UserMetadata { get; set; }
-
- }
-}
-
diff --git a/src/Relay/Relay/Relay.csproj b/src/Relay/Relay/Relay.csproj
deleted file mode 100644
index 283ac1cc040b..000000000000
--- a/src/Relay/Relay/Relay.csproj
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
- Relay
-
-
-
-
-
- $(LegacyAssemblyPrefix)$(PsModuleName)
-
-
-
-
-
-
-
-
-
diff --git a/src/Relay/Relay/Resources.Designer.cs b/src/Relay/Relay/Resources.Designer.cs
deleted file mode 100644
index 458beafcd5df..000000000000
--- a/src/Relay/Relay/Resources.Designer.cs
+++ /dev/null
@@ -1,261 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace Microsoft.Azure.Commands.Relay {
- using System;
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources() {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager {
- get {
- if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.Relay.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture {
- get {
- return resourceCulture;
- }
- set {
- resourceCulture = value;
- }
- }
-
- ///
- /// Looks up a localized string similar to Creating new AuthorizationRule named:{0} for HybridConnection: {1}.
- ///
- internal static string CreateHybirdconnectionAuthorizationrule {
- get {
- return ResourceManager.GetString("CreateHybirdconnectionAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Creating new AuthorizationRule named:{0} for Namespace: {1}.
- ///
- internal static string CreateNamespaceAuthorizationrule {
- get {
- return ResourceManager.GetString("CreateNamespaceAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Creating new AuthorizationRule named:{0} for WcfRelay: {1}.
- ///
- internal static string CreateWcfRelayAuthorizationrule {
- get {
- return ResourceManager.GetString("CreateWcfRelayAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to File {0} does not exist.
- ///
- internal static string FileDoesNotExist {
- get {
- return ResourceManager.GetString("FileDoesNotExist", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of HybirdConnection:{1}.
- ///
- internal static string RegenerateKeyHybirdconnection {
- get {
- return ResourceManager.GetString("RegenerateKeyHybirdconnection", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of Namespace:{1}.
- ///
- internal static string RegenerateKeyNamesapce {
- get {
- return ResourceManager.GetString("RegenerateKeyNamesapce", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of WcfRelay:{1}.
- ///
- internal static string RegenerateKeyWcfRelay {
- get {
- return ResourceManager.GetString("RegenerateKeyWcfRelay", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removing HybridConnections: {0} of Namespace{1}.
- ///
- internal static string RemoveHybirdconnection {
- get {
- return ResourceManager.GetString("RemoveHybirdconnection", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removing AtuhorizationRule:{0} from HybridConnection:{1} of Namespace: {2}.
- ///
- internal static string RemoveHybirdconnectionAuthorizationrule {
- get {
- return ResourceManager.GetString("RemoveHybirdconnectionAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removing AtuhorizationRule:{0} of Namespace: {1}.
- ///
- internal static string RemoveNamespaceAuthorizationRule {
- get {
- return ResourceManager.GetString("RemoveNamespaceAuthorizationRule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removing Namespace:{0} from ResourceGroup:{1}.
- ///
- internal static string RemoveRelayNamespace {
- get {
- return ResourceManager.GetString("RemoveRelayNamespace", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removing WcfRelay: {0} of Namespace{1}.
- ///
- internal static string RemoveWcfRelay {
- get {
- return ResourceManager.GetString("RemoveWcfRelay", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Removeing AtuhorizationRule:{0} from WcfRelay:{1} of Namespace: {2}.
- ///
- internal static string RemoveWcfRelayAuthorizationRule {
- get {
- return ResourceManager.GetString("RemoveWcfRelayAuthorizationRule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Are you sure you want to remove AtuhorizationRule:{0} from HybridConnection:{1} of Namespace: {2}.
- ///
- internal static string RemovingHybirdconnectionAuthorizationrule {
- get {
- return ResourceManager.GetString("RemovingHybirdconnectionAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Are you sure you want to delete AtuhorizationRule:{0} of Namespace: {1}.
- ///
- internal static string RemovingNamespaceAuthorizationRule {
- get {
- return ResourceManager.GetString("RemovingNamespaceAuthorizationRule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Are you sure you want to remove AtuhorizationRule:{0} from WcfRelay:{1} of Namespace: {2}.
- ///
- internal static string RemovingWcfRelayAuthorizationRule {
- get {
- return ResourceManager.GetString("RemovingWcfRelayAuthorizationRule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Updating HybridConnections:{0} of NameSpace:{1}.
- ///
- internal static string UpdateHybirdconnection {
- get {
- return ResourceManager.GetString("UpdateHybirdconnection", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Update AuthorizationRule named:{0} for Hybirdconnection{1}.
- ///
- internal static string UpdateHybirdconnectionAuthorizationrule {
- get {
- return ResourceManager.GetString("UpdateHybirdconnectionAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Updating AuthorizationRule named:{0} for Namespace: {1}.
- ///
- internal static string UpdateNamespaceAuthorizationrule {
- get {
- return ResourceManager.GetString("UpdateNamespaceAuthorizationrule", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Update NameSpace:{0} from ResourceGroup:{1}.
- ///
- internal static string UpdateRelayNamespace {
- get {
- return ResourceManager.GetString("UpdateRelayNamespace", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Updating WcfRelay:{0} of NameSpace:{1}.
- ///
- internal static string UpdateWcfRelay {
- get {
- return ResourceManager.GetString("UpdateWcfRelay", resourceCulture);
- }
- }
-
- ///
- /// Looks up a localized string similar to Updating AuthorizationRule named:{0} for WcfRelay: {1}.
- ///
- internal static string UpdateWcfRelayAuthorizationrule {
- get {
- return ResourceManager.GetString("UpdateWcfRelayAuthorizationrule", resourceCulture);
- }
- }
- }
-}
diff --git a/src/Relay/Relay/Resources.resx b/src/Relay/Relay/Resources.resx
deleted file mode 100644
index a192cece589b..000000000000
--- a/src/Relay/Relay/Resources.resx
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- Creating new AuthorizationRule named:{0} for HybridConnection: {1}
-
-
- Creating new AuthorizationRule named:{0} for Namespace: {1}
-
-
- Creating new AuthorizationRule named:{0} for WcfRelay: {1}
-
-
- File {0} does not exist
-
-
- Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of HybirdConnection:{1}
-
-
- Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of Namespace:{1}
-
-
- Generating PrimaryKey/SecondaryKey for AuthorizationRule: {0} of WcfRelay:{1}
-
-
- Removing HybridConnections: {0} of Namespace{1}
-
-
- Removing AuthorizationRule:{0} from HybridConnection:{1} of Namespace: {2}
-
-
- Removing AuthorizationRule:{0} of Namespace: {1}
-
-
- Removing Namespace:{0} from ResourceGroup:{1}
-
-
- Removing WcfRelay: {0} of Namespace{1}
-
-
- Removing AuthorizationRule:{0} from WcfRelay:{1} of Namespace: {2}
-
-
- Are you sure you want to remove AuthorizationRule:{0} from HybridConnection:{1} of Namespace: {2}
-
-
- Are you sure you want to delete AuthorizationRule:{0} of Namespace: {1}
-
-
- Are you sure you want to remove AuthorizationRule:{0} from WcfRelay:{1} of Namespace: {2}
-
-
- Updating HybridConnections:{0} of NameSpace:{1}
-
-
- Update AuthorizationRule named:{0} for Hybirdconnection{1}
-
-
- Updating AuthorizationRule named:{0} for Namespace: {1}
-
-
- Update NameSpace:{0} from ResourceGroup:{1}
-
-
- Updating WcfRelay:{0} of NameSpace:{1}
-
-
- Updating AuthorizationRule named:{0} for WcfRelay: {1}
-
-
diff --git a/src/Relay/Relay/StartupScripts/sample.ps1 b/src/Relay/Relay/StartupScripts/sample.ps1
deleted file mode 100644
index 1a3d1052f460..000000000000
--- a/src/Relay/Relay/StartupScripts/sample.ps1
+++ /dev/null
@@ -1 +0,0 @@
-#Placeholder for future scripts: Please delete this file and uncomment Always within the block in the .csproj file.
\ No newline at end of file
diff --git a/src/Relay/Relay/Utilities/RelayClient.cs b/src/Relay/Relay/Utilities/RelayClient.cs
deleted file mode 100644
index 4b62ba663f17..000000000000
--- a/src/Relay/Relay/Utilities/RelayClient.cs
+++ /dev/null
@@ -1,372 +0,0 @@
-// ----------------------------------------------------------------------------------
-//
-// Copyright Microsoft Corporation
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-// http://www.apache.org/licenses/LICENSE-2.0
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ----------------------------------------------------------------------------------
-
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.Azure.Commands.Common.Authentication;
-using Microsoft.Azure.Commands.Common.Authentication.Models;
-using Microsoft.Azure.Commands.Relay.Models;
-using Microsoft.Azure.Commands.Relay.Commands;
-using Microsoft.Azure.Management.Relay;
-using Microsoft.Azure.Management.Relay.Models;
-using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
-
-namespace Microsoft.Azure.Commands.Relay
-{
- public class RelayClient
- {
- public Action VerboseLogger { get; set; }
-
- public Action ErrorLogger { get; set; }
-
- public Action WarningLogger { get; set; }
-
- public RelayClient(IAzureContext context)
- {
- this.Client = AzureSession.Instance.ClientFactory.CreateArmClient(context, AzureEnvironment.Endpoint.ResourceManager);
-
- }
- public RelayManagementClient Client
- {
- get;
- private set;
- }
-
- #region Operations
- public IEnumerable GetOperations()
- {
- var response = Client.Operations.List();
- var resourceList = response.Select(resource => new PSOperationAttributes(resource));
- return resourceList;
- }
-
- #endregion
-
-
- #region Namespace
-
- public PSCheckNameAvailabilityResultAttributes GetCheckNameAvailability(string namespaceName)
- {
- var response = Client.Namespaces.CheckNameAvailabilityMethod(new CheckNameAvailability(namespaceName));
- return new PSCheckNameAvailabilityResultAttributes(response);
- }
-
- public PSRelayNamespaceAttributes GetNamespace(string resourceGroupName, string namespaceName)
- {
- var response = Client.Namespaces.Get(resourceGroupName, namespaceName);
- return new PSRelayNamespaceAttributes(response);
- }
-
- public IEnumerable ListNamespacesByResourceGroup(string resourceGroupName)
- {
- var response = Client.Namespaces.ListByResourceGroup(resourceGroupName);
- var resourceList = response.Select(resource => new PSRelayNamespaceAttributes(resource));
- return resourceList;
- }
-
- public IEnumerable ListNamespacesBySubscription()
- {
- var response = Client.Namespaces.List();
- var resourceList = response.Select(resource => new PSRelayNamespaceAttributes(resource));
- return resourceList;
- }
-
- public PSRelayNamespaceAttributes BeginCreateNamespace(string resourceGroupName, string namespaceName, string location, Dictionary tags)
- {
- RelayNamespace parameter = new RelayNamespace();
- parameter.Location = location;
-
- if (tags != null)
- {
- parameter.Tags = new Dictionary(tags);
- }
-
- var response = Client.Namespaces.CreateOrUpdate(resourceGroupName, namespaceName, parameter);
- return new PSRelayNamespaceAttributes(response);
- }
-
- public PSRelayNamespaceAttributes UpdateNamespace(string resourceGroupName, string namespaceName, RelayNamespaceAttirbutesUpdateParameter relaynamespace)
- {
-
- var parameter = new RelayUpdateParameters();
-
-
- if (relaynamespace.Tags != null && relaynamespace.Tags.Count() > 0)
- {
- parameter.Tags = new Dictionary(relaynamespace.Tags);
- }
-
- var response = Client.Namespaces.Update(resourceGroupName, namespaceName, parameter);
- return new PSRelayNamespaceAttributes(response);
- }
-
- public void BeginDeleteNamespace(string resourceGroupName, string namespaceName)
- {
- Client.Namespaces.Delete(resourceGroupName, namespaceName);
- }
-
- public PSAuthorizationRuleAttributes GetNamespaceAuthorizationRule(string resourceGroupName, string namespaceName, string authRuleName)
- {
- var response = Client.Namespaces.GetAuthorizationRule(resourceGroupName, namespaceName, authRuleName);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public IEnumerable ListNamespaceAuthorizationRules(string resourceGroupName, string namespaceName)
- {
- var response = Client.Namespaces.ListAuthorizationRules(resourceGroupName, namespaceName);
- var resourceList = response.Select(resource => new PSAuthorizationRuleAttributes(resource));
- return resourceList;
- }
-
- public PSAuthorizationRuleAttributes CreateOrUpdateNamespaceAuthorizationRules(string resourceGroupName, string namespaceName, string authorizationRuleName, PSAuthorizationRuleAttributes parameter)
- {
- var parameter1 = new AuthorizationRule()
- {
- Rights = parameter.Rights.Select(x => Enum.Parse(typeof(AccessRights), x))
- .Cast()
- .ToList()
- };
-
- var response = Client.Namespaces.CreateOrUpdateAuthorizationRule(resourceGroupName, namespaceName, authorizationRuleName, parameter1);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public void DeleteNamespaceAuthorizationRules(string resourceGroupName, string namespaceName, string authRuleName)
- {
- Client.Namespaces.DeleteAuthorizationRule(resourceGroupName, namespaceName, authRuleName);
- }
-
- public PSAuthorizationRuleKeysAttributes GetNamespaceListKeys(string resourceGroupName, string namespaceName, string authRuleName)
- {
- var listKeys = Client.Namespaces.ListKeys(resourceGroupName, namespaceName, authRuleName);
- return new PSAuthorizationRuleKeysAttributes(listKeys);
- }
-
- public PSAuthorizationRuleKeysAttributes NamespaceRegenerateKeys(string resourceGroupName, string namespaceName, string authRuleName, string regenerateKeys, string keyValue = null)
- {
- AccessKeys regenerateKeyslistKeys;
- if (regenerateKeys == "PrimaryKey")
- regenerateKeyslistKeys = Client.Namespaces.RegenerateKeys(resourceGroupName, namespaceName, authRuleName, new RegenerateAccessKeyParameters(KeyType.PrimaryKey, keyValue));
- else
- regenerateKeyslistKeys = Client.Namespaces.RegenerateKeys(resourceGroupName, namespaceName, authRuleName, new RegenerateAccessKeyParameters(KeyType.SecondaryKey, keyValue));
-
- return new PSAuthorizationRuleKeysAttributes(regenerateKeyslistKeys);
- }
-
- #endregion
-
- #region WcfRelay
- public PSWcfRelayAttributes GetWcfRelay(string resourceGroupName, string namespaceName, string wcfRelayName)
- {
- var response = Client.WCFRelays.Get(resourceGroupName, namespaceName, wcfRelayName);
- return new PSWcfRelayAttributes(response);
- }
-
- public IEnumerable ListAllWcfRelay(string resourceGroupName, string namespaceName)
- {
- var response = Client.WCFRelays.ListByNamespace(resourceGroupName, namespaceName);
- var resourceList = response.Select(resource => new PSWcfRelayAttributes(resource));
- return resourceList;
- }
-
- public PSWcfRelayAttributes CreateOrUpdateWcfRelay(string resourceGroupName, string namespaceName, string wcfRelayName, PSWcfRelayAttributes parameter)
- {
-
- var Parameter1 = new WcfRelay();
-
- if (!string.IsNullOrEmpty(parameter.RelayType))
- Parameter1.RelayType = (Relaytype?)Enum.Parse(typeof(Relaytype), parameter.RelayType);
-
- if (parameter.RequiresClientAuthorization.HasValue)
- Parameter1.RequiresClientAuthorization = parameter.RequiresClientAuthorization;
-
- if (parameter.RequiresTransportSecurity.HasValue)
- Parameter1.RequiresTransportSecurity = parameter.RequiresTransportSecurity;
-
- if (!string.IsNullOrEmpty(parameter.UserMetadata))
- Parameter1.UserMetadata = parameter.UserMetadata;
-
- var response = Client.WCFRelays.CreateOrUpdate(resourceGroupName, namespaceName, wcfRelayName, Parameter1);
- return new PSWcfRelayAttributes(response);
- }
-
- public PSWcfRelayAttributes UpdateWcfRelay(string resourceGroupName, string namespaceName, string wcfRelayName, PSWcfRelayAttributes parameter)
- {
-
- var Parameter1 = Client.WCFRelays.Get(resourceGroupName, namespaceName, wcfRelayName);
-
- if (!string.IsNullOrEmpty(parameter.UserMetadata))
- Parameter1.UserMetadata = parameter.UserMetadata;
-
- var response = Client.WCFRelays.CreateOrUpdate(resourceGroupName, namespaceName, wcfRelayName, Parameter1);
- return new PSWcfRelayAttributes(response);
- }
-
-
- public void DeleteWcfRelay(string resourceGroupName, string namespaceName, string wcfRelayName)
- {
- Client.WCFRelays.Delete(resourceGroupName, namespaceName, wcfRelayName);
- }
-
- public PSAuthorizationRuleAttributes GetWcfRelayAuthorizationRules(string resourceGroupName, string namespaceName, string wcfRelayName, string authRuleName)
- {
- var response = Client.WCFRelays.GetAuthorizationRule(resourceGroupName, namespaceName, wcfRelayName, authRuleName);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public IEnumerable ListWcfRelayAuthorizationRules(string resourceGroupName, string namespaceName, string wcfRelayName)
- {
- var response = Client.WCFRelays.ListAuthorizationRules(resourceGroupName, namespaceName, wcfRelayName);
- var resourceList = response.Select(resource => new PSAuthorizationRuleAttributes(resource));
- return resourceList;
- }
-
- public PSAuthorizationRuleAttributes CreateOrUpdateWcfRelayAuthorizationRules(string resourceGroupName, string namespaceName, string wcfRelayName, string authorizationRuleName, PSAuthorizationRuleAttributes parameters)
- {
- var parameter1 = new AuthorizationRule()
- {
- Rights = parameters.Rights.Select(x => Enum.Parse(typeof(AccessRights), x))
- .Cast()
- .ToList()
- };
-
- var response = Client.WCFRelays.CreateOrUpdateAuthorizationRule(resourceGroupName, namespaceName, wcfRelayName, authorizationRuleName, parameter1);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public void DeleteWcfRelayAuthorizationRules(string resourceGroupName, string namespaceName, string wcfRelayName, string authRuleName)
- {
- Client.WCFRelays.DeleteAuthorizationRule(resourceGroupName, namespaceName, wcfRelayName, authRuleName);
- }
-
- public PSAuthorizationRuleKeysAttributes GetWcfRelayListKeys(string resourceGroupName, string namespaceName, string wcfRelayName, string authRuleName)
- {
- var listKeys = Client.WCFRelays.ListKeys(resourceGroupName, namespaceName, wcfRelayName, authRuleName);
- return new PSAuthorizationRuleKeysAttributes(listKeys);
- }
-
- public PSAuthorizationRuleKeysAttributes WcfRelayRegenerateKeys(string resourceGroupName, string namespaceName, string wcfRelayName, string authRuleName, string regenerateKeys, string keyValue = null)
- {
- AccessKeys regenerateKeyslistKeys;
- if (regenerateKeys == "PrimaryKey")
- regenerateKeyslistKeys = Client.WCFRelays.RegenerateKeys(resourceGroupName, namespaceName, wcfRelayName, authRuleName, new RegenerateAccessKeyParameters(KeyType.PrimaryKey, keyValue));
- else
- regenerateKeyslistKeys = Client.WCFRelays.RegenerateKeys(resourceGroupName, namespaceName, wcfRelayName, authRuleName, new RegenerateAccessKeyParameters(KeyType.SecondaryKey, keyValue));
-
- return new PSAuthorizationRuleKeysAttributes(regenerateKeyslistKeys);
-
- }
-
- #endregion
-
- #region HybridConnections
- public PSHybridConnectionAttributes GetHybridConnections(string resourceGroupName, string namespaceName, string hybridConnectionsName)
- {
- var response = Client.HybridConnections.Get(resourceGroupName, namespaceName, hybridConnectionsName);
- return new PSHybridConnectionAttributes(response);
- }
-
- public IEnumerable ListAllHybridConnections(string resourceGroupName, string namespaceName)
- {
- var response = Client.HybridConnections.ListByNamespace(resourceGroupName, namespaceName);
- var resourceList = response.Select(resource => new PSHybridConnectionAttributes(resource));
- return resourceList;
- }
-
- public PSHybridConnectionAttributes CreateOrUpdateHybridConnections(string resourceGroupName, string namespaceName, string hybridConnectionsName, PSHybridConnectionAttributes parameter)
- {
- var Parameter1 = new HybridConnection();
-
-
- if (parameter.RequiresClientAuthorization.HasValue)
- Parameter1.RequiresClientAuthorization = parameter.RequiresClientAuthorization;
-
-
- if (!string.IsNullOrEmpty(parameter.UserMetadata))
- Parameter1.UserMetadata = parameter.UserMetadata;
-
- var response = Client.HybridConnections.CreateOrUpdate(resourceGroupName, namespaceName, hybridConnectionsName, Parameter1);
- return new PSHybridConnectionAttributes(response);
- }
-
- public PSHybridConnectionAttributes UpdateHybridConnections(string resourceGroupName, string namespaceName, string hybridConnectionsName, PSHybridConnectionAttributes parameter)
- {
- //var Parameter1 = Client.HybridConnections.Get(resourceGroupName, namespaceName, hybridConnectionsName);
- var Parameter1 = new HybridConnection();
- if (!string.IsNullOrEmpty(parameter.UserMetadata))
- Parameter1.UserMetadata = parameter.UserMetadata;
-
- var response = Client.HybridConnections.CreateOrUpdate(resourceGroupName, namespaceName, hybridConnectionsName, Parameter1);
- return new PSHybridConnectionAttributes(response);
- }
-
- public void DeleteHybridConnections(string resourceGroupName, string namespaceName, string hybridConnectionsName)
- {
- Client.HybridConnections.Delete(resourceGroupName, namespaceName, hybridConnectionsName);
- }
-
- public PSAuthorizationRuleAttributes GetHybridConnectionsAuthorizationRules(string resourceGroupName, string namespaceName, string hybridConnectionsName, string authRuleName)
- {
- var response = Client.HybridConnections.GetAuthorizationRule(resourceGroupName, namespaceName, hybridConnectionsName, authRuleName);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public IEnumerable ListHybridConnectionsAuthorizationRules(string resourceGroupName, string namespaceName, string hybridConnectionsName)
- {
- var response = Client.HybridConnections.ListAuthorizationRules(resourceGroupName, namespaceName, hybridConnectionsName);
- var resourceList = response.Select(resource => new PSAuthorizationRuleAttributes(resource));
- return resourceList;
- }
-
- public PSAuthorizationRuleAttributes CreateOrUpdateHybridConnectionsAuthorizationRules(string resourceGroupName, string namespaceName, string hybridConnectionsName, string authorizationRuleName, PSAuthorizationRuleAttributes parameters)
- {
- var parameter1 = new AuthorizationRule()
- {
- Rights = parameters.Rights.Select(x => Enum.Parse(typeof(AccessRights), x))
- .Cast()
- .ToList()
- };
-
-
- var response = Client.HybridConnections.CreateOrUpdateAuthorizationRule(resourceGroupName, namespaceName, hybridConnectionsName, authorizationRuleName, parameter1);
- return new PSAuthorizationRuleAttributes(response);
- }
-
- public void DeleteHybridConnectionsAuthorizationRules(string resourceGroupName, string namespaceName, string hybridConnectionsName, string authRuleName)
- {
- Client.HybridConnections.DeleteAuthorizationRule(resourceGroupName, namespaceName, hybridConnectionsName, authRuleName);
- }
-
- public PSAuthorizationRuleKeysAttributes GethybridConnectionsListKeys(string resourceGroupName, string namespaceName, string hybridConnectionsName, string authRuleName)
- {
- var listKeys = Client.WCFRelays.ListKeys(resourceGroupName, namespaceName, hybridConnectionsName, authRuleName);
- return new PSAuthorizationRuleKeysAttributes(listKeys);
- }
-
- public PSAuthorizationRuleKeysAttributes HybridConnectionsRegenerateKeys(string resourceGroupName, string namespaceName, string hybridConnectionsName, string authRuleName, string regenerateKeys, string keyValue = null)
- {
- AccessKeys regenerateKeyslistKeys;
- if (regenerateKeys == "PrimaryKey")
- regenerateKeyslistKeys = Client.HybridConnections.RegenerateKeys(resourceGroupName, namespaceName, hybridConnectionsName, authRuleName, new RegenerateAccessKeyParameters(KeyType.PrimaryKey, keyValue));
- else
- regenerateKeyslistKeys = Client.HybridConnections.RegenerateKeys(resourceGroupName, namespaceName, hybridConnectionsName, authRuleName, new RegenerateAccessKeyParameters(KeyType.SecondaryKey,keyValue));
-
- return new PSAuthorizationRuleKeysAttributes(regenerateKeyslistKeys);
-
- }
-
- #endregion HybridConnections
- }
-}
diff --git a/src/Relay/Relay/help/Az.Relay.md b/src/Relay/Relay/help/Az.Relay.md
deleted file mode 100644
index 7436a8c75bbc..000000000000
--- a/src/Relay/Relay/help/Az.Relay.md
+++ /dev/null
@@ -1,73 +0,0 @@
----
-Module Name: Az.Relay
-Module Guid: 5728d353-7ad5-42d8-b00a-46aaecf07b91
-Download Help Link: https://learn.microsoft.com/powershell/module/az.relay
-Help Version: 4.0.0.0
-Locale: en-US
----
-
-# Az.Relay Module
-## Description
-List of the cmdlets for Azure Relay
-
-## Az.Relay Cmdlets
-### [Get-AzRelayAuthorizationRule](Get-AzRelayAuthorizationRule.md)
-Gets the description of a specified authorization rule for a given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### [Get-AzRelayHybridConnection](Get-AzRelayHybridConnection.md)
-Gets a description for the specified HybridConnection within the Relay namespace.
-
-### [Get-AzRelayKey](Get-AzRelayKey.md)
-Gets the primary and secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### [Get-AzRelayNamespace](Get-AzRelayNamespace.md)
-Gets a description for the specified Relay namespace within the resource group.
-
-### [Get-AzRelayOperation](Get-AzRelayOperation.md)
-List supported Relay Operations
-
-### [Get-AzWcfRelay](Get-AzWcfRelay.md)
-Returns a description for the specified WcfRelay.
-
-### [New-AzRelayAuthorizationRule](New-AzRelayAuthorizationRule.md)
-Creates a new authorization rule for the specified Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### [New-AzRelayHybridConnection](New-AzRelayHybridConnection.md)
-Creates a HybridConnection in the specified Relay namespace.
-
-### [New-AzRelayKey](New-AzRelayKey.md)
-Regenerates the primary or secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection)
-
-### [New-AzRelayNamespace](New-AzRelayNamespace.md)
-Creates a new Relay namespace.
-
-### [New-AzWcfRelay](New-AzWcfRelay.md)
-Creates a WcfRelay in the specified Relay namespace.
-
-### [Remove-AzRelayAuthorizationRule](Remove-AzRelayAuthorizationRule.md)
-Removes the authorization rule of a HybridConnection from the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### [Remove-AzRelayHybridConnection](Remove-AzRelayHybridConnection.md)
-Removes the HybridConnection from the specified HybridConnection namespace.
-
-### [Remove-AzRelayNamespace](Remove-AzRelayNamespace.md)
-Removes the namespace from the specified resource group.
-
-### [Remove-AzWcfRelay](Remove-AzWcfRelay.md)
-Removes the WcfRelay from the specified Relay namespace.
-
-### [Set-AzRelayAuthorizationRule](Set-AzRelayAuthorizationRule.md)
-Updates the specified authorization rule description for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### [Set-AzRelayHybridConnection](Set-AzRelayHybridConnection.md)
-Updates the description of a HybridConnection in the specified Relay namespace.
-
-### [Set-AzRelayNamespace](Set-AzRelayNamespace.md)
-Updates the description of an existing Relay namespace.
-
-### [Set-AzWcfRelay](Set-AzWcfRelay.md)
-Updates the description of a WcfRelay in the specified Relay namespace.
-
-### [Test-AzRelayName](Test-AzRelayName.md)
-Checks the Availability of the given NameSpace Name
-
diff --git a/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md b/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md
deleted file mode 100644
index 856c4b04663b..000000000000
--- a/src/Relay/Relay/help/Get-AzRelayAuthorizationRule.md
+++ /dev/null
@@ -1,200 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azrelayauthorizationrule
-schema: 2.0.0
----
-
-# Get-AzRelayAuthorizationRule
-
-## SYNOPSIS
-Gets the description of a specified authorization rule for a given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-Get-AzRelayAuthorizationRule [-ResourceGroupName] [-Namespace] [[-Name] ]
- [-DefaultProfile ] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-Get-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-WcfRelay]
- [[-Name] ] [-DefaultProfile ] []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-Get-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-HybridConnection]
- [[-Name] ] [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzRelayAuthorizationRule** cmdlet gets the description of the specified authorization rule in the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1: Namespace
-```powershell
-Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/AuthorizationRules/Aut
- hoRule1
-```
-
-Returns the specified authorization rule description for a specified namespace.
-
-### Example 2: WcfRelay
-```powershell
-Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay
- 1/authorizationRules/AuthoRule1
-```
-
-Returns the specified authorization rule description for a given WcfRelay.
-
-### Example 3: HybridConnection
-```powershell
-Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/HybridConnections/Test
- HybridConnection/authorizationRules/AuthoRule1
-```
-
-Returns the specified authorization rule description for a given HybridConnection.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Get-AzRelayHybridConnection.md b/src/Relay/Relay/help/Get-AzRelayHybridConnection.md
deleted file mode 100644
index b8c31828260d..000000000000
--- a/src/Relay/Relay/help/Get-AzRelayHybridConnection.md
+++ /dev/null
@@ -1,119 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azrelayhybridconnection
-schema: 2.0.0
----
-
-# Get-AzRelayHybridConnection
-
-## SYNOPSIS
-Gets a description for the specified HybridConnection within the Relay namespace.
-
-## SYNTAX
-
-```
-Get-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name ]
- [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzRelayHybridConnection** cmdlet gets a description for the specified HybridConnection within the Relay namespace.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Get-AzRelayHybridConnection -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestHybridConnection
-```
-
-```output
-CreatedAt : 4/12/2017 3:17:02 AM
-UpdatedAt : 4/12/2017 3:17:02 AM
-ListenerCount : 0
-RequiresClientAuthorization : True
-UserMetadata : User Meta data
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/H
- ybridConnections/TestHybridConnection
-Name : TestHybridConnection
-Type : Microsoft.Relay/HybridConnections
-```
-
-Returns the description of the HybridConnection.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-HybridConnections Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSHybridConnectionAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Get-AzRelayKey.md b/src/Relay/Relay/help/Get-AzRelayKey.md
deleted file mode 100644
index 68d8a6416292..000000000000
--- a/src/Relay/Relay/help/Get-AzRelayKey.md
+++ /dev/null
@@ -1,196 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azrelaykey
-schema: 2.0.0
----
-
-# Get-AzRelayKey
-
-## SYNOPSIS
-Gets the primary and secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-Get-AzRelayKey [-ResourceGroupName] [-Namespace] [-Name]
- [-DefaultProfile ] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-Get-AzRelayKey [-ResourceGroupName] [[-Namespace] ] [-WcfRelay] [-Name]
- [-DefaultProfile ] []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-Get-AzRelayKey [-ResourceGroupName] [[-Namespace] ] [-HybridConnection]
- [-Name] [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzRelayKey** cmdlet returns the primary and secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1: Namespace
-```powershell
-Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
-```
-
-```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 : ############################################
-KeyName : AuthoRule1
-```
-
-### Example 2: WcfRelay
-```powershell
-Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1
-```
-
-```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 : ############################################
-KeyName : AuthoRule1
-```
-
-### Example 3: HybridConnection
-```powershell
-Get-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1
-```
-
-```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 : ############################################
-KeyName : AuthoRule1
-```
-
-Primary and secondary connection string to the specified Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleKeysAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Get-AzRelayNamespace.md b/src/Relay/Relay/help/Get-AzRelayNamespace.md
deleted file mode 100644
index 2bb24f74ccfe..000000000000
--- a/src/Relay/Relay/help/Get-AzRelayNamespace.md
+++ /dev/null
@@ -1,105 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azrelaynamespace
-schema: 2.0.0
----
-
-# Get-AzRelayNamespace
-
-## SYNOPSIS
-Gets a description for the specified Relay namespace within the resource group.
-
-## SYNTAX
-
-```
-Get-AzRelayNamespace [[-ResourceGroupName] ] [[-Name] ]
- [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzRelayNamespace** cmdlet gets a description for the specified Relay namespace within the resource group.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Get-AzRelayNamespace -ResourceGroupName Default-ServiceBus-WestUS -Name TestNameSpace-Relay1
-```
-
-```output
-ProvisioningState : Succeeded
-CreatedAt : 4/12/2017 12:38:47 AM
-UpdatedAt : 4/12/2017 12:39:10 AM
-ServiceBusEndpoint : https://TestNameSpace-Relay1.servicebus.windows.net:443/
-MetricId : 854d368f-1828-428f-8f3c-f2affa9b2f7d:testnamespace-relay1
-Location : West US
-Tags : {[tag1, Tag1Value]}
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1
-Name : TestNameSpace-Relay1
-Type : Microsoft.Relay/namespaces
-```
-
-Returns a description of the specified Relay namespace.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-Relay Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSRelayNamespaceAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Get-AzRelayOperation.md b/src/Relay/Relay/help/Get-AzRelayOperation.md
deleted file mode 100644
index 272ad9c1775c..000000000000
--- a/src/Relay/Relay/help/Get-AzRelayOperation.md
+++ /dev/null
@@ -1,86 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azrelayoperation
-schema: 2.0.0
----
-
-# Get-AzRelayOperation
-
-## SYNOPSIS
-List supported Relay Operations
-
-## SYNTAX
-
-```
-Get-AzRelayOperation [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzRelayOperation** cmdlet Lists the Relay supported Operations.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Get-AzRelayOperation
-```
-
-```output
-Name Display
----- -------
-Microsoft.Relay/checkNamespaceAvailability/action Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/register/action Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/read Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/Delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/authorizationRules/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/authorizationRules/delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/authorizationRules/listkeys/action Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/read Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/Delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/authorizationRules/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/authorizationRules/delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/HybridConnections/authorizationRules/listkeys/action Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/read Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/Delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/authorizationRules/write Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/authorizationRules/delete Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-Microsoft.Relay/namespaces/WcfRelays/authorizationRules/listkeys/action Microsoft.Azure.Commands.Relay.Models.OperationDisplayAttributes
-```
-
-Lists Relay supported operations
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### None
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSOperationAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Get-AzWcfRelay.md b/src/Relay/Relay/help/Get-AzWcfRelay.md
deleted file mode 100644
index da854ae0d2b2..000000000000
--- a/src/Relay/Relay/help/Get-AzWcfRelay.md
+++ /dev/null
@@ -1,122 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/get-azwcfrelay
-schema: 2.0.0
----
-
-# Get-AzWcfRelay
-
-## SYNOPSIS
-Returns a description for the specified WcfRelay.
-
-## SYNTAX
-
-```
-Get-AzWcfRelay [-ResourceGroupName] [-Namespace] [[-Name] ]
- [-DefaultProfile ] []
-```
-
-## DESCRIPTION
-The **Get-AzWcfRelay** cmdlet returns a description of the specified WcfRelay.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Get-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay1
-```
-
-```output
-RelayType : NetTcp
-CreatedAt : 4/12/2017 2:23:08 AM
-UpdatedAt : 4/12/2017 2:23:08 AM
-ListenerCount : 0
-RequiresClientAuthorization : True
-RequiresTransportSecurity : True
-IsDynamic : False
-UserMetadata : User Meta data
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/W
- cfRelays/TestWCFRelay1
-Name : TestWCFRelay1
-Type : Microsoft.Relay/WcfRelays
-```
-
-Returns the description of the WcfRelay.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSWcfRelayAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/New-AzRelayAuthorizationRule.md b/src/Relay/Relay/help/New-AzRelayAuthorizationRule.md
deleted file mode 100644
index e39ff09b37b9..000000000000
--- a/src/Relay/Relay/help/New-AzRelayAuthorizationRule.md
+++ /dev/null
@@ -1,249 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/new-azrelayauthorizationrule
-schema: 2.0.0
----
-
-# New-AzRelayAuthorizationRule
-
-## SYNOPSIS
-Creates a new authorization rule for the specified Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-New-AzRelayAuthorizationRule [-ResourceGroupName] [-Namespace] [-Name]
- -Rights [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-New-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-WcfRelay]
- [-Name] -Rights [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-New-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-HybridConnection]
- [-Name] -Rights [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-## DESCRIPTION
-The **New-AzRelayAuthorizationRule** cmdlet creates a new authorization rule for the specified Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1: Namespace
-```powershell
-New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -Rights "Listen"
-```
-
-```output
-Rights : {Listen}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/AuthorizationRules/AuthoRule1
-```
-
-Creates `AuthoRule1` with **Listen** rights for the namespace `TestNameSpace-Relay1`.
-
-### Example 2: WcfRelay
-```powershell
-New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1 -Rights "Listen"
-```
-
-```output
-Rights : {Listen}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay1/authorizationRules/AuthoRule1
-```
-
-Creates authorization rule `AuthoRule1` with **Listen** rights for the WcfRelay `TestWCFRelay1`.
-
-### Example 3: HybridConnection
-```powershell
-New-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 -Rights "Listen"
-```
-
-```output
-Rights : {Listen}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/HybridConnections/TestHybridConnection/authorizationRules/AuthoRule1
-```
-
-Creates `AuthoRule1` with **Listen** rights for the Hybrid Connection `TestHybridConnection`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Rights
-Rights, e.g.
-"Listen","Send","Manage"
-
-```yaml
-Type: System.String[]
-Parameter Sets: (All)
-Aliases:
-Accepted values: Listen, Send, Manage
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-### System.String[]
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/New-AzRelayHybridConnection.md b/src/Relay/Relay/help/New-AzRelayHybridConnection.md
deleted file mode 100644
index bc3c8010fa59..000000000000
--- a/src/Relay/Relay/help/New-AzRelayHybridConnection.md
+++ /dev/null
@@ -1,233 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/new-azrelayhybridconnection
-schema: 2.0.0
----
-
-# New-AzRelayHybridConnection
-
-## SYNOPSIS
-Creates a HybridConnection in the specified Relay namespace.
-
-## SYNTAX
-
-### HybridConnectionInputObjectSet
-```
-New-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name]
- [-InputObject ] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### HybridConnectionPropertiesSet
-```
-New-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name]
- [-RequiresClientAuthorization ] [-UserMetadata ] [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The New-AzRelayHybridConnection cmdlet creates a HybridConnection in the specified Relay namespace.
-
-## EXAMPLES
-
-### Example 1 - InputObject
-```powershell
-$getHybirdConnection = Get-AzRelayHybridConnection -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-HybirdConnection -Name TestHybirdConnection1
-$getHybirdConnection.UserMetadata = "TestHybirdConnection2"
-$getHybirdConnection.RequiresClientAuthorization = $False
-New-AzRelayHybridConnection -ResourceGroupName Default-Storage-WestUS -Namespace TestNameSpace-HybirdConnection -Name TestHybirdConnection2 -InputObject $getHybirdConnection
-```
-
-```output
-CreatedAt : 4/26/2017 10:04:15 PM
-UpdatedAt : 4/26/2017 10:04:15 PM
-ListenerCount :
-RequiresClientAuthorization : True
-UserMetadata : User Meta data
-Id : /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/Default-ServiceBus-WestUS
- /providers/Microsoft.Relay/namespaces/TestNameSpace-HybirdConnection/HybridConnections/TestHybirdConnectio
- n2
-Name : TestHybirdConnection2
-Type : Microsoft.Relay/HybridConnections
-```
-
-Creates a new HybirdConnection \`TestHybirdConnection2\` in the specified Relay namespace \`TestNameSpace-HybirdConnection\`.
-
-### Example 2 - Properties
-```powershell
-New-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-HybirdConnection -Name TestHybirdConnection1 -RequiresClientAuthorization $True -UserMetadata "User Meta data"
-```
-
-```output
-CreatedAt : 4/26/2017 10:04:15 PM
-UpdatedAt : 4/26/2017 10:04:15 PM
-ListenerCount :
-RequiresClientAuthorization : True
-UserMetadata : User Meta data
-Id : /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/Default-ServiceBus-WestUS
- /providers/Microsoft.Relay/namespaces/TestNameSpace-HybirdConnection/HybridConnections/TestHybirdConnectio
- n1
-Name : TestHybirdConnection1
-Type : Microsoft.Relay/HybridConnections
-```
-
-Creates a new HybirdConnection \`TestHybirdConnection1\` in the specified Relay namespace \`TestNameSpace-HybirdConnection\`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -InputObject
-HybridConnections object.
-
-```yaml
-Type: Microsoft.Azure.Commands.Relay.Models.PSHybridConnectionAttributes
-Parameter Sets: HybridConnectionInputObjectSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-HybridConnections Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -RequiresClientAuthorization
-true if client authorization is needed for this HybridConnections; otherwise, false
-
-```yaml
-Type: System.Nullable`1[System.Boolean]
-Parameter Sets: HybridConnectionPropertiesSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -UserMetadata
-Gets or sets usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g.
-it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionPropertiesSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-### Microsoft.Azure.Commands.Relay.Models.PSHybridConnectionAttributes
-
-### System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSHybridConnectionAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/New-AzRelayKey.md b/src/Relay/Relay/help/New-AzRelayKey.md
deleted file mode 100644
index 76bc8348862a..000000000000
--- a/src/Relay/Relay/help/New-AzRelayKey.md
+++ /dev/null
@@ -1,321 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/new-azrelaykey
-schema: 2.0.0
----
-
-# New-AzRelayKey
-
-## SYNOPSIS
-Regenerates the primary or secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection)
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-New-AzRelayKey [-ResourceGroupName] [-Namespace] [-Name] -RegenerateKey
- [-KeyValue ] [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-New-AzRelayKey [-ResourceGroupName] [[-Namespace] ] [-WcfRelay] [-Name]
- -RegenerateKey [-KeyValue ] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-New-AzRelayKey [-ResourceGroupName] [[-Namespace] ] [-HybridConnection]
- [-Name] -RegenerateKey [-KeyValue ] [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **New-AzRelayKey** cmdlet generates the primary and secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1 - Namespace
-```powershell
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey PrimaryKey
-
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -RegenerateKey SecondaryKey
-```
-
-```output
-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
-```
-
-Regenerates the primary or secondary connection strings for the given Relay-Namespace entity.
-
-### Example 1.1 - Namespace KeyValue Provided
-```powershell
-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 xxxxxxxxxxx
-```
-
-```output
-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
-```
-
-generates the primary or secondary connection strings for the given Relay-Namespace entity with Key Value Provided
-
-### Example 2 - WcfRelay
-```powershell
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey PrimaryKey
-
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -WcfRelay TestWCFRelay1 -RegenerateKey SecondaryKey
-```
-
-```output
-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
-```
-
-Regenerates the primary or secondary connection strings for the given Relay-WcfRelay entity.
-
-### Example 2.1 - WcfRelay KeyValue Provided
-```powershell
-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 xxxxxxxxxxx
-```
-
-```output
-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
-```
-
-generates the primary or secondary connection strings for the given Relay-WcfRelay entity with Key Value Provided
-
-### Example 3 - HybridConnection
-```powershell
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey PrimaryKey
-
-New-AzRelayKey -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -HybridConnection TestHybridConnection -RegenerateKey SecondaryKey
-```
-
-```output
-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
-```
-
-Regenerates the primary or secondary connection strings for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-### Example 3.1 - HybridConnection KeyValue Provided
-```powershell
-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 xxxxxxxxxxx
-```
-
-```output
-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
-```
-
-generates the primary or secondary connection strings for the given Relay-HybridConnection entity with Key Value Provided
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -KeyValue
-A base64-encoded 256-bit key for signing and validating the SAS token.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -RegenerateKey
-Regenerate Keys - 'PrimaryKey'/'SecondaryKey'.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-Accepted values: PrimaryKey, SecondaryKey
-
-Required: True
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleKeysAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/New-AzRelayNamespace.md b/src/Relay/Relay/help/New-AzRelayNamespace.md
deleted file mode 100644
index 9be20b62d7a1..000000000000
--- a/src/Relay/Relay/help/New-AzRelayNamespace.md
+++ /dev/null
@@ -1,169 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/new-azrelaynamespace
-schema: 2.0.0
----
-
-# New-AzRelayNamespace
-
-## SYNOPSIS
-Creates a new Relay namespace.
-
-## SYNTAX
-
-```
-New-AzRelayNamespace [-ResourceGroupName] [-Name] [-Location] [-Tag ]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **New-AzRelayNamespace** cmdlet creates a new Relay namespace. Once created, the namespace
-resource manifest is immutable.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-New-AzRelayNamespace -ResourceGroupName Default-ServiceBus-WestUS -Name TestNameSpace-Relay1 -Location "West US" -Tag @{Tag1="Tag1Value"}
-```
-
-```output
-ProvisioningState : Succeeded
-CreatedAt : 4/12/2017 12:38:47 AM
-UpdatedAt : 4/12/2017 12:39:10 AM
-ServiceBusEndpoint : https://TestNameSpace-Relay1.servicebus.windows.net:443/
-MetricId : XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX:testnamespace-relay1
-Location : West US
-Tags : {[tag1, Tag1Value]}
-Id : /subscriptions/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1
-Name : TestNameSpace-Relay1
-Type : Microsoft.Relay/namespaces
-```
-
-Creates a new Relay namespace within the specified resource group.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Location
-Relay Namespace Location.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-Relay Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Tag
-Hashtables which represents resource Tags.
-
-```yaml
-Type: System.Collections.Hashtable
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-### System.Collections.Hashtable
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSRelayNamespaceAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/New-AzWcfRelay.md b/src/Relay/Relay/help/New-AzWcfRelay.md
deleted file mode 100644
index b4493de8c44d..000000000000
--- a/src/Relay/Relay/help/New-AzWcfRelay.md
+++ /dev/null
@@ -1,270 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/new-azwcfrelay
-schema: 2.0.0
----
-
-# New-AzWcfRelay
-
-## SYNOPSIS
-Creates a WcfRelay in the specified Relay namespace.
-
-## SYNTAX
-
-### WcfRelayInputObjectSet
-```
-New-AzWcfRelay [-ResourceGroupName] [-Namespace] [-Name]
- [-InputObject ] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### WcfRelayPropertiesSet
-```
-New-AzWcfRelay [-ResourceGroupName] [-Namespace] [-Name] [-WcfRelayType ]
- [-RequiresClientAuthorization ] [-RequiresTransportSecurity ] [-UserMetadata ]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The New-AzWcfRelay cmdlet creates a WcfRelay in the specified Relay namespace.
-
-## EXAMPLES
-
-### Example 1 - InputObject
-```powershell
-$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 $getWcfRelay
-```
-
-```output
-RelayType : Http
-CreatedAt : 4/26/2017 5:14:46 PM
-UpdatedAt : 4/26/2017 5:14:46 PM
-ListenerCount :
-RequiresClientAuthorization : False
-RequiresTransportSecurity : True
-IsDynamic : False
-UserMetadata : TestWCFRelay2
-Id : /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/Default-Storage-WestUS/providers/Microsoft.Rel
- ay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay2
-Name : TestWCFRelay2
-Type : Microsoft.Relay/WcfRelays
-```
-
-Creates a new WcfRelay \`TestWCFRelay2\` in the specified Relay namespace \`TestNameSpace-Relay\`.
-
-### Example 2 - Properties
-```powershell
-New-AzWcfRelay -ResourceGroupName Default-Storage-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay -WcfRelayType "NetTcp" -RequiresClientAuthorization $True -RequiresTransportSecurity $True -UserMetadata "User Meta data"
-```
-
-```output
-RelayType : NetTcp
-CreatedAt : 4/26/2017 5:20:08 PM
-UpdatedAt : 4/26/2017 5:20:08 PM
-ListenerCount :
-RequiresClientAuthorization : True
-RequiresTransportSecurity : True
-IsDynamic : False
-UserMetadata : User Meta data
-Id : /subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/Default-Storage-WestUS/providers/Microsoft.Rel
- ay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay
-Name : TestWCFRelay
-Type : Microsoft.Relay/WcfRelays
-```
-
-Creates a new WcfRelay \`TestWCFRelay\` in the specified Relay namespace \`TestNameSpace-Relay1\`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -InputObject
-WcfRelay object.
-
-```yaml
-Type: Microsoft.Azure.Commands.Relay.Models.PSWcfRelayAttributes
-Parameter Sets: WcfRelayInputObjectSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -RequiresClientAuthorization
-true if client authorization is needed for this relay; otherwise, false
-
-```yaml
-Type: System.Nullable`1[System.Boolean]
-Parameter Sets: WcfRelayPropertiesSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -RequiresTransportSecurity
-true if transport security is needed for this relay; otherwise, false
-
-```yaml
-Type: System.Nullable`1[System.Boolean]
-Parameter Sets: WcfRelayPropertiesSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -UserMetadata
-Gets or sets usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g.
-it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayPropertiesSet
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelayType
-WcfRelay Type.
-Possible values include: 'NetTcp' or 'Http'
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayPropertiesSet
-Aliases:
-Accepted values: NetTcp, Http
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-### Microsoft.Azure.Commands.Relay.Models.PSWcfRelayAttributes
-
-### System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSWcfRelayAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Remove-AzRelayAuthorizationRule.md b/src/Relay/Relay/help/Remove-AzRelayAuthorizationRule.md
deleted file mode 100644
index 43ac696e638b..000000000000
--- a/src/Relay/Relay/help/Remove-AzRelayAuthorizationRule.md
+++ /dev/null
@@ -1,239 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/remove-azrelayauthorizationrule
-schema: 2.0.0
----
-
-# Remove-AzRelayAuthorizationRule
-
-## SYNOPSIS
-Removes the authorization rule of a HybridConnection from the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-Remove-AzRelayAuthorizationRule [-ResourceGroupName] [-Namespace] [-Name] [-Force]
- [-PassThru] [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-Remove-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-WcfRelay]
- [-Name] [-Force] [-PassThru] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-Remove-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ]
- [-HybridConnection] [-Name] [-Force] [-PassThru] [-DefaultProfile ]
- [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **Remove-AzRelayAuthorizationRule** cmdlet removes the authorization rule of the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Remove-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
-```
-
-Removes the authorization rule `AuthoRule1` of the namespace `TestNameSpace-Relay1`.
-
-### Example 2
-```powershell
-Remove-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWcfRelay -Name AuthoRule1
-```
-
-Removes the authorization rule `AuthoRule1` of the WcfRelay `TestWcfRelay` from the namespace `TestNameSpace-Relay1`.
-
-### Example 3
-```powershell
-Remove-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1
-```
-
-Removes the authorization rule `AuthoRule1` of the HybridConnection `TestHybridConnection` from the namespace `TestNameSpace-Relay1`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Force
-Do not ask for confirmation.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -PassThru
-{{Fill PassThru Description}}
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases:
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### System.Boolean
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Remove-AzRelayHybridConnection.md b/src/Relay/Relay/help/Remove-AzRelayHybridConnection.md
deleted file mode 100644
index 925726924b78..000000000000
--- a/src/Relay/Relay/help/Remove-AzRelayHybridConnection.md
+++ /dev/null
@@ -1,138 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/remove-azrelayhybridconnection
-schema: 2.0.0
----
-
-# Remove-AzRelayHybridConnection
-
-## SYNOPSIS
-Removes the HybridConnection from the specified HybridConnection namespace.
-
-## SYNTAX
-
-```
-Remove-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **Remove-AzRelayHybridConnection** cmdlet removes the HybridConnection from the specified Relay namespace.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Remove-AzRelayHybridConnection -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestHybridConnection
-```
-
-Removes the HybridConnection `TestHybridConnection` from the namespace `TestNameSpace-Relay1`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-HybridConnections Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### System.Void
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Remove-AzRelayNamespace.md b/src/Relay/Relay/help/Remove-AzRelayNamespace.md
deleted file mode 100644
index b8334c98051c..000000000000
--- a/src/Relay/Relay/help/Remove-AzRelayNamespace.md
+++ /dev/null
@@ -1,123 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/remove-azrelaynamespace
-schema: 2.0.0
----
-
-# Remove-AzRelayNamespace
-
-## SYNOPSIS
-Removes the namespace from the specified resource group.
-
-## SYNTAX
-
-```
-Remove-AzRelayNamespace [-ResourceGroupName] [-Name]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **Remove-AzRelayNamespace** cmdlet removes the namespace from the specified resource group.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Remove-AzRelayNamespace -ResourceGroupName Default-ServiceBus-WestUS -Name TestNameSpace-Relay1
-```
-
-Removes the Relay namespace `TestNameSpace-Relay1` from the specified resource group `Default-ServiceBus-WestUS`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-Relay Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### System.Void
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Remove-AzWcfRelay.md b/src/Relay/Relay/help/Remove-AzWcfRelay.md
deleted file mode 100644
index a3c342a212ae..000000000000
--- a/src/Relay/Relay/help/Remove-AzWcfRelay.md
+++ /dev/null
@@ -1,138 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/remove-azwcfrelay
-schema: 2.0.0
----
-
-# Remove-AzWcfRelay
-
-## SYNOPSIS
-Removes the WcfRelay from the specified Relay namespace.
-
-## SYNTAX
-
-```
-Remove-AzWcfRelay [-ResourceGroupName] [-Namespace] [-Name]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **Remove-AzWcfRelay** cmdlet removes the WcfRelay from the specified Relay namespace.
-
-## EXAMPLES
-
-### Example 1
-```powershell
-Remove-AzWcfRelay -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name TestWCFRelay1
-```
-
-Removes the WcfRelay `TestWCFRelay1` from the namespace `TestNameSpace-Relay1`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-## OUTPUTS
-
-### System.Void
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Set-AzRelayAuthorizationRule.md b/src/Relay/Relay/help/Set-AzRelayAuthorizationRule.md
deleted file mode 100644
index 7c8c045040c0..000000000000
--- a/src/Relay/Relay/help/Set-AzRelayAuthorizationRule.md
+++ /dev/null
@@ -1,351 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/set-azrelayauthorizationrule
-schema: 2.0.0
----
-
-# Set-AzRelayAuthorizationRule
-
-## SYNOPSIS
-Updates the specified authorization rule description for the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## SYNTAX
-
-### NamespaceAuthorizationRuleSet (Default)
-```
-Set-AzRelayAuthorizationRule [-ResourceGroupName] [-Namespace] [-Name]
- [[-InputObject] ] [[-Rights] ]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### WcfRelayAuthorizationRuleSet
-```
-Set-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-WcfRelay]
- [-Name] [[-InputObject] ] [[-Rights] ]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### HybridConnectionAuthorizationRuleSet
-```
-Set-AzRelayAuthorizationRule [-ResourceGroupName] [[-Namespace] ] [-HybridConnection]
- [-Name] [[-InputObject] ] [[-Rights] ]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-### AuthoRuleInputObjectSet
-```
-Set-AzRelayAuthorizationRule [-ResourceGroupName] [-Name]
- [-InputObject] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### AuthoRulePropertiesSet
-```
-Set-AzRelayAuthorizationRule [-ResourceGroupName] [-Name] [-Rights]
- [-DefaultProfile ] [-WhatIf] [-Confirm] []
-```
-
-## DESCRIPTION
-The **Set-AzRelayAuthorizationRule** cmdlet updates the description for the specified authorization rule of the given Relay entities (Namespace/WcfRelay/HybridConnection).
-
-## EXAMPLES
-
-### Example 1.1 - Namespace with InputObject
-```powershell
-$getAutoRule = Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1
-$getAutoRule.Rights.Add("Send")
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -InputObject $getAutoRule
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/AuthorizationRules/AuthoRule1
-```
-
-Adds **Send** from the access rights of the authorization rule `AuthoRule1` in namespace `TestNameSpace-Relay1`.
-
-### Example 1.2 - Namespace with Rights parameter
-```powershell
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -Name AuthoRule1 -Rights "Send"
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/AuthorizationRules/AuthoRule1
-```
-
-Adds **Send** from the access rights of the authorization rule `AuthoRule1` in namespace `TestNameSpace-Relay1`.
-
-### Example 2.1 - WcfRelay with InputObject
-```powershell
-$getWcfRelayAutho = Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1
-$getWcfRelayAutho.Rights.Add("Send")
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1 -InputObject $getWcfRelayAutho
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay1/authorizationRules/AuthoRule1
-```
-
-Adds **Send** to the access rights of the authorization rule `AuthoRule1` of the WcfRelay `TestWCFRelay1`.
-
-### Example 2.2 - WcfRelay with Rights parameter
-```powershell
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -WcfRelay TestWCFRelay1 -Name AuthoRule1 -Rights "Send"
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/WcfRelays/TestWCFRelay1/authorizationRules/AuthoRule1
-```
-
-Adds **Send** to the access rights of the authorization rule `AuthoRule1` of the WcfRelay `TestWCFRelay1`.
-
-### Example 3.1 - HybridConnection with InputObject
-```powershell
-$GetHybirdAutho = Get-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1
-$GetHybirdAutho.Rights.Add("Send")
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 -InputObject $GetHybirdAutho
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/HybridConnections/TestHybridConnection/authorizationRules/AuthoRule1
-```
-
-Adds **Send** to the access rights of the authorization rule `AuthoRule1` of the HybridConnection `TestHybridConnection`.
-
-### Example 3.2 - HybridConnection with Rights parameter
-```powershell
-Set-AzRelayAuthorizationRule -ResourceGroupName Default-ServiceBus-WestUS -Namespace TestNameSpace-Relay1 -HybridConnection TestHybridConnection -Name AuthoRule1 -Rights "Send"
-```
-
-```output
-Rights : {Listen, Send}
-Name : AuthoRule1
-Type : Microsoft.Relay/AuthorizationRules
-Id : /subscriptions/854d368f-1828-428f-8f3c-f2affa9b2f7d/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.Relay/namespaces/TestNameSpace-Relay1/HybridConnections/TestHybridConnection/authorizationRules/AuthoRule1
-```
-
-Adds **Send** to the access rights of the authorization rule `AuthoRule1` of the HybridConnection `TestHybridConnection`.
-
-## PARAMETERS
-
-### -DefaultProfile
-The credentials, account, tenant, and subscription used for communication with Azure.
-
-```yaml
-Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
-Parameter Sets: (All)
-Aliases: AzContext, AzureRmContext, AzureCredential
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -HybridConnection
-HybridConnection Name.
-
-```yaml
-Type: System.String
-Parameter Sets: HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -InputObject
-Relay AuthorizationRule Object.
-
-```yaml
-Type: Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-Parameter Sets: NamespaceAuthorizationRuleSet, WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 4
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-```yaml
-Type: Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-Parameter Sets: AuthoRuleInputObjectSet
-Aliases:
-
-Required: True
-Position: 4
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -Name
-AuthorizationRule Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 3
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Namespace
-Namespace Name.
-
-```yaml
-Type: System.String
-Parameter Sets: NamespaceAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 1
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -ResourceGroupName
-Resource Group Name.
-
-```yaml
-Type: System.String
-Parameter Sets: (All)
-Aliases:
-
-Required: True
-Position: 0
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Rights
-Rights, e.g.
-@("Listen","Send","Manage")
-
-```yaml
-Type: System.String[]
-Parameter Sets: NamespaceAuthorizationRuleSet, WcfRelayAuthorizationRuleSet, HybridConnectionAuthorizationRuleSet
-Aliases:
-
-Required: False
-Position: 4
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-```yaml
-Type: System.String[]
-Parameter Sets: AuthoRulePropertiesSet
-Aliases:
-
-Required: True
-Position: 4
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WcfRelay
-WcfRelay Name.
-
-```yaml
-Type: System.String
-Parameter Sets: WcfRelayAuthorizationRuleSet
-Aliases:
-
-Required: True
-Position: 2
-Default value: None
-Accept pipeline input: True (ByPropertyName)
-Accept wildcard characters: False
-```
-
-### -Confirm
-Prompts you for confirmation before running the cmdlet.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: cf
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### -WhatIf
-Shows what would happen if the cmdlet runs.
-The cmdlet is not run.
-
-```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
-Aliases: wi
-
-Required: False
-Position: Named
-Default value: None
-Accept pipeline input: False
-Accept wildcard characters: False
-```
-
-### CommonParameters
-This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
-
-## INPUTS
-
-### System.String
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-
-### System.String[]
-
-## OUTPUTS
-
-### Microsoft.Azure.Commands.Relay.Models.PSAuthorizationRuleAttributes
-
-## NOTES
-
-## RELATED LINKS
diff --git a/src/Relay/Relay/help/Set-AzRelayHybridConnection.md b/src/Relay/Relay/help/Set-AzRelayHybridConnection.md
deleted file mode 100644
index 1527d43ef0b7..000000000000
--- a/src/Relay/Relay/help/Set-AzRelayHybridConnection.md
+++ /dev/null
@@ -1,213 +0,0 @@
----
-external help file: Microsoft.Azure.PowerShell.Cmdlets.Relay.dll-Help.xml
-Module Name: Az.Relay
-online version: https://learn.microsoft.com/powershell/module/az.relay/set-azrelayhybridconnection
-schema: 2.0.0
----
-
-# Set-AzRelayHybridConnection
-
-## SYNOPSIS
-Updates the description of a HybridConnection in the specified Relay namespace.
-
-## SYNTAX
-
-### HybridConnectionInputObjectSet
-```
-Set-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name]
- [-InputObject ] [-DefaultProfile ] [-WhatIf] [-Confirm]
- []
-```
-
-### HybridConnectionPropertiesSet
-```
-Set-AzRelayHybridConnection [-ResourceGroupName] [-Namespace] [-Name]