1package advisor 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// Category enumerates the values for category. 10type Category string 11 12const ( 13 // Cost ... 14 Cost Category = "Cost" 15 // HighAvailability ... 16 HighAvailability Category = "HighAvailability" 17 // OperationalExcellence ... 18 OperationalExcellence Category = "OperationalExcellence" 19 // Performance ... 20 Performance Category = "Performance" 21 // Security ... 22 Security Category = "Security" 23) 24 25// PossibleCategoryValues returns an array of possible values for the Category const type. 26func PossibleCategoryValues() []Category { 27 return []Category{Cost, HighAvailability, OperationalExcellence, Performance, Security} 28} 29 30// Impact enumerates the values for impact. 31type Impact string 32 33const ( 34 // High ... 35 High Impact = "High" 36 // Low ... 37 Low Impact = "Low" 38 // Medium ... 39 Medium Impact = "Medium" 40) 41 42// PossibleImpactValues returns an array of possible values for the Impact const type. 43func PossibleImpactValues() []Impact { 44 return []Impact{High, Low, Medium} 45} 46 47// Risk enumerates the values for risk. 48type Risk string 49 50const ( 51 // Error ... 52 Error Risk = "Error" 53 // None ... 54 None Risk = "None" 55 // Warning ... 56 Warning Risk = "Warning" 57) 58 59// PossibleRiskValues returns an array of possible values for the Risk const type. 60func PossibleRiskValues() []Risk { 61 return []Risk{Error, None, Warning} 62} 63