-
Notifications
You must be signed in to change notification settings - Fork 802
/
models.go
299 lines (270 loc) · 12 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
296
297
298
299
// +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 batchai
import original "github.com/Azure/azure-sdk-for-go/services/batchai/mgmt/2018-03-01/batchai"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ClustersClient = original.ClustersClient
type FileServersClient = original.FileServersClient
type JobsClient = original.JobsClient
type AllocationState = original.AllocationState
const (
Resizing AllocationState = original.Resizing
Steady AllocationState = original.Steady
)
type CachingType = original.CachingType
const (
None CachingType = original.None
Readonly CachingType = original.Readonly
Readwrite CachingType = original.Readwrite
)
type DeallocationOption = original.DeallocationOption
const (
Requeue DeallocationOption = original.Requeue
Terminate DeallocationOption = original.Terminate
Unknown DeallocationOption = original.Unknown
Waitforjobcompletion DeallocationOption = original.Waitforjobcompletion
)
type ExecutionState = original.ExecutionState
const (
Failed ExecutionState = original.Failed
Queued ExecutionState = original.Queued
Running ExecutionState = original.Running
Succeeded ExecutionState = original.Succeeded
Terminating ExecutionState = original.Terminating
)
type FileServerProvisioningState = original.FileServerProvisioningState
const (
FileServerProvisioningStateCreating FileServerProvisioningState = original.FileServerProvisioningStateCreating
FileServerProvisioningStateDeleting FileServerProvisioningState = original.FileServerProvisioningStateDeleting
FileServerProvisioningStateFailed FileServerProvisioningState = original.FileServerProvisioningStateFailed
FileServerProvisioningStateSucceeded FileServerProvisioningState = original.FileServerProvisioningStateSucceeded
FileServerProvisioningStateUpdating FileServerProvisioningState = original.FileServerProvisioningStateUpdating
)
type FileServerType = original.FileServerType
const (
Glusterfs FileServerType = original.Glusterfs
Nfs FileServerType = original.Nfs
)
type OutputType = original.OutputType
const (
Custom OutputType = original.Custom
Logs OutputType = original.Logs
Model OutputType = original.Model
Summary OutputType = original.Summary
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
)
type StorageAccountType = original.StorageAccountType
const (
PremiumLRS StorageAccountType = original.PremiumLRS
StandardLRS StorageAccountType = original.StandardLRS
)
type ToolType = original.ToolType
const (
ToolTypeCaffe ToolType = original.ToolTypeCaffe
ToolTypeCaffe2 ToolType = original.ToolTypeCaffe2
ToolTypeChainer ToolType = original.ToolTypeChainer
ToolTypeCntk ToolType = original.ToolTypeCntk
ToolTypeCustom ToolType = original.ToolTypeCustom
ToolTypeTensorflow ToolType = original.ToolTypeTensorflow
)
type VMPriority = original.VMPriority
const (
Dedicated VMPriority = original.Dedicated
Lowpriority VMPriority = original.Lowpriority
)
type AppInsightsReference = original.AppInsightsReference
type AutoScaleSettings = original.AutoScaleSettings
type AzureBlobFileSystemReference = original.AzureBlobFileSystemReference
type AzureFileShareReference = original.AzureFileShareReference
type AzureStorageCredentialsInfo = original.AzureStorageCredentialsInfo
type Caffe2Settings = original.Caffe2Settings
type CaffeSettings = original.CaffeSettings
type ChainerSettings = original.ChainerSettings
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type Cluster = original.Cluster
type ClusterBaseProperties = original.ClusterBaseProperties
type ClusterCreateParameters = original.ClusterCreateParameters
type ClusterListResult = original.ClusterListResult
type ClusterListResultIterator = original.ClusterListResultIterator
type ClusterListResultPage = original.ClusterListResultPage
type ClusterProperties = original.ClusterProperties
type ClustersCreateFuture = original.ClustersCreateFuture
type ClustersDeleteFuture = original.ClustersDeleteFuture
type ClusterUpdateParameters = original.ClusterUpdateParameters
type ClusterUpdateProperties = original.ClusterUpdateProperties
type CNTKsettings = original.CNTKsettings
type ContainerSettings = original.ContainerSettings
type CustomToolkitSettings = original.CustomToolkitSettings
type DataDisks = original.DataDisks
type EnvironmentVariable = original.EnvironmentVariable
type EnvironmentVariableWithSecretValue = original.EnvironmentVariableWithSecretValue
type Error = original.Error
type File = original.File
type FileListResult = original.FileListResult
type FileListResultIterator = original.FileListResultIterator
type FileListResultPage = original.FileListResultPage
type FileProperties = original.FileProperties
type FileServer = original.FileServer
type FileServerBaseProperties = original.FileServerBaseProperties
type FileServerCreateParameters = original.FileServerCreateParameters
type FileServerListResult = original.FileServerListResult
type FileServerListResultIterator = original.FileServerListResultIterator
type FileServerListResultPage = original.FileServerListResultPage
type FileServerProperties = original.FileServerProperties
type FileServerReference = original.FileServerReference
type FileServersCreateFuture = original.FileServersCreateFuture
type FileServersDeleteFuture = original.FileServersDeleteFuture
type ImageReference = original.ImageReference
type ImageSourceRegistry = original.ImageSourceRegistry
type InputDirectory = original.InputDirectory
type Job = original.Job
type JobBaseProperties = original.JobBaseProperties
type JobBasePropertiesConstraints = original.JobBasePropertiesConstraints
type JobCreateParameters = original.JobCreateParameters
type JobListResult = original.JobListResult
type JobListResultIterator = original.JobListResultIterator
type JobListResultPage = original.JobListResultPage
type JobPreparation = original.JobPreparation
type JobProperties = original.JobProperties
type JobPropertiesConstraints = original.JobPropertiesConstraints
type JobPropertiesExecutionInfo = original.JobPropertiesExecutionInfo
type JobsCreateFuture = original.JobsCreateFuture
type JobsDeleteFuture = original.JobsDeleteFuture
type JobsTerminateFuture = original.JobsTerminateFuture
type KeyVaultKeyReference = original.KeyVaultKeyReference
type KeyVaultSecretReference = original.KeyVaultSecretReference
type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type LocalDataVolume = original.LocalDataVolume
type ManualScaleSettings = original.ManualScaleSettings
type MountSettings = original.MountSettings
type MountVolumes = original.MountVolumes
type NameValuePair = original.NameValuePair
type NodeSetup = original.NodeSetup
type NodeStateCounts = original.NodeStateCounts
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OutputDirectory = original.OutputDirectory
type PerformanceCountersSettings = original.PerformanceCountersSettings
type PrivateRegistryCredentials = original.PrivateRegistryCredentials
type PyTorchSettings = original.PyTorchSettings
type RemoteLoginInformation = original.RemoteLoginInformation
type RemoteLoginInformationListResult = original.RemoteLoginInformationListResult
type RemoteLoginInformationListResultIterator = original.RemoteLoginInformationListResultIterator
type RemoteLoginInformationListResultPage = original.RemoteLoginInformationListResultPage
type Resource = original.Resource
type ResourceID = original.ResourceID
type ScaleSettings = original.ScaleSettings
type SetupTask = original.SetupTask
type SSHConfiguration = original.SSHConfiguration
type TensorFlowSettings = original.TensorFlowSettings
type UnmanagedFileSystemReference = original.UnmanagedFileSystemReference
type Usage = original.Usage
type UsageName = original.UsageName
type UserAccountSettings = original.UserAccountSettings
type VirtualMachineConfiguration = original.VirtualMachineConfiguration
type OperationsClient = original.OperationsClient
type UsageClient = original.UsageClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewClustersClient(subscriptionID string) ClustersClient {
return original.NewClustersClient(subscriptionID)
}
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient {
return original.NewClustersClientWithBaseURI(baseURI, subscriptionID)
}
func NewFileServersClient(subscriptionID string) FileServersClient {
return original.NewFileServersClient(subscriptionID)
}
func NewFileServersClientWithBaseURI(baseURI string, subscriptionID string) FileServersClient {
return original.NewFileServersClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobsClient(subscriptionID string) JobsClient {
return original.NewJobsClient(subscriptionID)
}
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return original.NewJobsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAllocationStateValues() []AllocationState {
return original.PossibleAllocationStateValues()
}
func PossibleCachingTypeValues() []CachingType {
return original.PossibleCachingTypeValues()
}
func PossibleDeallocationOptionValues() []DeallocationOption {
return original.PossibleDeallocationOptionValues()
}
func PossibleExecutionStateValues() []ExecutionState {
return original.PossibleExecutionStateValues()
}
func PossibleFileServerProvisioningStateValues() []FileServerProvisioningState {
return original.PossibleFileServerProvisioningStateValues()
}
func PossibleFileServerTypeValues() []FileServerType {
return original.PossibleFileServerTypeValues()
}
func PossibleOutputTypeValues() []OutputType {
return original.PossibleOutputTypeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleStorageAccountTypeValues() []StorageAccountType {
return original.PossibleStorageAccountTypeValues()
}
func PossibleToolTypeValues() []ToolType {
return original.PossibleToolTypeValues()
}
func PossibleVMPriorityValues() []VMPriority {
return original.PossibleVMPriorityValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}