-
Notifications
You must be signed in to change notification settings - Fork 801
/
models.go
295 lines (259 loc) · 13 KB
/
models.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
//go:build go1.9
// +build go1.9
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// This code was auto-generated by:
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder
package alertsmanagement
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/alertsmanagement/mgmt/2019-03-01/alertsmanagement"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AlertModificationEvent = original.AlertModificationEvent
const (
AlertCreated AlertModificationEvent = original.AlertCreated
MonitorConditionChange AlertModificationEvent = original.MonitorConditionChange
StateChange AlertModificationEvent = original.StateChange
)
type AlertRuleState = original.AlertRuleState
const (
Disabled AlertRuleState = original.Disabled
Enabled AlertRuleState = original.Enabled
)
type AlertState = original.AlertState
const (
AlertStateAcknowledged AlertState = original.AlertStateAcknowledged
AlertStateClosed AlertState = original.AlertStateClosed
AlertStateNew AlertState = original.AlertStateNew
)
type AlertsSortByFields = original.AlertsSortByFields
const (
AlertsSortByFieldsAlertState AlertsSortByFields = original.AlertsSortByFieldsAlertState
AlertsSortByFieldsLastModifiedDateTime AlertsSortByFields = original.AlertsSortByFieldsLastModifiedDateTime
AlertsSortByFieldsMonitorCondition AlertsSortByFields = original.AlertsSortByFieldsMonitorCondition
AlertsSortByFieldsName AlertsSortByFields = original.AlertsSortByFieldsName
AlertsSortByFieldsSeverity AlertsSortByFields = original.AlertsSortByFieldsSeverity
AlertsSortByFieldsStartDateTime AlertsSortByFields = original.AlertsSortByFieldsStartDateTime
AlertsSortByFieldsTargetResource AlertsSortByFields = original.AlertsSortByFieldsTargetResource
AlertsSortByFieldsTargetResourceGroup AlertsSortByFields = original.AlertsSortByFieldsTargetResourceGroup
AlertsSortByFieldsTargetResourceName AlertsSortByFields = original.AlertsSortByFieldsTargetResourceName
AlertsSortByFieldsTargetResourceType AlertsSortByFields = original.AlertsSortByFieldsTargetResourceType
)
type AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFields
const (
AlertsSummaryGroupByFieldsAlertRule AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsAlertRule
AlertsSummaryGroupByFieldsAlertState AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsAlertState
AlertsSummaryGroupByFieldsMonitorCondition AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsMonitorCondition
AlertsSummaryGroupByFieldsMonitorService AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsMonitorService
AlertsSummaryGroupByFieldsSeverity AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsSeverity
AlertsSummaryGroupByFieldsSignalType AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsSignalType
)
type MetadataIdentifier = original.MetadataIdentifier
const (
MetadataIdentifierAlertsMetaDataProperties MetadataIdentifier = original.MetadataIdentifierAlertsMetaDataProperties
MetadataIdentifierMonitorServiceList MetadataIdentifier = original.MetadataIdentifierMonitorServiceList
)
type MonitorCondition = original.MonitorCondition
const (
Fired MonitorCondition = original.Fired
Resolved MonitorCondition = original.Resolved
)
type MonitorService = original.MonitorService
const (
ActivityLogAdministrative MonitorService = original.ActivityLogAdministrative
ActivityLogAutoscale MonitorService = original.ActivityLogAutoscale
ActivityLogPolicy MonitorService = original.ActivityLogPolicy
ActivityLogRecommendation MonitorService = original.ActivityLogRecommendation
ActivityLogSecurity MonitorService = original.ActivityLogSecurity
ApplicationInsights MonitorService = original.ApplicationInsights
LogAnalytics MonitorService = original.LogAnalytics
Nagios MonitorService = original.Nagios
Platform MonitorService = original.Platform
ResourceHealth MonitorService = original.ResourceHealth
SCOM MonitorService = original.SCOM
ServiceHealth MonitorService = original.ServiceHealth
SmartDetector MonitorService = original.SmartDetector
VMInsights MonitorService = original.VMInsights
Zabbix MonitorService = original.Zabbix
)
type Severity = original.Severity
const (
Sev0 Severity = original.Sev0
Sev1 Severity = original.Sev1
Sev2 Severity = original.Sev2
Sev3 Severity = original.Sev3
Sev4 Severity = original.Sev4
)
type SignalType = original.SignalType
const (
Log SignalType = original.Log
Metric SignalType = original.Metric
Unknown SignalType = original.Unknown
)
type SmartGroupModificationEvent = original.SmartGroupModificationEvent
const (
SmartGroupModificationEventAlertAdded SmartGroupModificationEvent = original.SmartGroupModificationEventAlertAdded
SmartGroupModificationEventAlertRemoved SmartGroupModificationEvent = original.SmartGroupModificationEventAlertRemoved
SmartGroupModificationEventSmartGroupCreated SmartGroupModificationEvent = original.SmartGroupModificationEventSmartGroupCreated
SmartGroupModificationEventStateChange SmartGroupModificationEvent = original.SmartGroupModificationEventStateChange
)
type SmartGroupsSortByFields = original.SmartGroupsSortByFields
const (
SmartGroupsSortByFieldsAlertsCount SmartGroupsSortByFields = original.SmartGroupsSortByFieldsAlertsCount
SmartGroupsSortByFieldsLastModifiedDateTime SmartGroupsSortByFields = original.SmartGroupsSortByFieldsLastModifiedDateTime
SmartGroupsSortByFieldsSeverity SmartGroupsSortByFields = original.SmartGroupsSortByFieldsSeverity
SmartGroupsSortByFieldsStartDateTime SmartGroupsSortByFields = original.SmartGroupsSortByFieldsStartDateTime
SmartGroupsSortByFieldsState SmartGroupsSortByFields = original.SmartGroupsSortByFieldsState
)
type State = original.State
const (
StateAcknowledged State = original.StateAcknowledged
StateClosed State = original.StateClosed
StateNew State = original.StateNew
)
type TimeRange = original.TimeRange
const (
Oned TimeRange = original.Oned
Oneh TimeRange = original.Oneh
Sevend TimeRange = original.Sevend
ThreeZerod TimeRange = original.ThreeZerod
)
type ActionGroupsInformation = original.ActionGroupsInformation
type Alert = original.Alert
type AlertModification = original.AlertModification
type AlertModificationItem = original.AlertModificationItem
type AlertModificationProperties = original.AlertModificationProperties
type AlertProperties = original.AlertProperties
type AlertRule = original.AlertRule
type AlertRuleProperties = original.AlertRuleProperties
type AlertRulesList = original.AlertRulesList
type AlertRulesListIterator = original.AlertRulesListIterator
type AlertRulesListPage = original.AlertRulesListPage
type AlertsClient = original.AlertsClient
type AlertsList = original.AlertsList
type AlertsListIterator = original.AlertsListIterator
type AlertsListPage = original.AlertsListPage
type AlertsMetaData = original.AlertsMetaData
type AlertsMetaDataProperties = original.AlertsMetaDataProperties
type AlertsSummary = original.AlertsSummary
type AlertsSummaryGroup = original.AlertsSummaryGroup
type AlertsSummaryGroupItem = original.AlertsSummaryGroupItem
type AzureResource = original.AzureResource
type BaseClient = original.BaseClient
type BasicAlertsMetaDataProperties = original.BasicAlertsMetaDataProperties
type Detector = original.Detector
type ErrorResponse = original.ErrorResponse
type ErrorResponseBody = original.ErrorResponseBody
type Essentials = original.Essentials
type MonitorServiceDetails = original.MonitorServiceDetails
type MonitorServiceList = original.MonitorServiceList
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationsClient = original.OperationsClient
type OperationsList = original.OperationsList
type OperationsListIterator = original.OperationsListIterator
type OperationsListPage = original.OperationsListPage
type ProxyResource = original.ProxyResource
type SmartDetectorAlertRulesClient = original.SmartDetectorAlertRulesClient
type SmartDetectorErrorResponse = original.SmartDetectorErrorResponse
type SmartGroup = original.SmartGroup
type SmartGroupAggregatedProperty = original.SmartGroupAggregatedProperty
type SmartGroupModification = original.SmartGroupModification
type SmartGroupModificationItem = original.SmartGroupModificationItem
type SmartGroupModificationProperties = original.SmartGroupModificationProperties
type SmartGroupProperties = original.SmartGroupProperties
type SmartGroupsList = original.SmartGroupsList
type ThrottlingInformation = original.ThrottlingInformation
func New(scope string, subscriptionID string, subscriptionID1 string) BaseClient {
return original.New(scope, subscriptionID, subscriptionID1)
}
func NewAlertRulesListIterator(page AlertRulesListPage) AlertRulesListIterator {
return original.NewAlertRulesListIterator(page)
}
func NewAlertRulesListPage(cur AlertRulesList, getNextPage func(context.Context, AlertRulesList) (AlertRulesList, error)) AlertRulesListPage {
return original.NewAlertRulesListPage(cur, getNextPage)
}
func NewAlertsClient(scope string, subscriptionID string, subscriptionID1 string) AlertsClient {
return original.NewAlertsClient(scope, subscriptionID, subscriptionID1)
}
func NewAlertsClientWithBaseURI(baseURI string, scope string, subscriptionID string, subscriptionID1 string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, scope, subscriptionID, subscriptionID1)
}
func NewAlertsListIterator(page AlertsListPage) AlertsListIterator {
return original.NewAlertsListIterator(page)
}
func NewAlertsListPage(cur AlertsList, getNextPage func(context.Context, AlertsList) (AlertsList, error)) AlertsListPage {
return original.NewAlertsListPage(cur, getNextPage)
}
func NewOperationsClient(scope string, subscriptionID string, subscriptionID1 string) OperationsClient {
return original.NewOperationsClient(scope, subscriptionID, subscriptionID1)
}
func NewOperationsClientWithBaseURI(baseURI string, scope string, subscriptionID string, subscriptionID1 string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, scope, subscriptionID, subscriptionID1)
}
func NewOperationsListIterator(page OperationsListPage) OperationsListIterator {
return original.NewOperationsListIterator(page)
}
func NewOperationsListPage(cur OperationsList, getNextPage func(context.Context, OperationsList) (OperationsList, error)) OperationsListPage {
return original.NewOperationsListPage(cur, getNextPage)
}
func NewSmartDetectorAlertRulesClient(scope string, subscriptionID string, subscriptionID1 string) SmartDetectorAlertRulesClient {
return original.NewSmartDetectorAlertRulesClient(scope, subscriptionID, subscriptionID1)
}
func NewSmartDetectorAlertRulesClientWithBaseURI(baseURI string, scope string, subscriptionID string, subscriptionID1 string) SmartDetectorAlertRulesClient {
return original.NewSmartDetectorAlertRulesClientWithBaseURI(baseURI, scope, subscriptionID, subscriptionID1)
}
func NewWithBaseURI(baseURI string, scope string, subscriptionID string, subscriptionID1 string) BaseClient {
return original.NewWithBaseURI(baseURI, scope, subscriptionID, subscriptionID1)
}
func PossibleAlertModificationEventValues() []AlertModificationEvent {
return original.PossibleAlertModificationEventValues()
}
func PossibleAlertRuleStateValues() []AlertRuleState {
return original.PossibleAlertRuleStateValues()
}
func PossibleAlertStateValues() []AlertState {
return original.PossibleAlertStateValues()
}
func PossibleAlertsSortByFieldsValues() []AlertsSortByFields {
return original.PossibleAlertsSortByFieldsValues()
}
func PossibleAlertsSummaryGroupByFieldsValues() []AlertsSummaryGroupByFields {
return original.PossibleAlertsSummaryGroupByFieldsValues()
}
func PossibleMetadataIdentifierValues() []MetadataIdentifier {
return original.PossibleMetadataIdentifierValues()
}
func PossibleMonitorConditionValues() []MonitorCondition {
return original.PossibleMonitorConditionValues()
}
func PossibleMonitorServiceValues() []MonitorService {
return original.PossibleMonitorServiceValues()
}
func PossibleSeverityValues() []Severity {
return original.PossibleSeverityValues()
}
func PossibleSignalTypeValues() []SignalType {
return original.PossibleSignalTypeValues()
}
func PossibleSmartGroupModificationEventValues() []SmartGroupModificationEvent {
return original.PossibleSmartGroupModificationEventValues()
}
func PossibleSmartGroupsSortByFieldsValues() []SmartGroupsSortByFields {
return original.PossibleSmartGroupsSortByFieldsValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleTimeRangeValues() []TimeRange {
return original.PossibleTimeRangeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}