1package advisor 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// Category enumerates the values for category. 21type Category string 22 23const ( 24 // Cost ... 25 Cost Category = "Cost" 26 // HighAvailability ... 27 HighAvailability Category = "HighAvailability" 28 // Performance ... 29 Performance Category = "Performance" 30 // Security ... 31 Security Category = "Security" 32) 33 34// PossibleCategoryValues returns an array of possible values for the Category const type. 35func PossibleCategoryValues() []Category { 36 return []Category{Cost, HighAvailability, Performance, Security} 37} 38 39// Impact enumerates the values for impact. 40type Impact string 41 42const ( 43 // High ... 44 High Impact = "High" 45 // Low ... 46 Low Impact = "Low" 47 // Medium ... 48 Medium Impact = "Medium" 49) 50 51// PossibleImpactValues returns an array of possible values for the Impact const type. 52func PossibleImpactValues() []Impact { 53 return []Impact{High, Low, Medium} 54} 55 56// Risk enumerates the values for risk. 57type Risk string 58 59const ( 60 // Error ... 61 Error Risk = "Error" 62 // None ... 63 None Risk = "None" 64 // Warning ... 65 Warning Risk = "Warning" 66) 67 68// PossibleRiskValues returns an array of possible values for the Risk const type. 69func PossibleRiskValues() []Risk { 70 return []Risk{Error, None, Warning} 71} 72