Skip to content

Commit

Permalink
Pin ApiManagement to track 2022-09-01-preview in v3 (#3857)
Browse files Browse the repository at this point in the history
The TestApi integration test fails when using 2024-05-01 so we need to
use a lower version.
The documentation uses 2024-05-01:
https://learn.microsoft.com/en-us/rest/api/apimanagement/api-version-set
The portal uses 2022-09-01-preview
  • Loading branch information
danielrbradley authored Jan 16, 2025
1 parent 9f2ff80 commit 74ff333
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion versions/v3-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ AlertsManagement:
AnalysisServices:
ApiManagement:
expectAdditions: true
notes: Only listDelegationSettingSecrets seems to have no new name
expectTracking: preview
notes: |
Only listDelegationSettingSecrets seems to have no new name
The TestApi integration test fails when using 2024-05-01 so we currently need to use a lower version.
The documentation is for 2024-05-01: https://learn.microsoft.com/en-us/rest/api/apimanagement/api-version-set
The portal uses 2022-09-01-preview, so we'll go with that as it includes most new resources.
exclusions:
ApiDiagnosticLogger: "2018-01-01" # last appeared 2018, not documented in https://learn.microsoft.com/en-us/rest/api/apimanagement/
ApiOperationsPolicy: "2016-10-10" # renamed to ApiOperationPolicy
Expand Down
2 changes: 2 additions & 0 deletions versions/v3-spec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# WARNING: This file was generated by provider/pkg/gen/emitFiles.go. Edits might be overwritten.

ApiManagement:
tracking: 2022-09-01-preview
ContainerRegistry:
additions:
CredentialSet: 2023-01-01-preview
Expand Down

0 comments on commit 74ff333

Please sign in to comment.