Einstellung der Azure Service Manager-Unterstützung für Azure Service Bus, Relay und Event Hubs

Resource Manager, der Cloudinfrastrukturstapel der nächsten Generation, ersetzt vollständig das „klassische“ Azure-Dienstverwaltungsmodell (klassisches Bereitstellungsmodell). Folglich werden die REST-APIs des klassischen Bereitstellungsmodells und die Unterstützung für Service Bus, Relay und Event Hubs am 1. November 2021 eingestellt. Diese Einstellung wurde erstmals in einer Ankündigung der Microsoft Tech Community mitgeteilt. Für eine einfache Identifikation weisen diese APIs management.core.windows.net in Ihrem URI auf. In der folgenden Tabelle finden Sie eine Liste der veralteten APIs und der Azure Resource Manager-API-Version, die Sie jetzt verwenden sollten.

Um Service Bus, Relay und Event Hubs weiterhin zu verwenden, wechseln Sie bis zum 30. November 2021 zu Resource Manager. Wir empfehlen allen Kund*innen, die noch mit alten APIs arbeiten, die Umstellung bald vorzunehmen, um die zusätzlichen Vorteile von Resource Manager nutzen zu können. Dazu gehören die Gruppierung von Ressourcen, Tags, ein optimierter Bereitstellungs- und Verwaltungsprozess und eine präzise Zugriffssteuerung mit der rollenbasierten Zugriffssteuerung in Azure (Role-Based Access Control, RBAC).

Weitere Informationen zu Service Manager- und Resource Manager-APIs für Azure Service Bus, Relay und Event Hubs finden Sie in unserer REST-API-Dokumentation:

Service Manager-REST-API – Resource Manager-REST-API

Service Manager-APIs (veraltet) Resource Manager – Service Bus-API Resource Manager: Event Hubs-API Resource Manager – Relay-API
Namespaces-GetNamespaceAsync
Service Bus Get Namespace
Event Hubs 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 GetConnectionDetails
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 Hubs 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/Event Hub/Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
     
NamespaceProperties-UpdateNamespacePropertyAsync
Service Bus/Event Hub/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-ListEventHubsAsync
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/Event Hub/Relay
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules
listauthorizationrules listauthorizationrules listauthorizationrules
NamespaceAvailability-IsNamespaceAvailable
Service Bus-Namespaceverfügbarkeit
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    

Service Manager PowerShell – Resource Manager PowerShell

Service Manager PowerShell-Befehl (veraltet) Neue Resource Manager-Befehle Neuerer Resource Manager-Befehl
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-AzureSBAuthorizationRule Remove-AzureRmServiceBusAuthorizationRule Remove-AzServiceBusAuthorizationRule
Remove-AzureSBNamespace Remove-AzureRmServiceBusNamespace Remove-AzServiceBusNamespace
Set-AzureSBAuthorizationRule Set-AzureRmServiceBusAuthorizationRule Set-AzServiceBusAuthorizationRule

Nächste Schritte

Weitere Informationen finden Sie in der folgenden Dokumentation: