forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 2
/
models.go
263 lines (231 loc) · 10.9 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
// +build go1.9
// Copyright 2019 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// 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/2018-05-05/alertsmanagement"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AlertModificationEvent = original.AlertModificationEvent
const (
AlertCreated AlertModificationEvent = original.AlertCreated
MonitorConditionChange AlertModificationEvent = original.MonitorConditionChange
StateChange AlertModificationEvent = original.StateChange
)
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 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
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 Alert = original.Alert
type AlertModification = original.AlertModification
type AlertModificationItem = original.AlertModificationItem
type AlertModificationProperties = original.AlertModificationProperties
type AlertProperties = original.AlertProperties
type AlertsClient = original.AlertsClient
type AlertsList = original.AlertsList
type AlertsListIterator = original.AlertsListIterator
type AlertsListPage = original.AlertsListPage
type AlertsSummary = original.AlertsSummary
type AlertsSummaryGroup = original.AlertsSummaryGroup
type AlertsSummaryGroupItem = original.AlertsSummaryGroupItem
type BaseClient = original.BaseClient
type ErrorResponse = original.ErrorResponse
type ErrorResponseBody = original.ErrorResponseBody
type Essentials = original.Essentials
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 Resource = original.Resource
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 SmartGroupsClient = original.SmartGroupsClient
type SmartGroupsList = original.SmartGroupsList
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAlertsClient(subscriptionID string) AlertsClient {
return original.NewAlertsClient(subscriptionID)
}
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAlertsListIterator(page AlertsListPage) AlertsListIterator {
return original.NewAlertsListIterator(page)
}
func NewAlertsListPage(getNextPage func(context.Context, AlertsList) (AlertsList, error)) AlertsListPage {
return original.NewAlertsListPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsListIterator(page OperationsListPage) OperationsListIterator {
return original.NewOperationsListIterator(page)
}
func NewOperationsListPage(getNextPage func(context.Context, OperationsList) (OperationsList, error)) OperationsListPage {
return original.NewOperationsListPage(getNextPage)
}
func NewSmartGroupsClient(subscriptionID string) SmartGroupsClient {
return original.NewSmartGroupsClient(subscriptionID)
}
func NewSmartGroupsClientWithBaseURI(baseURI string, subscriptionID string) SmartGroupsClient {
return original.NewSmartGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAlertModificationEventValues() []AlertModificationEvent {
return original.PossibleAlertModificationEventValues()
}
func PossibleAlertStateValues() []AlertState {
return original.PossibleAlertStateValues()
}
func PossibleAlertsSortByFieldsValues() []AlertsSortByFields {
return original.PossibleAlertsSortByFieldsValues()
}
func PossibleAlertsSummaryGroupByFieldsValues() []AlertsSummaryGroupByFields {
return original.PossibleAlertsSummaryGroupByFieldsValues()
}
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()
}