Skip to content

Commit

Permalink
Add API for Microsoft.Compute/galleries (#3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennerv authored Jul 21, 2023
1 parent b218984 commit b8803d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/util/azureclient/apiversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ var apiVersions = map[string]string{
"microsoft.authorization/denyassignments": "2018-07-01-preview",
"microsoft.authorization/roledefinitions": "2018-01-01-preview",
"microsoft.compute": "2020-12-01",
"microsoft.compute/diskencryptionsets": "2021-04-01",
"microsoft.compute/disks": "2019-03-01",
"microsoft.compute/galleries": "2022-03-03",
"microsoft.compute/snapshots": "2020-05-01",
"microsoft.compute/diskencryptionsets": "2021-04-01",
"microsoft.containerregistry": "2020-11-01-preview",
"microsoft.resources/deployments": "2021-04-01",
"microsoft.documentdb": "2021-01-15",
Expand Down
4 changes: 4 additions & 0 deletions pkg/util/azureclient/apiversions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func TestAPIVersion(t *testing.T) {
typ: "Microsoft.ContainerRegistry/registries/replications",
want: apiVersions["microsoft.containerregistry"],
},
{
typ: "Microsoft.Compute/galleries",
want: apiVersions["microsoft.compute/galleries"],
},
{
typ: "Microsoft.Random/resources",
},
Expand Down

0 comments on commit b8803d7

Please sign in to comment.