|
24 | 24 |
|
25 | 25 | namespace Microsoft.Azure.Commands.Network
|
26 | 26 | {
|
27 |
| - [Cmdlet(VerbsCommon.Set, "AzureRmNetworkWatcherConfigFlowLog", SupportsShouldProcess = true, DefaultParameterSetName = SetByResourceWithTAByResource), OutputType(typeof(PSFlowLog))] |
| 27 | + [Cmdlet(VerbsCommon.Set, "AzureRmNetworkWatcherConfigFlowLog", SupportsShouldProcess = true, DefaultParameterSetName = SetByResourceWithoutTA), OutputType(typeof(PSFlowLog))] |
28 | 28 | public class SetAzureNetworkWatcherConfigFlowLogCommand : NetworkWatcherBaseCmdlet
|
29 | 29 | {
|
30 | 30 | private const string SetByResourceWithTAByResource = "SetByResourceWithTAByResource";
|
@@ -134,22 +134,22 @@ public class SetAzureNetworkWatcherConfigFlowLogCommand : NetworkWatcherBaseCmdl
|
134 | 134 |
|
135 | 135 | [Alias("EnableTA")]
|
136 | 136 | [Parameter(
|
137 |
| - Mandatory = true, |
| 137 | + Mandatory = false, |
138 | 138 | ValueFromPipelineByPropertyName = true,
|
139 | 139 | HelpMessage = "Flag to enable/disable retention.",
|
140 | 140 | ParameterSetName = SetByResourceWithTAByResource)]
|
141 | 141 | [Parameter(
|
142 |
| - Mandatory = true, |
| 142 | + Mandatory = false, |
143 | 143 | ValueFromPipelineByPropertyName = true,
|
144 | 144 | HelpMessage = "Flag to enable/disable retention.",
|
145 | 145 | ParameterSetName = SetByResourceWithTAByDetails)]
|
146 | 146 | [Parameter(
|
147 |
| - Mandatory = true, |
| 147 | + Mandatory = false, |
148 | 148 | ValueFromPipelineByPropertyName = true,
|
149 | 149 | HelpMessage = "Flag to enable/disable retention.",
|
150 | 150 | ParameterSetName = SetByNameWithTAByResource)]
|
151 | 151 | [Parameter(
|
152 |
| - Mandatory = true, |
| 152 | + Mandatory = false, |
153 | 153 | ValueFromPipelineByPropertyName = true,
|
154 | 154 | HelpMessage = "Flag to enable/disable retention.",
|
155 | 155 | ParameterSetName = SetByNameWithTAByDetails)]
|
|
0 commit comments