1package databox
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// AccessProtocol enumerates the values for access protocol.
10type AccessProtocol string
11
12const (
13	// NFS Network File System protocol(NFS).
14	NFS AccessProtocol = "NFS"
15	// SMB Server Message Block protocol(SMB).
16	SMB AccessProtocol = "SMB"
17)
18
19// PossibleAccessProtocolValues returns an array of possible values for the AccessProtocol const type.
20func PossibleAccessProtocolValues() []AccessProtocol {
21	return []AccessProtocol{NFS, SMB}
22}
23
24// AddressType enumerates the values for address type.
25type AddressType string
26
27const (
28	// Commercial Commercial Address.
29	Commercial AddressType = "Commercial"
30	// None Address type not known.
31	None AddressType = "None"
32	// Residential Residential Address.
33	Residential AddressType = "Residential"
34)
35
36// PossibleAddressTypeValues returns an array of possible values for the AddressType const type.
37func PossibleAddressTypeValues() []AddressType {
38	return []AddressType{Commercial, None, Residential}
39}
40
41// AddressValidationStatus enumerates the values for address validation status.
42type AddressValidationStatus string
43
44const (
45	// Ambiguous Address provided is ambiguous, please choose one of the alternate addresses returned.
46	Ambiguous AddressValidationStatus = "Ambiguous"
47	// Invalid Address provided is invalid or not supported.
48	Invalid AddressValidationStatus = "Invalid"
49	// Valid Address provided is valid.
50	Valid AddressValidationStatus = "Valid"
51)
52
53// PossibleAddressValidationStatusValues returns an array of possible values for the AddressValidationStatus const type.
54func PossibleAddressValidationStatusValues() []AddressValidationStatus {
55	return []AddressValidationStatus{Ambiguous, Invalid, Valid}
56}
57
58// CopyLogDetailsType enumerates the values for copy log details type.
59type CopyLogDetailsType string
60
61const (
62	// CopyLogDetailsTypeCopyLogDetails ...
63	CopyLogDetailsTypeCopyLogDetails CopyLogDetailsType = "CopyLogDetails"
64	// CopyLogDetailsTypeDataBox ...
65	CopyLogDetailsTypeDataBox CopyLogDetailsType = "DataBox"
66	// CopyLogDetailsTypeDataBoxDisk ...
67	CopyLogDetailsTypeDataBoxDisk CopyLogDetailsType = "DataBoxDisk"
68	// CopyLogDetailsTypeDataBoxHeavy ...
69	CopyLogDetailsTypeDataBoxHeavy CopyLogDetailsType = "DataBoxHeavy"
70)
71
72// PossibleCopyLogDetailsTypeValues returns an array of possible values for the CopyLogDetailsType const type.
73func PossibleCopyLogDetailsTypeValues() []CopyLogDetailsType {
74	return []CopyLogDetailsType{CopyLogDetailsTypeCopyLogDetails, CopyLogDetailsTypeDataBox, CopyLogDetailsTypeDataBoxDisk, CopyLogDetailsTypeDataBoxHeavy}
75}
76
77// CopyStatus enumerates the values for copy status.
78type CopyStatus string
79
80const (
81	// Completed Data copy completed.
82	Completed CopyStatus = "Completed"
83	// CompletedWithErrors Data copy completed with errors.
84	CompletedWithErrors CopyStatus = "CompletedWithErrors"
85	// Failed Data copy failed. No data was copied.
86	Failed CopyStatus = "Failed"
87	// InProgress Data copy is in progress.
88	InProgress CopyStatus = "InProgress"
89	// NotReturned No copy triggered as device was not returned.
90	NotReturned CopyStatus = "NotReturned"
91	// NotStarted Data copy hasn't started yet.
92	NotStarted CopyStatus = "NotStarted"
93)
94
95// PossibleCopyStatusValues returns an array of possible values for the CopyStatus const type.
96func PossibleCopyStatusValues() []CopyStatus {
97	return []CopyStatus{Completed, CompletedWithErrors, Failed, InProgress, NotReturned, NotStarted}
98}
99
100// DataDestinationType enumerates the values for data destination type.
101type DataDestinationType string
102
103const (
104	// DataDestinationTypeDestinationAccountDetails ...
105	DataDestinationTypeDestinationAccountDetails DataDestinationType = "DestinationAccountDetails"
106	// DataDestinationTypeManagedDisk ...
107	DataDestinationTypeManagedDisk DataDestinationType = "ManagedDisk"
108	// DataDestinationTypeStorageAccount ...
109	DataDestinationTypeStorageAccount DataDestinationType = "StorageAccount"
110)
111
112// PossibleDataDestinationTypeValues returns an array of possible values for the DataDestinationType const type.
113func PossibleDataDestinationTypeValues() []DataDestinationType {
114	return []DataDestinationType{DataDestinationTypeDestinationAccountDetails, DataDestinationTypeManagedDisk, DataDestinationTypeStorageAccount}
115}
116
117// JobDetailsTypeEnum enumerates the values for job details type enum.
118type JobDetailsTypeEnum string
119
120const (
121	// JobDetailsTypeDataBox ...
122	JobDetailsTypeDataBox JobDetailsTypeEnum = "DataBox"
123	// JobDetailsTypeDataBoxDisk ...
124	JobDetailsTypeDataBoxDisk JobDetailsTypeEnum = "DataBoxDisk"
125	// JobDetailsTypeDataBoxHeavy ...
126	JobDetailsTypeDataBoxHeavy JobDetailsTypeEnum = "DataBoxHeavy"
127	// JobDetailsTypeJobDetails ...
128	JobDetailsTypeJobDetails JobDetailsTypeEnum = "JobDetails"
129)
130
131// PossibleJobDetailsTypeEnumValues returns an array of possible values for the JobDetailsTypeEnum const type.
132func PossibleJobDetailsTypeEnumValues() []JobDetailsTypeEnum {
133	return []JobDetailsTypeEnum{JobDetailsTypeDataBox, JobDetailsTypeDataBoxDisk, JobDetailsTypeDataBoxHeavy, JobDetailsTypeJobDetails}
134}
135
136// JobSecretsTypeEnum enumerates the values for job secrets type enum.
137type JobSecretsTypeEnum string
138
139const (
140	// JobSecretsTypeDataBox ...
141	JobSecretsTypeDataBox JobSecretsTypeEnum = "DataBox"
142	// JobSecretsTypeDataBoxDisk ...
143	JobSecretsTypeDataBoxDisk JobSecretsTypeEnum = "DataBoxDisk"
144	// JobSecretsTypeDataBoxHeavy ...
145	JobSecretsTypeDataBoxHeavy JobSecretsTypeEnum = "DataBoxHeavy"
146	// JobSecretsTypeJobSecrets ...
147	JobSecretsTypeJobSecrets JobSecretsTypeEnum = "JobSecrets"
148)
149
150// PossibleJobSecretsTypeEnumValues returns an array of possible values for the JobSecretsTypeEnum const type.
151func PossibleJobSecretsTypeEnumValues() []JobSecretsTypeEnum {
152	return []JobSecretsTypeEnum{JobSecretsTypeDataBox, JobSecretsTypeDataBoxDisk, JobSecretsTypeDataBoxHeavy, JobSecretsTypeJobSecrets}
153}
154
155// NotificationStageName enumerates the values for notification stage name.
156type NotificationStageName string
157
158const (
159	// AtAzureDC Notification at device received at azure datacenter stage.
160	AtAzureDC NotificationStageName = "AtAzureDC"
161	// DataCopy Notification at data copy started stage.
162	DataCopy NotificationStageName = "DataCopy"
163	// Delivered Notification at device delivered stage.
164	Delivered NotificationStageName = "Delivered"
165	// DevicePrepared Notification at device prepared stage.
166	DevicePrepared NotificationStageName = "DevicePrepared"
167	// Dispatched Notification at device dispatched stage.
168	Dispatched NotificationStageName = "Dispatched"
169	// PickedUp Notification at device picked up from user stage.
170	PickedUp NotificationStageName = "PickedUp"
171)
172
173// PossibleNotificationStageNameValues returns an array of possible values for the NotificationStageName const type.
174func PossibleNotificationStageNameValues() []NotificationStageName {
175	return []NotificationStageName{AtAzureDC, DataCopy, Delivered, DevicePrepared, Dispatched, PickedUp}
176}
177
178// ShareDestinationFormatType enumerates the values for share destination format type.
179type ShareDestinationFormatType string
180
181const (
182	// AzureFile Azure storage file format.
183	AzureFile ShareDestinationFormatType = "AzureFile"
184	// BlockBlob Azure storage block blob format.
185	BlockBlob ShareDestinationFormatType = "BlockBlob"
186	// HCS StorSimple data format.
187	HCS ShareDestinationFormatType = "HCS"
188	// ManagedDisk Azure Compute Disk.
189	ManagedDisk ShareDestinationFormatType = "ManagedDisk"
190	// PageBlob Azure storage page blob format.
191	PageBlob ShareDestinationFormatType = "PageBlob"
192	// UnknownType Unknown format.
193	UnknownType ShareDestinationFormatType = "UnknownType"
194)
195
196// PossibleShareDestinationFormatTypeValues returns an array of possible values for the ShareDestinationFormatType const type.
197func PossibleShareDestinationFormatTypeValues() []ShareDestinationFormatType {
198	return []ShareDestinationFormatType{AzureFile, BlockBlob, HCS, ManagedDisk, PageBlob, UnknownType}
199}
200
201// SkuDisabledReason enumerates the values for sku disabled reason.
202type SkuDisabledReason string
203
204const (
205	// SkuDisabledReasonCountry SKU is not available in the requested country.
206	SkuDisabledReasonCountry SkuDisabledReason = "Country"
207	// SkuDisabledReasonFeature Required features are not enabled for the SKU.
208	SkuDisabledReasonFeature SkuDisabledReason = "Feature"
209	// SkuDisabledReasonNone SKU is not disabled.
210	SkuDisabledReasonNone SkuDisabledReason = "None"
211	// SkuDisabledReasonNoSubscriptionInfo Subscription has not registered to Microsoft.DataBox and Service
212	// does not have the subscription notification.
213	SkuDisabledReasonNoSubscriptionInfo SkuDisabledReason = "NoSubscriptionInfo"
214	// SkuDisabledReasonOfferType Subscription does not have required offer types for the SKU.
215	SkuDisabledReasonOfferType SkuDisabledReason = "OfferType"
216	// SkuDisabledReasonRegion SKU is not available to push data to the requested Azure region.
217	SkuDisabledReasonRegion SkuDisabledReason = "Region"
218)
219
220// PossibleSkuDisabledReasonValues returns an array of possible values for the SkuDisabledReason const type.
221func PossibleSkuDisabledReasonValues() []SkuDisabledReason {
222	return []SkuDisabledReason{SkuDisabledReasonCountry, SkuDisabledReasonFeature, SkuDisabledReasonNone, SkuDisabledReasonNoSubscriptionInfo, SkuDisabledReasonOfferType, SkuDisabledReasonRegion}
223}
224
225// SkuName enumerates the values for sku name.
226type SkuName string
227
228const (
229	// DataBox DataBox.
230	DataBox SkuName = "DataBox"
231	// DataBoxDisk DataBoxDisk.
232	DataBoxDisk SkuName = "DataBoxDisk"
233	// DataBoxHeavy DataBoxHeavy.
234	DataBoxHeavy SkuName = "DataBoxHeavy"
235)
236
237// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
238func PossibleSkuNameValues() []SkuName {
239	return []SkuName{DataBox, DataBoxDisk, DataBoxHeavy}
240}
241
242// StageName enumerates the values for stage name.
243type StageName string
244
245const (
246	// StageNameAborted Order has been aborted.
247	StageNameAborted StageName = "Aborted"
248	// StageNameAtAzureDC Device has been received at azure datacenter from the user.
249	StageNameAtAzureDC StageName = "AtAzureDC"
250	// StageNameCancelled Order has been cancelled.
251	StageNameCancelled StageName = "Cancelled"
252	// StageNameCompleted Order has completed.
253	StageNameCompleted StageName = "Completed"
254	// StageNameCompletedWithErrors Order has completed with errors.
255	StageNameCompletedWithErrors StageName = "CompletedWithErrors"
256	// StageNameDataCopy Data copy from the device at azure datacenter.
257	StageNameDataCopy StageName = "DataCopy"
258	// StageNameDelivered Device has been delivered to the user of the order.
259	StageNameDelivered StageName = "Delivered"
260	// StageNameDeviceOrdered An order has been created.
261	StageNameDeviceOrdered StageName = "DeviceOrdered"
262	// StageNameDevicePrepared A device has been prepared for the order.
263	StageNameDevicePrepared StageName = "DevicePrepared"
264	// StageNameDispatched Device has been dispatched to the user of the order.
265	StageNameDispatched StageName = "Dispatched"
266	// StageNameFailedIssueDetectedAtAzureDC Order has failed due to issue detected at azure datacenter.
267	StageNameFailedIssueDetectedAtAzureDC StageName = "Failed_IssueDetectedAtAzureDC"
268	// StageNameFailedIssueReportedAtCustomer Order has failed due to issue reported by user.
269	StageNameFailedIssueReportedAtCustomer StageName = "Failed_IssueReportedAtCustomer"
270	// StageNamePickedUp Device has been picked up from user and in transit to azure datacenter.
271	StageNamePickedUp StageName = "PickedUp"
272)
273
274// PossibleStageNameValues returns an array of possible values for the StageName const type.
275func PossibleStageNameValues() []StageName {
276	return []StageName{StageNameAborted, StageNameAtAzureDC, StageNameCancelled, StageNameCompleted, StageNameCompletedWithErrors, StageNameDataCopy, StageNameDelivered, StageNameDeviceOrdered, StageNameDevicePrepared, StageNameDispatched, StageNameFailedIssueDetectedAtAzureDC, StageNameFailedIssueReportedAtCustomer, StageNamePickedUp}
277}
278
279// StageStatus enumerates the values for stage status.
280type StageStatus string
281
282const (
283	// StageStatusCancelled Stage has been cancelled.
284	StageStatusCancelled StageStatus = "Cancelled"
285	// StageStatusCancelling Stage is cancelling.
286	StageStatusCancelling StageStatus = "Cancelling"
287	// StageStatusFailed Stage has failed.
288	StageStatusFailed StageStatus = "Failed"
289	// StageStatusInProgress Stage is in progress.
290	StageStatusInProgress StageStatus = "InProgress"
291	// StageStatusNone No status available yet.
292	StageStatusNone StageStatus = "None"
293	// StageStatusSucceeded Stage has succeeded.
294	StageStatusSucceeded StageStatus = "Succeeded"
295	// StageStatusSucceededWithErrors Stage has succeeded with errors.
296	StageStatusSucceededWithErrors StageStatus = "SucceededWithErrors"
297)
298
299// PossibleStageStatusValues returns an array of possible values for the StageStatus const type.
300func PossibleStageStatusValues() []StageStatus {
301	return []StageStatus{StageStatusCancelled, StageStatusCancelling, StageStatusFailed, StageStatusInProgress, StageStatusNone, StageStatusSucceeded, StageStatusSucceededWithErrors}
302}
303