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/DataFactories/Commands.DataFactories.Test/UnitTests/NewDataFactoryEncryptValueTests.cs
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ public void TestOnPremDatasourceEncryptionSQLAuth()
Copy file name to clipboardExpand all lines: src/ResourceManager/DataFactories/Commands.DataFactories/Encrypt/NewAzureDataFactoryEncryptValueCommand.cs
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,8 @@ public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet
34
34
[ValidateNotNullOrEmpty]
35
35
publicstringDataFactoryName{get;set;}
36
36
37
-
[Parameter(ParameterSetName=ByFactoryObject,Position=1,Mandatory=true,HelpMessage="The value to encrypt.")]
38
-
[Parameter(ParameterSetName=ByFactoryName,Position=2,Mandatory=true,HelpMessage="The value to encrypt.")]
39
-
[ValidateNotNullOrEmpty]
37
+
[Parameter(ParameterSetName=ByFactoryObject,Position=1,Mandatory=false,HelpMessage="The value to encrypt.")]
38
+
[Parameter(ParameterSetName=ByFactoryName,Position=2,Mandatory=false,HelpMessage="The value to encrypt.")]
40
39
publicSecureStringValue{get;set;}
41
40
42
41
[Parameter(ParameterSetName=ByFactoryObject,Position=2,Mandatory=false,HelpMessage="The gateway group name.")]
@@ -49,9 +48,18 @@ public class NewAzureDataFactoryEncryptValueCommand : DataFactoryBaseCmdlet
49
48
50
49
[Parameter(ParameterSetName=ByFactoryObject,Position=4,Mandatory=false,HelpMessage="The linked service type.")]
51
50
[Parameter(ParameterSetName=ByFactoryName,Position=5,Mandatory=false,HelpMessage="The linked service type.")]
0 commit comments