1package batch
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// AccountKeyType enumerates the values for account key type.
21type AccountKeyType string
22
23const (
24	// Primary ...
25	Primary AccountKeyType = "Primary"
26	// Secondary ...
27	Secondary AccountKeyType = "Secondary"
28)
29
30// PossibleAccountKeyTypeValues returns an array of possible values for the AccountKeyType const type.
31func PossibleAccountKeyTypeValues() []AccountKeyType {
32	return []AccountKeyType{Primary, Secondary}
33}
34
35// AllocationState enumerates the values for allocation state.
36type AllocationState string
37
38const (
39	// Resizing ...
40	Resizing AllocationState = "Resizing"
41	// Steady ...
42	Steady AllocationState = "Steady"
43	// Stopping ...
44	Stopping AllocationState = "Stopping"
45)
46
47// PossibleAllocationStateValues returns an array of possible values for the AllocationState const type.
48func PossibleAllocationStateValues() []AllocationState {
49	return []AllocationState{Resizing, Steady, Stopping}
50}
51
52// AutoUserScope enumerates the values for auto user scope.
53type AutoUserScope string
54
55const (
56	// AutoUserScopePool ...
57	AutoUserScopePool AutoUserScope = "Pool"
58	// AutoUserScopeTask ...
59	AutoUserScopeTask AutoUserScope = "Task"
60)
61
62// PossibleAutoUserScopeValues returns an array of possible values for the AutoUserScope const type.
63func PossibleAutoUserScopeValues() []AutoUserScope {
64	return []AutoUserScope{AutoUserScopePool, AutoUserScopeTask}
65}
66
67// CachingType enumerates the values for caching type.
68type CachingType string
69
70const (
71	// None ...
72	None CachingType = "None"
73	// ReadOnly ...
74	ReadOnly CachingType = "ReadOnly"
75	// ReadWrite ...
76	ReadWrite CachingType = "ReadWrite"
77)
78
79// PossibleCachingTypeValues returns an array of possible values for the CachingType const type.
80func PossibleCachingTypeValues() []CachingType {
81	return []CachingType{None, ReadOnly, ReadWrite}
82}
83
84// CertificateFormat enumerates the values for certificate format.
85type CertificateFormat string
86
87const (
88	// Cer ...
89	Cer CertificateFormat = "Cer"
90	// Pfx ...
91	Pfx CertificateFormat = "Pfx"
92)
93
94// PossibleCertificateFormatValues returns an array of possible values for the CertificateFormat const type.
95func PossibleCertificateFormatValues() []CertificateFormat {
96	return []CertificateFormat{Cer, Pfx}
97}
98
99// CertificateProvisioningState enumerates the values for certificate provisioning state.
100type CertificateProvisioningState string
101
102const (
103	// Deleting ...
104	Deleting CertificateProvisioningState = "Deleting"
105	// Failed ...
106	Failed CertificateProvisioningState = "Failed"
107	// Succeeded ...
108	Succeeded CertificateProvisioningState = "Succeeded"
109)
110
111// PossibleCertificateProvisioningStateValues returns an array of possible values for the CertificateProvisioningState const type.
112func PossibleCertificateProvisioningStateValues() []CertificateProvisioningState {
113	return []CertificateProvisioningState{Deleting, Failed, Succeeded}
114}
115
116// CertificateStoreLocation enumerates the values for certificate store location.
117type CertificateStoreLocation string
118
119const (
120	// CurrentUser ...
121	CurrentUser CertificateStoreLocation = "CurrentUser"
122	// LocalMachine ...
123	LocalMachine CertificateStoreLocation = "LocalMachine"
124)
125
126// PossibleCertificateStoreLocationValues returns an array of possible values for the CertificateStoreLocation const type.
127func PossibleCertificateStoreLocationValues() []CertificateStoreLocation {
128	return []CertificateStoreLocation{CurrentUser, LocalMachine}
129}
130
131// CertificateVisibility enumerates the values for certificate visibility.
132type CertificateVisibility string
133
134const (
135	// CertificateVisibilityRemoteUser ...
136	CertificateVisibilityRemoteUser CertificateVisibility = "RemoteUser"
137	// CertificateVisibilityStartTask ...
138	CertificateVisibilityStartTask CertificateVisibility = "StartTask"
139	// CertificateVisibilityTask ...
140	CertificateVisibilityTask CertificateVisibility = "Task"
141)
142
143// PossibleCertificateVisibilityValues returns an array of possible values for the CertificateVisibility const type.
144func PossibleCertificateVisibilityValues() []CertificateVisibility {
145	return []CertificateVisibility{CertificateVisibilityRemoteUser, CertificateVisibilityStartTask, CertificateVisibilityTask}
146}
147
148// ComputeNodeDeallocationOption enumerates the values for compute node deallocation option.
149type ComputeNodeDeallocationOption string
150
151const (
152	// Requeue ...
153	Requeue ComputeNodeDeallocationOption = "Requeue"
154	// RetainedData ...
155	RetainedData ComputeNodeDeallocationOption = "RetainedData"
156	// TaskCompletion ...
157	TaskCompletion ComputeNodeDeallocationOption = "TaskCompletion"
158	// Terminate ...
159	Terminate ComputeNodeDeallocationOption = "Terminate"
160)
161
162// PossibleComputeNodeDeallocationOptionValues returns an array of possible values for the ComputeNodeDeallocationOption const type.
163func PossibleComputeNodeDeallocationOptionValues() []ComputeNodeDeallocationOption {
164	return []ComputeNodeDeallocationOption{Requeue, RetainedData, TaskCompletion, Terminate}
165}
166
167// ComputeNodeFillType enumerates the values for compute node fill type.
168type ComputeNodeFillType string
169
170const (
171	// Pack ...
172	Pack ComputeNodeFillType = "Pack"
173	// Spread ...
174	Spread ComputeNodeFillType = "Spread"
175)
176
177// PossibleComputeNodeFillTypeValues returns an array of possible values for the ComputeNodeFillType const type.
178func PossibleComputeNodeFillTypeValues() []ComputeNodeFillType {
179	return []ComputeNodeFillType{Pack, Spread}
180}
181
182// ElevationLevel enumerates the values for elevation level.
183type ElevationLevel string
184
185const (
186	// Admin ...
187	Admin ElevationLevel = "Admin"
188	// NonAdmin ...
189	NonAdmin ElevationLevel = "NonAdmin"
190)
191
192// PossibleElevationLevelValues returns an array of possible values for the ElevationLevel const type.
193func PossibleElevationLevelValues() []ElevationLevel {
194	return []ElevationLevel{Admin, NonAdmin}
195}
196
197// InboundEndpointProtocol enumerates the values for inbound endpoint protocol.
198type InboundEndpointProtocol string
199
200const (
201	// TCP ...
202	TCP InboundEndpointProtocol = "TCP"
203	// UDP ...
204	UDP InboundEndpointProtocol = "UDP"
205)
206
207// PossibleInboundEndpointProtocolValues returns an array of possible values for the InboundEndpointProtocol const type.
208func PossibleInboundEndpointProtocolValues() []InboundEndpointProtocol {
209	return []InboundEndpointProtocol{TCP, UDP}
210}
211
212// InterNodeCommunicationState enumerates the values for inter node communication state.
213type InterNodeCommunicationState string
214
215const (
216	// Disabled ...
217	Disabled InterNodeCommunicationState = "Disabled"
218	// Enabled ...
219	Enabled InterNodeCommunicationState = "Enabled"
220)
221
222// PossibleInterNodeCommunicationStateValues returns an array of possible values for the InterNodeCommunicationState const type.
223func PossibleInterNodeCommunicationStateValues() []InterNodeCommunicationState {
224	return []InterNodeCommunicationState{Disabled, Enabled}
225}
226
227// NameAvailabilityReason enumerates the values for name availability reason.
228type NameAvailabilityReason string
229
230const (
231	// AlreadyExists ...
232	AlreadyExists NameAvailabilityReason = "AlreadyExists"
233	// Invalid ...
234	Invalid NameAvailabilityReason = "Invalid"
235)
236
237// PossibleNameAvailabilityReasonValues returns an array of possible values for the NameAvailabilityReason const type.
238func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason {
239	return []NameAvailabilityReason{AlreadyExists, Invalid}
240}
241
242// NetworkSecurityGroupRuleAccess enumerates the values for network security group rule access.
243type NetworkSecurityGroupRuleAccess string
244
245const (
246	// Allow ...
247	Allow NetworkSecurityGroupRuleAccess = "Allow"
248	// Deny ...
249	Deny NetworkSecurityGroupRuleAccess = "Deny"
250)
251
252// PossibleNetworkSecurityGroupRuleAccessValues returns an array of possible values for the NetworkSecurityGroupRuleAccess const type.
253func PossibleNetworkSecurityGroupRuleAccessValues() []NetworkSecurityGroupRuleAccess {
254	return []NetworkSecurityGroupRuleAccess{Allow, Deny}
255}
256
257// PackageState enumerates the values for package state.
258type PackageState string
259
260const (
261	// Active ...
262	Active PackageState = "Active"
263	// Pending ...
264	Pending PackageState = "Pending"
265	// Unmapped ...
266	Unmapped PackageState = "Unmapped"
267)
268
269// PossiblePackageStateValues returns an array of possible values for the PackageState const type.
270func PossiblePackageStateValues() []PackageState {
271	return []PackageState{Active, Pending, Unmapped}
272}
273
274// PoolAllocationMode enumerates the values for pool allocation mode.
275type PoolAllocationMode string
276
277const (
278	// BatchService ...
279	BatchService PoolAllocationMode = "BatchService"
280	// UserSubscription ...
281	UserSubscription PoolAllocationMode = "UserSubscription"
282)
283
284// PossiblePoolAllocationModeValues returns an array of possible values for the PoolAllocationMode const type.
285func PossiblePoolAllocationModeValues() []PoolAllocationMode {
286	return []PoolAllocationMode{BatchService, UserSubscription}
287}
288
289// PoolProvisioningState enumerates the values for pool provisioning state.
290type PoolProvisioningState string
291
292const (
293	// PoolProvisioningStateDeleting ...
294	PoolProvisioningStateDeleting PoolProvisioningState = "Deleting"
295	// PoolProvisioningStateSucceeded ...
296	PoolProvisioningStateSucceeded PoolProvisioningState = "Succeeded"
297)
298
299// PossiblePoolProvisioningStateValues returns an array of possible values for the PoolProvisioningState const type.
300func PossiblePoolProvisioningStateValues() []PoolProvisioningState {
301	return []PoolProvisioningState{PoolProvisioningStateDeleting, PoolProvisioningStateSucceeded}
302}
303
304// ProvisioningState enumerates the values for provisioning state.
305type ProvisioningState string
306
307const (
308	// ProvisioningStateCancelled ...
309	ProvisioningStateCancelled ProvisioningState = "Cancelled"
310	// ProvisioningStateCreating ...
311	ProvisioningStateCreating ProvisioningState = "Creating"
312	// ProvisioningStateDeleting ...
313	ProvisioningStateDeleting ProvisioningState = "Deleting"
314	// ProvisioningStateFailed ...
315	ProvisioningStateFailed ProvisioningState = "Failed"
316	// ProvisioningStateInvalid ...
317	ProvisioningStateInvalid ProvisioningState = "Invalid"
318	// ProvisioningStateSucceeded ...
319	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
320)
321
322// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
323func PossibleProvisioningStateValues() []ProvisioningState {
324	return []ProvisioningState{ProvisioningStateCancelled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateInvalid, ProvisioningStateSucceeded}
325}
326
327// StorageAccountType enumerates the values for storage account type.
328type StorageAccountType string
329
330const (
331	// PremiumLRS ...
332	PremiumLRS StorageAccountType = "Premium_LRS"
333	// StandardLRS ...
334	StandardLRS StorageAccountType = "Standard_LRS"
335)
336
337// PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.
338func PossibleStorageAccountTypeValues() []StorageAccountType {
339	return []StorageAccountType{PremiumLRS, StandardLRS}
340}
341