Skip to content

Commit

Permalink
Update GetAzureProviderCmdlet.cs
Browse files Browse the repository at this point in the history
Set the DefaultApiVersion of the Resource Type object in method OnProcessRecord() to allow the Get-AzResourceProvider cmdlet to return Default API Version information to the user
  • Loading branch information
efloresgil authored Oct 30, 2024
1 parent 084ef17 commit 1b815d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ protected override void OnProcessRecord()
ResourceTypeName = type.ResourceTypeName,
Locations = type.Locations,
ApiVersions = type.ApiVersions,
ZoneMappings = type.ZoneMappings
ZoneMappings = type.ZoneMappings,
DefaultApiVersion = type.DefaultApiVersion
}
},
ZoneMappings = type.ZoneMappings
Expand Down

0 comments on commit 1b815d8

Please sign in to comment.