Azure Retirement: Azure Kubernetes Service 2022-11-02-preview API end of life is 20 June 2024

Syeda Saniya 5 Reputation points
2024-06-04T13:08:38.92+00:00

I have received this notice earlier.

How i am suppose to see which API CLI is using?

The query provided in notification is not workin

API_VERSION=2022-04-01-preview

az monitor activity-log list --offset 30d --max-events 10000 --namespace microsoft.containerservice --query "[?eventName.value == 'EndRequest' && contains(not_null(httpRequest.uri,''), '${API_VERSION}')]"

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,319 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Militaru, Petrica 0 Reputation points
    2024-06-06T11:15:52.0833333+00:00

    Hello,

    Please try updated command below:

    API_VERSION=2022-04-01-preview

    az monitor activity-log list --offset 30d --max-events 10000 --namespace microsoft.containerservice --query "[?eventName.value == 'EndRequest' && contains(not_null(httpRequest.uri,''), '${API_VERSION}')]"

    If this works for you please accept the answer.

    Regards,


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.