Como preterir o suporte do Service Manager do Azure para o Barramento de Serviço do Azure, Retransmissão e Hubs de Eventos

O Resource Manager, nossa pilha de infraestrutura em nuvem de última geração, está substituindo totalmente o modelo de gerenciamento de serviços "clássico" do Azure (modelo de implantação clássico). Como resultado, as APIs REST do modelo de implantação clássica para o Barramento de Serviço, a Retransmissão e os Hubs de Eventos serão desativados em 1º de dezembro de 2021. Esse preterimento foi anunciado pela primeira vez em um anúncio da Microsoft Tech Community. Para facilitar a identificação, essas APIs têm management.core.windows.net em seu URI. Consulte a tabela a seguir para obter uma lista das APIs preteridas e a versão do Resource Manager do Azure da API que você deve usar agora.

Para continuar usando o Barramento de Serviço, a Retransmissão e os Hubs de Eventos, mude para o Resource Manager até 30 de novembro de 2021. Incentivamos todos os clientes que ainda estão usando APIs antigas a fazer troca com antecedência para aproveitar os benefícios adicionais do Resource Manager, que incluem agrupamento de recursos, marcas, um processo de implantação e gerenciamento simplificado e controle de acesso refinado usando o controle de acesso baseado em função (RBAC) do Azure.

Para saber mais sobre as APIs do Service Manager e do Resource Manager para o Barramento de Serviço do Azure, Retransmissão e Hubs de Eventos, consulte nossa documentação da API REST:

API REST do Service Manager - API REST do Resource Manager

APIs de Service Manager (Preteridas) Resource Manager - API do Barramento de Serviço Resource Manager - API dos Hubs de Eventos Resource Manager - API de Retransmissão
Namespaces-GetNamespaceAsync
Namespace Get do Barramento de Serviço
Namespace do Hubs de Eventos
Namespace Get de Retransmissão
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
get get get
ConnectionDetails-GetConnectionDetails
Barramento de Serviço/Hub de Eventos/Retransmissão GetConnectionDetals
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/ConnectionDetails
listkeys listkeys listkeys
Topics-GetTopicsAsync
Barramento de Serviço
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics? $skip={skip}&$top={top}
list    
Queues-GetQueueAsync
Barramento de Serviço
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/queues/{queueName}
get    
Relays-GetRelaysAsync
Obter Retransmissões
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/relays? $skip={skip}&$top={top}
    list
NamespaceAuthorizationRules-GetNamespaceAuthorizationRuleAsync
Barramento de Serviço/Hub de Eventos/Retransmissão GetNamespaceAuthRule
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/authorizationrules?
getauthorizationrule getauthorizationrule getauthorizationrule
Namespaces-DeleteNamespaceAsync
Namespace de exclusão do Barramento de Serviço
Namespace de exclusão de Hubs de Eventos
Namespace de exclusão de Retransmissão
DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
delete delete delete
MessagingSKUPlan-GetPlanAsync
Barramento de Serviço/Hub de Eventos/Retransmissão Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan
get get get
MessagingSKUPlan-UpdatePlanAsync
Barramento de Serviço/Hub de Eventos/Retransmissão Get Namespace
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan
createorupdate createorupdate createorupdate
NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync
Barramento de Serviço/Hub de Eventos/Retransmissão Get Namespace
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule
NamespaceAuthorizationRules-CreateNamespaceAuthorizationRuleAsync
Barramento de Serviço/Hub de Eventos/Retransmissão
PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
createorupdate createorupdateauthorizationrule createorupdateauthorizationrule
NamespaceProperties-GetNamespacePropertiesAsync
Namespace Get do Barramento de Serviço
Namespace do Hubs de Eventos
Namespace Get de Retransmissão
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
get get get
RegionCodes-GetRegionCodesAsync
Barramento de Serviço/Hub de Eventos/Retransmissão Get Namespace
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}
     
NamespaceProperties-UpdateNamespacePropertyAsync
Barramento de Serviço/EventHub/Retransmissão
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Regions/
createorupdate createorupdate createorupdate
EventHubsCrud-ListEventHubsAsync
Lista de Hubs de Eventos
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs?$skip={skip}&$top={top}
  list  
EventHubsCrud-GetEventHubAsync
Obter Hubs de Eventos
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs/{eventHubPath}
  get  
NamespaceAuthorizationRules-DeleteNamespaceAuthorizationRuleAsync
Barramento de Serviço/Hub de Eventos/Retransmissão
DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name}
deleteauthorizationrule deleteauthorizationrule deleteauthorizationrule
NamespaceAuthorizationRules-GetNamespaceAuthorizationRulesAsync
Barramento de Serviço/EventHub/Retransmissão
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules
listauthorizationrules listauthorizationrules listauthorizationrules
NamespaceAvailability-IsNamespaceAvailable
Disponibilidade do namespace do Barramento de Serviço
GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/CheckNamespaceAvailability/?namespace=<namespaceValue>
checknameavailability checknameavailability checknameavailability
Namespaces-CreateOrUpdateNamespaceAsync
Barramento de Serviço/Hub de Eventos/Retransmissão
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 do PowerShell – Resource Manager do PowerShell

Comando do Service Manager do PowerShell (Preterido) Novos comandos do Resource Manager Comando mais novo do Resource Manager
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

Próximas etapas

Consulte a seguinte documentação: