Skip to content

[Feature Request]: Update the Get-AzResourceProvider -ListAvailable in our Pester tests with a custom API version solution #2334

Description

Description

Based on the REST API Crawler IP (which is also embedded in the REST2CARML work) we could generate a ProviderNamespace-ResourceType-API file (e.g. JSON) that contains all available permutations.

For example

{
  "Microsoft.Storage" {
    "storageAccounts": [
      "2020-06-01",
      "2021-06-01",
      "(..)"
    ],
    "storageAccounts/blobServices": [
      "2020-06-01",
      "2021-06-01",
      "(..)"
    ],
    "(..)"
  },
  "(..)"
}

This file could be generated in a daily pipeline run and made available in our respository - essentially allowing us to maintain our own up-to-date knowledge base.

In the past it showed that the Get-AzResourceProvider function does not provide consistent results - in cases blocking PRs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions