Support a new parameter called -ActionGroupId in the Add-AzMetricAlertRuleV2 command in Az.Monitor#11045
Conversation
|
if I run: without providing "ActionGroup" or "ActionGroupId", How powershell tell which parameter set to use? |
@VeryEarly BTW, are you familiar with a better practice to resolve this parameters combinations? |
I think what you did is recommended. There are static analysis messages you need to suppress (because you used variables for parameter set names which were String before) Also, for the new parameter sets you added, they should be in the help markdown file. |
VeryEarly
left a comment
There was a problem hiding this comment.
please also update the help markdown file for new added parameter sets
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Done |
|
/azp run azure-powershell - powershell-core |
|
No pipelines are associated with this pull request. |
|
Azure Pipelines successfully started running 1 pipeline(s). |
@VeryEarly |
sorry for the confusion, this command is for triggering the CI job "azure-powershell - powershell-core" |
How can I run it? I tried to run it from PowerShell and PS-VSPrompt but it didn't work? |
|
@VeryEarly |
You can run it on github like I did. |
Once your PR was passed all checks and was approved, member of azure-powershell team will merge it for you. |
Support a new parameter called -ActionGroupId in the Add-AzMetricAlertRuleV2 command in Az.Monitor
Description
Support a new parameter called -ActionGroupId in the Add-AzMetricAlertRuleV2 command in Az.Monitor.
Checklist
CONTRIBUTING.mdChangeLog.mdfile(s) has been updated:ChangeLog.mdfile can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md## Upcoming Releaseheader -- no new version header should be added