Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AKS powershell modules are missing resource group #15802

Closed
jjindrich opened this issue Sep 1, 2021 · 4 comments · Fixed by #16301
Closed

AKS powershell modules are missing resource group #15802

jjindrich opened this issue Sep 1, 2021 · 4 comments · Fixed by #16301
Labels
AKS customer-reported feature-request This issue requires a new behavior in the product in order be resolved. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@jjindrich
Copy link

Get-AzAksCluster command is not returning ResourceGroup. But Stop-AzAksCluster/Start-AzAksCluster requires ResourceGroup parameter.

The case: You want to Stop/Start all AKS clusters.
Issue: You will list of all clusters using Get-AzAksCluster but you cannot run Stop-AzAksCluster/Start-AzAksCluster because
ResourceGroup property is missing.

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported labels Sep 1, 2021
@dingmeng-xue
Copy link
Member

Hi @jjindrich , we will add this feature. As a workaround, could you use pipeline operation? Get-AzAksCluster | Stop-AzAksCluster

@dingmeng-xue dingmeng-xue added AKS feature-request This issue requires a new behavior in the product in order be resolved. labels Sep 2, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Sep 2, 2021
@jjindrich
Copy link
Author

Thanks, please add ResourceGroup. I need to make some decisions based on the RG.

@dingmeng-xue dingmeng-xue added this to the Oct 2021 (2021-11-02) milestone Sep 9, 2021
@wyunchi-ms wyunchi-ms linked a pull request Nov 1, 2021 that will close this issue
8 tasks
@jjindrich
Copy link
Author

jjindrich commented Nov 8, 2021

@wyunchi-ms I tested it but ResourceGroupName property is still missing. I used Install-Module -Name Az.Aks with latest version (2.5.0).
I run
$c = Get-AzAksCluster
$c[0].Id
Getting Id works.

$c[0].ResourceGroupName
But getting ResourceGroupName failed.

Please can you check it ?

@wyunchi-ms
Copy link
Contributor

The PR is merged but not released. This issue will be fixed when next release arount 2021-12-08.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AKS customer-reported feature-request This issue requires a new behavior in the product in order be resolved. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants