Deprecating Service Management support for Azure Service Bus, Relay and Event Hubs

Published Mar 15 2019 12:36 PM 4,434 Views
Microsoft

Resource Manager, our next-generation cloud infrastructure stack, is fully replacing the "classic" Service Management model. As a result, Service Management REST APIs and support for Service Bus, Relay, and Event Hubs will be retired on December 1, 2021. As with all changes of this type, we’re providing 20 months’ notice so you have adequate time to modify your services that use these APIs. For identification, these APIs have management.core.windows.net in the URI.

To continue using Service Bus, Relay, and Event Hubs, please move to Resource Manager by November 30, 2021. We encourage all customers who are still using Service Management APIs to make the switch soon to take advantage of the additional benefits of Resource Manager, which include resource grouping, tags, a streamlined deployment and management process, and fine-grained access control using RBAC.

Common Service Manager (ASM REST APIs) calls and Resource Manager replacements (ARM API's)

ASM APIs (Deprecated) ARM Service Bus API ARM Event Hub API ARM Relay API

Namespaces-GetNamespaceAsync

Service Bus Get Namespace
Event Hub Get Namespace
Relay Get Namespace

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}
get get get

ConnectionDetails-GetConnectionDetails

Service Bus/Event Hub/Relay GetConnectionDetals

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/Namespaces/
{namespace name}/ConnectionDetails
listkeys listkeys listkeys

Topics-GetTopicsAsync

Service Bus

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
topics? $skip={skip}&$top={top}
list - -

Queues-GetQueueAsync

Service Bus

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/queues/{queueName}
get - -

Relays-GetRelaysAsync
Get Relays

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
relays? $skip={skip}&$top={top}
- - list

NamespaceAuthorizationRules-GetNamespaceAuthorizationRuleAsync

Service Bus/Event Hub/Relay GetNamespaceAuthRule

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/authorizationrules?
getauthorizationrule getauthorizationrule getauthorizationrule

Namespaces-DeleteNamespaceAsync
Service Bus Delete Namespace
Event Hubs Delete Namespace
Relays Delete Namespace

DELETE	https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}
delete delete delete

MessagingSKUPlan-GetPlanAsync

Service Bus/Event Hub/Relay Get Namespace

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/MessagingPlan 
get get get

MessagingSKUPlan-UpdatePlanAsync

Service Bus/Event Hub/Relay Get Namespace

PUT https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/MessagingPlan 
createorupdate createorupdate createorupdate

NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync

Service Bus/Event Hub/Relay Get Namespace

PUT https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
AuthorizationRules/{rule name}  
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule

NamespaceAuthorizationRules-CreateNamespaceAuthorizationRuleAsync

Service Bus/Event Hub/Relay

PUT https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
AuthorizationRules/{rule name}  
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule

NamespaceProperties-GetNamespacePropertiesAsync
Service Bus Get Namespace
Event Hub Get Namespace
Relay Get Namespace

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name} 
get get get

RegionCodes-GetRegionCodesAsync

Service Bus/EventHub/Relay Get Namespace

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name} 
listbysku listbysku -

NamespaceProperties-UpdateNamespacePropertyAsync

Service Bus/EventHub/Relay

GET	https://management.core.windows.net/
{subscription ID}/services/ServiceBus/Regions/ 
createorupdate createorupdate createorupdate

EventHubsCrud-ListEventHubsAsync
List Event Hubs

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/eventhubs?
$skip={skip}&$top={top}
- list -

EventHubsCrud-GetEventHubAsync
Get Event Hubs

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/eventhubs/
{eventHubPath}
- get -

NamespaceAuthorizationRules-DeleteNamespaceAuthorizationRuleAsync

Service Bus/Event Hub/Relay

DELETE https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
AuthorizationRules/{rule name} 
deleteauthorizationrule deleteauthorizationrule deleteauthorizationrule

NamespaceAuthorizationRules-GetNamespaceAuthorizationRulesAsync

Service Bus/EventHub/Relay

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/AuthorizationRules 
listauthorizationrules listauthorizationrules listauthorizationrules

NamespaceAvailability-IsNamespaceAvailable
Service Bus Namespace Availability

GET	https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
CheckNamespaceAvailability/?
namespace=<namespaceValue>
checknameavailability checknameavailability checknameavailability

Namespaces-CreateOrUpdateNamespaceAsync

Service Bus/Event Hub/Relay

PUT	https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name} 
createorupdate createorupdate createorupdate

Topics-GetTopicAsync

GET https://management.core.windows.net/
{subscription ID}/services/ServiceBus/
Namespaces/{namespace name}/
topics/{topicPath}
get - -

 

ASM RDFE Powershell Commands Comparison to ARM Powershell Commands

RDFE Commands (Deprecated) ARM Commands Newer ARM Commands
Get-AzureSBAuthorizationRule Get-AzureRmServiceBusAuthorizationRule Get-AzServiceBusAuthorizationRule
Get-AzureSBLocation Get-AzureRmServiceBusGeoDRConfiguration Get-AzServiceBusGeoDRConfiguration
Get-AzureSBNamespace Get-AzureRmServiceBusNamespace Get-AzServiceBusNamespace
New-AzureSBAuthorizationRule New-AzureRmServiceBusAuthorizationRule New-AzServiceBusAuthorizationRule
New-AzureSBNamespace New-AzureRmServiceBusNamespace New-AzServiceBusNamespace
Remove-AzureRmRelayAuthorizationRule Remove-AzureRmEventHubAuthorizationRule Remove-AzServiceBusAuthorizationRule
Remove-AzureSBNamespace Remove-AzureRmServiceBusNamespace Remove-AzServiceBusNamespace
Set-AzureSBAuthorizationRule Set-AzureRmServiceBusAuthorizationRule Set-AzServiceBusAuthorizationRule


For more information on Azure Resource Manager vs Service Management, please see the TechNet Blog.

For more information on Service Management and ARM APIs for Azure Service Bus, Relay and Event Hubs, please see our Azure Rest API documentation.

Co-Authors
Version history
Last update:
‎Nov 09 2021 01:48 PM
Updated by: