You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ResourceManager/Insights/Commands.Insights/ActionGroups/SetAzureRmActionGroupCommand.cs
+16-4Lines changed: 16 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ public class SetAzureRmActionGroupCommand : ManagementCmdletBase
59
59
/// </summary>
60
60
[Parameter(ParameterSetName=ByPropertyName,Mandatory=true,ValueFromPipelineByPropertyName=true,HelpMessage="The action group short name")]
61
61
[Parameter(ParameterSetName=ByResourceId,Mandatory=true,ValueFromPipelineByPropertyName=true,HelpMessage="The action group short name")]
62
+
[Parameter(ParameterSetName=ByInputObject,Mandatory=false,HelpMessage="The action group short name")]
62
63
[ValidateNotNullOrEmpty]
63
64
publicstringShortName{get;set;}
64
65
@@ -74,13 +75,15 @@ public class SetAzureRmActionGroupCommand : ManagementCmdletBase
74
75
/// </summary>
75
76
[Parameter(ParameterSetName=ByPropertyName,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="Whether or not the action group should be enabled")]
76
77
[Parameter(ParameterSetName=ByResourceId,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="Whether or not the action group should be enabled")]
78
+
[Parameter(ParameterSetName=ByInputObject,Mandatory=false,HelpMessage="Whether or not the action group should be enabled")]
77
79
publicSwitchParameterDisableGroup{get;set;}
78
80
79
81
/// <summary>
80
82
/// Gets or sets the Tags of the activity log alert resource
81
83
/// </summary>
82
84
[Parameter(ParameterSetName=ByPropertyName,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The tags of the action group resource")]
83
-
[Parameter(ParameterSetName=ByResourceId,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="Whether or not the action group should be enabled")]
85
+
[Parameter(ParameterSetName=ByResourceId,Mandatory=false,ValueFromPipelineByPropertyName=true,HelpMessage="The tags of the action group resource")]
86
+
[Parameter(ParameterSetName=ByInputObject,Mandatory=false,ValueFromPipeline=true,HelpMessage="The tags of the action group resource")]
0 commit comments