Desuso del soporte técnico de Azure Service Manager para Azure Service Bus, Relay y Event Hubs
Resource Manager, nuestra pila de infraestructura en la nube de próxima generación, está reemplazando por completo el modelo de Azure Service Management "clásico" (modelo de implementación clásica). Como consecuencia, las API REST del modelo de implementación clásica para Service Bus, Relay y Event Hubs se retirarán el 1 de diciembre de 2021. Este desuso se anunció por primera vez en un anuncio de Microsoft Tech Community. Para facilitar la identificación, estas API tienen management.core.windows.net
en su identificador URI. En la tabla siguiente encontrará una lista de las API en desuso y su versión para Azure Resource Manager que debería usar ahora.
Para seguir usando Service Bus, Relay y Event Hubs, cambie a Resource Manager antes del 30 de noviembre de 2021. Se anima a todos los clientes que todavía usan API antiguas a que realicen pronto el cambio, con el fin de aprovechar las ventajas extra de Resource Manager, entre las que se incluyen la agrupación de recursos, las etiquetas, un proceso de administración e implementación simplificado, y un control de acceso específico mediante el control de acceso basado en rol (RBAC de Azure).
Para obtener más información sobre las API de Service Manager y Resource Manager para Azure Service Bus, Relay y Event Hubs, consulte nuestra documentación de la API REST:
API REST de Service Manager frente a API REST de Resource Manager
API de Service Manager (en desuso) | Resource Manager: Service Bus API | Resource Manager: Event Hub API | Resource Manager: Relay API |
---|---|---|---|
Namespaces-GetNamespaceAsync Get Namespace de Service Bus Get Namespace de Event Hubs Get Namespace de Relay 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 Azure Service Bus GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics? $skip={skip}&$top={top} |
list | ||
Queues-GetQueueAsync Azure 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 GetNamespaceAuthRule de Service Bus/Event Hub/Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/authorizationrules? |
getauthorizationrule | getauthorizationrule | getauthorizationrule |
Namespaces-DeleteNamespaceAsync Delete Namespace de Service Bus Delete Namespace de Event Hubs Delete Namespace de Relays DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
eliminación | eliminación | eliminación |
MessagingSKUPlan-GetPlanAsync Get Namespace de Service Bus/Event Hub/Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
get | get | get |
MessagingSKUPlan-UpdatePlanAsync Get Namespace de Service Bus/Event Hub/Relay PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
createorupdate | createorupdate | createorupdate |
NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync Get Namespace de Service Bus/Event Hub/Relay 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/RelayPUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/AuthorizationRules/{rule name} |
createorupdate | createorupdateauthorizationrule | createorupdateauthorizationrule |
NamespaceProperties-GetNamespacePropertiesAsync Get Namespace de Service Bus Get Namespace de Event Hubs Get Namespace de Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
get | get | get |
RegionCodes-GetRegionCodesAsync Get Namespace de Service Bus/EventHub/Relay 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 Namespace Availability de Service Bus 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-GetTopicAsyncGET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics/{topicPath} |
get |
PowerShell de Service Manager frente a Service Manager de Resource Manager
Comando de PowerShell de Service Manager (en desuso) | Nuevos comandos de Resource Manager | Comando de Resource Manager aún más nuevo |
---|---|---|
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 |
Pasos siguientes
Consulte la documentación siguiente:
- Documentación más reciente de API REST
- Documentación más reciente de Azure PowerShell