-
Notifications
You must be signed in to change notification settings - Fork 839
/
models.go
208 lines (184 loc) · 7.77 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
// +build go1.9
// Copyright 2020 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 job
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/datalake/analytics/2016-11-01/job"
)
const (
DefaultAdlaJobDNSSuffix = original.DefaultAdlaJobDNSSuffix
)
type CompileMode = original.CompileMode
const (
Full CompileMode = original.Full
Semantic CompileMode = original.Semantic
SingleBox CompileMode = original.SingleBox
)
type ResourceType = original.ResourceType
const (
JobManagerResource ResourceType = original.JobManagerResource
JobManagerResourceInUserFolder ResourceType = original.JobManagerResourceInUserFolder
StatisticsResource ResourceType = original.StatisticsResource
StatisticsResourceInUserFolder ResourceType = original.StatisticsResourceInUserFolder
VertexResource ResourceType = original.VertexResource
VertexResourceInUserFolder ResourceType = original.VertexResourceInUserFolder
)
type Result = original.Result
const (
Cancelled Result = original.Cancelled
Failed Result = original.Failed
None Result = original.None
Succeeded Result = original.Succeeded
)
type SeverityTypes = original.SeverityTypes
const (
Deprecated SeverityTypes = original.Deprecated
Error SeverityTypes = original.Error
Info SeverityTypes = original.Info
SevereWarning SeverityTypes = original.SevereWarning
UserWarning SeverityTypes = original.UserWarning
Warning SeverityTypes = original.Warning
)
type State = original.State
const (
StateAccepted State = original.StateAccepted
StateCompiling State = original.StateCompiling
StateEnded State = original.StateEnded
StateNew State = original.StateNew
StatePaused State = original.StatePaused
StateQueued State = original.StateQueued
StateRunning State = original.StateRunning
StateScheduling State = original.StateScheduling
StateStarting State = original.StateStarting
StateWaitingForCapacity State = original.StateWaitingForCapacity
)
type Type = original.Type
const (
TypeHive Type = original.TypeHive
TypeJobProperties Type = original.TypeJobProperties
TypeUSQL Type = original.TypeUSQL
)
type TypeBasicCreateJobProperties = original.TypeBasicCreateJobProperties
const (
TypeBasicCreateJobPropertiesTypeCreateJobProperties TypeBasicCreateJobProperties = original.TypeBasicCreateJobPropertiesTypeCreateJobProperties
TypeBasicCreateJobPropertiesTypeUSQL TypeBasicCreateJobProperties = original.TypeBasicCreateJobPropertiesTypeUSQL
)
type TypeEnum = original.TypeEnum
const (
Hive TypeEnum = original.Hive
USQL TypeEnum = original.USQL
)
type BaseClient = original.BaseClient
type BaseJobParameters = original.BaseJobParameters
type BasicCreateJobProperties = original.BasicCreateJobProperties
type BasicProperties = original.BasicProperties
type BuildJobParameters = original.BuildJobParameters
type Client = original.Client
type CreateJobParameters = original.CreateJobParameters
type CreateJobProperties = original.CreateJobProperties
type CreateUSQLJobProperties = original.CreateUSQLJobProperties
type DataPath = original.DataPath
type Diagnostics = original.Diagnostics
type ErrorDetails = original.ErrorDetails
type HiveJobProperties = original.HiveJobProperties
type InfoListResult = original.InfoListResult
type InfoListResultIterator = original.InfoListResultIterator
type InfoListResultPage = original.InfoListResultPage
type Information = original.Information
type InformationBasic = original.InformationBasic
type InnerError = original.InnerError
type PipelineClient = original.PipelineClient
type PipelineInformation = original.PipelineInformation
type PipelineInformationListResult = original.PipelineInformationListResult
type PipelineInformationListResultIterator = original.PipelineInformationListResultIterator
type PipelineInformationListResultPage = original.PipelineInformationListResultPage
type PipelineRunInformation = original.PipelineRunInformation
type Properties = original.Properties
type RecurrenceClient = original.RecurrenceClient
type RecurrenceInformation = original.RecurrenceInformation
type RecurrenceInformationListResult = original.RecurrenceInformationListResult
type RecurrenceInformationListResultIterator = original.RecurrenceInformationListResultIterator
type RecurrenceInformationListResultPage = original.RecurrenceInformationListResultPage
type RelationshipProperties = original.RelationshipProperties
type Resource = original.Resource
type StateAuditRecord = original.StateAuditRecord
type Statistics = original.Statistics
type StatisticsVertexStage = original.StatisticsVertexStage
type USQLJobProperties = original.USQLJobProperties
func New() BaseClient {
return original.New()
}
func NewClient() Client {
return original.NewClient()
}
func NewInfoListResultIterator(page InfoListResultPage) InfoListResultIterator {
return original.NewInfoListResultIterator(page)
}
func NewInfoListResultPage(getNextPage func(context.Context, InfoListResult) (InfoListResult, error)) InfoListResultPage {
return original.NewInfoListResultPage(getNextPage)
}
func NewPipelineClient() PipelineClient {
return original.NewPipelineClient()
}
func NewPipelineInformationListResultIterator(page PipelineInformationListResultPage) PipelineInformationListResultIterator {
return original.NewPipelineInformationListResultIterator(page)
}
func NewPipelineInformationListResultPage(getNextPage func(context.Context, PipelineInformationListResult) (PipelineInformationListResult, error)) PipelineInformationListResultPage {
return original.NewPipelineInformationListResultPage(getNextPage)
}
func NewRecurrenceClient() RecurrenceClient {
return original.NewRecurrenceClient()
}
func NewRecurrenceInformationListResultIterator(page RecurrenceInformationListResultPage) RecurrenceInformationListResultIterator {
return original.NewRecurrenceInformationListResultIterator(page)
}
func NewRecurrenceInformationListResultPage(getNextPage func(context.Context, RecurrenceInformationListResult) (RecurrenceInformationListResult, error)) RecurrenceInformationListResultPage {
return original.NewRecurrenceInformationListResultPage(getNextPage)
}
func NewWithoutDefaults(adlaJobDNSSuffix string) BaseClient {
return original.NewWithoutDefaults(adlaJobDNSSuffix)
}
func PossibleCompileModeValues() []CompileMode {
return original.PossibleCompileModeValues()
}
func PossibleResourceTypeValues() []ResourceType {
return original.PossibleResourceTypeValues()
}
func PossibleResultValues() []Result {
return original.PossibleResultValues()
}
func PossibleSeverityTypesValues() []SeverityTypes {
return original.PossibleSeverityTypesValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleTypeBasicCreateJobPropertiesValues() []TypeBasicCreateJobProperties {
return original.PossibleTypeBasicCreateJobPropertiesValues()
}
func PossibleTypeEnumValues() []TypeEnum {
return original.PossibleTypeEnumValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
func Version() string {
return original.Version()
}