Blame vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2019-09-01/network/version.go
|
Packit |
63bb0d |
package network
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
import "github.com/Azure/azure-sdk-for-go/version"
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
// Copyright (c) Microsoft and contributors. All rights reserved.
|
|
Packit |
63bb0d |
//
|
|
Packit |
63bb0d |
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit |
63bb0d |
// you may not use this file except in compliance with the License.
|
|
Packit |
63bb0d |
// You may obtain a copy of the License at
|
|
Packit |
63bb0d |
// http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit |
63bb0d |
//
|
|
Packit |
63bb0d |
// Unless required by applicable law or agreed to in writing, software
|
|
Packit |
63bb0d |
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit |
63bb0d |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit |
63bb0d |
//
|
|
Packit |
63bb0d |
// See the License for the specific language governing permissions and
|
|
Packit |
63bb0d |
// limitations under the License.
|
|
Packit |
63bb0d |
//
|
|
Packit |
63bb0d |
// Code generated by Microsoft (R) AutoRest Code Generator.
|
|
Packit |
63bb0d |
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
|
Packit |
63bb0d |
func UserAgent() string {
|
|
Packit |
63bb0d |
return "Azure-SDK-For-Go/" + version.Number + " network/2019-09-01"
|
|
Packit |
63bb0d |
}
|
|
Packit |
63bb0d |
|
|
Packit |
63bb0d |
// Version returns the semantic version (see http://semver.org) of the client.
|
|
Packit |
63bb0d |
func Version() string {
|
|
Packit |
63bb0d |
return version.Number
|
|
Packit |
63bb0d |
}
|