diff --git a/services/compute/mgmt/2015-06-15/compute/version.go b/services/compute/mgmt/2015-06-15/compute/version.go
index e19ec88bf7da..1fe9d2d3e885 100644
--- a/services/compute/mgmt/2015-06-15/compute/version.go
+++ b/services/compute/mgmt/2015-06-15/compute/version.go
@@ -1,7 +1,5 @@
package compute
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " compute/2015-06-15"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/compute/mgmt/2016-03-30/compute/version.go b/services/compute/mgmt/2016-03-30/compute/version.go
index e1e227a34bc5..1fe9d2d3e885 100644
--- a/services/compute/mgmt/2016-03-30/compute/version.go
+++ b/services/compute/mgmt/2016-03-30/compute/version.go
@@ -1,7 +1,5 @@
package compute
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " compute/2016-03-30"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/compute/mgmt/2016-04-30-preview/compute/version.go b/services/compute/mgmt/2016-04-30-preview/compute/version.go
index 70acf09227eb..1fe9d2d3e885 100644
--- a/services/compute/mgmt/2016-04-30-preview/compute/version.go
+++ b/services/compute/mgmt/2016-04-30-preview/compute/version.go
@@ -1,7 +1,5 @@
package compute
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " compute/2016-04-30-preview"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/compute/mgmt/2017-03-30/compute/version.go b/services/compute/mgmt/2017-03-30/compute/version.go
index 6cd144305790..1fe9d2d3e885 100644
--- a/services/compute/mgmt/2017-03-30/compute/version.go
+++ b/services/compute/mgmt/2017-03-30/compute/version.go
@@ -1,7 +1,5 @@
package compute
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " compute/2017-03-30"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/compute/mgmt/2017-12-01/compute/models.go b/services/compute/mgmt/2017-12-01/compute/models.go
index a6bc835280a4..c6705c7cd24f 100644
--- a/services/compute/mgmt/2017-12-01/compute/models.go
+++ b/services/compute/mgmt/2017-12-01/compute/models.go
@@ -2520,6 +2520,8 @@ type ImageStorageProfile struct {
OsDisk *ImageOSDisk `json:"osDisk,omitempty"`
// DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine.
For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"`
+ // ZoneResilient - Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).
+ ZoneResilient *bool `json:"zoneResilient,omitempty"`
}
// InnerError inner error details.
diff --git a/services/compute/mgmt/2017-12-01/compute/version.go b/services/compute/mgmt/2017-12-01/compute/version.go
index a935e9590fab..1fe9d2d3e885 100644
--- a/services/compute/mgmt/2017-12-01/compute/version.go
+++ b/services/compute/mgmt/2017-12-01/compute/version.go
@@ -1,7 +1,5 @@
package compute
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " compute/2017-12-01"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/containerservice/mgmt/2015-11-01-preview/containerservice/version.go b/services/containerservice/mgmt/2015-11-01-preview/containerservice/version.go
index 4a7c07f401c0..964361be66f5 100644
--- a/services/containerservice/mgmt/2015-11-01-preview/containerservice/version.go
+++ b/services/containerservice/mgmt/2015-11-01-preview/containerservice/version.go
@@ -1,7 +1,5 @@
package containerservice
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " containerservice/2015-11-01-preview"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/containerservice/mgmt/2016-03-30/containerservice/version.go b/services/containerservice/mgmt/2016-03-30/containerservice/version.go
index bb2359c0a113..964361be66f5 100644
--- a/services/containerservice/mgmt/2016-03-30/containerservice/version.go
+++ b/services/containerservice/mgmt/2016-03-30/containerservice/version.go
@@ -1,7 +1,5 @@
package containerservice
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " containerservice/2016-03-30"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/containerservice/mgmt/2016-09-30/containerservice/version.go b/services/containerservice/mgmt/2016-09-30/containerservice/version.go
index 55e405750344..964361be66f5 100644
--- a/services/containerservice/mgmt/2016-09-30/containerservice/version.go
+++ b/services/containerservice/mgmt/2016-09-30/containerservice/version.go
@@ -1,7 +1,5 @@
package containerservice
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " containerservice/2016-09-30"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}
diff --git a/services/containerservice/mgmt/2017-01-31/containerservice/version.go b/services/containerservice/mgmt/2017-01-31/containerservice/version.go
index b426d57191ae..964361be66f5 100644
--- a/services/containerservice/mgmt/2017-01-31/containerservice/version.go
+++ b/services/containerservice/mgmt/2017-01-31/containerservice/version.go
@@ -1,7 +1,5 @@
package containerservice
-import "github.com/Azure/azure-sdk-for-go/version"
-
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,10 +19,10 @@ import "github.com/Azure/azure-sdk-for-go/version"
// UserAgent returns the UserAgent string to use when sending http.Requests.
func UserAgent() string {
- return "Azure-SDK-For-Go/" + version.Number + " containerservice/2017-01-31"
+ return "Azure-SDK-For-Go/latest services"
}
// Version returns the semantic version (see http://semver.org) of the client.
func Version() string {
- return version.Number
+ return "latest"
}