Skip to content

Commit da2ac74

Browse files
committed
Merge pull request Azure#357 from Azure/dev
HPF PR: dev <- Azure:dev
2 parents f3ef478 + 4a33c53 commit da2ac74

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

src/ResourceManager/Compute/Commands.Compute/Extension/AzureDiskEncryption/SetAzureDiskEncryptionExtension.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ private AzureOperationResponse<VirtualMachine> UpdateVmEncryptionSettings()
309309
parameters).GetAwaiter().GetResult();
310310
}
311311

312-
private string GetExtensionPublicSettings()
312+
private Hashtable GetExtensionPublicSettings()
313313
{
314314
Hashtable publicSettings = new Hashtable();
315315
publicSettings.Add(aadClientIDKey, AadClientID ?? String.Empty);
@@ -321,24 +321,24 @@ private string GetExtensionPublicSettings()
321321
publicSettings.Add(encryptionOperationKey, enableEncryptionOperation);
322322
publicSettings.Add(sequenceVersionKey, SequenceVersion ?? String.Empty);
323323

324-
return JsonConvert.SerializeObject(publicSettings);
324+
return publicSettings;
325325
}
326326

327-
private string GetExtensionProtectedSettings()
327+
private Hashtable GetExtensionProtectedSettings()
328328
{
329329
Hashtable protectedSettings = new Hashtable();
330330
protectedSettings.Add(aadClientSecretKey, AadClientSecret ?? String.Empty);
331331
if (string.Equals(this.currentOSType, "Linux"))
332332
{
333333
protectedSettings.Add(passphraseKey, Passphrase ?? null);
334334
}
335-
return JsonConvert.SerializeObject(protectedSettings);
335+
return protectedSettings;
336336
}
337337

338338
private VirtualMachineExtension GetVmExtensionParameters(VirtualMachine vmParameters)
339339
{
340-
string SettingString = GetExtensionPublicSettings();
341-
string ProtectedSettingString = GetExtensionProtectedSettings();
340+
Hashtable SettingString = GetExtensionPublicSettings();
341+
Hashtable ProtectedSettingString = GetExtensionProtectedSettings();
342342

343343
if (vmParameters == null)
344344
{

src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@
6767
<SpecificVersion>False</SpecificVersion>
6868
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll</HintPath>
6969
</Reference>
70-
<Reference Include="Microsoft.Azure.Management.DataFactories, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71-
<SpecificVersion>False</SpecificVersion>
72-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.DataFactories.4.1.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll</HintPath>
70+
<Reference Include="Microsoft.Azure.Management.DataFactories">
71+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.DataFactories.4.3.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll</HintPath>
7372
</Reference>
7473
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7574
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<package id="Microsoft.Azure.Gallery" version="2.6.2-preview" targetFramework="net45" />
88
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
10-
<package id="Microsoft.Azure.Management.DataFactories" version="4.1.0" targetFramework="net45" />
10+
<package id="Microsoft.Azure.Management.DataFactories" version="4.3.0" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Resources" version="2.18.11-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Test.Framework" version="1.0.5799.28345-prerelease" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5799.28345-prerelease" targetFramework="net45" />

src/ResourceManager/DataFactories/Commands.DataFactories/Commands.DataFactories.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</Reference>
6868
<Reference Include="Microsoft.Azure.Management.DataFactories, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
6969
<SpecificVersion>False</SpecificVersion>
70-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.DataFactories.4.1.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll</HintPath>
70+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.DataFactories.4.3.0\lib\net45\Microsoft.Azure.Management.DataFactories.dll</HintPath>
7171
</Reference>
7272
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7373
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/DataFactories/Commands.DataFactories/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<package id="Microsoft.Azure.Common.Authentication" version="1.5.2-preview" targetFramework="net45" />
66
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
77
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net45" />
8-
<package id="Microsoft.Azure.Management.DataFactories" version="4.1.0" targetFramework="net45" />
8+
<package id="Microsoft.Azure.Management.DataFactories" version="4.3.0" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Resources" version="2.18.11-preview" targetFramework="net45" />
1010
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
1111
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />

0 commit comments

Comments
 (0)