1package machinelearningservices
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// ComputeType enumerates the values for compute type.
25type ComputeType string
26
27const (
28	// ComputeTypeAKS ...
29	ComputeTypeAKS ComputeType = "AKS"
30	// ComputeTypeAmlCompute ...
31	ComputeTypeAmlCompute ComputeType = "AmlCompute"
32	// ComputeTypeDatabricks ...
33	ComputeTypeDatabricks ComputeType = "Databricks"
34	// ComputeTypeDataFactory ...
35	ComputeTypeDataFactory ComputeType = "DataFactory"
36	// ComputeTypeDataLakeAnalytics ...
37	ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics"
38	// ComputeTypeHDInsight ...
39	ComputeTypeHDInsight ComputeType = "HDInsight"
40	// ComputeTypeVirtualMachine ...
41	ComputeTypeVirtualMachine ComputeType = "VirtualMachine"
42)
43
44// PossibleComputeTypeValues returns an array of possible values for the ComputeType const type.
45func PossibleComputeTypeValues() []ComputeType {
46	return []ComputeType{ComputeTypeAKS, ComputeTypeAmlCompute, ComputeTypeDatabricks, ComputeTypeDataFactory, ComputeTypeDataLakeAnalytics, ComputeTypeHDInsight, ComputeTypeVirtualMachine}
47}
48
49// ComputeTypeBasicCompute enumerates the values for compute type basic compute.
50type ComputeTypeBasicCompute string
51
52const (
53	// ComputeTypeAKS1 ...
54	ComputeTypeAKS1 ComputeTypeBasicCompute = "AKS"
55	// ComputeTypeAmlCompute1 ...
56	ComputeTypeAmlCompute1 ComputeTypeBasicCompute = "AmlCompute"
57	// ComputeTypeCompute ...
58	ComputeTypeCompute ComputeTypeBasicCompute = "Compute"
59	// ComputeTypeDatabricks1 ...
60	ComputeTypeDatabricks1 ComputeTypeBasicCompute = "Databricks"
61	// ComputeTypeDataFactory1 ...
62	ComputeTypeDataFactory1 ComputeTypeBasicCompute = "DataFactory"
63	// ComputeTypeDataLakeAnalytics1 ...
64	ComputeTypeDataLakeAnalytics1 ComputeTypeBasicCompute = "DataLakeAnalytics"
65	// ComputeTypeHDInsight1 ...
66	ComputeTypeHDInsight1 ComputeTypeBasicCompute = "HDInsight"
67	// ComputeTypeVirtualMachine1 ...
68	ComputeTypeVirtualMachine1 ComputeTypeBasicCompute = "VirtualMachine"
69)
70
71// PossibleComputeTypeBasicComputeValues returns an array of possible values for the ComputeTypeBasicCompute const type.
72func PossibleComputeTypeBasicComputeValues() []ComputeTypeBasicCompute {
73	return []ComputeTypeBasicCompute{ComputeTypeAKS1, ComputeTypeAmlCompute1, ComputeTypeCompute, ComputeTypeDatabricks1, ComputeTypeDataFactory1, ComputeTypeDataLakeAnalytics1, ComputeTypeHDInsight1, ComputeTypeVirtualMachine1}
74}
75
76// ComputeTypeBasicComputeNodesInformation enumerates the values for compute type basic compute nodes
77// information.
78type ComputeTypeBasicComputeNodesInformation string
79
80const (
81	// ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ...
82	ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute ComputeTypeBasicComputeNodesInformation = "AmlCompute"
83	// ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ...
84	ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation ComputeTypeBasicComputeNodesInformation = "ComputeNodesInformation"
85)
86
87// PossibleComputeTypeBasicComputeNodesInformationValues returns an array of possible values for the ComputeTypeBasicComputeNodesInformation const type.
88func PossibleComputeTypeBasicComputeNodesInformationValues() []ComputeTypeBasicComputeNodesInformation {
89	return []ComputeTypeBasicComputeNodesInformation{ComputeTypeBasicComputeNodesInformationComputeTypeAmlCompute, ComputeTypeBasicComputeNodesInformationComputeTypeComputeNodesInformation}
90}
91
92// ComputeTypeBasicComputeSecrets enumerates the values for compute type basic compute secrets.
93type ComputeTypeBasicComputeSecrets string
94
95const (
96	// ComputeTypeBasicComputeSecretsComputeTypeAKS ...
97	ComputeTypeBasicComputeSecretsComputeTypeAKS ComputeTypeBasicComputeSecrets = "AKS"
98	// ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ...
99	ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets ComputeTypeBasicComputeSecrets = "ComputeSecrets"
100	// ComputeTypeBasicComputeSecretsComputeTypeDatabricks ...
101	ComputeTypeBasicComputeSecretsComputeTypeDatabricks ComputeTypeBasicComputeSecrets = "Databricks"
102	// ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ...
103	ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine ComputeTypeBasicComputeSecrets = "VirtualMachine"
104)
105
106// PossibleComputeTypeBasicComputeSecretsValues returns an array of possible values for the ComputeTypeBasicComputeSecrets const type.
107func PossibleComputeTypeBasicComputeSecretsValues() []ComputeTypeBasicComputeSecrets {
108	return []ComputeTypeBasicComputeSecrets{ComputeTypeBasicComputeSecretsComputeTypeAKS, ComputeTypeBasicComputeSecretsComputeTypeComputeSecrets, ComputeTypeBasicComputeSecretsComputeTypeDatabricks, ComputeTypeBasicComputeSecretsComputeTypeVirtualMachine}
109}
110
111// EncryptionStatus enumerates the values for encryption status.
112type EncryptionStatus string
113
114const (
115	// Disabled ...
116	Disabled EncryptionStatus = "Disabled"
117	// Enabled ...
118	Enabled EncryptionStatus = "Enabled"
119)
120
121// PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type.
122func PossibleEncryptionStatusValues() []EncryptionStatus {
123	return []EncryptionStatus{Disabled, Enabled}
124}
125
126// NodeState enumerates the values for node state.
127type NodeState string
128
129const (
130	// Idle ...
131	Idle NodeState = "idle"
132	// Leaving ...
133	Leaving NodeState = "leaving"
134	// Preempted ...
135	Preempted NodeState = "preempted"
136	// Preparing ...
137	Preparing NodeState = "preparing"
138	// Running ...
139	Running NodeState = "running"
140	// Unusable ...
141	Unusable NodeState = "unusable"
142)
143
144// PossibleNodeStateValues returns an array of possible values for the NodeState const type.
145func PossibleNodeStateValues() []NodeState {
146	return []NodeState{Idle, Leaving, Preempted, Preparing, Running, Unusable}
147}
148
149// PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection
150// provisioning state.
151type PrivateEndpointConnectionProvisioningState string
152
153const (
154	// Creating ...
155	Creating PrivateEndpointConnectionProvisioningState = "Creating"
156	// Deleting ...
157	Deleting PrivateEndpointConnectionProvisioningState = "Deleting"
158	// Failed ...
159	Failed PrivateEndpointConnectionProvisioningState = "Failed"
160	// Succeeded ...
161	Succeeded PrivateEndpointConnectionProvisioningState = "Succeeded"
162)
163
164// PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.
165func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState {
166	return []PrivateEndpointConnectionProvisioningState{Creating, Deleting, Failed, Succeeded}
167}
168
169// PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.
170type PrivateEndpointServiceConnectionStatus string
171
172const (
173	// Approved ...
174	Approved PrivateEndpointServiceConnectionStatus = "Approved"
175	// Disconnected ...
176	Disconnected PrivateEndpointServiceConnectionStatus = "Disconnected"
177	// Pending ...
178	Pending PrivateEndpointServiceConnectionStatus = "Pending"
179	// Rejected ...
180	Rejected PrivateEndpointServiceConnectionStatus = "Rejected"
181	// Timeout ...
182	Timeout PrivateEndpointServiceConnectionStatus = "Timeout"
183)
184
185// PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.
186func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus {
187	return []PrivateEndpointServiceConnectionStatus{Approved, Disconnected, Pending, Rejected, Timeout}
188}
189
190// ProvisioningState enumerates the values for provisioning state.
191type ProvisioningState string
192
193const (
194	// ProvisioningStateCanceled ...
195	ProvisioningStateCanceled ProvisioningState = "Canceled"
196	// ProvisioningStateCreating ...
197	ProvisioningStateCreating ProvisioningState = "Creating"
198	// ProvisioningStateDeleting ...
199	ProvisioningStateDeleting ProvisioningState = "Deleting"
200	// ProvisioningStateFailed ...
201	ProvisioningStateFailed ProvisioningState = "Failed"
202	// ProvisioningStateSucceeded ...
203	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
204	// ProvisioningStateUnknown ...
205	ProvisioningStateUnknown ProvisioningState = "Unknown"
206	// ProvisioningStateUpdating ...
207	ProvisioningStateUpdating ProvisioningState = "Updating"
208)
209
210// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
211func PossibleProvisioningStateValues() []ProvisioningState {
212	return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUnknown, ProvisioningStateUpdating}
213}
214
215// QuotaUnit enumerates the values for quota unit.
216type QuotaUnit string
217
218const (
219	// Count ...
220	Count QuotaUnit = "Count"
221)
222
223// PossibleQuotaUnitValues returns an array of possible values for the QuotaUnit const type.
224func PossibleQuotaUnitValues() []QuotaUnit {
225	return []QuotaUnit{Count}
226}
227
228// ReasonCode enumerates the values for reason code.
229type ReasonCode string
230
231const (
232	// NotAvailableForRegion ...
233	NotAvailableForRegion ReasonCode = "NotAvailableForRegion"
234	// NotAvailableForSubscription ...
235	NotAvailableForSubscription ReasonCode = "NotAvailableForSubscription"
236	// NotSpecified ...
237	NotSpecified ReasonCode = "NotSpecified"
238)
239
240// PossibleReasonCodeValues returns an array of possible values for the ReasonCode const type.
241func PossibleReasonCodeValues() []ReasonCode {
242	return []ReasonCode{NotAvailableForRegion, NotAvailableForSubscription, NotSpecified}
243}
244
245// RemoteLoginPortPublicAccess enumerates the values for remote login port public access.
246type RemoteLoginPortPublicAccess string
247
248const (
249	// RemoteLoginPortPublicAccessDisabled ...
250	RemoteLoginPortPublicAccessDisabled RemoteLoginPortPublicAccess = "Disabled"
251	// RemoteLoginPortPublicAccessEnabled ...
252	RemoteLoginPortPublicAccessEnabled RemoteLoginPortPublicAccess = "Enabled"
253	// RemoteLoginPortPublicAccessNotSpecified ...
254	RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified"
255)
256
257// PossibleRemoteLoginPortPublicAccessValues returns an array of possible values for the RemoteLoginPortPublicAccess const type.
258func PossibleRemoteLoginPortPublicAccessValues() []RemoteLoginPortPublicAccess {
259	return []RemoteLoginPortPublicAccess{RemoteLoginPortPublicAccessDisabled, RemoteLoginPortPublicAccessEnabled, RemoteLoginPortPublicAccessNotSpecified}
260}
261
262// ResourceIdentityType enumerates the values for resource identity type.
263type ResourceIdentityType string
264
265const (
266	// SystemAssigned ...
267	SystemAssigned ResourceIdentityType = "SystemAssigned"
268)
269
270// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
271func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
272	return []ResourceIdentityType{SystemAssigned}
273}
274
275// Status enumerates the values for status.
276type Status string
277
278const (
279	// Failure ...
280	Failure Status = "Failure"
281	// InvalidQuotaBelowClusterMinimum ...
282	InvalidQuotaBelowClusterMinimum Status = "InvalidQuotaBelowClusterMinimum"
283	// InvalidQuotaExceedsSubscriptionLimit ...
284	InvalidQuotaExceedsSubscriptionLimit Status = "InvalidQuotaExceedsSubscriptionLimit"
285	// InvalidVMFamilyName ...
286	InvalidVMFamilyName Status = "InvalidVMFamilyName"
287	// OperationNotEnabledForRegion ...
288	OperationNotEnabledForRegion Status = "OperationNotEnabledForRegion"
289	// OperationNotSupportedForSku ...
290	OperationNotSupportedForSku Status = "OperationNotSupportedForSku"
291	// Success ...
292	Success Status = "Success"
293	// Undefined ...
294	Undefined Status = "Undefined"
295)
296
297// PossibleStatusValues returns an array of possible values for the Status const type.
298func PossibleStatusValues() []Status {
299	return []Status{Failure, InvalidQuotaBelowClusterMinimum, InvalidQuotaExceedsSubscriptionLimit, InvalidVMFamilyName, OperationNotEnabledForRegion, OperationNotSupportedForSku, Success, Undefined}
300}
301
302// Status1 enumerates the values for status 1.
303type Status1 string
304
305const (
306	// Status1Disabled ...
307	Status1Disabled Status1 = "Disabled"
308	// Status1Enabled ...
309	Status1Enabled Status1 = "Enabled"
310)
311
312// PossibleStatus1Values returns an array of possible values for the Status1 const type.
313func PossibleStatus1Values() []Status1 {
314	return []Status1{Status1Disabled, Status1Enabled}
315}
316
317// UnderlyingResourceAction enumerates the values for underlying resource action.
318type UnderlyingResourceAction string
319
320const (
321	// Delete ...
322	Delete UnderlyingResourceAction = "Delete"
323	// Detach ...
324	Detach UnderlyingResourceAction = "Detach"
325)
326
327// PossibleUnderlyingResourceActionValues returns an array of possible values for the UnderlyingResourceAction const type.
328func PossibleUnderlyingResourceActionValues() []UnderlyingResourceAction {
329	return []UnderlyingResourceAction{Delete, Detach}
330}
331
332// UsageUnit enumerates the values for usage unit.
333type UsageUnit string
334
335const (
336	// UsageUnitCount ...
337	UsageUnitCount UsageUnit = "Count"
338)
339
340// PossibleUsageUnitValues returns an array of possible values for the UsageUnit const type.
341func PossibleUsageUnitValues() []UsageUnit {
342	return []UsageUnit{UsageUnitCount}
343}
344
345// VMPriority enumerates the values for vm priority.
346type VMPriority string
347
348const (
349	// Dedicated ...
350	Dedicated VMPriority = "Dedicated"
351	// LowPriority ...
352	LowPriority VMPriority = "LowPriority"
353)
354
355// PossibleVMPriorityValues returns an array of possible values for the VMPriority const type.
356func PossibleVMPriorityValues() []VMPriority {
357	return []VMPriority{Dedicated, LowPriority}
358}
359