1package batchai
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// AllocationState enumerates the values for allocation state.
10type AllocationState string
11
12const (
13	// Resizing ...
14	Resizing AllocationState = "resizing"
15	// Steady ...
16	Steady AllocationState = "steady"
17)
18
19// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type.
20func PossibleAllocationStateValues() []AllocationState {
21	return []AllocationState{Resizing, Steady}
22}
23
24// CachingType enumerates the values for caching type.
25type CachingType string
26
27const (
28	// None ...
29	None CachingType = "none"
30	// Readonly ...
31	Readonly CachingType = "readonly"
32	// Readwrite ...
33	Readwrite CachingType = "readwrite"
34)
35
36// PossibleCachingTypeValues returns an array of possible values for the CachingType const type.
37func PossibleCachingTypeValues() []CachingType {
38	return []CachingType{None, Readonly, Readwrite}
39}
40
41// DeallocationOption enumerates the values for deallocation option.
42type DeallocationOption string
43
44const (
45	// Requeue ...
46	Requeue DeallocationOption = "requeue"
47	// Terminate ...
48	Terminate DeallocationOption = "terminate"
49	// Waitforjobcompletion ...
50	Waitforjobcompletion DeallocationOption = "waitforjobcompletion"
51)
52
53// PossibleDeallocationOptionValues returns an array of possible values for the DeallocationOption const type.
54func PossibleDeallocationOptionValues() []DeallocationOption {
55	return []DeallocationOption{Requeue, Terminate, Waitforjobcompletion}
56}
57
58// ExecutionState enumerates the values for execution state.
59type ExecutionState string
60
61const (
62	// Failed ...
63	Failed ExecutionState = "failed"
64	// Queued ...
65	Queued ExecutionState = "queued"
66	// Running ...
67	Running ExecutionState = "running"
68	// Succeeded ...
69	Succeeded ExecutionState = "succeeded"
70	// Terminating ...
71	Terminating ExecutionState = "terminating"
72)
73
74// PossibleExecutionStateValues returns an array of possible values for the ExecutionState const type.
75func PossibleExecutionStateValues() []ExecutionState {
76	return []ExecutionState{Failed, Queued, Running, Succeeded, Terminating}
77}
78
79// FileServerProvisioningState enumerates the values for file server provisioning state.
80type FileServerProvisioningState string
81
82const (
83	// FileServerProvisioningStateCreating ...
84	FileServerProvisioningStateCreating FileServerProvisioningState = "creating"
85	// FileServerProvisioningStateDeleting ...
86	FileServerProvisioningStateDeleting FileServerProvisioningState = "deleting"
87	// FileServerProvisioningStateFailed ...
88	FileServerProvisioningStateFailed FileServerProvisioningState = "failed"
89	// FileServerProvisioningStateSucceeded ...
90	FileServerProvisioningStateSucceeded FileServerProvisioningState = "succeeded"
91	// FileServerProvisioningStateUpdating ...
92	FileServerProvisioningStateUpdating FileServerProvisioningState = "updating"
93)
94
95// PossibleFileServerProvisioningStateValues returns an array of possible values for the FileServerProvisioningState const type.
96func PossibleFileServerProvisioningStateValues() []FileServerProvisioningState {
97	return []FileServerProvisioningState{FileServerProvisioningStateCreating, FileServerProvisioningStateDeleting, FileServerProvisioningStateFailed, FileServerProvisioningStateSucceeded, FileServerProvisioningStateUpdating}
98}
99
100// FileType enumerates the values for file type.
101type FileType string
102
103const (
104	// FileTypeDirectory ...
105	FileTypeDirectory FileType = "directory"
106	// FileTypeFile ...
107	FileTypeFile FileType = "file"
108)
109
110// PossibleFileTypeValues returns an array of possible values for the FileType const type.
111func PossibleFileTypeValues() []FileType {
112	return []FileType{FileTypeDirectory, FileTypeFile}
113}
114
115// JobPriority enumerates the values for job priority.
116type JobPriority string
117
118const (
119	// High ...
120	High JobPriority = "high"
121	// Low ...
122	Low JobPriority = "low"
123	// Normal ...
124	Normal JobPriority = "normal"
125)
126
127// PossibleJobPriorityValues returns an array of possible values for the JobPriority const type.
128func PossibleJobPriorityValues() []JobPriority {
129	return []JobPriority{High, Low, Normal}
130}
131
132// ProvisioningState enumerates the values for provisioning state.
133type ProvisioningState string
134
135const (
136	// ProvisioningStateCreating ...
137	ProvisioningStateCreating ProvisioningState = "creating"
138	// ProvisioningStateDeleting ...
139	ProvisioningStateDeleting ProvisioningState = "deleting"
140	// ProvisioningStateFailed ...
141	ProvisioningStateFailed ProvisioningState = "failed"
142	// ProvisioningStateSucceeded ...
143	ProvisioningStateSucceeded ProvisioningState = "succeeded"
144)
145
146// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
147func PossibleProvisioningStateValues() []ProvisioningState {
148	return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded}
149}
150
151// StorageAccountType enumerates the values for storage account type.
152type StorageAccountType string
153
154const (
155	// PremiumLRS ...
156	PremiumLRS StorageAccountType = "Premium_LRS"
157	// StandardLRS ...
158	StandardLRS StorageAccountType = "Standard_LRS"
159)
160
161// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
162func PossibleStorageAccountTypeValues() []StorageAccountType {
163	return []StorageAccountType{PremiumLRS, StandardLRS}
164}
165
166// ToolType enumerates the values for tool type.
167type ToolType string
168
169const (
170	// Caffe ...
171	Caffe ToolType = "caffe"
172	// Caffe2 ...
173	Caffe2 ToolType = "caffe2"
174	// Chainer ...
175	Chainer ToolType = "chainer"
176	// Cntk ...
177	Cntk ToolType = "cntk"
178	// Custom ...
179	Custom ToolType = "custom"
180	// Custommpi ...
181	Custommpi ToolType = "custommpi"
182	// Horovod ...
183	Horovod ToolType = "horovod"
184	// Tensorflow ...
185	Tensorflow ToolType = "tensorflow"
186)
187
188// PossibleToolTypeValues returns an array of possible values for the ToolType const type.
189func PossibleToolTypeValues() []ToolType {
190	return []ToolType{Caffe, Caffe2, Chainer, Cntk, Custom, Custommpi, Horovod, Tensorflow}
191}
192
193// UsageUnit enumerates the values for usage unit.
194type UsageUnit string
195
196const (
197	// Count ...
198	Count UsageUnit = "Count"
199)
200
201// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
202func PossibleUsageUnitValues() []UsageUnit {
203	return []UsageUnit{Count}
204}
205
206// VMPriority enumerates the values for vm priority.
207type VMPriority string
208
209const (
210	// Dedicated ...
211	Dedicated VMPriority = "dedicated"
212	// Lowpriority ...
213	Lowpriority VMPriority = "lowpriority"
214)
215
216// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type.
217func PossibleVMPriorityValues() []VMPriority {
218	return []VMPriority{Dedicated, Lowpriority}
219}
220