Skip to content

Commit

Permalink
Update SDK to refer to ARM API version 2020-03-01 (#10649)
Browse files Browse the repository at this point in the history
* Regenerate SDK from latest swagger

* Updating tests

* Update changelog and sdk version

* Update RP props
  • Loading branch information
matthchr authored Mar 19, 2020
1 parent 9184b94 commit 6dd6f72
Show file tree
Hide file tree
Showing 57 changed files with 5,540 additions and 1,820 deletions.
16 changes: 8 additions & 8 deletions eng/mgmt/mgmtmetadata/batch_resource-manager.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Installing AutoRest version: latest
Installing AutoRest version: 2.0.4413
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/batch/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\work\github\azure-sdk-for-net\sdk
2019-08-07 15:41:13 UTC
cmd.exe /c autorest.cmd https://github.com/matthchr/azure-rest-api-specs/blob/feature/batch-minor-fix/specification/batch/resource-manager/readme.md --csharp --version=2.0.4413 --reflect-api-versions --tag=package-2020-03 --csharp.output-folder=C:\work\github\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Management.Batch\src\generated
2020-03-17 00:11:21 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: ad759850354ddb7b4ffea0a49b70243fd9ec5a42
GitHub fork: matthchr
Branch: feature/batch-minor-fix
Commit: d20c35ece5026cb2091e881ae62b114f65bc239b
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Requested version: 2.0.4413
Bootstrapper version: autorest@2.0.4413
2 changes: 1 addition & 1 deletion sdk/batch/Microsoft.Azure.Management.Batch/AzSdk.RP.props
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>Batch_2019-08-01;</AzureApiTag>
<AzureApiTag>Batch_2020-03-01;</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
69 changes: 43 additions & 26 deletions sdk/batch/Microsoft.Azure.Management.Batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,45 @@
## Microsoft.Azure.Management.Batch release notes
# Release History

### Changes in 9.0.0
#### REST API version
## 10.1.0-preview.1 (Unreleased)

## 10.0.0 (2020-03-17)
### REST API version
- This version targets REST API version 2020-03-01.

### Features
- Added ability to access the Batch DataPlane API without needing a public DNS entry for the account via the new `PublicNetworkAccess` property on `BatchAccount`.
- Added new `PrivateLinkResource` and `PrivateEndpointConnection` resource types. These are both only used when the `PublicNetworkAccess` property on `BatchAccount` is set to `Disabled`.
- When `PublicNetworkAccess` is set to `Disabled` a new `PrivateLinkResource` is visible in that account, which can be used to connect to the account using an ARM Private Endpoint in your VNET.
- Added ability to encrypt `ComputeNode` disk drives using the new `DiskEncryptionConfiguration` property of `VirtualMachineConfiguration`.
- **[Breaking]** The `Id` property of `ImageReference` can now only refer to a Shared Image Gallery image.
- **[Breaking]** Pools can now be provisioned without a public IP using the new `PublicIPAddressConfiguration` property of `NetworkConfiguration`.
- The `PublicIPs` property of `NetworkConfiguration` has moved in to `PublicIPAddressConfiguration` as well. This property can only be specified if `IPAddressProvisioningType` is `UserManaged`.

## 9.0.0
### REST API version
- This version targets REST API version 2019-08-01.

#### Features
### Features
- Added ability to specify a collection of public IPs on `NetworkConfiguration` via the new `PublicIPs` property. This guarantees nodes in the Pool will have an
IP from the list user provided IPs.
- Added ability to mount remote file-systems on each node of a pool via the `MountConfiguration` property on `Pool`.
- Shared Image Gallery images can now be specified on the `VirtualMachineImageId` property of `ImageReference` by referencing the image via its ARM ID.
- **[Breaking]** When not specified, the default value for `WaitForSuccess` on `StartTask` is now `true` (was `false`).
- **[Breaking]** When not specified, the default value for `Scope` on `AutoUserSpecification` is now always `Pool` (was `Task` on Windows nodes, `Pool` on Linux nodes).

### Changes in 8.0.0
#### REST API version
## 8.0.0
### REST API version
- This version targets REST API version 2019-04-01.

#### Features
### Features
- Added BatchAccount properties `DedicatedCoreQuotaPerVMFamily` and `DedicatedCoreQuotaPerVMFamilyEnforced` to facilitate the transition to per VM family quota
- **[Breaking]** Accounts created with `PoolAllocationMode` set to `UserSubscription` will not return core quota properties `DedicatedCoreQuota` or `LowPriorityCoreQuota`

### Changes in 7.0.0
#### REST API version
## 7.0.0
### REST API version
- This version targets REST API version 2018-12-01.

#### Features
### Features
- **[Breaking]** ResourceFile improvements
- Added the ability specify an entire Azure Storage container in `ResourceFile`.
- A new property `HttpUrl` replaces `BlobSource`. This can be any HTTP URL. Previously, this had to be an Azure Blob Storage URL.
Expand All @@ -38,56 +53,58 @@
- Added support on Windows pools for creating users with a specific login mode (either `Batch` or `Interactive`) via `WindowsUserConfiguration.LoginMode`.
- Added support for `ContainerConfiguration` when creating a pool.

#### Bug fixes
### Bug fixes
- Deleting an account will no longer return `NotFound` at the end of the operation

### Changes in 6.0.0
#### REST API version
## 6.0.0
### REST API version
- This version targets REST API version 2017-09-01.

### Features
- Adding support for Certificate and Pool operations.

### Changes in 5.1.0
#### REST API version
## 5.1.0
### REST API version
- This version targets REST API version 2017-05-01.

#### Features
### Features
- Added a new `CheckNameAvailability` API which allows you to check if an account name is available on a particular region.

### Changes in 5.0.0
#### REST API version
## 5.0.0
### REST API version
- This version targets REST API version 2017-05-01.

#### Features
##### Breaking changes
### Features
#### Breaking changes
- BatchAccount `CoreQuota` renamed to `DedicatedCoreQuota`.
- The structure of `CloudError` has changed. It now has an `Error` property, and the error information (`code`, `message`, `target`, and `details`) is inside that property.
- The type `UpdateApplicationParameters` was renamed to `ApplicationUpdateParameters`.
- The type `AddApplicationParameters` was renamed to `ApplicationCreateParameters`.

##### Non-breaking changes
#### Non-breaking changes
- BatchAccount now reports the low-priority core quota as well in the property `LowPriorityCoreQuota`.
- Added a new `Operations` API, which can be used to query the available operations.

#### Packaging
### Packaging
- Now targets `netstandard1.4` instead of `netstandard1.5` and `netstandard1.1`.

### Changes in 4.2.0
## 4.2.0
- Added option to create a Batch account which allocates pool nodes in the user's subscription. This is done with `PoolAllocationMode = UserSubscription`. When using this mode, a `KeyVaultReference` must also be supplied.
- Changed classes which appear only in responses to be immutable.
- This version targets REST API version 2017-01-01.

### Changes in 4.1.0
## 4.1.0
- This package version had an issue and was unlisted on NuGet immediately after shipping. This version **should not be used**.

### Changes in 3.0.0
## 3.0.0
- Renamed `AccountResource` to `BatchAccount`.
- Renamed `AccountOperations` to `BatchAccountOperations`. The `IBatchManagementClient.Account` property was also renamed to `IBatchManagementClient.BatchAccount`.
- Split `Application` and `ApplicationPackage` operations up into two separate operation groups.
- Updated `Application` and `ApplicationPackage` methods to use the standard `Create`, `Delete`, `Update` syntax. For example creating an `Application` is done via `ApplicationOperations.Create`.
- Renamed `SubscriptionOperations` to `LocationOperations` and changed `SubscriptionOperations.GetSubscriptionQuotas` to be `LocationOperations.GetQuotas`.
- This version targets REST API version 2015-12-01.

### Changes in 2.1.0
## 2.1.0
- Added support for .NETStandard.
- Fixed the .NETFramework 4.5 dependencies.
- This version targets REST API version 2015-12-01.

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.

Loading

0 comments on commit 6dd6f72

Please sign in to comment.