Utfasning av Azure Service Manager-stöd 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. Den här utfasningen tillkännagavs först i ett meddelande från Microsoft Tech Community. 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 går du till Resource Manager senast den 30 november 2021. Vi uppmuntrar alla kunder som fortfarande använder gamla API:er att snabbt göra bytet för att dra nytta av de extra fördelarna med Resource Manager, som omfattar 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:
REST API för Service Manager – 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 Relä, hämta namnrymd GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
få | få | få |
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 Service Bus GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/topics? $skip={skip}&$top={top} |
lista | ||
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} |
lista | ||
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 Ta bort namnområde för 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 Service Bus/Event Hub/Relay Hämta namnområde GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
få | få | få |
MessagingSKUPlan-UpdatePlanAsync Service Bus/Event Hub/Relay Hämta namnområde PUT https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/MessagingPlan |
createorupdate | createorupdate | createorupdate |
NamespaceAuthorizationRules-UpdateNamespaceAuthorizationRuleAsync Service Bus/Event Hub/Relay Hämta namnområde 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 Relä, hämta namnrymd GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name} |
få | få | få |
RegionCodes-GetRegionCodesAsync Service Bus/EventHub/Relay Hämta namnområde 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 händelsehubbar GET https://management.core.windows.net/{subscription ID}/services/ServiceBus/Namespaces/{namespace name}/eventhubs?$skip={skip}&$top={top} |
lista | ||
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 |
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
PowerShell-kommando för Service Manager (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