Skip to content

Commit ee633f5

Browse files
Merge pull request #14 from Azure/dev
Dev - PR
2 parents b96f37f + 8fdb7c2 commit ee633f5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/ResourceManager/DataFactories/Commands.DataFactories/Microsoft.Azure.Commands.DataFactories.dll-Help.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@
20952095
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="">
20962096
<maml:name>Value</maml:name>
20972097
<maml:description>
2098-
<maml:para>Specifies the value to encrypt.</maml:para>
2098+
<maml:para>Specifies the value to encrypt. For on premises SQL linked service, use a connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername.</maml:para>
20992099
</maml:description>
21002100
<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
21012101
</command:parameter>
@@ -2116,7 +2116,7 @@
21162116
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="5" aliases="">
21172117
<maml:name>Type</maml:name>
21182118
<maml:description>
2119-
<maml:para>Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. For on-premises SQL linked service, type OnPremisesSqlLinkedService and for file system linked service, type OnPremisesFileSystemLinkedService</maml:para>
2119+
<maml:para>Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService and OnPremisesFileSystemLinkedService.</maml:para>
21202120
</maml:description>
21212121
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
21222122
</command:parameter>
@@ -2133,7 +2133,7 @@
21332133
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2" aliases="">
21342134
<maml:name>Value</maml:name>
21352135
<maml:description>
2136-
<maml:para>Specifies the value to encrypt.</maml:para>
2136+
<maml:para>Specifies the value to encrypt. For on premises SQL linked service, use a connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername.</maml:para>
21372137
</maml:description>
21382138
<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
21392139
</command:parameter>
@@ -2154,7 +2154,7 @@
21542154
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="">
21552155
<maml:name>Type</maml:name>
21562156
<maml:description>
2157-
<maml:para>Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. For on-premises SQL linked service, type OnPremisesSqlLinkedService and for file system linked service, type OnPremisesFileSystemLinkedService.</maml:para>
2157+
<maml:para>Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService and OnPremisesFileSystemLinkedService.</maml:para>
21582158
</maml:description>
21592159
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
21602160
</command:parameter>
@@ -2212,7 +2212,7 @@
22122212
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="3" aliases="">
22132213
<maml:name>Value</maml:name>
22142214
<maml:description>
2215-
<maml:para>Specifies the value to encrypt.</maml:para>
2215+
<maml:para>Specifies the value to encrypt. For on premises SQL linked service, use a connection string. For on premises file system linked service, if the file system is local to the gateway machine, use Local or localhost, and if the file system is on a server different from the gateway machine, use \\servername.</maml:para>
22162216
</maml:description>
22172217
<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
22182218
<dev:type>
@@ -2236,7 +2236,7 @@
22362236
<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="6" aliases="">
22372237
<maml:name>Type</maml:name>
22382238
<maml:description>
2239-
<maml:para>Specifies the linked service type. For on premises SQL linked service, type OnPremisesSqlLinkedService and for file system linked service, type OnPremisesFileSystemLinkedService.</maml:para>
2239+
<maml:para>Specifies the linked service type. This cmdlet encrypts data for the linked service type that this parameter specifies. Allowed values: OnPremisesSqlLinkedService and OnPremisesFileSystemLinkedService.</maml:para>
22402240
</maml:description>
22412241
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
22422242
<dev:type>
@@ -2353,15 +2353,15 @@
23532353
</command:commandLines>
23542354
</command:example>
23552355
<command:example>
2356-
<maml:title>Example 4: Encrypt a file system path</maml:title>
2356+
<maml:title>Example 4: Encrypt the server name and credentials for File system linked service</maml:title>
23572357
<maml:introduction>
23582358
<maml:para></maml:para>
23592359
</maml:introduction>
23602360
<dev:code>
2361-
PS C:\&gt; $Value = ConvertTo-SecureString '\\hostname\FilePath' -AsPlainText -Force
2361+
PS C:\&gt; $Value = ConvertTo-SecureString '\\servername' -AsPlainText -Force
23622362
PS C:\&gt; $Credential = Get-Credential
23632363
PS C:\&gt; New-AzureDataFactoryEncryptValue -DataFactoryName "WikiADF" -GatewayName "WikiGateway" -ResourceGroupName "ADF" -Value $Value -Credential $Credential -Type OnPremisesFileSystemLinkedService
2364-
EncryptedCredential=KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q==
2364+
KAAAAAABAAAQAAAAQUU5MUVBNzY4QkFCQkI3MEUwRTMxOUNFNkM0MjRDOTVDNDk3RTcyRi8XAXyE/H+f3JydTkdg5t2g1eC/VtyF3NAD3idYnhrAphPJmO0pCaG5nH2IY48L3XJi7wabrlrGF+ieiWh1bwdgdxrW+t2jWPnLvT/ENUXtcevpx/dmTGKagH8TU9HLcoL1CAanb7Vkpga1B/uzRxBnVdsdtfvBzxG2M810tj1WzL8lFzA1mO5GbB0+ge116y0scL1vxjerjl5Muv0r0scG3lhj+IF0sXUMITFvhQwOIqweR052E6JlfJu+mTNFLCCkpw1iV+rhRhKqJF752dBuWjzI1EoyQUE17oK4OevkquuhUbfJmzj9BhGKQ+VkndAZiSw19FEGSC7JzoUe/XWEs/FJYrQCCXIeNS94J9/VzN6KPYJR1pzAYCtnhq+p8Q==
23652365
</dev:code>
23662366
<dev:remarks>
23672367
<maml:para>The first command uses the ConvertTo-SecureString cmdlet to convert the specified string to a SecureString object, and then stores that object in the $Value variable.</maml:para>

0 commit comments

Comments
 (0)