forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
models.go
1835 lines (1596 loc) · 80.6 KB
/
models.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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package storsimple
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"net/http"
)
// AlertEmailNotificationStatus enumerates the values for alert email notification status.
type AlertEmailNotificationStatus string
const (
// Disabled specifies the disabled state for alert email notification status.
Disabled AlertEmailNotificationStatus = "Disabled"
// Enabled specifies the enabled state for alert email notification status.
Enabled AlertEmailNotificationStatus = "Enabled"
)
// AlertScope enumerates the values for alert scope.
type AlertScope string
const (
// AlertScopeDevice specifies the alert scope device state for alert scope.
AlertScopeDevice AlertScope = "Device"
// AlertScopeResource specifies the alert scope resource state for alert scope.
AlertScopeResource AlertScope = "Resource"
)
// AlertSeverity enumerates the values for alert severity.
type AlertSeverity string
const (
// Critical specifies the critical state for alert severity.
Critical AlertSeverity = "Critical"
// Informational specifies the informational state for alert severity.
Informational AlertSeverity = "Informational"
// Warning specifies the warning state for alert severity.
Warning AlertSeverity = "Warning"
)
// AlertSourceType enumerates the values for alert source type.
type AlertSourceType string
const (
// AlertSourceTypeDevice specifies the alert source type device state for alert source type.
AlertSourceTypeDevice AlertSourceType = "Device"
// AlertSourceTypeResource specifies the alert source type resource state for alert source type.
AlertSourceTypeResource AlertSourceType = "Resource"
)
// AlertStatus enumerates the values for alert status.
type AlertStatus string
const (
// Active specifies the active state for alert status.
Active AlertStatus = "Active"
// Cleared specifies the cleared state for alert status.
Cleared AlertStatus = "Cleared"
)
// AuthenticationType enumerates the values for authentication type.
type AuthenticationType string
const (
// Basic specifies the basic state for authentication type.
Basic AuthenticationType = "Basic"
// Invalid specifies the invalid state for authentication type.
Invalid AuthenticationType = "Invalid"
// None specifies the none state for authentication type.
None AuthenticationType = "None"
// NTLM specifies the ntlm state for authentication type.
NTLM AuthenticationType = "NTLM"
)
// AuthorizationEligibility enumerates the values for authorization eligibility.
type AuthorizationEligibility string
const (
// Eligible specifies the eligible state for authorization eligibility.
Eligible AuthorizationEligibility = "Eligible"
// InEligible specifies the in eligible state for authorization eligibility.
InEligible AuthorizationEligibility = "InEligible"
)
// AuthorizationStatus enumerates the values for authorization status.
type AuthorizationStatus string
const (
// AuthorizationStatusDisabled specifies the authorization status disabled state for authorization status.
AuthorizationStatusDisabled AuthorizationStatus = "Disabled"
// AuthorizationStatusEnabled specifies the authorization status enabled state for authorization status.
AuthorizationStatusEnabled AuthorizationStatus = "Enabled"
)
// BackupJobCreationType enumerates the values for backup job creation type.
type BackupJobCreationType string
const (
// Adhoc specifies the adhoc state for backup job creation type.
Adhoc BackupJobCreationType = "Adhoc"
// BySchedule specifies the by schedule state for backup job creation type.
BySchedule BackupJobCreationType = "BySchedule"
// BySSM specifies the by ssm state for backup job creation type.
BySSM BackupJobCreationType = "BySSM"
)
// BackupPolicyCreationType enumerates the values for backup policy creation type.
type BackupPolicyCreationType string
const (
// BackupPolicyCreationTypeBySaaS specifies the backup policy creation type by saa s state for backup policy creation
// type.
BackupPolicyCreationTypeBySaaS BackupPolicyCreationType = "BySaaS"
// BackupPolicyCreationTypeBySSM specifies the backup policy creation type by ssm state for backup policy creation
// type.
BackupPolicyCreationTypeBySSM BackupPolicyCreationType = "BySSM"
)
// BackupStatus enumerates the values for backup status.
type BackupStatus string
const (
// BackupStatusDisabled specifies the backup status disabled state for backup status.
BackupStatusDisabled BackupStatus = "Disabled"
// BackupStatusEnabled specifies the backup status enabled state for backup status.
BackupStatusEnabled BackupStatus = "Enabled"
)
// BackupType enumerates the values for backup type.
type BackupType string
const (
// CloudSnapshot specifies the cloud snapshot state for backup type.
CloudSnapshot BackupType = "CloudSnapshot"
// LocalSnapshot specifies the local snapshot state for backup type.
LocalSnapshot BackupType = "LocalSnapshot"
)
// ControllerID enumerates the values for controller id.
type ControllerID string
const (
// ControllerIDController0 specifies the controller id controller 0 state for controller id.
ControllerIDController0 ControllerID = "Controller0"
// ControllerIDController1 specifies the controller id controller 1 state for controller id.
ControllerIDController1 ControllerID = "Controller1"
// ControllerIDNone specifies the controller id none state for controller id.
ControllerIDNone ControllerID = "None"
// ControllerIDUnknown specifies the controller id unknown state for controller id.
ControllerIDUnknown ControllerID = "Unknown"
)
// ControllerPowerStateAction enumerates the values for controller power state action.
type ControllerPowerStateAction string
const (
// Restart specifies the restart state for controller power state action.
Restart ControllerPowerStateAction = "Restart"
// Shutdown specifies the shutdown state for controller power state action.
Shutdown ControllerPowerStateAction = "Shutdown"
// Start specifies the start state for controller power state action.
Start ControllerPowerStateAction = "Start"
)
// ControllerStatus enumerates the values for controller status.
type ControllerStatus string
const (
// ControllerStatusFailure specifies the controller status failure state for controller status.
ControllerStatusFailure ControllerStatus = "Failure"
// ControllerStatusNotPresent specifies the controller status not present state for controller status.
ControllerStatusNotPresent ControllerStatus = "NotPresent"
// ControllerStatusOk specifies the controller status ok state for controller status.
ControllerStatusOk ControllerStatus = "Ok"
// ControllerStatusPoweredOff specifies the controller status powered off state for controller status.
ControllerStatusPoweredOff ControllerStatus = "PoweredOff"
// ControllerStatusRecovering specifies the controller status recovering state for controller status.
ControllerStatusRecovering ControllerStatus = "Recovering"
// ControllerStatusWarning specifies the controller status warning state for controller status.
ControllerStatusWarning ControllerStatus = "Warning"
)
// DayOfWeek enumerates the values for day of week.
type DayOfWeek string
const (
// Friday specifies the friday state for day of week.
Friday DayOfWeek = "Friday"
// Monday specifies the monday state for day of week.
Monday DayOfWeek = "Monday"
// Saturday specifies the saturday state for day of week.
Saturday DayOfWeek = "Saturday"
// Sunday specifies the sunday state for day of week.
Sunday DayOfWeek = "Sunday"
// Thursday specifies the thursday state for day of week.
Thursday DayOfWeek = "Thursday"
// Tuesday specifies the tuesday state for day of week.
Tuesday DayOfWeek = "Tuesday"
// Wednesday specifies the wednesday state for day of week.
Wednesday DayOfWeek = "Wednesday"
)
// DeviceConfigurationStatus enumerates the values for device configuration status.
type DeviceConfigurationStatus string
const (
// Complete specifies the complete state for device configuration status.
Complete DeviceConfigurationStatus = "Complete"
// Pending specifies the pending state for device configuration status.
Pending DeviceConfigurationStatus = "Pending"
)
// DeviceStatus enumerates the values for device status.
type DeviceStatus string
const (
// Creating specifies the creating state for device status.
Creating DeviceStatus = "Creating"
// Deactivated specifies the deactivated state for device status.
Deactivated DeviceStatus = "Deactivated"
// Deactivating specifies the deactivating state for device status.
Deactivating DeviceStatus = "Deactivating"
// Deleted specifies the deleted state for device status.
Deleted DeviceStatus = "Deleted"
// MaintenanceMode specifies the maintenance mode state for device status.
MaintenanceMode DeviceStatus = "MaintenanceMode"
// Offline specifies the offline state for device status.
Offline DeviceStatus = "Offline"
// Online specifies the online state for device status.
Online DeviceStatus = "Online"
// Provisioning specifies the provisioning state for device status.
Provisioning DeviceStatus = "Provisioning"
// ReadyToSetup specifies the ready to setup state for device status.
ReadyToSetup DeviceStatus = "ReadyToSetup"
// RequiresAttention specifies the requires attention state for device status.
RequiresAttention DeviceStatus = "RequiresAttention"
// Unknown specifies the unknown state for device status.
Unknown DeviceStatus = "Unknown"
)
// DeviceType enumerates the values for device type.
type DeviceType string
const (
// DeviceTypeInvalid specifies the device type invalid state for device type.
DeviceTypeInvalid DeviceType = "Invalid"
// DeviceTypeSeries8000PhysicalAppliance specifies the device type series 8000 physical appliance state for device
// type.
DeviceTypeSeries8000PhysicalAppliance DeviceType = "Series8000PhysicalAppliance"
// DeviceTypeSeries8000VirtualAppliance specifies the device type series 8000 virtual appliance state for device type.
DeviceTypeSeries8000VirtualAppliance DeviceType = "Series8000VirtualAppliance"
)
// EncryptionAlgorithm enumerates the values for encryption algorithm.
type EncryptionAlgorithm string
const (
// EncryptionAlgorithmAES256 specifies the encryption algorithm aes256 state for encryption algorithm.
EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256"
// EncryptionAlgorithmNone specifies the encryption algorithm none state for encryption algorithm.
EncryptionAlgorithmNone EncryptionAlgorithm = "None"
// EncryptionAlgorithmRSAESPKCS1V15 specifies the encryption algorithm rsaespkcs1v15 state for encryption algorithm.
EncryptionAlgorithmRSAESPKCS1V15 EncryptionAlgorithm = "RSAES_PKCS1_v_1_5"
)
// EncryptionStatus enumerates the values for encryption status.
type EncryptionStatus string
const (
// EncryptionStatusDisabled specifies the encryption status disabled state for encryption status.
EncryptionStatusDisabled EncryptionStatus = "Disabled"
// EncryptionStatusEnabled specifies the encryption status enabled state for encryption status.
EncryptionStatusEnabled EncryptionStatus = "Enabled"
)
// FeatureSupportStatus enumerates the values for feature support status.
type FeatureSupportStatus string
const (
// NotAvailable specifies the not available state for feature support status.
NotAvailable FeatureSupportStatus = "NotAvailable"
// Supported specifies the supported state for feature support status.
Supported FeatureSupportStatus = "Supported"
// UnsupportedDeviceVersion specifies the unsupported device version state for feature support status.
UnsupportedDeviceVersion FeatureSupportStatus = "UnsupportedDeviceVersion"
)
// HardwareComponentStatus enumerates the values for hardware component status.
type HardwareComponentStatus string
const (
// HardwareComponentStatusFailure specifies the hardware component status failure state for hardware component status.
HardwareComponentStatusFailure HardwareComponentStatus = "Failure"
// HardwareComponentStatusNotPresent specifies the hardware component status not present state for hardware component
// status.
HardwareComponentStatusNotPresent HardwareComponentStatus = "NotPresent"
// HardwareComponentStatusOk specifies the hardware component status ok state for hardware component status.
HardwareComponentStatusOk HardwareComponentStatus = "Ok"
// HardwareComponentStatusPoweredOff specifies the hardware component status powered off state for hardware component
// status.
HardwareComponentStatusPoweredOff HardwareComponentStatus = "PoweredOff"
// HardwareComponentStatusRecovering specifies the hardware component status recovering state for hardware component
// status.
HardwareComponentStatusRecovering HardwareComponentStatus = "Recovering"
// HardwareComponentStatusUnknown specifies the hardware component status unknown state for hardware component status.
HardwareComponentStatusUnknown HardwareComponentStatus = "Unknown"
// HardwareComponentStatusWarning specifies the hardware component status warning state for hardware component status.
HardwareComponentStatusWarning HardwareComponentStatus = "Warning"
)
// InEligibilityCategory enumerates the values for in eligibility category.
type InEligibilityCategory string
const (
// DeviceNotOnline specifies the device not online state for in eligibility category.
DeviceNotOnline InEligibilityCategory = "DeviceNotOnline"
// NotSupportedAppliance specifies the not supported appliance state for in eligibility category.
NotSupportedAppliance InEligibilityCategory = "NotSupportedAppliance"
// RolloverPending specifies the rollover pending state for in eligibility category.
RolloverPending InEligibilityCategory = "RolloverPending"
)
// ISCSIAndCloudStatus enumerates the values for iscsi and cloud status.
type ISCSIAndCloudStatus string
const (
// ISCSIAndCloudStatusCloudEnabled specifies the iscsi and cloud status cloud enabled state for iscsi and cloud status.
ISCSIAndCloudStatusCloudEnabled ISCSIAndCloudStatus = "CloudEnabled"
// ISCSIAndCloudStatusDisabled specifies the iscsi and cloud status disabled state for iscsi and cloud status.
ISCSIAndCloudStatusDisabled ISCSIAndCloudStatus = "Disabled"
// ISCSIAndCloudStatusIscsiAndCloudEnabled specifies the iscsi and cloud status iscsi and cloud enabled state for iscsi
// and cloud status.
ISCSIAndCloudStatusIscsiAndCloudEnabled ISCSIAndCloudStatus = "IscsiAndCloudEnabled"
// ISCSIAndCloudStatusIscsiEnabled specifies the iscsi and cloud status iscsi enabled state for iscsi and cloud status.
ISCSIAndCloudStatusIscsiEnabled ISCSIAndCloudStatus = "IscsiEnabled"
)
// JobStatus enumerates the values for job status.
type JobStatus string
const (
// Canceled specifies the canceled state for job status.
Canceled JobStatus = "Canceled"
// Failed specifies the failed state for job status.
Failed JobStatus = "Failed"
// Running specifies the running state for job status.
Running JobStatus = "Running"
// Succeeded specifies the succeeded state for job status.
Succeeded JobStatus = "Succeeded"
)
// JobType enumerates the values for job type.
type JobType string
const (
// CloneVolume specifies the clone volume state for job type.
CloneVolume JobType = "CloneVolume"
// CreateCloudAppliance specifies the create cloud appliance state for job type.
CreateCloudAppliance JobType = "CreateCloudAppliance"
// CreateLocallyPinnedVolume specifies the create locally pinned volume state for job type.
CreateLocallyPinnedVolume JobType = "CreateLocallyPinnedVolume"
// FailoverVolumeContainers specifies the failover volume containers state for job type.
FailoverVolumeContainers JobType = "FailoverVolumeContainers"
// InstallUpdates specifies the install updates state for job type.
InstallUpdates JobType = "InstallUpdates"
// ManualBackup specifies the manual backup state for job type.
ManualBackup JobType = "ManualBackup"
// ModifyVolume specifies the modify volume state for job type.
ModifyVolume JobType = "ModifyVolume"
// RestoreBackup specifies the restore backup state for job type.
RestoreBackup JobType = "RestoreBackup"
// ScheduledBackup specifies the scheduled backup state for job type.
ScheduledBackup JobType = "ScheduledBackup"
// SupportPackageLogs specifies the support package logs state for job type.
SupportPackageLogs JobType = "SupportPackageLogs"
)
// KeyRolloverStatus enumerates the values for key rollover status.
type KeyRolloverStatus string
const (
// NotRequired specifies the not required state for key rollover status.
NotRequired KeyRolloverStatus = "NotRequired"
// Required specifies the required state for key rollover status.
Required KeyRolloverStatus = "Required"
)
// Kind enumerates the values for kind.
type Kind string
const (
// Series8000 specifies the series 8000 state for kind.
Series8000 Kind = "Series8000"
)
// ManagerType enumerates the values for manager type.
type ManagerType string
const (
// GardaV1 specifies the garda v1 state for manager type.
GardaV1 ManagerType = "GardaV1"
// HelsinkiV1 specifies the helsinki v1 state for manager type.
HelsinkiV1 ManagerType = "HelsinkiV1"
)
// MetricAggregationType enumerates the values for metric aggregation type.
type MetricAggregationType string
const (
// MetricAggregationTypeAverage specifies the metric aggregation type average state for metric aggregation type.
MetricAggregationTypeAverage MetricAggregationType = "Average"
// MetricAggregationTypeLast specifies the metric aggregation type last state for metric aggregation type.
MetricAggregationTypeLast MetricAggregationType = "Last"
// MetricAggregationTypeMaximum specifies the metric aggregation type maximum state for metric aggregation type.
MetricAggregationTypeMaximum MetricAggregationType = "Maximum"
// MetricAggregationTypeMinimum specifies the metric aggregation type minimum state for metric aggregation type.
MetricAggregationTypeMinimum MetricAggregationType = "Minimum"
// MetricAggregationTypeNone specifies the metric aggregation type none state for metric aggregation type.
MetricAggregationTypeNone MetricAggregationType = "None"
// MetricAggregationTypeTotal specifies the metric aggregation type total state for metric aggregation type.
MetricAggregationTypeTotal MetricAggregationType = "Total"
)
// MetricUnit enumerates the values for metric unit.
type MetricUnit string
const (
// Bytes specifies the bytes state for metric unit.
Bytes MetricUnit = "Bytes"
// BytesPerSecond specifies the bytes per second state for metric unit.
BytesPerSecond MetricUnit = "BytesPerSecond"
// Count specifies the count state for metric unit.
Count MetricUnit = "Count"
// CountPerSecond specifies the count per second state for metric unit.
CountPerSecond MetricUnit = "CountPerSecond"
// Percent specifies the percent state for metric unit.
Percent MetricUnit = "Percent"
// Seconds specifies the seconds state for metric unit.
Seconds MetricUnit = "Seconds"
)
// MonitoringStatus enumerates the values for monitoring status.
type MonitoringStatus string
const (
// MonitoringStatusDisabled specifies the monitoring status disabled state for monitoring status.
MonitoringStatusDisabled MonitoringStatus = "Disabled"
// MonitoringStatusEnabled specifies the monitoring status enabled state for monitoring status.
MonitoringStatusEnabled MonitoringStatus = "Enabled"
)
// NetInterfaceID enumerates the values for net interface id.
type NetInterfaceID string
const (
// NetInterfaceIDData0 specifies the net interface id data 0 state for net interface id.
NetInterfaceIDData0 NetInterfaceID = "Data0"
// NetInterfaceIDData1 specifies the net interface id data 1 state for net interface id.
NetInterfaceIDData1 NetInterfaceID = "Data1"
// NetInterfaceIDData2 specifies the net interface id data 2 state for net interface id.
NetInterfaceIDData2 NetInterfaceID = "Data2"
// NetInterfaceIDData3 specifies the net interface id data 3 state for net interface id.
NetInterfaceIDData3 NetInterfaceID = "Data3"
// NetInterfaceIDData4 specifies the net interface id data 4 state for net interface id.
NetInterfaceIDData4 NetInterfaceID = "Data4"
// NetInterfaceIDData5 specifies the net interface id data 5 state for net interface id.
NetInterfaceIDData5 NetInterfaceID = "Data5"
// NetInterfaceIDInvalid specifies the net interface id invalid state for net interface id.
NetInterfaceIDInvalid NetInterfaceID = "Invalid"
)
// NetInterfaceStatus enumerates the values for net interface status.
type NetInterfaceStatus string
const (
// NetInterfaceStatusDisabled specifies the net interface status disabled state for net interface status.
NetInterfaceStatusDisabled NetInterfaceStatus = "Disabled"
// NetInterfaceStatusEnabled specifies the net interface status enabled state for net interface status.
NetInterfaceStatusEnabled NetInterfaceStatus = "Enabled"
)
// NetworkMode enumerates the values for network mode.
type NetworkMode string
const (
// NetworkModeBOTH specifies the network mode both state for network mode.
NetworkModeBOTH NetworkMode = "BOTH"
// NetworkModeInvalid specifies the network mode invalid state for network mode.
NetworkModeInvalid NetworkMode = "Invalid"
// NetworkModeIPV4 specifies the network mode ipv4 state for network mode.
NetworkModeIPV4 NetworkMode = "IPV4"
// NetworkModeIPV6 specifies the network mode ipv6 state for network mode.
NetworkModeIPV6 NetworkMode = "IPV6"
)
// OperationStatus enumerates the values for operation status.
type OperationStatus string
const (
// OperationStatusDeleting specifies the operation status deleting state for operation status.
OperationStatusDeleting OperationStatus = "Deleting"
// OperationStatusNone specifies the operation status none state for operation status.
OperationStatusNone OperationStatus = "None"
// OperationStatusRestoring specifies the operation status restoring state for operation status.
OperationStatusRestoring OperationStatus = "Restoring"
// OperationStatusUpdating specifies the operation status updating state for operation status.
OperationStatusUpdating OperationStatus = "Updating"
)
// OwnerShipStatus enumerates the values for owner ship status.
type OwnerShipStatus string
const (
// NotOwned specifies the not owned state for owner ship status.
NotOwned OwnerShipStatus = "NotOwned"
// Owned specifies the owned state for owner ship status.
Owned OwnerShipStatus = "Owned"
)
// RecurrenceType enumerates the values for recurrence type.
type RecurrenceType string
const (
// Daily specifies the daily state for recurrence type.
Daily RecurrenceType = "Daily"
// Hourly specifies the hourly state for recurrence type.
Hourly RecurrenceType = "Hourly"
// Minutes specifies the minutes state for recurrence type.
Minutes RecurrenceType = "Minutes"
// Weekly specifies the weekly state for recurrence type.
Weekly RecurrenceType = "Weekly"
)
// RemoteManagementModeConfiguration enumerates the values for remote management mode configuration.
type RemoteManagementModeConfiguration string
const (
// RemoteManagementModeConfigurationDisabled specifies the remote management mode configuration disabled state for
// remote management mode configuration.
RemoteManagementModeConfigurationDisabled RemoteManagementModeConfiguration = "Disabled"
// RemoteManagementModeConfigurationHTTPSAndHTTPEnabled specifies the remote management mode configuration https and
// http enabled state for remote management mode configuration.
RemoteManagementModeConfigurationHTTPSAndHTTPEnabled RemoteManagementModeConfiguration = "HttpsAndHttpEnabled"
// RemoteManagementModeConfigurationHTTPSEnabled specifies the remote management mode configuration https enabled state
// for remote management mode configuration.
RemoteManagementModeConfigurationHTTPSEnabled RemoteManagementModeConfiguration = "HttpsEnabled"
// RemoteManagementModeConfigurationUnknown specifies the remote management mode configuration unknown state for remote
// management mode configuration.
RemoteManagementModeConfigurationUnknown RemoteManagementModeConfiguration = "Unknown"
)
// ScheduledBackupStatus enumerates the values for scheduled backup status.
type ScheduledBackupStatus string
const (
// ScheduledBackupStatusDisabled specifies the scheduled backup status disabled state for scheduled backup status.
ScheduledBackupStatusDisabled ScheduledBackupStatus = "Disabled"
// ScheduledBackupStatusEnabled specifies the scheduled backup status enabled state for scheduled backup status.
ScheduledBackupStatusEnabled ScheduledBackupStatus = "Enabled"
)
// ScheduleStatus enumerates the values for schedule status.
type ScheduleStatus string
const (
// ScheduleStatusDisabled specifies the schedule status disabled state for schedule status.
ScheduleStatusDisabled ScheduleStatus = "Disabled"
// ScheduleStatusEnabled specifies the schedule status enabled state for schedule status.
ScheduleStatusEnabled ScheduleStatus = "Enabled"
)
// SslStatus enumerates the values for ssl status.
type SslStatus string
const (
// SslStatusDisabled specifies the ssl status disabled state for ssl status.
SslStatusDisabled SslStatus = "Disabled"
// SslStatusEnabled specifies the ssl status enabled state for ssl status.
SslStatusEnabled SslStatus = "Enabled"
)
// TargetEligibilityResultCode enumerates the values for target eligibility result code.
type TargetEligibilityResultCode string
const (
// LocalToTieredVolumesConversionWarning specifies the local to tiered volumes conversion warning state for target
// eligibility result code.
LocalToTieredVolumesConversionWarning TargetEligibilityResultCode = "LocalToTieredVolumesConversionWarning"
// TargetAndSourceCannotBeSameError specifies the target and source cannot be same error state for target eligibility
// result code.
TargetAndSourceCannotBeSameError TargetEligibilityResultCode = "TargetAndSourceCannotBeSameError"
// TargetInsufficientCapacityError specifies the target insufficient capacity error state for target eligibility result
// code.
TargetInsufficientCapacityError TargetEligibilityResultCode = "TargetInsufficientCapacityError"
// TargetInsufficientLocalVolumeMemoryError specifies the target insufficient local volume memory error state for
// target eligibility result code.
TargetInsufficientLocalVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientLocalVolumeMemoryError"
// TargetInsufficientTieredVolumeMemoryError specifies the target insufficient tiered volume memory error state for
// target eligibility result code.
TargetInsufficientTieredVolumeMemoryError TargetEligibilityResultCode = "TargetInsufficientTieredVolumeMemoryError"
// TargetIsNotOnlineError specifies the target is not online error state for target eligibility result code.
TargetIsNotOnlineError TargetEligibilityResultCode = "TargetIsNotOnlineError"
// TargetSourceIncompatibleVersionError specifies the target source incompatible version error state for target
// eligibility result code.
TargetSourceIncompatibleVersionError TargetEligibilityResultCode = "TargetSourceIncompatibleVersionError"
)
// TargetEligibilityStatus enumerates the values for target eligibility status.
type TargetEligibilityStatus string
const (
// TargetEligibilityStatusEligible specifies the target eligibility status eligible state for target eligibility
// status.
TargetEligibilityStatusEligible TargetEligibilityStatus = "Eligible"
// TargetEligibilityStatusNotEligible specifies the target eligibility status not eligible state for target eligibility
// status.
TargetEligibilityStatusNotEligible TargetEligibilityStatus = "NotEligible"
)
// VirtualMachineAPIType enumerates the values for virtual machine api type.
type VirtualMachineAPIType string
const (
// Arm specifies the arm state for virtual machine api type.
Arm VirtualMachineAPIType = "Arm"
// Classic specifies the classic state for virtual machine api type.
Classic VirtualMachineAPIType = "Classic"
)
// VolumeStatus enumerates the values for volume status.
type VolumeStatus string
const (
// VolumeStatusOffline specifies the volume status offline state for volume status.
VolumeStatusOffline VolumeStatus = "Offline"
// VolumeStatusOnline specifies the volume status online state for volume status.
VolumeStatusOnline VolumeStatus = "Online"
)
// VolumeType enumerates the values for volume type.
type VolumeType string
const (
// Archival specifies the archival state for volume type.
Archival VolumeType = "Archival"
// LocallyPinned specifies the locally pinned state for volume type.
LocallyPinned VolumeType = "LocallyPinned"
// Tiered specifies the tiered state for volume type.
Tiered VolumeType = "Tiered"
)
// AccessControlRecord is the access control record.
type AccessControlRecord struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*AccessControlRecordProperties `json:"properties,omitempty"`
}
// AccessControlRecordList is the collection of access control records.
type AccessControlRecordList struct {
autorest.Response `json:"-"`
Value *[]AccessControlRecord `json:"value,omitempty"`
}
// AccessControlRecordProperties is the properties of access control record.
type AccessControlRecordProperties struct {
InitiatorName *string `json:"initiatorName,omitempty"`
VolumeCount *int32 `json:"volumeCount,omitempty"`
}
// AcsConfiguration is the ACS configuration.
type AcsConfiguration struct {
Namespace *string `json:"namespace,omitempty"`
Realm *string `json:"realm,omitempty"`
ServiceURL *string `json:"serviceUrl,omitempty"`
}
// Alert is the alert.
type Alert struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*AlertProperties `json:"properties,omitempty"`
}
// AlertErrorDetails is the details of the error for which the alert was raised
type AlertErrorDetails struct {
ErrorCode *string `json:"errorCode,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
Occurences *int32 `json:"occurences,omitempty"`
}
// AlertFilter is the OData filters to be used for Alert
type AlertFilter struct {
Status AlertStatus `json:"status,omitempty"`
Severity AlertSeverity `json:"severity,omitempty"`
SourceType AlertSourceType `json:"sourceType,omitempty"`
SourceName *string `json:"sourceName,omitempty"`
AppearedOnTime *date.Time `json:"appearedOnTime,omitempty"`
}
// AlertList is the collection of alerts.
type AlertList struct {
autorest.Response `json:"-"`
Value *[]Alert `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// AlertListPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client AlertList) AlertListPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// AlertNotificationProperties is the properties of the alert notification settings.
type AlertNotificationProperties struct {
EmailNotification AlertEmailNotificationStatus `json:"emailNotification,omitempty"`
AlertNotificationCulture *string `json:"alertNotificationCulture,omitempty"`
NotificationToServiceOwners AlertEmailNotificationStatus `json:"notificationToServiceOwners,omitempty"`
AdditionalRecipientEmailList *[]string `json:"additionalRecipientEmailList,omitempty"`
}
// AlertProperties is the properties of alert
type AlertProperties struct {
Title *string `json:"title,omitempty"`
Scope AlertScope `json:"scope,omitempty"`
AlertType *string `json:"alertType,omitempty"`
AppearedAtTime *date.Time `json:"appearedAtTime,omitempty"`
AppearedAtSourceTime *date.Time `json:"appearedAtSourceTime,omitempty"`
ClearedAtTime *date.Time `json:"clearedAtTime,omitempty"`
ClearedAtSourceTime *date.Time `json:"clearedAtSourceTime,omitempty"`
Source *AlertSource `json:"source,omitempty"`
Recommendation *string `json:"recommendation,omitempty"`
ResolutionReason *string `json:"resolutionReason,omitempty"`
Severity AlertSeverity `json:"severity,omitempty"`
Status AlertStatus `json:"status,omitempty"`
ErrorDetails *AlertErrorDetails `json:"errorDetails,omitempty"`
DetailedInformation *map[string]*string `json:"detailedInformation,omitempty"`
}
// AlertSettings is the alert settings.
type AlertSettings struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*AlertNotificationProperties `json:"properties,omitempty"`
}
// AlertSource is the source details at which the alert was raised
type AlertSource struct {
Name *string `json:"name,omitempty"`
TimeZone *string `json:"timeZone,omitempty"`
AlertSourceType AlertSourceType `json:"alertSourceType,omitempty"`
}
// AsymmetricEncryptedSecret is represent the secrets intended for encryption with asymmetric key pair.
type AsymmetricEncryptedSecret struct {
Value *string `json:"value,omitempty"`
EncryptionCertThumbprint *string `json:"encryptionCertThumbprint,omitempty"`
EncryptionAlgorithm EncryptionAlgorithm `json:"encryptionAlgorithm,omitempty"`
}
// AvailableProviderOperation is represents available provider operation.
type AvailableProviderOperation struct {
Name *string `json:"name,omitempty"`
Display *AvailableProviderOperationDisplay `json:"display,omitempty"`
Origin *string `json:"origin,omitempty"`
Properties *map[string]interface{} `json:"properties,omitempty"`
}
// AvailableProviderOperationDisplay is contains the localized display information for this particular
// operation/action. These value will be used by several clients for (a) custom role definitions for RBAC, (b) complex
// query filters for the event service and (c) audit history/records for management operations.
type AvailableProviderOperationDisplay struct {
Provider *string `json:"provider,omitempty"`
Resource *string `json:"resource,omitempty"`
Operation *string `json:"operation,omitempty"`
Description *string `json:"description,omitempty"`
}
// AvailableProviderOperationList is list of available provider operations.
type AvailableProviderOperationList struct {
autorest.Response `json:"-"`
Value *[]AvailableProviderOperation `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// AvailableProviderOperationListPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client AvailableProviderOperationList) AvailableProviderOperationListPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// Backup is the backup.
type Backup struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*BackupProperties `json:"properties,omitempty"`
}
// BackupElement is the backup element.
type BackupElement struct {
ElementID *string `json:"elementId,omitempty"`
ElementName *string `json:"elementName,omitempty"`
ElementType *string `json:"elementType,omitempty"`
SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
VolumeName *string `json:"volumeName,omitempty"`
VolumeContainerID *string `json:"volumeContainerId,omitempty"`
VolumeType VolumeType `json:"volumeType,omitempty"`
}
// BackupFilter is the OData filters to be used for backups.
type BackupFilter struct {
BackupPolicyID *string `json:"backupPolicyId,omitempty"`
VolumeID *string `json:"volumeId,omitempty"`
CreatedTime *date.Time `json:"createdTime,omitempty"`
}
// BackupList is the collection of backups.
type BackupList struct {
autorest.Response `json:"-"`
Value *[]Backup `json:"value,omitempty"`
NextLink *string `json:"nextLink,omitempty"`
}
// BackupListPreparer prepares a request to retrieve the next set of results. It returns
// nil if no more results exist.
func (client BackupList) BackupListPreparer() (*http.Request, error) {
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
return nil, nil
}
return autorest.Prepare(&http.Request{},
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(client.NextLink)))
}
// BackupPolicy is the backup policy.
type BackupPolicy struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*BackupPolicyProperties `json:"properties,omitempty"`
}
// BackupPolicyList is the collection of backup policies.
type BackupPolicyList struct {
autorest.Response `json:"-"`
Value *[]BackupPolicy `json:"value,omitempty"`
}
// BackupPolicyProperties is the properties of the backup policy.
type BackupPolicyProperties struct {
VolumeIds *[]string `json:"volumeIds,omitempty"`
NextBackupTime *date.Time `json:"nextBackupTime,omitempty"`
LastBackupTime *date.Time `json:"lastBackupTime,omitempty"`
SchedulesCount *int64 `json:"schedulesCount,omitempty"`
ScheduledBackupStatus ScheduledBackupStatus `json:"scheduledBackupStatus,omitempty"`
BackupPolicyCreationType BackupPolicyCreationType `json:"backupPolicyCreationType,omitempty"`
SsmHostName *string `json:"ssmHostName,omitempty"`
}
// BackupProperties is the properties of the backup.
type BackupProperties struct {
CreatedOn *date.Time `json:"createdOn,omitempty"`
SizeInBytes *int64 `json:"sizeInBytes,omitempty"`
BackupType BackupType `json:"backupType,omitempty"`
BackupJobCreationType BackupJobCreationType `json:"backupJobCreationType,omitempty"`
BackupPolicyID *string `json:"backupPolicyId,omitempty"`
SsmHostName *string `json:"ssmHostName,omitempty"`
Elements *[]BackupElement `json:"elements,omitempty"`
}
// BackupSchedule is the backup schedule.
type BackupSchedule struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*BackupScheduleProperties `json:"properties,omitempty"`
}
// BackupScheduleList is the backup schedule list.
type BackupScheduleList struct {
autorest.Response `json:"-"`
Value *[]BackupSchedule `json:"value,omitempty"`
}
// BackupScheduleProperties is the properties of the backup schedule.
type BackupScheduleProperties struct {
ScheduleRecurrence *ScheduleRecurrence `json:"scheduleRecurrence,omitempty"`
BackupType BackupType `json:"backupType,omitempty"`
RetentionCount *int64 `json:"retentionCount,omitempty"`
StartTime *date.Time `json:"startTime,omitempty"`
ScheduleStatus ScheduleStatus `json:"scheduleStatus,omitempty"`
LastSuccessfulRun *date.Time `json:"lastSuccessfulRun,omitempty"`
}
// BandwidthRateSettingProperties is the properties of the bandwidth setting.
type BandwidthRateSettingProperties struct {
Schedules *[]BandwidthSchedule `json:"schedules,omitempty"`
VolumeCount *int32 `json:"volumeCount,omitempty"`
}
// BandwidthSchedule is the schedule for bandwidth setting.
type BandwidthSchedule struct {
Start *Time `json:"start,omitempty"`
Stop *Time `json:"stop,omitempty"`
RateInMbps *int32 `json:"rateInMbps,omitempty"`
Days *[]DayOfWeek `json:"days,omitempty"`
}
// BandwidthSetting is the bandwidth setting.
type BandwidthSetting struct {
autorest.Response `json:"-"`
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
*BandwidthRateSettingProperties `json:"properties,omitempty"`
}
// BandwidthSettingList is the collection of bandwidth setting entities.
type BandwidthSettingList struct {
autorest.Response `json:"-"`
Value *[]BandwidthSetting `json:"value,omitempty"`
}
// BaseModel is represents the base class for all other ARM object models
type BaseModel struct {
ID *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Kind Kind `json:"kind,omitempty"`
}
// ChapSettings is the Challenge-Handshake Authentication Protocol (CHAP) settings.
type ChapSettings struct {
InitiatorUser *string `json:"initiatorUser,omitempty"`
InitiatorSecret *AsymmetricEncryptedSecret `json:"initiatorSecret,omitempty"`
TargetUser *string `json:"targetUser,omitempty"`
TargetSecret *AsymmetricEncryptedSecret `json:"targetSecret,omitempty"`
}
// ClearAlertRequest is the request for clearing the alert
type ClearAlertRequest struct {
ResolutionMessage *string `json:"resolutionMessage,omitempty"`
Alerts *[]string `json:"alerts,omitempty"`
}
// CloneRequest is the clone job request.
type CloneRequest struct {
TargetDeviceID *string `json:"targetDeviceId,omitempty"`
TargetVolumeName *string `json:"targetVolumeName,omitempty"`
TargetAccessControlRecordIds *[]string `json:"targetAccessControlRecordIds,omitempty"`
BackupElement *BackupElement `json:"backupElement,omitempty"`
}
// CloudAppliance is the cloud appliance.