Skip to content

Commit 94641e1

Browse files
committed
Merge pull request #138 from Azure/dev
.
2 parents bf104f6 + f2674a6 commit 94641e1

File tree

181 files changed

+221424
-183991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+221424
-183991
lines changed

src/Common/Storage/Commands.Storage/Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml

Lines changed: 22167 additions & 20396 deletions
Large diffs are not rendered by default.

src/ResourceManager/ApiManagement/Commands.ApiManagement.ServiceManagement/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.dll-help.xml

Lines changed: 12192 additions & 11474 deletions
Large diffs are not rendered by default.

src/ResourceManager/ApiManagement/Commands.ApiManagement/Microsoft.Azure.Commands.ApiManagement.dll-help.xml

Lines changed: 3209 additions & 2992 deletions
Large diffs are not rendered by default.

src/ResourceManager/Automation/Commands.Automation/Microsoft.Azure.Commands.ResourceManager.Automation.dll-help.xml

Lines changed: 9 additions & 9 deletions
Large diffs are not rendered by default.

src/ResourceManager/AzureBackup/Commands.AzureBackup/Microsoft.Azure.Commands.AzureBackup.dll-help.xml

Lines changed: 5021 additions & 4723 deletions
Large diffs are not rendered by default.

src/ResourceManager/AzureBatch/Commands.Batch/Microsoft.Azure.Commands.Batch.dll-Help.xml

Lines changed: 236 additions & 3166 deletions
Large diffs are not rendered by default.

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</Reference>
7373
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7474
<SpecificVersion>False</SpecificVersion>
75-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
75+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
7676
</Reference>
7777
<Reference Include="Microsoft.Azure.Management.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7878
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll</HintPath>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<package id="Microsoft.Azure.Graph.RBAC" version="1.7.0-preview" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
1010
<package id="Microsoft.Azure.Management.Compute" version="8.2.0" targetFramework="net45" />
11-
<package id="Microsoft.Azure.Management.Network" version="2.0.12-preview" targetFramework="net45" />
11+
<package id="Microsoft.Azure.Management.Network" version="2.0.13-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Management.Resources" version="2.18.7-preview" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Management.Storage" version="2.4.0-preview" targetFramework="net45" />
1414
<package id="Microsoft.Azure.Test.Framework" version="1.0.5715.36130-prerelease" targetFramework="net45" />

src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
</Reference>
8787
<Reference Include="Microsoft.Azure.Management.Network, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
8888
<SpecificVersion>False</SpecificVersion>
89-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.12-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
89+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.2.0.13-preview\lib\net40\Microsoft.Azure.Management.Network.dll</HintPath>
9090
</Reference>
9191
<Reference Include="Microsoft.Azure.Management.Storage, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
9292
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll</HintPath>

src/ResourceManager/Compute/Commands.Compute/Extension/DSC/SetAzureVMDscExtensionCommand.cs

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,33 @@ public class SetAzureVMDscExtensionCommand : VirtualMachineExtensionBaseCmdlet
180180
[Parameter(
181181
HelpMessage = "Extension handler gets auto updated to the latest version if this switch is present.")]
182182
public SwitchParameter AutoUpdate { get; set; }
183-
//Private Variables
184183

184+
/// <summary>
185+
/// Specifies the version of the Windows Management Framework (WMF) to install
186+
/// on the VM.
187+
///
188+
/// The DSC Azure Extension depends on DSC features that are only available in
189+
/// the WMF updates. This parameter specifies which version of the update to
190+
/// install on the VM. The possible values are "4.0","latest" and "5.0PP".
191+
///
192+
/// A value of "4.0" will install KB3000850
193+
/// (http://support.microsoft.com/kb/3000850) on Windows 8.1 or Windows Server
194+
/// 2012 R2, or WMF 4.0
195+
/// (http://www.microsoft.com/en-us/download/details.aspx?id=40855) on other
196+
/// versions of Windows if a newer version isnt already installed.
197+
///
198+
/// A value of "5.0PP" will install the latest release of WMF 5.0PP
199+
/// (http://go.microsoft.com/fwlink/?LinkId=398175).
200+
///
201+
/// A value of "latest" will install the latest WMF, currently WMF 5.0PP
202+
///
203+
/// The default value is "latest"
204+
/// </summary>
205+
[Parameter(ValueFromPipelineByPropertyName = true)]
206+
[ValidateSetAttribute(new[] { "4.0", "latest", "5.0PP" })]
207+
public string WmfVersion { get; set; }
208+
209+
//Private Variables
185210
private const string VersionRegexExpr = @"^(([0-9])\.)\d+$";
186211

187212
/// <summary>
@@ -276,7 +301,9 @@ private void CreateConfiguration()
276301
{
277302
var publicSettings = new DscExtensionPublicSettings();
278303
var privateSettings = new DscExtensionPrivateSettings();
279-
304+
305+
publicSettings.WmfVersion = string.IsNullOrEmpty(WmfVersion) ? "latest" : WmfVersion;
306+
280307
if (!string.IsNullOrEmpty(ArchiveBlobName))
281308
{
282309
ConfigurationUris configurationUris = UploadConfigurationDataToBlob();

0 commit comments

Comments
 (0)