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 // OperationalExcellence ... 29 OperationalExcellence Category = "OperationalExcellence" 30 // Performance ... 31 Performance Category = "Performance" 32 // Security ... 33 Security Category = "Security" 34) 35 36// PossibleCategoryValues returns an array of possible values for the Category const type. 37func PossibleCategoryValues() []Category { 38 return []Category{Cost, HighAvailability, OperationalExcellence, Performance, Security} 39} 40 41// Impact enumerates the values for impact. 42type Impact string 43 44const ( 45 // High ... 46 High Impact = "High" 47 // Low ... 48 Low Impact = "Low" 49 // Medium ... 50 Medium Impact = "Medium" 51) 52 53// PossibleImpactValues returns an array of possible values for the Impact const type. 54func PossibleImpactValues() []Impact { 55 return []Impact{High, Low, Medium} 56} 57 58// Risk enumerates the values for risk. 59type Risk string 60 61const ( 62 // Error ... 63 Error Risk = "Error" 64 // None ... 65 None Risk = "None" 66 // Warning ... 67 Warning Risk = "Warning" 68) 69 70// PossibleRiskValues returns an array of possible values for the Risk const type. 71func PossibleRiskValues() []Risk { 72 return []Risk{Error, None, Warning} 73} 74