Utfasning av Stöd för Azure Service Manager för Azure Service Bus, Relay och Event Hubs
Resource Manager, vår nästa generations molninfrastrukturstack, ersätter helt den "klassiska" Azure Service Management-modellen (klassisk distributionsmodell). Därför dras rest-API:erna för den klassiska distributionsmodellen för Service Bus, Relay och Event Hubs tillbaka den 1 december 2021. Denna utfasning tillkännagavs först på ett Microsoft Tech Community meddelande. För enkel identifiering har management.core.windows.net
dessa API:er i sin URI. I följande tabell finns en lista över de inaktuella API:erna och deras Azure Resource Manager API-version som du nu bör använda.
Om du vill fortsätta använda Service Bus, Relay och Event Hubs flyttar du till Resource Manager senast den 30 november 2021. Vi uppmuntrar alla kunder som fortfarande använder gamla API:er att göra bytet snart för att dra nytta av de extra fördelarna med Resource Manager, bland annat resursgruppering, taggar, en effektiviserad distributions- och hanteringsprocess och detaljerad åtkomstkontroll med hjälp av rollbaserad åtkomstkontroll i Azure (Azure RBAC).
Mer information om Service Manager- och Resource Manager-API:er för Azure Service Bus, Relay och Event Hubs finns i vår REST API-dokumentation:
Service Manager REST API – Resource Manager REST API
Service Manager-API:er (inaktuella) | Resource Manager – Service Bus API | Resource Manager – Event Hubs API | Resource Manager – Relay API |
---|---|---|---|
Namespaces-GetNamespaceAsync Hämta namnområde för Service Bus Hämta namnområde för Event Hubs Hämta namnområde för Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
Få | Få | Få |
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} |
Få | ||
Relays-GetRelaysAsync Hämta reläer 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 Namnområde för borttagning av Service Bus Ta bort namnområde för Event Hubs Reläer Ta bort namnområde DELETE https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
Ta bort | Ta bort | Ta bort |
MessagingSKUPlan-GetPlanAsync Hämta namnrymd för Service Bus/Event Hub/Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
Få | Få | Få |
MessagingSKUPlan-UpdatePlanAsync Hämta namnrymd för Service Bus/Event Hub/Relay PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
createorupdate | createorupdate | createorupdate |
NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync Hämta namnrymd för 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 Hämta namnområde för Service Bus Hämta namnområde för Event Hubs Hämta namnområde för Relay GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
Få | Få | Få |
RegionCodes-GetRegionCodesAsync Hämta namnområde för 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 Visa en lista över eventhubbar GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs?$skip={skip}&$top={top} |
list | ||
EventHubsCrud-GetEventHubAsync Hämta Event Hubs GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs/{eventHubPath} |
Få | ||
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 |
visa listauthorizationrules | listauthorizationrules | listauthorizationrules |
NamespaceAvailability-IsNamespaceAvailable Service Bus-namnområdestillgänglighet 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} |
Få |
Service Manager PowerShell – Resource Manager PowerShell
Service Manager PowerShell-kommando (inaktuell) | Nya Resource Manager kommandon | Nyare Resource Manager kommando |
---|---|---|
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ästa steg
Se följande dokumentation:
- Senaste REST API-dokumentationen
- Senaste PowerShell-dokumentationen