Partager via


Dépréciation de la prise en charge d’Azure Service Manager pour Azure Service Bus, Relay et Event Hubs

Resource Manager, notre nouvelle génération de pile d’infrastructure cloud, remplace entièrement le modèle de management des services Azure « classique » (modèle de déploiement classique). Par conséquent, les API REST du modèle de déploiement classique de Service Bus, Relay et Event Hubs seront mises hors service le 1er décembre 2021. Cette désapprobation a été annoncée pour la première fois sur une annonce Microsoft Tech Community. Pour faciliter l’identification, ces API ont management.core.windows.net dans leur URI. Reportez-vous au tableau suivant pour obtenir la liste des API déconseillées et de leur version d’API Azure Resource Manager que vous devez désormais utiliser.

Pour continuer à utiliser Service Bus, Relay et Event Hubs, passez à Resource Manager avant le 30 novembre 2021. Nous encourageons tous les clients qui utilisent encore les anciennes API à passer rapidement à la nouvelle version afin de profiter des avantages supplémentaires de Resource Manager, notamment le regroupement de ressources, les balises, un processus de déploiement et de gestion rationalisé et un contrôle d'accès affiné grâce au Contrôle d'accès en fonction du rôle Azure (Azure RBAC).

Pour plus d’informations sur les API Service Manager et Resource Manager pour Azure Service Bus, Relay et Event Hubs, consultez notre documentation sur l’API REST :

API REST Service Manager – API REST Resource Manager

API Service Manager (déconseillées) Resource Manager –API Service Bus Resource Manager – API Event Hubs Resource Manager –API Relay
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 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 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/EventHub/Relay Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
     
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    

PowerShell Service Manager – PowerShell Resource Manager

Commande PowerShell Service Manager (déconseillée) Nouvelles commandes Resource Manager Commande Resource Manager plus récente
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

Étapes suivantes

Voir la documentation suivante :