Azure / Azure/azurestack-powershell

Remove-AzsPlatformImage Does Not Return Anything

Offen
#44 6 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @hannah-murphy-0 Auf GitHub ansehen
Vorherrschende Sprache
PowerShell
Sterne
16
Forks
37
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

For the AzureStack modules that are used with AzureRM, when you run a command like this:

`Remove-AzsPlatformImage -Location local -Offer UbuntuServer -Publisher Canonical -Sku 16.04-LTS -Version 1.0.0`

Nothing is returned. However it reportedly should return a boolean according to its documentation:

https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/remove-azsplatformimage?view=azurestackps-2.0.2&viewFallbackFrom=azurestackps-2.5.0

Another issue is that it doesn't seem to remove the image immediately, but this is not documented anywhere. The command does not stall until the removal is complete, so either that feature should be implemented or a warning given to the user.

This issue should be verified with the AzureStack modules that are used with the newer Az modules as well.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.