azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

`New-AzureRmAks` should declare proper output type.

Open twitchax opened this issue 8 years ago • 4 comments

Description

Get-AzureRmAks declares List<PSKubernetesCluster> as its output type, and it should not be a concrete list (see here).

Module Version

6.0.0

twitchax avatar May 21 '18 08:05 twitchax

Thank you Aaron. When the bug get fixed, we may have to manually sync this doc from source to docs repo.

EdisonDa avatar May 21 '18 08:05 EdisonDa

@twitchax Actually, we don't need to have a "list" output for the output type at all - all that output type does is allow the user to tab through properties. I'll update the file to [OutputType(typeof(PSKubernetesCluster)))] - looks like the help file is fine, unless you guys think otherwise.

maddieclayton avatar May 21 '18 21:05 maddieclayton

@maddieclayton, sorry, my comment was a little confusing. I just meant that it should not be a concrete list, even if we did need it to be a list, which we don't. :)

twitchax avatar May 21 '18 21:05 twitchax

Fixed

maddieclayton avatar May 24 '18 17:05 maddieclayton