New-AzResourceGroupDeployment parameter discrepancy
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Locate the PowerShell cmdlet definitions for New-AzResourceGroupDeployment and New-AzResourceGroupDeploymentWhatIf in the azclips PowerShell surface, then compare their parameter attributes with the Az.Resources 16.x names. The concrete asks are aliases for -TemplateParameterFile/-TemplateParameterUri and a hashtable-accepting -TemplateParameterObject; confirm how parameters are declared and surfaced before changing them. Done means both cmdlets accept the old names and the hashtable form, with existing tests still passing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Which did you use?
PowerShell
What worked well?
No response
What was confusing or hard?
The parameters for New-AzResourceGroupDeployment as well as New-AzResourceGroupDeploymentWhatIf differs from the current live version of the same CmdLets in version 16 as seen here
In version 16 and earlier "live" versions the parameter templates are -TemplateParameterFile, and -TemplateParameterUri where the same version 0.1.0 azclips PowerShell CmdLet parameters are -ParametersUri and -ParametersFile
Furthermore, in version 16 the -TemplateParameterObject that accepts a hashtable as input (-TemplateParameterObject @{Name = 'name123'}) seems to have been replaced by a -Parameter that accepts a string with key=value as input (-Parameter 'Name=name123')
I am aware this is very early on, and I am also aware there will be other breaking changes in the PowerShell modules, but is there a particular reason for renaming the parameters? And if so, it would be good to include aliases for the parameters to support the old parameter names as the parameter input (filepaths) is the same.
And as for the missing -TemplateParameterObject parameter I do hope this is just overlooked and will be implemented as hashtables is the preferred input in PowerShell, and string input makes very little sense in an object oriented world.
What would make azclips easier or more useful for you?
Keep parameter naming consistent with current released Az* CmdLets
Overall impression
None
- Lingua principale
- C#
- Stelle
- 18
- Fork
- 10
- Merge medio
- 1g 20h
- PR unite (30g)
- 157
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Azure/azclips
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
act-identity-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Azure/azclips#1512 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderApertaact-experience-enablement-squad bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Azure/azclips
Issue simili
-
launcher item missingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Realm667/WolfenDoom#1758 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
AI documentation good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
akshit-bansal11/edgepad#106 ·
I maintainer di solito rispondono entro 1 giorno