Get-AzAks is missing the apiServerAccessProfile
which is in az aks show
#11649
Labels
AKS
Azure PS Team
customer-reported
feature-request
This issue requires a new behavior in the product in order be resolved.
Milestone
Description of the new feature
It seems the
apiServerAccessProfile
returned byaz aks show
isn't in the output forGet-AzAks
, is this correct?From
az aks show
as an exampleUsing
-Debug
shows this key isn't coming back on theGet-AzAks
call, whereas it does for the generic resource call.Further to this by doing a generic
Get-AzResource
the profile is available in the-Debug
output.Further to that it can be accessed by using
-ExpandProperties
and then querying theProperty
object on the resource.EDIT: After more digging it seems the
Get-AzAks
uses an API version that's 3 years old, whereasGet-AzResource
uses one from 2020:Get-AzAks
:vs
Get-AzResource
:The text was updated successfully, but these errors were encountered: