1package batchai
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// AllocationState enumerates the values for allocation state.
21type AllocationState string
22
23const (
24	// Resizing ...
25	Resizing AllocationState = "resizing"
26	// Steady ...
27	Steady AllocationState = "steady"
28)
29
30// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type.
31func PossibleAllocationStateValues() []AllocationState {
32	return []AllocationState{Resizing, Steady}
33}
34
35// CachingType enumerates the values for caching type.
36type CachingType string
37
38const (
39	// None ...
40	None CachingType = "none"
41	// Readonly ...
42	Readonly CachingType = "readonly"
43	// Readwrite ...
44	Readwrite CachingType = "readwrite"
45)
46
47// PossibleCachingTypeValues returns an array of possible values for the CachingType const type.
48func PossibleCachingTypeValues() []CachingType {
49	return []CachingType{None, Readonly, Readwrite}
50}
51
52// DeallocationOption enumerates the values for deallocation option.
53type DeallocationOption string
54
55const (
56	// Requeue ...
57	Requeue DeallocationOption = "requeue"
58	// Terminate ...
59	Terminate DeallocationOption = "terminate"
60	// Unknown ...
61	Unknown DeallocationOption = "unknown"
62	// Waitforjobcompletion ...
63	Waitforjobcompletion DeallocationOption = "waitforjobcompletion"
64)
65
66// PossibleDeallocationOptionValues returns an array of possible values for the DeallocationOption const type.
67func PossibleDeallocationOptionValues() []DeallocationOption {
68	return []DeallocationOption{Requeue, Terminate, Unknown, Waitforjobcompletion}
69}
70
71// ExecutionState enumerates the values for execution state.
72type ExecutionState string
73
74const (
75	// Failed ...
76	Failed ExecutionState = "failed"
77	// Queued ...
78	Queued ExecutionState = "queued"
79	// Running ...
80	Running ExecutionState = "running"
81	// Succeeded ...
82	Succeeded ExecutionState = "succeeded"
83	// Terminating ...
84	Terminating ExecutionState = "terminating"
85)
86
87// PossibleExecutionStateValues returns an array of possible values for the ExecutionState const type.
88func PossibleExecutionStateValues() []ExecutionState {
89	return []ExecutionState{Failed, Queued, Running, Succeeded, Terminating}
90}
91
92// FileServerProvisioningState enumerates the values for file server provisioning state.
93type FileServerProvisioningState string
94
95const (
96	// FileServerProvisioningStateCreating ...
97	FileServerProvisioningStateCreating FileServerProvisioningState = "creating"
98	// FileServerProvisioningStateDeleting ...
99	FileServerProvisioningStateDeleting FileServerProvisioningState = "deleting"
100	// FileServerProvisioningStateFailed ...
101	FileServerProvisioningStateFailed FileServerProvisioningState = "failed"
102	// FileServerProvisioningStateSucceeded ...
103	FileServerProvisioningStateSucceeded FileServerProvisioningState = "succeeded"
104	// FileServerProvisioningStateUpdating ...
105	FileServerProvisioningStateUpdating FileServerProvisioningState = "updating"
106)
107
108// PossibleFileServerProvisioningStateValues returns an array of possible values for the FileServerProvisioningState const type.
109func PossibleFileServerProvisioningStateValues() []FileServerProvisioningState {
110	return []FileServerProvisioningState{FileServerProvisioningStateCreating, FileServerProvisioningStateDeleting, FileServerProvisioningStateFailed, FileServerProvisioningStateSucceeded, FileServerProvisioningStateUpdating}
111}
112
113// FileServerType enumerates the values for file server type.
114type FileServerType string
115
116const (
117	// Glusterfs ...
118	Glusterfs FileServerType = "glusterfs"
119	// Nfs ...
120	Nfs FileServerType = "nfs"
121)
122
123// PossibleFileServerTypeValues returns an array of possible values for the FileServerType const type.
124func PossibleFileServerTypeValues() []FileServerType {
125	return []FileServerType{Glusterfs, Nfs}
126}
127
128// OutputType enumerates the values for output type.
129type OutputType string
130
131const (
132	// Custom ...
133	Custom OutputType = "custom"
134	// Logs ...
135	Logs OutputType = "logs"
136	// Model ...
137	Model OutputType = "model"
138	// Summary ...
139	Summary OutputType = "summary"
140)
141
142// PossibleOutputTypeValues returns an array of possible values for the OutputType const type.
143func PossibleOutputTypeValues() []OutputType {
144	return []OutputType{Custom, Logs, Model, Summary}
145}
146
147// ProvisioningState enumerates the values for provisioning state.
148type ProvisioningState string
149
150const (
151	// ProvisioningStateCreating ...
152	ProvisioningStateCreating ProvisioningState = "creating"
153	// ProvisioningStateDeleting ...
154	ProvisioningStateDeleting ProvisioningState = "deleting"
155	// ProvisioningStateFailed ...
156	ProvisioningStateFailed ProvisioningState = "failed"
157	// ProvisioningStateSucceeded ...
158	ProvisioningStateSucceeded ProvisioningState = "succeeded"
159)
160
161// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
162func PossibleProvisioningStateValues() []ProvisioningState {
163	return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded}
164}
165
166// StorageAccountType enumerates the values for storage account type.
167type StorageAccountType string
168
169const (
170	// PremiumLRS ...
171	PremiumLRS StorageAccountType = "Premium_LRS"
172	// StandardLRS ...
173	StandardLRS StorageAccountType = "Standard_LRS"
174)
175
176// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
177func PossibleStorageAccountTypeValues() []StorageAccountType {
178	return []StorageAccountType{PremiumLRS, StandardLRS}
179}
180
181// ToolType enumerates the values for tool type.
182type ToolType string
183
184const (
185	// ToolTypeCaffe ...
186	ToolTypeCaffe ToolType = "caffe"
187	// ToolTypeCaffe2 ...
188	ToolTypeCaffe2 ToolType = "caffe2"
189	// ToolTypeChainer ...
190	ToolTypeChainer ToolType = "chainer"
191	// ToolTypeCntk ...
192	ToolTypeCntk ToolType = "cntk"
193	// ToolTypeCustom ...
194	ToolTypeCustom ToolType = "custom"
195	// ToolTypeTensorflow ...
196	ToolTypeTensorflow ToolType = "tensorflow"
197)
198
199// PossibleToolTypeValues returns an array of possible values for the ToolType const type.
200func PossibleToolTypeValues() []ToolType {
201	return []ToolType{ToolTypeCaffe, ToolTypeCaffe2, ToolTypeChainer, ToolTypeCntk, ToolTypeCustom, ToolTypeTensorflow}
202}
203
204// VMPriority enumerates the values for vm priority.
205type VMPriority string
206
207const (
208	// Dedicated ...
209	Dedicated VMPriority = "dedicated"
210	// Lowpriority ...
211	Lowpriority VMPriority = "lowpriority"
212)
213
214// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type.
215func PossibleVMPriorityValues() []VMPriority {
216	return []VMPriority{Dedicated, Lowpriority}
217}
218