From bbe663aabd219ece2d28c99df2aa63b95a3ab995 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 20 Apr 2020 05:02:13 +0000 Subject: [PATCH] Generated from 9f60bea5ab0c332bc9e82235d8e5a528341b294e Add api-version 2020-03-01 of network for go SDK --- services/network/mgmt/2019-11-01/network/models.go | 4 ++-- services/network/mgmt/2019-11-01/network/version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/network/mgmt/2019-11-01/network/models.go b/services/network/mgmt/2019-11-01/network/models.go index 773168eb13b6..082b78bc83d2 100644 --- a/services/network/mgmt/2019-11-01/network/models.go +++ b/services/network/mgmt/2019-11-01/network/models.go @@ -3668,8 +3668,8 @@ type ApplicationGatewayHTTPListenerPropertiesFormat struct { CustomErrorConfigurations *[]ApplicationGatewayCustomError `json:"customErrorConfigurations,omitempty"` // FirewallPolicy - Reference to the FirewallPolicy resource. FirewallPolicy *SubResource `json:"firewallPolicy,omitempty"` - // Hostnames - List of Host names for HTTP Listener that allows special wildcard characters as well. - Hostnames *[]string `json:"hostnames,omitempty"` + // HostNames - List of Host names for HTTP Listener that allows special wildcard characters as well. + HostNames *[]string `json:"hostNames,omitempty"` } // ApplicationGatewayIPConfiguration IP configuration of an application gateway. Currently 1 public and 1 diff --git a/services/network/mgmt/2019-11-01/network/version.go b/services/network/mgmt/2019-11-01/network/version.go index 9d428a027dcb..1e691fc640ee 100644 --- a/services/network/mgmt/2019-11-01/network/version.go +++ b/services/network/mgmt/2019-11-01/network/version.go @@ -21,7 +21,7 @@ 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 + " network/2019-11-01" + return "Azure-SDK-For-Go/" + Version() + " network/2019-11-01" } // Version returns the semantic version (see http://semver.org) of the client.