Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
APIM -APRL recommendation (#346)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Henry <[email protected]>
  • Loading branch information
aarthiem and ejhenry authored Apr 5, 2024
1 parent 10450c7 commit dfe7fee
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/content/services/integration/api-management/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The presented resiliency recommendations in this guidance include Api Management
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------:|:------:|:-------:|:-------------------:|
| [APIM-1 - Migrate API Management services to Premium SKU to support Availability Zones](#apim-1---migrate-api-management-services-to-premium-sku-to-support-availability-zones) | Availability | High | Preview | Yes |
| [APIM-2 - Enable Availability Zones on Premium API Management instances](#apim-2---enable-availability-zones-on-premium-api-management-instances) | Availability | High | Preview | Yes |
| [APIM-3 - Upgrade to platform version stv2](#apim-3---upgrade-to-platform-version-stv2) | Availability | High | Preview | Yes |
{{< /table >}}

{{< alert style="info" >}}
Expand Down Expand Up @@ -75,3 +76,28 @@ Enable zone redundancy for APIM instances. With zone redundancy, the gateway and
{{< /collapse >}}

<br><br>

### APIM-3 - Upgrade to platform version stv2

**Category: Availability**

**Impact: High**

**Guidance**

Upgrade to platform version stv2. The infrastructure associated with the API Management stv1 compute platform version will be retired effective 31 August 2024. A more current compute platform version (stv2) is already available and provides enhanced service capabilities.

**Resources**

- [Azure API Management - stv1 platform retirement (August 2024)](https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/stv1-platform-retirement-august-2024)
- [Azure API Management compute platform](https://learn.microsoft.com/en-us/azure/api-management/compute-infrastructure)

**Resource Graph Query/Scripts**

{{< collapse title="Show/Hide Query/Script" >}}

{{< code lang="sql" file="code/apim-3/apim-3.kql" >}} {{< /code >}}

{{< /collapse >}}

<br><br>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Azure Resource Graph Query
// Find all API Management instances that aren't upgraded to platform version stv2
resources
| where type =~ 'Microsoft.ApiManagement/service'
| extend plat_version = properties.platformVersion
| extend skuName = sku.name
| where tolower(plat_version) != tolower('stv2')
| project recommendationId = "apim-3", name, id, tags, param1=strcat("Platform Version: ", plat_version) , param2=strcat("SKU: ", skuName)

0 comments on commit dfe7fee

Please sign in to comment.