-
Notifications
You must be signed in to change notification settings - Fork 803
/
enums.go
132 lines (110 loc) · 6 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package monitorlegacy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// ConditionOperator enumerates the values for condition operator.
type ConditionOperator string
const (
// GreaterThan ...
GreaterThan ConditionOperator = "GreaterThan"
// GreaterThanOrEqual ...
GreaterThanOrEqual ConditionOperator = "GreaterThanOrEqual"
// LessThan ...
LessThan ConditionOperator = "LessThan"
// LessThanOrEqual ...
LessThanOrEqual ConditionOperator = "LessThanOrEqual"
)
// PossibleConditionOperatorValues returns an array of possible values for the ConditionOperator const type.
func PossibleConditionOperatorValues() []ConditionOperator {
return []ConditionOperator{GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual}
}
// DataStatus enumerates the values for data status.
type DataStatus string
const (
// NotPresent ...
NotPresent DataStatus = "notPresent"
// Present ...
Present DataStatus = "present"
)
// PossibleDataStatusValues returns an array of possible values for the DataStatus const type.
func PossibleDataStatusValues() []DataStatus {
return []DataStatus{NotPresent, Present}
}
// OdataType enumerates the values for odata type.
type OdataType string
const (
// OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource ...
OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource"
// OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource ...
OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource OdataType = "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource"
// OdataTypeRuleDataSource ...
OdataTypeRuleDataSource OdataType = "RuleDataSource"
)
// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
func PossibleOdataTypeValues() []OdataType {
return []OdataType{OdataTypeMicrosoftAzureManagementInsightsModelsRuleManagementEventDataSource, OdataTypeMicrosoftAzureManagementInsightsModelsRuleMetricDataSource, OdataTypeRuleDataSource}
}
// OdataTypeBasicRuleAction enumerates the values for odata type basic rule action.
type OdataTypeBasicRuleAction string
const (
// OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction ...
OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleEmailAction"
// OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction ...
OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction OdataTypeBasicRuleAction = "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction"
// OdataTypeRuleAction ...
OdataTypeRuleAction OdataTypeBasicRuleAction = "RuleAction"
)
// PossibleOdataTypeBasicRuleActionValues returns an array of possible values for the OdataTypeBasicRuleAction const type.
func PossibleOdataTypeBasicRuleActionValues() []OdataTypeBasicRuleAction {
return []OdataTypeBasicRuleAction{OdataTypeMicrosoftAzureManagementInsightsModelsRuleEmailAction, OdataTypeMicrosoftAzureManagementInsightsModelsRuleWebhookAction, OdataTypeRuleAction}
}
// OdataTypeBasicRuleCondition enumerates the values for odata type basic rule condition.
type OdataTypeBasicRuleCondition string
const (
// OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition ...
OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition"
// OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition ...
OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition"
// OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition ...
OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition OdataTypeBasicRuleCondition = "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition"
// OdataTypeRuleCondition ...
OdataTypeRuleCondition OdataTypeBasicRuleCondition = "RuleCondition"
)
// PossibleOdataTypeBasicRuleConditionValues returns an array of possible values for the OdataTypeBasicRuleCondition const type.
func PossibleOdataTypeBasicRuleConditionValues() []OdataTypeBasicRuleCondition {
return []OdataTypeBasicRuleCondition{OdataTypeMicrosoftAzureManagementInsightsModelsLocationThresholdRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsManagementEventRuleCondition, OdataTypeMicrosoftAzureManagementInsightsModelsThresholdRuleCondition, OdataTypeRuleCondition}
}
// OnboardingStatus enumerates the values for onboarding status.
type OnboardingStatus string
const (
// NotOnboarded ...
NotOnboarded OnboardingStatus = "notOnboarded"
// Onboarded ...
Onboarded OnboardingStatus = "onboarded"
// Unknown ...
Unknown OnboardingStatus = "unknown"
)
// PossibleOnboardingStatusValues returns an array of possible values for the OnboardingStatus const type.
func PossibleOnboardingStatusValues() []OnboardingStatus {
return []OnboardingStatus{NotOnboarded, Onboarded, Unknown}
}
// TimeAggregationOperator enumerates the values for time aggregation operator.
type TimeAggregationOperator string
const (
// Average ...
Average TimeAggregationOperator = "Average"
// Last ...
Last TimeAggregationOperator = "Last"
// Maximum ...
Maximum TimeAggregationOperator = "Maximum"
// Minimum ...
Minimum TimeAggregationOperator = "Minimum"
// Total ...
Total TimeAggregationOperator = "Total"
)
// PossibleTimeAggregationOperatorValues returns an array of possible values for the TimeAggregationOperator const type.
func PossibleTimeAggregationOperatorValues() []TimeAggregationOperator {
return []TimeAggregationOperator{Average, Last, Maximum, Minimum, Total}
}