Azure Monitor retirement of classic deployment model APIs for metrics and autoscale

Azure Monitor (formerly Azure Insights when first released) currently offers the capability to create and manage autoscale settings for and consume metrics from classic VMs and classic Cloud Services. The original set of classic deployment model-based APIs will be retired after June 30, 2019 in all Azure public and private clouds in all regions.  

The same operations have been supported through a set of Azure Resource Manager based APIs for over a year. The Azure portal uses the new REST APIs for both autoscale and metrics. A new SDK, PowerShell, and CLI based on these Resource Manager APIs are also available. Our partner services for monitoring consume the new Resource Manager based REST APIs in Azure Monitor.

Who is not affected

If you are managing autoscale via the Azure portal, the new Azure Monitor SDK, PowerShell, CLI, or Resource Manager templates, no action is necessary.

If you are consuming metrics via the Azure portal or via various monitoring partner services, no action is necessary. Microsoft is working with monitoring partners to migrate to the new APIs.

Who is affected

This article applies to you if you are using the following components:

If you're unsure whether your code or custom tools are calling the classic APIs, look at the following:

Why you should switch

All the existing capabilities for autoscale and metrics will continue to work via the new APIs.

Migrating over to newer APIs come with Resource Manager based capabilities, such as support for consistent Azure role-based access control (Azure RBAC) across all your monitoring services. You also gain additional functionality for metrics:

  • support for dimensions
  • consistent 1-minute metric granularity across all services
  • better querying
  • higher data retention (93 days of metrics vs. 30 days)

Overall, like all other services in Azure, the Resource Manager based Azure Monitor APIs come with better performance, scalability, and reliability.

What happens if you do not migrate

Before retirement

There will not be any direct impact to your Azure services or their workloads.

After retirement

Any calls to the classic APIs listed previously will fail and return error messages similar the following ones:

For autoscale: This API has been deprecated. Use the Azure portal, Azure Monitor SDK, PowerShell, CLI, or Resource Manager templates to manage Autoscale Settings.

For metrics: This API has been deprecated. Use the Azure portal, Azure Monitor SDK, PowerShell, CLI to query for metrics.

Email notifications

A retirement notification was sent to email addresses for the following account roles:

  • Account and service administrators
  • Coadministrators

If you have any questions, contact us at MonitorClassicAPIhelp@microsoft.com.

References