Afschaffing van Azure Service Manager-ondersteuning voor Azure Service Bus, Relay en Event Hubs
Resource Manager, onze cloudinfrastructuurstack van de volgende generatie, vervangt het klassieke Azure Service Management-model (klassiek implementatiemodel). Als gevolg hiervan worden REST API's van het klassieke implementatiemodel voor Service Bus, Relay en Event Hubs buiten gebruik gesteld op 1 december 2021. Deze afschaffing werd voor het eerst aangekondigd op een aankondiging van de Microsoft Tech Community. Voor eenvoudige identificatie hebben management.core.windows.net
deze API's hun URI. Raadpleeg de volgende tabel voor een lijst met de afgeschafte API's en hun Azure Resource Manager API-versie die u nu moet gebruiken.
Als u Service Bus, Relay en Event Hubs wilt blijven gebruiken, gaat u naar Resource Manager op 30 november 2021. We raden alle klanten aan die nog steeds oude API's gebruiken om binnenkort over te schakelen om te profiteren van de extra voordelen van Resource Manager, waaronder resourcegroepering, tags, een gestroomlijnd implementatie- en beheerproces en gedetailleerd toegangsbeheer met behulp van op rollen gebaseerd toegangsbeheer van Azure (Azure RBAC).
Raadpleeg onze REST API-documentatie voor meer informatie over Service Manager- en Resource Manager-API's voor Azure Service Bus, Relay en Event Hubs:
Service Manager REST API - Resource Manager REST API
Service Manager-API's (afgeschaft) | Resource Manager - Service Bus-API | Resource Manager - Event Hubs-API | Resource Manager - Relay-API |
---|---|---|---|
Naamruimten-GetNamespaceAsync Service Bus-naamruimte ophalen Event Hubs Get Namespace Relay Get Namespace GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
Toevoegen | Toevoegen | Toevoegen |
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 |
Onderwerpen-GetTopicsAsync Service Bus GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics? $skip={skip}&$top={top} |
lijst | ||
Queues-GetQueueAsync Service Bus GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/queues/{queueName} |
Toevoegen | ||
Relays-GetRelaysAsync Relays ophalen GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/relays? $skip={skip}&$top={top} |
lijst | ||
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 |
Naamruimten-DeleteNamespaceAsync Service Bus-naamruimte verwijderen Event Hubs-naamruimte verwijderen Relays Naamruimte verwijderen DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
verwijderen | verwijderen | verwijderen |
MessagingSKUPlan-GetPlanAsync Service Bus/Event Hub/Relay Get-naamruimte GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
Toevoegen | Toevoegen | Toevoegen |
MessagingSKUPlan-UpdatePlanAsync Service Bus/Event Hub/Relay Get-naamruimte 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-naamruimte 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 Service Bus-naamruimte ophalen Event Hubs Get Namespace Relay Get Namespace GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
Toevoegen | Toevoegen | Toevoegen |
RegionCodes-GetRegionCodesAsync Service Bus/EventHub/Relay Get-naamruimte 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 Event Hubs vermelden GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs?$skip={skip}&$top={top} |
lijst | ||
EventHubsCrud-GetEventHubAsync Event Hubs ophalen GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs/{eventHubPath} |
Toevoegen | ||
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 Beschikbaarheid van Service Bus-naamruimte GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/CheckNamespaceAvailability/?namespace=<namespaceValue> |
checknameavailability | checknameavailability | checknameavailability |
Naamruimten-CreateOrUpdateNamespaceAsync Service Bus/Event Hub/Relay PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
createorupdate | createorupdate | createorupdate |
Onderwerpen-GetTopicAsyncGET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics/{topicPath} |
Toevoegen |
Service Manager PowerShell - Resource Manager PowerShell
Service Manager PowerShell-opdracht (afgeschaft) | Nieuwe Resource Manager-opdrachten | Nieuwere Resource Manager-opdracht |
---|---|---|
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 |
Volgende stappen
Raadpleeg de volgende documentatie:
- Meest recente REST API-documentatie
- Meest recente PowerShell-documentatie