- Added a new arm/compute/containerservice (2016-03-30) package
- Reintroduced NewxxClientWithBaseURI method.
- Uses go-autorest version - v7.0.7.
This release brings the Go SDK ARM packages up-to-date with Azure ARM Swagger files for most services. Since the underlying Swagger files continue to change substantially, the ARM packages are still in beta status.
The ARM packages now align with the following API versions (highlighted packages are new or updated in this release):
api | version | note |
---|---|---|
arm/authorization | 2015-07-01 | no change |
arm/intune | 2015-01-14-preview | no change |
arm/notificationhubs | 2014-09-01 | no change |
arm/resources/features | 2015-12-01 | no change |
arm/resources/subscriptions | 2015-11-01 | no change |
arm/web | 2015-08-01 | no change |
arm/cdn | 2016-04-02 | updated |
arm/compute | 2016-03-30 | updated |
arm/dns | 2016-04-01 | updated |
arm/logic | 2015-08-01-preview | updated |
arm/network | 2016-03-30 | updated |
arm/redis | 2016-04-01 | updated |
arm/resources/resources | 2016-02-01 | updated |
arm/resources/policy | 2015-10-01-preview | updated |
arm/resources/locks | 2015-01-01 | updated (resources/authorization earlier) |
arm/scheduler | 2016-03-01 | updated |
arm/storage | 2016-01-01 | updated |
arm/search | 2015-02-28 | updated |
arm/batch | 2015-12-01 | new |
arm/cognitiveservices | 2016-02-01-preview | new |
arm/devtestlabs | 2016-05-15 | new |
arm/machinelearning | 2016-05-01-preview | new |
arm/powerbiembedded | 2016-01-29 | new |
arm/mobileengagement | 2014-12-01 | new |
arm/servicebus | 2014-09-01 | new |
arm/sql | 2015-05-01 | new |
arm/trafficmanager | 2015-11-01 | new |
Below are some design changes.
- Removed Api version from method arguments.
- Removed New...ClientWithBaseURI() method in all clients. BaseURI value is set in client.go.
- Uses go-autorest version v7.0.6.
- Uses go-autorest version v7.0.5.
- Update version of pacakges "jwt-go" and "crypto" in glide.lock.
- arm: Better error messages for long running operation failures (Uses go-autorest version v7.0.4).
- arm: Uses go-autorest v7.0.3 (polling related updates).
- arm: Cancel channel argument added in long-running calls.
- storage: Allow caller to provide headers for DeleteBlob methods.
- storage: Enables connection sharing with http keepalive.
- storage: Add BlobPrefixes and Delimiter to BlobListResponse
- Uses go-autorest v6.0.0 (Polling and Asynchronous requests related changes).
Updated following packages to new API versions:
- arm/resources/features 2015-12-01
- arm/resources/resources 2015-11-01
- arm/resources/subscriptions 2015-11-01
- SDK now uses go-autorest v3.0.0.
This release brings the Go SDK ARM packages up-to-date with Azure ARM Swagger files for most services. Since the underlying Swagger files continue to change substantially, the ARM packages are still in beta status.
The ARM packages now align with the following API versions (highlighted packages are new or updated in this release):
- arm/authorization 2015-07-01
- arm/cdn 2015-06-01
- arm/compute 2015-06-15
- arm/dns 2015-05-04-preview
- arm/intune 2015-01-14-preview
- arm/logic 2015-02-01-preview
- arm/network 2015-06-15
- arm/notificationhubs 2014-09-01
- arm/redis 2015-08-01
- arm/resources/authorization 2015-01-01
- arm/resources/features 2014-08-01-preview
- arm/resources/resources 2014-04-01-preview
- arm/resources/subscriptions 2014-04-01-preview
- arm/scheduler 2016-01-01
- arm/storage 2015-06-15
- arm/web 2015-08-01
- Moved the arm/authorization, arm/features, arm/resources, and arm/subscriptions packages under a new, resources, package (to reflect the corresponding Swagger structure)
- Added a new arm/authoriation (2015-07-01) package
- Added a new arm/cdn (2015-06-01) package
- Added a new arm/intune (2015-01-14-preview) package
- Udated arm/network (2015-06-01)
- Added a new arm/notificationhubs (2014-09-01) package
- Updated arm/scheduler (2016-01-01) package
- Corrected unintentional struct field renaming and client renaming in v0.2.0-beta
- Added support for DNS, Redis, and Web site services
- Updated Storage service to API version 2015-06-15
- Updated Network to include routing table support
- Address Azure#232
- Address Azure#231
- Address Azure#230
- Address Azure#224
- Address Azure#184
- Address Azure#183
- Improves the UserAgent string to disambiguate arm packages from others in the SDK
- Improves setting the http.Response into generated results (reduces likelihood of a nil reference)
- Adds gofmt, golint, and govet to Travis CI for the arm packages
This release addresses the issues raised against the alpha release and adds more features. Most notably, to address the challenges of encoding JSON (see the comments in the go-autorest package) by using pointers for all structure fields (with the exception of enumerations). The go-autorest/autorest/to package provides helpers to convert to / from pointers. The examples demonstrate their usage.
Additionally, the packages now align with Go coding standards and pass both golint
and govet
.
Accomplishing this required renaming various fields and parameters (such as changing Url to URL).
- Changed request / response structures to use pointer fields.
- Changed methods to return
error
instead ofautorest.Error
. - Re-divided methods to ease asynchronous requests.
- Added paged results support.
- Added a UserAgent string.
- Added changes necessary to pass golint and govet.
- Updated README.md with details on asynchronous requests and paging.
- Saved package dependencies through Godep (for the entire SDK).
This release introduces the Azure Resource Manager packages generated from the corresponding Swagger API definitions.