forked from Azure/azure-sdk-for-go
/
enums.go
563 lines (478 loc) · 26.8 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
package databox
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AccessProtocol enumerates the values for access protocol.
type AccessProtocol string
const (
// NFS Network File System protocol(NFS).
NFS AccessProtocol = "NFS"
// SMB Server Message Block protocol(SMB).
SMB AccessProtocol = "SMB"
)
// PossibleAccessProtocolValues returns an array of possible values for the AccessProtocol const type.
func PossibleAccessProtocolValues() []AccessProtocol {
return []AccessProtocol{NFS, SMB}
}
// AddressType enumerates the values for address type.
type AddressType string
const (
// Commercial Commercial Address.
Commercial AddressType = "Commercial"
// None Address type not known.
None AddressType = "None"
// Residential Residential Address.
Residential AddressType = "Residential"
)
// PossibleAddressTypeValues returns an array of possible values for the AddressType const type.
func PossibleAddressTypeValues() []AddressType {
return []AddressType{Commercial, None, Residential}
}
// AddressValidationStatus enumerates the values for address validation status.
type AddressValidationStatus string
const (
// Ambiguous Address provided is ambiguous, please choose one of the alternate addresses returned.
Ambiguous AddressValidationStatus = "Ambiguous"
// Invalid Address provided is invalid or not supported.
Invalid AddressValidationStatus = "Invalid"
// Valid Address provided is valid.
Valid AddressValidationStatus = "Valid"
)
// PossibleAddressValidationStatusValues returns an array of possible values for the AddressValidationStatus const type.
func PossibleAddressValidationStatusValues() []AddressValidationStatus {
return []AddressValidationStatus{Ambiguous, Invalid, Valid}
}
// CopyLogDetailsType enumerates the values for copy log details type.
type CopyLogDetailsType string
const (
// CopyLogDetailsTypeCopyLogDetails ...
CopyLogDetailsTypeCopyLogDetails CopyLogDetailsType = "CopyLogDetails"
// CopyLogDetailsTypeDataBox ...
CopyLogDetailsTypeDataBox CopyLogDetailsType = "DataBox"
// CopyLogDetailsTypeDataBoxDisk ...
CopyLogDetailsTypeDataBoxDisk CopyLogDetailsType = "DataBoxDisk"
// CopyLogDetailsTypeDataBoxHeavy ...
CopyLogDetailsTypeDataBoxHeavy CopyLogDetailsType = "DataBoxHeavy"
)
// PossibleCopyLogDetailsTypeValues returns an array of possible values for the CopyLogDetailsType const type.
func PossibleCopyLogDetailsTypeValues() []CopyLogDetailsType {
return []CopyLogDetailsType{CopyLogDetailsTypeCopyLogDetails, CopyLogDetailsTypeDataBox, CopyLogDetailsTypeDataBoxDisk, CopyLogDetailsTypeDataBoxHeavy}
}
// CopyStatus enumerates the values for copy status.
type CopyStatus string
const (
// Completed Data copy completed.
Completed CopyStatus = "Completed"
// CompletedWithErrors Data copy completed with errors.
CompletedWithErrors CopyStatus = "CompletedWithErrors"
// DeviceFormatted Data copy failed. The Device was formatted by user.
DeviceFormatted CopyStatus = "DeviceFormatted"
// DeviceMetadataModified Data copy failed. Device metadata was modified by user.
DeviceMetadataModified CopyStatus = "DeviceMetadataModified"
// Failed Data copy failed. No data was copied.
Failed CopyStatus = "Failed"
// HardwareError The Device has hit hardware issues.
HardwareError CopyStatus = "HardwareError"
// InProgress Data copy is in progress.
InProgress CopyStatus = "InProgress"
// NotReturned No copy triggered as device was not returned.
NotReturned CopyStatus = "NotReturned"
// NotStarted Data copy hasn't started yet.
NotStarted CopyStatus = "NotStarted"
// StorageAccountNotAccessible Data copy failed. Storage Account was not accessible during copy.
StorageAccountNotAccessible CopyStatus = "StorageAccountNotAccessible"
// UnsupportedData Data copy failed. The Device data content is not supported.
UnsupportedData CopyStatus = "UnsupportedData"
)
// PossibleCopyStatusValues returns an array of possible values for the CopyStatus const type.
func PossibleCopyStatusValues() []CopyStatus {
return []CopyStatus{Completed, CompletedWithErrors, DeviceFormatted, DeviceMetadataModified, Failed, HardwareError, InProgress, NotReturned, NotStarted, StorageAccountNotAccessible, UnsupportedData}
}
// DataAccountType enumerates the values for data account type.
type DataAccountType string
const (
// ManagedDisk Azure Managed disk storage.
ManagedDisk DataAccountType = "ManagedDisk"
// StorageAccount Storage Accounts .
StorageAccount DataAccountType = "StorageAccount"
)
// PossibleDataAccountTypeValues returns an array of possible values for the DataAccountType const type.
func PossibleDataAccountTypeValues() []DataAccountType {
return []DataAccountType{ManagedDisk, StorageAccount}
}
// DataAccountTypeBasicDataAccountDetails enumerates the values for data account type basic data account
// details.
type DataAccountTypeBasicDataAccountDetails string
const (
// DataAccountTypeDataAccountDetails ...
DataAccountTypeDataAccountDetails DataAccountTypeBasicDataAccountDetails = "DataAccountDetails"
// DataAccountTypeManagedDisk ...
DataAccountTypeManagedDisk DataAccountTypeBasicDataAccountDetails = "ManagedDisk"
// DataAccountTypeStorageAccount ...
DataAccountTypeStorageAccount DataAccountTypeBasicDataAccountDetails = "StorageAccount"
)
// PossibleDataAccountTypeBasicDataAccountDetailsValues returns an array of possible values for the DataAccountTypeBasicDataAccountDetails const type.
func PossibleDataAccountTypeBasicDataAccountDetailsValues() []DataAccountTypeBasicDataAccountDetails {
return []DataAccountTypeBasicDataAccountDetails{DataAccountTypeDataAccountDetails, DataAccountTypeManagedDisk, DataAccountTypeStorageAccount}
}
// FilterFileType enumerates the values for filter file type.
type FilterFileType string
const (
// AzureBlob Filter file is of the type AzureBlob.
AzureBlob FilterFileType = "AzureBlob"
// AzureFile Filter file is of the type AzureFiles.
AzureFile FilterFileType = "AzureFile"
)
// PossibleFilterFileTypeValues returns an array of possible values for the FilterFileType const type.
func PossibleFilterFileTypeValues() []FilterFileType {
return []FilterFileType{AzureBlob, AzureFile}
}
// JobDeliveryType enumerates the values for job delivery type.
type JobDeliveryType string
const (
// NonScheduled Non Scheduled job.
NonScheduled JobDeliveryType = "NonScheduled"
// Scheduled Scheduled job.
Scheduled JobDeliveryType = "Scheduled"
)
// PossibleJobDeliveryTypeValues returns an array of possible values for the JobDeliveryType const type.
func PossibleJobDeliveryTypeValues() []JobDeliveryType {
return []JobDeliveryType{NonScheduled, Scheduled}
}
// JobDetailsTypeEnum enumerates the values for job details type enum.
type JobDetailsTypeEnum string
const (
// JobDetailsTypeDataBox ...
JobDetailsTypeDataBox JobDetailsTypeEnum = "DataBox"
// JobDetailsTypeDataBoxDisk ...
JobDetailsTypeDataBoxDisk JobDetailsTypeEnum = "DataBoxDisk"
// JobDetailsTypeDataBoxHeavy ...
JobDetailsTypeDataBoxHeavy JobDetailsTypeEnum = "DataBoxHeavy"
// JobDetailsTypeJobDetails ...
JobDetailsTypeJobDetails JobDetailsTypeEnum = "JobDetails"
)
// PossibleJobDetailsTypeEnumValues returns an array of possible values for the JobDetailsTypeEnum const type.
func PossibleJobDetailsTypeEnumValues() []JobDetailsTypeEnum {
return []JobDetailsTypeEnum{JobDetailsTypeDataBox, JobDetailsTypeDataBoxDisk, JobDetailsTypeDataBoxHeavy, JobDetailsTypeJobDetails}
}
// JobSecretsTypeEnum enumerates the values for job secrets type enum.
type JobSecretsTypeEnum string
const (
// JobSecretsTypeDataBox ...
JobSecretsTypeDataBox JobSecretsTypeEnum = "DataBox"
// JobSecretsTypeDataBoxDisk ...
JobSecretsTypeDataBoxDisk JobSecretsTypeEnum = "DataBoxDisk"
// JobSecretsTypeDataBoxHeavy ...
JobSecretsTypeDataBoxHeavy JobSecretsTypeEnum = "DataBoxHeavy"
// JobSecretsTypeJobSecrets ...
JobSecretsTypeJobSecrets JobSecretsTypeEnum = "JobSecrets"
)
// PossibleJobSecretsTypeEnumValues returns an array of possible values for the JobSecretsTypeEnum const type.
func PossibleJobSecretsTypeEnumValues() []JobSecretsTypeEnum {
return []JobSecretsTypeEnum{JobSecretsTypeDataBox, JobSecretsTypeDataBoxDisk, JobSecretsTypeDataBoxHeavy, JobSecretsTypeJobSecrets}
}
// KekType enumerates the values for kek type.
type KekType string
const (
// CustomerManaged Key encryption key is managed by the Customer.
CustomerManaged KekType = "CustomerManaged"
// MicrosoftManaged Key encryption key is managed by Microsoft.
MicrosoftManaged KekType = "MicrosoftManaged"
)
// PossibleKekTypeValues returns an array of possible values for the KekType const type.
func PossibleKekTypeValues() []KekType {
return []KekType{CustomerManaged, MicrosoftManaged}
}
// LogCollectionLevel enumerates the values for log collection level.
type LogCollectionLevel string
const (
// Error Only Errors will be collected in the logs.
Error LogCollectionLevel = "Error"
// Verbose Verbose logging (includes Errors, CRC, size information and others).
Verbose LogCollectionLevel = "Verbose"
)
// PossibleLogCollectionLevelValues returns an array of possible values for the LogCollectionLevel const type.
func PossibleLogCollectionLevelValues() []LogCollectionLevel {
return []LogCollectionLevel{Error, Verbose}
}
// NotificationStageName enumerates the values for notification stage name.
type NotificationStageName string
const (
// AtAzureDC Notification at device received at Azure datacenter stage.
AtAzureDC NotificationStageName = "AtAzureDC"
// DataCopy Notification at data copy started stage.
DataCopy NotificationStageName = "DataCopy"
// Delivered Notification at device delivered stage.
Delivered NotificationStageName = "Delivered"
// DevicePrepared Notification at device prepared stage.
DevicePrepared NotificationStageName = "DevicePrepared"
// Dispatched Notification at device dispatched stage.
Dispatched NotificationStageName = "Dispatched"
// PickedUp Notification at device picked up from user stage.
PickedUp NotificationStageName = "PickedUp"
)
// PossibleNotificationStageNameValues returns an array of possible values for the NotificationStageName const type.
func PossibleNotificationStageNameValues() []NotificationStageName {
return []NotificationStageName{AtAzureDC, DataCopy, Delivered, DevicePrepared, Dispatched, PickedUp}
}
// OverallValidationStatus enumerates the values for overall validation status.
type OverallValidationStatus string
const (
// AllValidToProceed Every input request is valid.
AllValidToProceed OverallValidationStatus = "AllValidToProceed"
// CertainInputValidationsSkipped Certain input validations skipped.
CertainInputValidationsSkipped OverallValidationStatus = "CertainInputValidationsSkipped"
// InputsRevisitRequired Some input requests are not valid.
InputsRevisitRequired OverallValidationStatus = "InputsRevisitRequired"
)
// PossibleOverallValidationStatusValues returns an array of possible values for the OverallValidationStatus const type.
func PossibleOverallValidationStatusValues() []OverallValidationStatus {
return []OverallValidationStatus{AllValidToProceed, CertainInputValidationsSkipped, InputsRevisitRequired}
}
// ShareDestinationFormatType enumerates the values for share destination format type.
type ShareDestinationFormatType string
const (
// ShareDestinationFormatTypeAzureFile Azure storage file format.
ShareDestinationFormatTypeAzureFile ShareDestinationFormatType = "AzureFile"
// ShareDestinationFormatTypeBlockBlob Azure storage block blob format.
ShareDestinationFormatTypeBlockBlob ShareDestinationFormatType = "BlockBlob"
// ShareDestinationFormatTypeHCS Storsimple data format.
ShareDestinationFormatTypeHCS ShareDestinationFormatType = "HCS"
// ShareDestinationFormatTypeManagedDisk Azure Compute Disk.
ShareDestinationFormatTypeManagedDisk ShareDestinationFormatType = "ManagedDisk"
// ShareDestinationFormatTypePageBlob Azure storage page blob format.
ShareDestinationFormatTypePageBlob ShareDestinationFormatType = "PageBlob"
// ShareDestinationFormatTypeUnknownType Unknown format.
ShareDestinationFormatTypeUnknownType ShareDestinationFormatType = "UnknownType"
)
// PossibleShareDestinationFormatTypeValues returns an array of possible values for the ShareDestinationFormatType const type.
func PossibleShareDestinationFormatTypeValues() []ShareDestinationFormatType {
return []ShareDestinationFormatType{ShareDestinationFormatTypeAzureFile, ShareDestinationFormatTypeBlockBlob, ShareDestinationFormatTypeHCS, ShareDestinationFormatTypeManagedDisk, ShareDestinationFormatTypePageBlob, ShareDestinationFormatTypeUnknownType}
}
// SkuDisabledReason enumerates the values for sku disabled reason.
type SkuDisabledReason string
const (
// SkuDisabledReasonCountry SKU is not available in the requested country.
SkuDisabledReasonCountry SkuDisabledReason = "Country"
// SkuDisabledReasonFeature Required features are not enabled for the SKU.
SkuDisabledReasonFeature SkuDisabledReason = "Feature"
// SkuDisabledReasonNone SKU is not disabled.
SkuDisabledReasonNone SkuDisabledReason = "None"
// SkuDisabledReasonNoSubscriptionInfo Subscription has not registered to Microsoft.DataBox and Service
// does not have the subscription notification.
SkuDisabledReasonNoSubscriptionInfo SkuDisabledReason = "NoSubscriptionInfo"
// SkuDisabledReasonOfferType Subscription does not have required offer types for the SKU.
SkuDisabledReasonOfferType SkuDisabledReason = "OfferType"
// SkuDisabledReasonRegion SKU is not available to push data to the requested Azure region.
SkuDisabledReasonRegion SkuDisabledReason = "Region"
)
// PossibleSkuDisabledReasonValues returns an array of possible values for the SkuDisabledReason const type.
func PossibleSkuDisabledReasonValues() []SkuDisabledReason {
return []SkuDisabledReason{SkuDisabledReasonCountry, SkuDisabledReasonFeature, SkuDisabledReasonNone, SkuDisabledReasonNoSubscriptionInfo, SkuDisabledReasonOfferType, SkuDisabledReasonRegion}
}
// SkuName enumerates the values for sku name.
type SkuName string
const (
// DataBox Data Box.
DataBox SkuName = "DataBox"
// DataBoxDisk Data Box Disk.
DataBoxDisk SkuName = "DataBoxDisk"
// DataBoxHeavy Data Box Heavy.
DataBoxHeavy SkuName = "DataBoxHeavy"
)
// PossibleSkuNameValues returns an array of possible values for the SkuName const type.
func PossibleSkuNameValues() []SkuName {
return []SkuName{DataBox, DataBoxDisk, DataBoxHeavy}
}
// SkuNameBasicScheduleAvailabilityRequest enumerates the values for sku name basic schedule availability
// request.
type SkuNameBasicScheduleAvailabilityRequest string
const (
// SkuNameDataBox ...
SkuNameDataBox SkuNameBasicScheduleAvailabilityRequest = "DataBox"
// SkuNameDataBoxDisk ...
SkuNameDataBoxDisk SkuNameBasicScheduleAvailabilityRequest = "DataBoxDisk"
// SkuNameDataBoxHeavy ...
SkuNameDataBoxHeavy SkuNameBasicScheduleAvailabilityRequest = "DataBoxHeavy"
// SkuNameScheduleAvailabilityRequest ...
SkuNameScheduleAvailabilityRequest SkuNameBasicScheduleAvailabilityRequest = "ScheduleAvailabilityRequest"
)
// PossibleSkuNameBasicScheduleAvailabilityRequestValues returns an array of possible values for the SkuNameBasicScheduleAvailabilityRequest const type.
func PossibleSkuNameBasicScheduleAvailabilityRequestValues() []SkuNameBasicScheduleAvailabilityRequest {
return []SkuNameBasicScheduleAvailabilityRequest{SkuNameDataBox, SkuNameDataBoxDisk, SkuNameDataBoxHeavy, SkuNameScheduleAvailabilityRequest}
}
// StageName enumerates the values for stage name.
type StageName string
const (
// StageNameAborted Order has been aborted.
StageNameAborted StageName = "Aborted"
// StageNameAtAzureDC Device has been received at Azure datacenter from the user.
StageNameAtAzureDC StageName = "AtAzureDC"
// StageNameCancelled Order has been cancelled.
StageNameCancelled StageName = "Cancelled"
// StageNameCompleted Order has completed.
StageNameCompleted StageName = "Completed"
// StageNameCompletedWithErrors Order has completed with errors.
StageNameCompletedWithErrors StageName = "CompletedWithErrors"
// StageNameCompletedWithWarnings Order has completed with warnings.
StageNameCompletedWithWarnings StageName = "CompletedWithWarnings"
// StageNameDataCopy Data copy from the device at Azure datacenter.
StageNameDataCopy StageName = "DataCopy"
// StageNameDelivered Device has been delivered to the user of the order.
StageNameDelivered StageName = "Delivered"
// StageNameDeviceOrdered An order has been created.
StageNameDeviceOrdered StageName = "DeviceOrdered"
// StageNameDevicePrepared A device has been prepared for the order.
StageNameDevicePrepared StageName = "DevicePrepared"
// StageNameDispatched Device has been dispatched to the user of the order.
StageNameDispatched StageName = "Dispatched"
// StageNameFailedIssueDetectedAtAzureDC Order has failed due to issue detected at Azure datacenter.
StageNameFailedIssueDetectedAtAzureDC StageName = "Failed_IssueDetectedAtAzureDC"
// StageNameFailedIssueReportedAtCustomer Order has failed due to issue reported by user.
StageNameFailedIssueReportedAtCustomer StageName = "Failed_IssueReportedAtCustomer"
// StageNamePickedUp Device has been picked up from user and in transit to Azure datacenter.
StageNamePickedUp StageName = "PickedUp"
// StageNameReadyToDispatchFromAzureDC Device is ready to be handed to customer from Azure DC.
StageNameReadyToDispatchFromAzureDC StageName = "ReadyToDispatchFromAzureDC"
// StageNameReadyToReceiveAtAzureDC Device can be dropped off at Azure DC.
StageNameReadyToReceiveAtAzureDC StageName = "ReadyToReceiveAtAzureDC"
)
// PossibleStageNameValues returns an array of possible values for the StageName const type.
func PossibleStageNameValues() []StageName {
return []StageName{StageNameAborted, StageNameAtAzureDC, StageNameCancelled, StageNameCompleted, StageNameCompletedWithErrors, StageNameCompletedWithWarnings, StageNameDataCopy, StageNameDelivered, StageNameDeviceOrdered, StageNameDevicePrepared, StageNameDispatched, StageNameFailedIssueDetectedAtAzureDC, StageNameFailedIssueReportedAtCustomer, StageNamePickedUp, StageNameReadyToDispatchFromAzureDC, StageNameReadyToReceiveAtAzureDC}
}
// StageStatus enumerates the values for stage status.
type StageStatus string
const (
// StageStatusCancelled Stage has been cancelled.
StageStatusCancelled StageStatus = "Cancelled"
// StageStatusCancelling Stage is cancelling.
StageStatusCancelling StageStatus = "Cancelling"
// StageStatusFailed Stage has failed.
StageStatusFailed StageStatus = "Failed"
// StageStatusInProgress Stage is in progress.
StageStatusInProgress StageStatus = "InProgress"
// StageStatusNone No status available yet.
StageStatusNone StageStatus = "None"
// StageStatusSucceeded Stage has succeeded.
StageStatusSucceeded StageStatus = "Succeeded"
// StageStatusSucceededWithErrors Stage has succeeded with errors.
StageStatusSucceededWithErrors StageStatus = "SucceededWithErrors"
// StageStatusSucceededWithWarnings Stage has succeeded with warnings.
StageStatusSucceededWithWarnings StageStatus = "SucceededWithWarnings"
// StageStatusWaitingForCustomerAction Stage is stuck until customer takes some action.
StageStatusWaitingForCustomerAction StageStatus = "WaitingForCustomerAction"
)
// PossibleStageStatusValues returns an array of possible values for the StageStatus const type.
func PossibleStageStatusValues() []StageStatus {
return []StageStatus{StageStatusCancelled, StageStatusCancelling, StageStatusFailed, StageStatusInProgress, StageStatusNone, StageStatusSucceeded, StageStatusSucceededWithErrors, StageStatusSucceededWithWarnings, StageStatusWaitingForCustomerAction}
}
// TransferConfigurationType enumerates the values for transfer configuration type.
type TransferConfigurationType string
const (
// TransferAll Transfer all the data.
TransferAll TransferConfigurationType = "TransferAll"
// TransferUsingFilter Transfer using filter.
TransferUsingFilter TransferConfigurationType = "TransferUsingFilter"
)
// PossibleTransferConfigurationTypeValues returns an array of possible values for the TransferConfigurationType const type.
func PossibleTransferConfigurationTypeValues() []TransferConfigurationType {
return []TransferConfigurationType{TransferAll, TransferUsingFilter}
}
// TransferType enumerates the values for transfer type.
type TransferType string
const (
// ExportFromAzure Export data from azure.
ExportFromAzure TransferType = "ExportFromAzure"
// ImportToAzure Import data to azure.
ImportToAzure TransferType = "ImportToAzure"
)
// PossibleTransferTypeValues returns an array of possible values for the TransferType const type.
func PossibleTransferTypeValues() []TransferType {
return []TransferType{ExportFromAzure, ImportToAzure}
}
// TransportShipmentTypes enumerates the values for transport shipment types.
type TransportShipmentTypes string
const (
// TransportShipmentTypesCustomerManaged Shipment Logistics is handled by the customer.
TransportShipmentTypesCustomerManaged TransportShipmentTypes = "CustomerManaged"
// TransportShipmentTypesMicrosoftManaged Shipment Logistics is handled by Microsoft.
TransportShipmentTypesMicrosoftManaged TransportShipmentTypes = "MicrosoftManaged"
)
// PossibleTransportShipmentTypesValues returns an array of possible values for the TransportShipmentTypes const type.
func PossibleTransportShipmentTypesValues() []TransportShipmentTypes {
return []TransportShipmentTypes{TransportShipmentTypesCustomerManaged, TransportShipmentTypesMicrosoftManaged}
}
// ValidationCategory enumerates the values for validation category.
type ValidationCategory string
const (
// ValidationCategoryJobCreationValidation ...
ValidationCategoryJobCreationValidation ValidationCategory = "JobCreationValidation"
// ValidationCategoryValidationRequest ...
ValidationCategoryValidationRequest ValidationCategory = "ValidationRequest"
)
// PossibleValidationCategoryValues returns an array of possible values for the ValidationCategory const type.
func PossibleValidationCategoryValues() []ValidationCategory {
return []ValidationCategory{ValidationCategoryJobCreationValidation, ValidationCategoryValidationRequest}
}
// ValidationStatus enumerates the values for validation status.
type ValidationStatus string
const (
// ValidationStatusInvalid Validation is not successful
ValidationStatusInvalid ValidationStatus = "Invalid"
// ValidationStatusSkipped Validation is skipped
ValidationStatusSkipped ValidationStatus = "Skipped"
// ValidationStatusValid Validation is successful
ValidationStatusValid ValidationStatus = "Valid"
)
// PossibleValidationStatusValues returns an array of possible values for the ValidationStatus const type.
func PossibleValidationStatusValues() []ValidationStatus {
return []ValidationStatus{ValidationStatusInvalid, ValidationStatusSkipped, ValidationStatusValid}
}
// ValidationType enumerates the values for validation type.
type ValidationType string
const (
// ValidationTypeValidateAddress ...
ValidationTypeValidateAddress ValidationType = "ValidateAddress"
// ValidationTypeValidateCreateOrderLimit ...
ValidationTypeValidateCreateOrderLimit ValidationType = "ValidateCreateOrderLimit"
// ValidationTypeValidateDataTransferDetails ...
ValidationTypeValidateDataTransferDetails ValidationType = "ValidateDataTransferDetails"
// ValidationTypeValidatePreferences ...
ValidationTypeValidatePreferences ValidationType = "ValidatePreferences"
// ValidationTypeValidateSkuAvailability ...
ValidationTypeValidateSkuAvailability ValidationType = "ValidateSkuAvailability"
// ValidationTypeValidateSubscriptionIsAllowedToCreateJob ...
ValidationTypeValidateSubscriptionIsAllowedToCreateJob ValidationType = "ValidateSubscriptionIsAllowedToCreateJob"
// ValidationTypeValidationInputRequest ...
ValidationTypeValidationInputRequest ValidationType = "ValidationInputRequest"
)
// PossibleValidationTypeValues returns an array of possible values for the ValidationType const type.
func PossibleValidationTypeValues() []ValidationType {
return []ValidationType{ValidationTypeValidateAddress, ValidationTypeValidateCreateOrderLimit, ValidationTypeValidateDataTransferDetails, ValidationTypeValidatePreferences, ValidationTypeValidateSkuAvailability, ValidationTypeValidateSubscriptionIsAllowedToCreateJob, ValidationTypeValidationInputRequest}
}
// ValidationTypeBasicValidationInputResponse enumerates the values for validation type basic validation input
// response.
type ValidationTypeBasicValidationInputResponse string
const (
// ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress ...
ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress ValidationTypeBasicValidationInputResponse = "ValidateAddress"
// ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit ...
ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit ValidationTypeBasicValidationInputResponse = "ValidateCreateOrderLimit"
// ValidationTypeBasicValidationInputResponseValidationTypeValidateDataTransferDetails ...
ValidationTypeBasicValidationInputResponseValidationTypeValidateDataTransferDetails ValidationTypeBasicValidationInputResponse = "ValidateDataTransferDetails"
// ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences ...
ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences ValidationTypeBasicValidationInputResponse = "ValidatePreferences"
// ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability ...
ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability ValidationTypeBasicValidationInputResponse = "ValidateSkuAvailability"
// ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob ...
ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob ValidationTypeBasicValidationInputResponse = "ValidateSubscriptionIsAllowedToCreateJob"
// ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse ...
ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse ValidationTypeBasicValidationInputResponse = "ValidationInputResponse"
)
// PossibleValidationTypeBasicValidationInputResponseValues returns an array of possible values for the ValidationTypeBasicValidationInputResponse const type.
func PossibleValidationTypeBasicValidationInputResponseValues() []ValidationTypeBasicValidationInputResponse {
return []ValidationTypeBasicValidationInputResponse{ValidationTypeBasicValidationInputResponseValidationTypeValidateAddress, ValidationTypeBasicValidationInputResponseValidationTypeValidateCreateOrderLimit, ValidationTypeBasicValidationInputResponseValidationTypeValidateDataTransferDetails, ValidationTypeBasicValidationInputResponseValidationTypeValidatePreferences, ValidationTypeBasicValidationInputResponseValidationTypeValidateSkuAvailability, ValidationTypeBasicValidationInputResponseValidationTypeValidateSubscriptionIsAllowedToCreateJob, ValidationTypeBasicValidationInputResponseValidationTypeValidationInputResponse}
}