Skip to content

Commit

Permalink
[Batch] Update Management Plane SDK (Azure#15500)
Browse files Browse the repository at this point in the history
* Update batch management plane

* add tests

* Fix CHANGELOG
  • Loading branch information
bgklein authored and annelo-msft committed Feb 17, 2021
1 parent aef17cb commit c3185c3
Show file tree
Hide file tree
Showing 15 changed files with 2,322 additions and 2,201 deletions.
7 changes: 7 additions & 0 deletions sdk/batch/Microsoft.Azure.Management.Batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release History

## 12.0.0 (2020-09-17)
### REST API version
- This version targets REST API version 2020-09-01.

### Features
- **[Breaking]** The property `MaxTasksPerNode` on `Pool` has been replaced with `TaskSlotsPerNode` to allow tasks to be created which utilize more than one scheduling slot.

## 11.0.0 (2020-06-01)
### REST API version
- This version targets REST API version 2020-05-01.
Expand Down

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.

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 @@ -8,7 +8,7 @@
<Description>Provides management capabilities for Azure Batch service accounts.</Description>
<AssemblyTitle>Microsoft Azure Batch Management Library</AssemblyTitle>
<AssemblyName>Microsoft.Azure.Management.Batch</AssemblyName>
<Version>11.0.0</Version>
<Version>12.0.0</Version>
<PackageTags>Microsoft Azure batch management;batch;</PackageTags>
<PackageReleaseNotes>For detailed release notes, see: https://aka.ms/batch-net-management-changelog</PackageReleaseNotes>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private static string FindLocation(MockContext context)
var resourceManagementClient = context.GetServiceClient<ResourceManagementClient>();
Provider provider = resourceManagementClient.Providers.Get("Microsoft.Batch");
IList <string> locations = provider.ResourceTypes.First(resType => resType.ResourceType == "batchAccounts").Locations;
return locations.First(location => location == "East US");
return locations.First(location => location == "West Central US");
}

// Can be used to find a region to test against, but probably shouldn't record tests that use this as it will leave your subscription account details in the
Expand Down
Loading

0 comments on commit c3185c3

Please sign in to comment.