-
Notifications
You must be signed in to change notification settings - Fork 842
/
models.go
265 lines (231 loc) · 9.98 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
//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 scheduler
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type DayOfWeek = original.DayOfWeek
const (
Friday DayOfWeek = original.Friday
Monday DayOfWeek = original.Monday
Saturday DayOfWeek = original.Saturday
Sunday DayOfWeek = original.Sunday
Thursday DayOfWeek = original.Thursday
Tuesday DayOfWeek = original.Tuesday
Wednesday DayOfWeek = original.Wednesday
)
type JobActionType = original.JobActionType
const (
HTTP JobActionType = original.HTTP
HTTPS JobActionType = original.HTTPS
ServiceBusQueue JobActionType = original.ServiceBusQueue
ServiceBusTopic JobActionType = original.ServiceBusTopic
StorageQueue JobActionType = original.StorageQueue
)
type JobCollectionState = original.JobCollectionState
const (
Deleted JobCollectionState = original.Deleted
Disabled JobCollectionState = original.Disabled
Enabled JobCollectionState = original.Enabled
Suspended JobCollectionState = original.Suspended
)
type JobExecutionStatus = original.JobExecutionStatus
const (
Completed JobExecutionStatus = original.Completed
Failed JobExecutionStatus = original.Failed
Postponed JobExecutionStatus = original.Postponed
)
type JobHistoryActionName = original.JobHistoryActionName
const (
ErrorAction JobHistoryActionName = original.ErrorAction
MainAction JobHistoryActionName = original.MainAction
)
type JobScheduleDay = original.JobScheduleDay
const (
JobScheduleDayFriday JobScheduleDay = original.JobScheduleDayFriday
JobScheduleDayMonday JobScheduleDay = original.JobScheduleDayMonday
JobScheduleDaySaturday JobScheduleDay = original.JobScheduleDaySaturday
JobScheduleDaySunday JobScheduleDay = original.JobScheduleDaySunday
JobScheduleDayThursday JobScheduleDay = original.JobScheduleDayThursday
JobScheduleDayTuesday JobScheduleDay = original.JobScheduleDayTuesday
JobScheduleDayWednesday JobScheduleDay = original.JobScheduleDayWednesday
)
type JobState = original.JobState
const (
JobStateCompleted JobState = original.JobStateCompleted
JobStateDisabled JobState = original.JobStateDisabled
JobStateEnabled JobState = original.JobStateEnabled
JobStateFaulted JobState = original.JobStateFaulted
)
type RecurrenceFrequency = original.RecurrenceFrequency
const (
Day RecurrenceFrequency = original.Day
Hour RecurrenceFrequency = original.Hour
Minute RecurrenceFrequency = original.Minute
Month RecurrenceFrequency = original.Month
Week RecurrenceFrequency = original.Week
)
type RetryType = original.RetryType
const (
Fixed RetryType = original.Fixed
None RetryType = original.None
)
type ServiceBusAuthenticationType = original.ServiceBusAuthenticationType
const (
NotSpecified ServiceBusAuthenticationType = original.NotSpecified
SharedAccessKey ServiceBusAuthenticationType = original.SharedAccessKey
)
type ServiceBusTransportType = original.ServiceBusTransportType
const (
ServiceBusTransportTypeAMQP ServiceBusTransportType = original.ServiceBusTransportTypeAMQP
ServiceBusTransportTypeNetMessaging ServiceBusTransportType = original.ServiceBusTransportTypeNetMessaging
ServiceBusTransportTypeNotSpecified ServiceBusTransportType = original.ServiceBusTransportTypeNotSpecified
)
type SkuDefinition = original.SkuDefinition
const (
Free SkuDefinition = original.Free
P10Premium SkuDefinition = original.P10Premium
P20Premium SkuDefinition = original.P20Premium
Standard SkuDefinition = original.Standard
)
type Type = original.Type
const (
TypeActiveDirectoryOAuth Type = original.TypeActiveDirectoryOAuth
TypeBasic Type = original.TypeBasic
TypeClientCertificate Type = original.TypeClientCertificate
TypeHTTPAuthentication Type = original.TypeHTTPAuthentication
)
type BaseClient = original.BaseClient
type BasicAuthentication = original.BasicAuthentication
type BasicHTTPAuthentication = original.BasicHTTPAuthentication
type ClientCertAuthentication = original.ClientCertAuthentication
type HTTPAuthentication = original.HTTPAuthentication
type HTTPRequest = original.HTTPRequest
type JobAction = original.JobAction
type JobCollectionDefinition = original.JobCollectionDefinition
type JobCollectionListResult = original.JobCollectionListResult
type JobCollectionListResultIterator = original.JobCollectionListResultIterator
type JobCollectionListResultPage = original.JobCollectionListResultPage
type JobCollectionProperties = original.JobCollectionProperties
type JobCollectionQuota = original.JobCollectionQuota
type JobCollectionsClient = original.JobCollectionsClient
type JobCollectionsDeleteFuture = original.JobCollectionsDeleteFuture
type JobCollectionsDisableFuture = original.JobCollectionsDisableFuture
type JobCollectionsEnableFuture = original.JobCollectionsEnableFuture
type JobDefinition = original.JobDefinition
type JobErrorAction = original.JobErrorAction
type JobHistoryDefinition = original.JobHistoryDefinition
type JobHistoryDefinitionProperties = original.JobHistoryDefinitionProperties
type JobHistoryFilter = original.JobHistoryFilter
type JobHistoryListResult = original.JobHistoryListResult
type JobHistoryListResultIterator = original.JobHistoryListResultIterator
type JobHistoryListResultPage = original.JobHistoryListResultPage
type JobListResult = original.JobListResult
type JobListResultIterator = original.JobListResultIterator
type JobListResultPage = original.JobListResultPage
type JobMaxRecurrence = original.JobMaxRecurrence
type JobProperties = original.JobProperties
type JobRecurrence = original.JobRecurrence
type JobRecurrenceSchedule = original.JobRecurrenceSchedule
type JobRecurrenceScheduleMonthlyOccurrence = original.JobRecurrenceScheduleMonthlyOccurrence
type JobStateFilter = original.JobStateFilter
type JobStatus = original.JobStatus
type JobsClient = original.JobsClient
type OAuthAuthentication = original.OAuthAuthentication
type RetryPolicy = original.RetryPolicy
type ServiceBusAuthentication = original.ServiceBusAuthentication
type ServiceBusBrokeredMessageProperties = original.ServiceBusBrokeredMessageProperties
type ServiceBusMessage = original.ServiceBusMessage
type ServiceBusQueueMessage = original.ServiceBusQueueMessage
type ServiceBusTopicMessage = original.ServiceBusTopicMessage
type Sku = original.Sku
type StorageQueueMessage = original.StorageQueueMessage
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewJobCollectionListResultIterator(page JobCollectionListResultPage) JobCollectionListResultIterator {
return original.NewJobCollectionListResultIterator(page)
}
func NewJobCollectionListResultPage(cur JobCollectionListResult, getNextPage func(context.Context, JobCollectionListResult) (JobCollectionListResult, error)) JobCollectionListResultPage {
return original.NewJobCollectionListResultPage(cur, getNextPage)
}
func NewJobCollectionsClient(subscriptionID string) JobCollectionsClient {
return original.NewJobCollectionsClient(subscriptionID)
}
func NewJobCollectionsClientWithBaseURI(baseURI string, subscriptionID string) JobCollectionsClient {
return original.NewJobCollectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobHistoryListResultIterator(page JobHistoryListResultPage) JobHistoryListResultIterator {
return original.NewJobHistoryListResultIterator(page)
}
func NewJobHistoryListResultPage(cur JobHistoryListResult, getNextPage func(context.Context, JobHistoryListResult) (JobHistoryListResult, error)) JobHistoryListResultPage {
return original.NewJobHistoryListResultPage(cur, getNextPage)
}
func NewJobListResultIterator(page JobListResultPage) JobListResultIterator {
return original.NewJobListResultIterator(page)
}
func NewJobListResultPage(cur JobListResult, getNextPage func(context.Context, JobListResult) (JobListResult, error)) JobListResultPage {
return original.NewJobListResultPage(cur, getNextPage)
}
func NewJobsClient(subscriptionID string) JobsClient {
return original.NewJobsClient(subscriptionID)
}
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return original.NewJobsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDayOfWeekValues() []DayOfWeek {
return original.PossibleDayOfWeekValues()
}
func PossibleJobActionTypeValues() []JobActionType {
return original.PossibleJobActionTypeValues()
}
func PossibleJobCollectionStateValues() []JobCollectionState {
return original.PossibleJobCollectionStateValues()
}
func PossibleJobExecutionStatusValues() []JobExecutionStatus {
return original.PossibleJobExecutionStatusValues()
}
func PossibleJobHistoryActionNameValues() []JobHistoryActionName {
return original.PossibleJobHistoryActionNameValues()
}
func PossibleJobScheduleDayValues() []JobScheduleDay {
return original.PossibleJobScheduleDayValues()
}
func PossibleJobStateValues() []JobState {
return original.PossibleJobStateValues()
}
func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency {
return original.PossibleRecurrenceFrequencyValues()
}
func PossibleRetryTypeValues() []RetryType {
return original.PossibleRetryTypeValues()
}
func PossibleServiceBusAuthenticationTypeValues() []ServiceBusAuthenticationType {
return original.PossibleServiceBusAuthenticationTypeValues()
}
func PossibleServiceBusTransportTypeValues() []ServiceBusTransportType {
return original.PossibleServiceBusTransportTypeValues()
}
func PossibleSkuDefinitionValues() []SkuDefinition {
return original.PossibleSkuDefinitionValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}