1package consumption 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// OperatorType enumerates the values for operator type. 21type OperatorType string 22 23const ( 24 // EqualTo ... 25 EqualTo OperatorType = "EqualTo" 26 // GreaterThan ... 27 GreaterThan OperatorType = "GreaterThan" 28 // GreaterThanOrEqualTo ... 29 GreaterThanOrEqualTo OperatorType = "GreaterThanOrEqualTo" 30) 31 32// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type. 33func PossibleOperatorTypeValues() []OperatorType { 34 return []OperatorType{EqualTo, GreaterThan, GreaterThanOrEqualTo} 35} 36 37// TimeGrainType enumerates the values for time grain type. 38type TimeGrainType string 39 40const ( 41 // Annually ... 42 Annually TimeGrainType = "Annually" 43 // Monthly ... 44 Monthly TimeGrainType = "Monthly" 45 // Quarterly ... 46 Quarterly TimeGrainType = "Quarterly" 47) 48 49// PossibleTimeGrainTypeValues returns an array of possible values for the TimeGrainType const type. 50func PossibleTimeGrainTypeValues() []TimeGrainType { 51 return []TimeGrainType{Annually, Monthly, Quarterly} 52} 53