1package compute 2 3import "github.com/Azure/azure-sdk-for-go/version" 4 5// Copyright (c) Microsoft and contributors. All rights reserved. 6// 7// Licensed under the Apache License, Version 2.0 (the "License"); 8// you may not use this file except in compliance with the License. 9// You may obtain a copy of the License at 10// http://www.apache.org/licenses/LICENSE-2.0 11// 12// Unless required by applicable law or agreed to in writing, software 13// distributed under the License is distributed on an "AS IS" BASIS, 14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15// 16// See the License for the specific language governing permissions and 17// limitations under the License. 18// 19// Code generated by Microsoft (R) AutoRest Code Generator. 20// Changes may cause incorrect behavior and will be lost if the code is regenerated. 21 22// UserAgent returns the UserAgent string to use when sending http.Requests. 23func UserAgent() string { 24 return "Azure-SDK-For-Go/" + Version() + " compute/2018-06-01" 25} 26 27// Version returns the semantic version (see http://semver.org) of the client. 28func Version() string { 29 return version.Number 30} 31