Skip to content

Commit 3cc698a

Browse files
committed
Optional and mandatory variables sorted
1 parent 865082d commit 3cc698a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ResourceManager/Network/Commands.Network/NetworkWatcher/SetAzureNetworkWatcherConfigFlowLogCommand.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
namespace Microsoft.Azure.Commands.Network
2626
{
27-
[Cmdlet(VerbsCommon.Set, "AzureRmNetworkWatcherConfigFlowLog", SupportsShouldProcess = true, DefaultParameterSetName = SetByResourceWithTAByResource), OutputType(typeof(PSFlowLog))]
27+
[Cmdlet(VerbsCommon.Set, "AzureRmNetworkWatcherConfigFlowLog", SupportsShouldProcess = true, DefaultParameterSetName = SetByResourceWithoutTA), OutputType(typeof(PSFlowLog))]
2828
public class SetAzureNetworkWatcherConfigFlowLogCommand : NetworkWatcherBaseCmdlet
2929
{
3030
private const string SetByResourceWithTAByResource = "SetByResourceWithTAByResource";
@@ -134,22 +134,22 @@ public class SetAzureNetworkWatcherConfigFlowLogCommand : NetworkWatcherBaseCmdl
134134

135135
[Alias("EnableTA")]
136136
[Parameter(
137-
Mandatory = true,
137+
Mandatory = false,
138138
ValueFromPipelineByPropertyName = true,
139139
HelpMessage = "Flag to enable/disable retention.",
140140
ParameterSetName = SetByResourceWithTAByResource)]
141141
[Parameter(
142-
Mandatory = true,
142+
Mandatory = false,
143143
ValueFromPipelineByPropertyName = true,
144144
HelpMessage = "Flag to enable/disable retention.",
145145
ParameterSetName = SetByResourceWithTAByDetails)]
146146
[Parameter(
147-
Mandatory = true,
147+
Mandatory = false,
148148
ValueFromPipelineByPropertyName = true,
149149
HelpMessage = "Flag to enable/disable retention.",
150150
ParameterSetName = SetByNameWithTAByResource)]
151151
[Parameter(
152-
Mandatory = true,
152+
Mandatory = false,
153153
ValueFromPipelineByPropertyName = true,
154154
HelpMessage = "Flag to enable/disable retention.",
155155
ParameterSetName = SetByNameWithTAByDetails)]

0 commit comments

Comments
 (0)