Skip to content

Commit

Permalink
generate SDK for new preview July version + updated unit tests (Azure…
Browse files Browse the repository at this point in the history
…#13597)

* generate SDK for new preview July version + updated unit tests

* Update Versioning

* change version to minor version increment

Co-authored-by: Sonia Taneja <[email protected]>
  • Loading branch information
sotaneja and Sonia Taneja authored Jul 22, 2020
1 parent 6124178 commit 1c2ee74
Show file tree
Hide file tree
Showing 13 changed files with 153 additions and 54 deletions.
6 changes: 3 additions & 3 deletions eng/mgmt/mgmtmetadata/maintenance_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/maintenance/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\gautamd-ms\azure-sdk-for-net\sdk
2020-04-28 00:17:36 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/maintenance/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\NetSDK\azure-sdk-for-net\sdk
2020-07-20 19:00:33 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: de43e7fba7da1d2f2212c971d01f790a7afb1ba5
Commit: 99e5561c9cb7fc63ea693a1b6484a58ff8cd8d7e
AutoRest information
Requested version: v2
Bootstrapper version: [email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>Maintenance_2020-04-01;</AzureApiTag>
<AzureApiTag>Maintenance_2020-07-01-preview;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<PropertyGroup>
<PackageId>Microsoft.Azure.Management.Maintenance</PackageId>
<Description>Microsoft Azure Maintenance Management Library</Description>
<Version>1.0.0</Version>
<Version>1.1.0</Version>
<AssemblyName>Microsoft.Azure.Management.Maintenance</AssemblyName>
<PackageTags>Microsoft Azure Maintenance Management;Maintenance;</PackageTags>
<PackageReleaseNotes>Provides capabilities to manage Platform and Resource maintenance on Azure resources.</PackageReleaseNotes>
<PackageReleaseNotes>Provides capabilities to manage Platform and Resource maintenance on Azure resources. This version supports all capabilities in the 2020-04-01 version along with changes to support scheduled maintenance windows.</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static MaintenanceConfiguration CreateTestMaintenanceConfiguration(string
var maintenanceConfiguration = new MaintenanceConfiguration(
name: maintenanceConfigurationName,
location: "westus",
startDateTime: "2020-04-01 01:00:00" ,
maintenanceScope: MaintenanceScope.Host);

return maintenanceConfiguration;
Expand All @@ -50,6 +51,7 @@ public static MaintenanceConfiguration CreateTestMaintenanceConfiguration(string
public static void VerifyMaintenanceConfigurationProperties(MaintenanceConfiguration expected, MaintenanceConfiguration actual)
{
Assert.NotNull(actual);
Assert.Equal(expected.StartDateTime,actual.StartDateTime);
Assert.Equal(expected.Name, actual.Name);
Assert.Equal(expected.Location, actual.Location);
Assert.Equal(expected.MaintenanceScope, actual.MaintenanceScope);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("6D17E66C-92BB-455C-A150-45922A0BA619")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1c2ee74

Please sign in to comment.