-
Notifications
You must be signed in to change notification settings - Fork 815
/
models.go
9819 lines (9061 loc) · 347 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 sql
// 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 (
"context"
"encoding/json"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/Azure/go-autorest/autorest/date"
"github.com/Azure/go-autorest/autorest/to"
"github.com/Azure/go-autorest/tracing"
"github.com/satori/go.uuid"
"net/http"
)
// The package's fully qualified name.
const fqdn = "github.com/Azure/azure-sdk-for-go/services/preview/sql/mgmt/2015-05-01-preview/sql"
// AuthenticationType enumerates the values for authentication type.
type AuthenticationType string
const (
// ADPassword ...
ADPassword AuthenticationType = "ADPassword"
// SQL ...
SQL AuthenticationType = "SQL"
)
// PossibleAuthenticationTypeValues returns an array of possible values for the AuthenticationType const type.
func PossibleAuthenticationTypeValues() []AuthenticationType {
return []AuthenticationType{ADPassword, SQL}
}
// BackupLongTermRetentionPolicyState enumerates the values for backup long term retention policy state.
type BackupLongTermRetentionPolicyState string
const (
// Disabled ...
Disabled BackupLongTermRetentionPolicyState = "Disabled"
// Enabled ...
Enabled BackupLongTermRetentionPolicyState = "Enabled"
)
// PossibleBackupLongTermRetentionPolicyStateValues returns an array of possible values for the BackupLongTermRetentionPolicyState const type.
func PossibleBackupLongTermRetentionPolicyStateValues() []BackupLongTermRetentionPolicyState {
return []BackupLongTermRetentionPolicyState{Disabled, Enabled}
}
// BlobAuditingPolicyState enumerates the values for blob auditing policy state.
type BlobAuditingPolicyState string
const (
// BlobAuditingPolicyStateDisabled ...
BlobAuditingPolicyStateDisabled BlobAuditingPolicyState = "Disabled"
// BlobAuditingPolicyStateEnabled ...
BlobAuditingPolicyStateEnabled BlobAuditingPolicyState = "Enabled"
)
// PossibleBlobAuditingPolicyStateValues returns an array of possible values for the BlobAuditingPolicyState const type.
func PossibleBlobAuditingPolicyStateValues() []BlobAuditingPolicyState {
return []BlobAuditingPolicyState{BlobAuditingPolicyStateDisabled, BlobAuditingPolicyStateEnabled}
}
// CapabilityStatus enumerates the values for capability status.
type CapabilityStatus string
const (
// CapabilityStatusAvailable ...
CapabilityStatusAvailable CapabilityStatus = "Available"
// CapabilityStatusDefault ...
CapabilityStatusDefault CapabilityStatus = "Default"
// CapabilityStatusDisabled ...
CapabilityStatusDisabled CapabilityStatus = "Disabled"
// CapabilityStatusVisible ...
CapabilityStatusVisible CapabilityStatus = "Visible"
)
// PossibleCapabilityStatusValues returns an array of possible values for the CapabilityStatus const type.
func PossibleCapabilityStatusValues() []CapabilityStatus {
return []CapabilityStatus{CapabilityStatusAvailable, CapabilityStatusDefault, CapabilityStatusDisabled, CapabilityStatusVisible}
}
// CheckNameAvailabilityReason enumerates the values for check name availability reason.
type CheckNameAvailabilityReason string
const (
// AlreadyExists ...
AlreadyExists CheckNameAvailabilityReason = "AlreadyExists"
// Invalid ...
Invalid CheckNameAvailabilityReason = "Invalid"
)
// PossibleCheckNameAvailabilityReasonValues returns an array of possible values for the CheckNameAvailabilityReason const type.
func PossibleCheckNameAvailabilityReasonValues() []CheckNameAvailabilityReason {
return []CheckNameAvailabilityReason{AlreadyExists, Invalid}
}
// CreateMode enumerates the values for create mode.
type CreateMode string
const (
// Copy ...
Copy CreateMode = "Copy"
// Default ...
Default CreateMode = "Default"
// NonReadableSecondary ...
NonReadableSecondary CreateMode = "NonReadableSecondary"
// OnlineSecondary ...
OnlineSecondary CreateMode = "OnlineSecondary"
// PointInTimeRestore ...
PointInTimeRestore CreateMode = "PointInTimeRestore"
// Recovery ...
Recovery CreateMode = "Recovery"
// Restore ...
Restore CreateMode = "Restore"
// RestoreLongTermRetentionBackup ...
RestoreLongTermRetentionBackup CreateMode = "RestoreLongTermRetentionBackup"
)
// PossibleCreateModeValues returns an array of possible values for the CreateMode const type.
func PossibleCreateModeValues() []CreateMode {
return []CreateMode{Copy, Default, NonReadableSecondary, OnlineSecondary, PointInTimeRestore, Recovery, Restore, RestoreLongTermRetentionBackup}
}
// DatabaseEdition enumerates the values for database edition.
type DatabaseEdition string
const (
// Basic ...
Basic DatabaseEdition = "Basic"
// Business ...
Business DatabaseEdition = "Business"
// DataWarehouse ...
DataWarehouse DatabaseEdition = "DataWarehouse"
// Free ...
Free DatabaseEdition = "Free"
// Premium ...
Premium DatabaseEdition = "Premium"
// PremiumRS ...
PremiumRS DatabaseEdition = "PremiumRS"
// Standard ...
Standard DatabaseEdition = "Standard"
// Stretch ...
Stretch DatabaseEdition = "Stretch"
// System ...
System DatabaseEdition = "System"
// System2 ...
System2 DatabaseEdition = "System2"
// Web ...
Web DatabaseEdition = "Web"
)
// PossibleDatabaseEditionValues returns an array of possible values for the DatabaseEdition const type.
func PossibleDatabaseEditionValues() []DatabaseEdition {
return []DatabaseEdition{Basic, Business, DataWarehouse, Free, Premium, PremiumRS, Standard, Stretch, System, System2, Web}
}
// DataMaskingFunction enumerates the values for data masking function.
type DataMaskingFunction string
const (
// DataMaskingFunctionCCN ...
DataMaskingFunctionCCN DataMaskingFunction = "CCN"
// DataMaskingFunctionDefault ...
DataMaskingFunctionDefault DataMaskingFunction = "Default"
// DataMaskingFunctionEmail ...
DataMaskingFunctionEmail DataMaskingFunction = "Email"
// DataMaskingFunctionNumber ...
DataMaskingFunctionNumber DataMaskingFunction = "Number"
// DataMaskingFunctionSSN ...
DataMaskingFunctionSSN DataMaskingFunction = "SSN"
// DataMaskingFunctionText ...
DataMaskingFunctionText DataMaskingFunction = "Text"
)
// PossibleDataMaskingFunctionValues returns an array of possible values for the DataMaskingFunction const type.
func PossibleDataMaskingFunctionValues() []DataMaskingFunction {
return []DataMaskingFunction{DataMaskingFunctionCCN, DataMaskingFunctionDefault, DataMaskingFunctionEmail, DataMaskingFunctionNumber, DataMaskingFunctionSSN, DataMaskingFunctionText}
}
// DataMaskingRuleState enumerates the values for data masking rule state.
type DataMaskingRuleState string
const (
// DataMaskingRuleStateDisabled ...
DataMaskingRuleStateDisabled DataMaskingRuleState = "Disabled"
// DataMaskingRuleStateEnabled ...
DataMaskingRuleStateEnabled DataMaskingRuleState = "Enabled"
)
// PossibleDataMaskingRuleStateValues returns an array of possible values for the DataMaskingRuleState const type.
func PossibleDataMaskingRuleStateValues() []DataMaskingRuleState {
return []DataMaskingRuleState{DataMaskingRuleStateDisabled, DataMaskingRuleStateEnabled}
}
// DataMaskingState enumerates the values for data masking state.
type DataMaskingState string
const (
// DataMaskingStateDisabled ...
DataMaskingStateDisabled DataMaskingState = "Disabled"
// DataMaskingStateEnabled ...
DataMaskingStateEnabled DataMaskingState = "Enabled"
)
// PossibleDataMaskingStateValues returns an array of possible values for the DataMaskingState const type.
func PossibleDataMaskingStateValues() []DataMaskingState {
return []DataMaskingState{DataMaskingStateDisabled, DataMaskingStateEnabled}
}
// ElasticPoolEdition enumerates the values for elastic pool edition.
type ElasticPoolEdition string
const (
// ElasticPoolEditionBasic ...
ElasticPoolEditionBasic ElasticPoolEdition = "Basic"
// ElasticPoolEditionPremium ...
ElasticPoolEditionPremium ElasticPoolEdition = "Premium"
// ElasticPoolEditionStandard ...
ElasticPoolEditionStandard ElasticPoolEdition = "Standard"
)
// PossibleElasticPoolEditionValues returns an array of possible values for the ElasticPoolEdition const type.
func PossibleElasticPoolEditionValues() []ElasticPoolEdition {
return []ElasticPoolEdition{ElasticPoolEditionBasic, ElasticPoolEditionPremium, ElasticPoolEditionStandard}
}
// ElasticPoolState enumerates the values for elastic pool state.
type ElasticPoolState string
const (
// ElasticPoolStateCreating ...
ElasticPoolStateCreating ElasticPoolState = "Creating"
// ElasticPoolStateDisabled ...
ElasticPoolStateDisabled ElasticPoolState = "Disabled"
// ElasticPoolStateReady ...
ElasticPoolStateReady ElasticPoolState = "Ready"
)
// PossibleElasticPoolStateValues returns an array of possible values for the ElasticPoolState const type.
func PossibleElasticPoolStateValues() []ElasticPoolState {
return []ElasticPoolState{ElasticPoolStateCreating, ElasticPoolStateDisabled, ElasticPoolStateReady}
}
// FailoverGroupReplicationRole enumerates the values for failover group replication role.
type FailoverGroupReplicationRole string
const (
// Primary ...
Primary FailoverGroupReplicationRole = "Primary"
// Secondary ...
Secondary FailoverGroupReplicationRole = "Secondary"
)
// PossibleFailoverGroupReplicationRoleValues returns an array of possible values for the FailoverGroupReplicationRole const type.
func PossibleFailoverGroupReplicationRoleValues() []FailoverGroupReplicationRole {
return []FailoverGroupReplicationRole{Primary, Secondary}
}
// GeoBackupPolicyState enumerates the values for geo backup policy state.
type GeoBackupPolicyState string
const (
// GeoBackupPolicyStateDisabled ...
GeoBackupPolicyStateDisabled GeoBackupPolicyState = "Disabled"
// GeoBackupPolicyStateEnabled ...
GeoBackupPolicyStateEnabled GeoBackupPolicyState = "Enabled"
)
// PossibleGeoBackupPolicyStateValues returns an array of possible values for the GeoBackupPolicyState const type.
func PossibleGeoBackupPolicyStateValues() []GeoBackupPolicyState {
return []GeoBackupPolicyState{GeoBackupPolicyStateDisabled, GeoBackupPolicyStateEnabled}
}
// IdentityType enumerates the values for identity type.
type IdentityType string
const (
// SystemAssigned ...
SystemAssigned IdentityType = "SystemAssigned"
)
// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.
func PossibleIdentityTypeValues() []IdentityType {
return []IdentityType{SystemAssigned}
}
// MaxSizeUnits enumerates the values for max size units.
type MaxSizeUnits string
const (
// Gigabytes ...
Gigabytes MaxSizeUnits = "Gigabytes"
// Megabytes ...
Megabytes MaxSizeUnits = "Megabytes"
// Petabytes ...
Petabytes MaxSizeUnits = "Petabytes"
// Terabytes ...
Terabytes MaxSizeUnits = "Terabytes"
)
// PossibleMaxSizeUnitsValues returns an array of possible values for the MaxSizeUnits const type.
func PossibleMaxSizeUnitsValues() []MaxSizeUnits {
return []MaxSizeUnits{Gigabytes, Megabytes, Petabytes, Terabytes}
}
// OperationOrigin enumerates the values for operation origin.
type OperationOrigin string
const (
// OperationOriginSystem ...
OperationOriginSystem OperationOrigin = "system"
// OperationOriginUser ...
OperationOriginUser OperationOrigin = "user"
)
// PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.
func PossibleOperationOriginValues() []OperationOrigin {
return []OperationOrigin{OperationOriginSystem, OperationOriginUser}
}
// PerformanceLevelUnit enumerates the values for performance level unit.
type PerformanceLevelUnit string
const (
// DTU ...
DTU PerformanceLevelUnit = "DTU"
)
// PossiblePerformanceLevelUnitValues returns an array of possible values for the PerformanceLevelUnit const type.
func PossiblePerformanceLevelUnitValues() []PerformanceLevelUnit {
return []PerformanceLevelUnit{DTU}
}
// PrimaryAggregationType enumerates the values for primary aggregation type.
type PrimaryAggregationType string
const (
// Average ...
Average PrimaryAggregationType = "Average"
// Count ...
Count PrimaryAggregationType = "Count"
// Maximum ...
Maximum PrimaryAggregationType = "Maximum"
// Minimum ...
Minimum PrimaryAggregationType = "Minimum"
// None ...
None PrimaryAggregationType = "None"
// Total ...
Total PrimaryAggregationType = "Total"
)
// PossiblePrimaryAggregationTypeValues returns an array of possible values for the PrimaryAggregationType const type.
func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
return []PrimaryAggregationType{Average, Count, Maximum, Minimum, None, Total}
}
// ReadOnlyEndpointFailoverPolicy enumerates the values for read only endpoint failover policy.
type ReadOnlyEndpointFailoverPolicy string
const (
// ReadOnlyEndpointFailoverPolicyDisabled ...
ReadOnlyEndpointFailoverPolicyDisabled ReadOnlyEndpointFailoverPolicy = "Disabled"
// ReadOnlyEndpointFailoverPolicyEnabled ...
ReadOnlyEndpointFailoverPolicyEnabled ReadOnlyEndpointFailoverPolicy = "Enabled"
)
// PossibleReadOnlyEndpointFailoverPolicyValues returns an array of possible values for the ReadOnlyEndpointFailoverPolicy const type.
func PossibleReadOnlyEndpointFailoverPolicyValues() []ReadOnlyEndpointFailoverPolicy {
return []ReadOnlyEndpointFailoverPolicy{ReadOnlyEndpointFailoverPolicyDisabled, ReadOnlyEndpointFailoverPolicyEnabled}
}
// ReadScale enumerates the values for read scale.
type ReadScale string
const (
// ReadScaleDisabled ...
ReadScaleDisabled ReadScale = "Disabled"
// ReadScaleEnabled ...
ReadScaleEnabled ReadScale = "Enabled"
)
// PossibleReadScaleValues returns an array of possible values for the ReadScale const type.
func PossibleReadScaleValues() []ReadScale {
return []ReadScale{ReadScaleDisabled, ReadScaleEnabled}
}
// ReadWriteEndpointFailoverPolicy enumerates the values for read write endpoint failover policy.
type ReadWriteEndpointFailoverPolicy string
const (
// Automatic ...
Automatic ReadWriteEndpointFailoverPolicy = "Automatic"
// Manual ...
Manual ReadWriteEndpointFailoverPolicy = "Manual"
)
// PossibleReadWriteEndpointFailoverPolicyValues returns an array of possible values for the ReadWriteEndpointFailoverPolicy const type.
func PossibleReadWriteEndpointFailoverPolicyValues() []ReadWriteEndpointFailoverPolicy {
return []ReadWriteEndpointFailoverPolicy{Automatic, Manual}
}
// RecommendedIndexAction enumerates the values for recommended index action.
type RecommendedIndexAction string
const (
// Create ...
Create RecommendedIndexAction = "Create"
// Drop ...
Drop RecommendedIndexAction = "Drop"
// Rebuild ...
Rebuild RecommendedIndexAction = "Rebuild"
)
// PossibleRecommendedIndexActionValues returns an array of possible values for the RecommendedIndexAction const type.
func PossibleRecommendedIndexActionValues() []RecommendedIndexAction {
return []RecommendedIndexAction{Create, Drop, Rebuild}
}
// RecommendedIndexState enumerates the values for recommended index state.
type RecommendedIndexState string
const (
// Active ...
Active RecommendedIndexState = "Active"
// Blocked ...
Blocked RecommendedIndexState = "Blocked"
// Executing ...
Executing RecommendedIndexState = "Executing"
// Expired ...
Expired RecommendedIndexState = "Expired"
// Ignored ...
Ignored RecommendedIndexState = "Ignored"
// Pending ...
Pending RecommendedIndexState = "Pending"
// PendingRevert ...
PendingRevert RecommendedIndexState = "Pending Revert"
// Reverted ...
Reverted RecommendedIndexState = "Reverted"
// Reverting ...
Reverting RecommendedIndexState = "Reverting"
// Success ...
Success RecommendedIndexState = "Success"
// Verifying ...
Verifying RecommendedIndexState = "Verifying"
)
// PossibleRecommendedIndexStateValues returns an array of possible values for the RecommendedIndexState const type.
func PossibleRecommendedIndexStateValues() []RecommendedIndexState {
return []RecommendedIndexState{Active, Blocked, Executing, Expired, Ignored, Pending, PendingRevert, Reverted, Reverting, Success, Verifying}
}
// RecommendedIndexType enumerates the values for recommended index type.
type RecommendedIndexType string
const (
// CLUSTERED ...
CLUSTERED RecommendedIndexType = "CLUSTERED"
// CLUSTEREDCOLUMNSTORE ...
CLUSTEREDCOLUMNSTORE RecommendedIndexType = "CLUSTERED COLUMNSTORE"
// COLUMNSTORE ...
COLUMNSTORE RecommendedIndexType = "COLUMNSTORE"
// NONCLUSTERED ...
NONCLUSTERED RecommendedIndexType = "NONCLUSTERED"
)
// PossibleRecommendedIndexTypeValues returns an array of possible values for the RecommendedIndexType const type.
func PossibleRecommendedIndexTypeValues() []RecommendedIndexType {
return []RecommendedIndexType{CLUSTERED, CLUSTEREDCOLUMNSTORE, COLUMNSTORE, NONCLUSTERED}
}
// ReplicationRole enumerates the values for replication role.
type ReplicationRole string
const (
// ReplicationRoleCopy ...
ReplicationRoleCopy ReplicationRole = "Copy"
// ReplicationRoleNonReadableSecondary ...
ReplicationRoleNonReadableSecondary ReplicationRole = "NonReadableSecondary"
// ReplicationRolePrimary ...
ReplicationRolePrimary ReplicationRole = "Primary"
// ReplicationRoleSecondary ...
ReplicationRoleSecondary ReplicationRole = "Secondary"
// ReplicationRoleSource ...
ReplicationRoleSource ReplicationRole = "Source"
)
// PossibleReplicationRoleValues returns an array of possible values for the ReplicationRole const type.
func PossibleReplicationRoleValues() []ReplicationRole {
return []ReplicationRole{ReplicationRoleCopy, ReplicationRoleNonReadableSecondary, ReplicationRolePrimary, ReplicationRoleSecondary, ReplicationRoleSource}
}
// ReplicationState enumerates the values for replication state.
type ReplicationState string
const (
// CATCHUP ...
CATCHUP ReplicationState = "CATCH_UP"
// PENDING ...
PENDING ReplicationState = "PENDING"
// SEEDING ...
SEEDING ReplicationState = "SEEDING"
// SUSPENDED ...
SUSPENDED ReplicationState = "SUSPENDED"
)
// PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type.
func PossibleReplicationStateValues() []ReplicationState {
return []ReplicationState{CATCHUP, PENDING, SEEDING, SUSPENDED}
}
// RestorePointType enumerates the values for restore point type.
type RestorePointType string
const (
// CONTINUOUS ...
CONTINUOUS RestorePointType = "CONTINUOUS"
// DISCRETE ...
DISCRETE RestorePointType = "DISCRETE"
)
// PossibleRestorePointTypeValues returns an array of possible values for the RestorePointType const type.
func PossibleRestorePointTypeValues() []RestorePointType {
return []RestorePointType{CONTINUOUS, DISCRETE}
}
// SampleName enumerates the values for sample name.
type SampleName string
const (
// AdventureWorksLT ...
AdventureWorksLT SampleName = "AdventureWorksLT"
)
// PossibleSampleNameValues returns an array of possible values for the SampleName const type.
func PossibleSampleNameValues() []SampleName {
return []SampleName{AdventureWorksLT}
}
// SecurityAlertPolicyEmailAccountAdmins enumerates the values for security alert policy email account admins.
type SecurityAlertPolicyEmailAccountAdmins string
const (
// SecurityAlertPolicyEmailAccountAdminsDisabled ...
SecurityAlertPolicyEmailAccountAdminsDisabled SecurityAlertPolicyEmailAccountAdmins = "Disabled"
// SecurityAlertPolicyEmailAccountAdminsEnabled ...
SecurityAlertPolicyEmailAccountAdminsEnabled SecurityAlertPolicyEmailAccountAdmins = "Enabled"
)
// PossibleSecurityAlertPolicyEmailAccountAdminsValues returns an array of possible values for the SecurityAlertPolicyEmailAccountAdmins const type.
func PossibleSecurityAlertPolicyEmailAccountAdminsValues() []SecurityAlertPolicyEmailAccountAdmins {
return []SecurityAlertPolicyEmailAccountAdmins{SecurityAlertPolicyEmailAccountAdminsDisabled, SecurityAlertPolicyEmailAccountAdminsEnabled}
}
// SecurityAlertPolicyState enumerates the values for security alert policy state.
type SecurityAlertPolicyState string
const (
// SecurityAlertPolicyStateDisabled ...
SecurityAlertPolicyStateDisabled SecurityAlertPolicyState = "Disabled"
// SecurityAlertPolicyStateEnabled ...
SecurityAlertPolicyStateEnabled SecurityAlertPolicyState = "Enabled"
// SecurityAlertPolicyStateNew ...
SecurityAlertPolicyStateNew SecurityAlertPolicyState = "New"
)
// PossibleSecurityAlertPolicyStateValues returns an array of possible values for the SecurityAlertPolicyState const type.
func PossibleSecurityAlertPolicyStateValues() []SecurityAlertPolicyState {
return []SecurityAlertPolicyState{SecurityAlertPolicyStateDisabled, SecurityAlertPolicyStateEnabled, SecurityAlertPolicyStateNew}
}
// SecurityAlertPolicyUseServerDefault enumerates the values for security alert policy use server default.
type SecurityAlertPolicyUseServerDefault string
const (
// SecurityAlertPolicyUseServerDefaultDisabled ...
SecurityAlertPolicyUseServerDefaultDisabled SecurityAlertPolicyUseServerDefault = "Disabled"
// SecurityAlertPolicyUseServerDefaultEnabled ...
SecurityAlertPolicyUseServerDefaultEnabled SecurityAlertPolicyUseServerDefault = "Enabled"
)
// PossibleSecurityAlertPolicyUseServerDefaultValues returns an array of possible values for the SecurityAlertPolicyUseServerDefault const type.
func PossibleSecurityAlertPolicyUseServerDefaultValues() []SecurityAlertPolicyUseServerDefault {
return []SecurityAlertPolicyUseServerDefault{SecurityAlertPolicyUseServerDefaultDisabled, SecurityAlertPolicyUseServerDefaultEnabled}
}
// ServerConnectionType enumerates the values for server connection type.
type ServerConnectionType string
const (
// ServerConnectionTypeDefault ...
ServerConnectionTypeDefault ServerConnectionType = "Default"
// ServerConnectionTypeProxy ...
ServerConnectionTypeProxy ServerConnectionType = "Proxy"
// ServerConnectionTypeRedirect ...
ServerConnectionTypeRedirect ServerConnectionType = "Redirect"
)
// PossibleServerConnectionTypeValues returns an array of possible values for the ServerConnectionType const type.
func PossibleServerConnectionTypeValues() []ServerConnectionType {
return []ServerConnectionType{ServerConnectionTypeDefault, ServerConnectionTypeProxy, ServerConnectionTypeRedirect}
}
// ServerKeyType enumerates the values for server key type.
type ServerKeyType string
const (
// AzureKeyVault ...
AzureKeyVault ServerKeyType = "AzureKeyVault"
// ServiceManaged ...
ServiceManaged ServerKeyType = "ServiceManaged"
)
// PossibleServerKeyTypeValues returns an array of possible values for the ServerKeyType const type.
func PossibleServerKeyTypeValues() []ServerKeyType {
return []ServerKeyType{AzureKeyVault, ServiceManaged}
}
// ServiceObjectiveName enumerates the values for service objective name.
type ServiceObjectiveName string
const (
// ServiceObjectiveNameBasic ...
ServiceObjectiveNameBasic ServiceObjectiveName = "Basic"
// ServiceObjectiveNameDS100 ...
ServiceObjectiveNameDS100 ServiceObjectiveName = "DS100"
// ServiceObjectiveNameDS1000 ...
ServiceObjectiveNameDS1000 ServiceObjectiveName = "DS1000"
// ServiceObjectiveNameDS1200 ...
ServiceObjectiveNameDS1200 ServiceObjectiveName = "DS1200"
// ServiceObjectiveNameDS1500 ...
ServiceObjectiveNameDS1500 ServiceObjectiveName = "DS1500"
// ServiceObjectiveNameDS200 ...
ServiceObjectiveNameDS200 ServiceObjectiveName = "DS200"
// ServiceObjectiveNameDS2000 ...
ServiceObjectiveNameDS2000 ServiceObjectiveName = "DS2000"
// ServiceObjectiveNameDS300 ...
ServiceObjectiveNameDS300 ServiceObjectiveName = "DS300"
// ServiceObjectiveNameDS400 ...
ServiceObjectiveNameDS400 ServiceObjectiveName = "DS400"
// ServiceObjectiveNameDS500 ...
ServiceObjectiveNameDS500 ServiceObjectiveName = "DS500"
// ServiceObjectiveNameDS600 ...
ServiceObjectiveNameDS600 ServiceObjectiveName = "DS600"
// ServiceObjectiveNameDW100 ...
ServiceObjectiveNameDW100 ServiceObjectiveName = "DW100"
// ServiceObjectiveNameDW1000 ...
ServiceObjectiveNameDW1000 ServiceObjectiveName = "DW1000"
// ServiceObjectiveNameDW10000c ...
ServiceObjectiveNameDW10000c ServiceObjectiveName = "DW10000c"
// ServiceObjectiveNameDW1000c ...
ServiceObjectiveNameDW1000c ServiceObjectiveName = "DW1000c"
// ServiceObjectiveNameDW1200 ...
ServiceObjectiveNameDW1200 ServiceObjectiveName = "DW1200"
// ServiceObjectiveNameDW1500 ...
ServiceObjectiveNameDW1500 ServiceObjectiveName = "DW1500"
// ServiceObjectiveNameDW15000c ...
ServiceObjectiveNameDW15000c ServiceObjectiveName = "DW15000c"
// ServiceObjectiveNameDW1500c ...
ServiceObjectiveNameDW1500c ServiceObjectiveName = "DW1500c"
// ServiceObjectiveNameDW200 ...
ServiceObjectiveNameDW200 ServiceObjectiveName = "DW200"
// ServiceObjectiveNameDW2000 ...
ServiceObjectiveNameDW2000 ServiceObjectiveName = "DW2000"
// ServiceObjectiveNameDW2000c ...
ServiceObjectiveNameDW2000c ServiceObjectiveName = "DW2000c"
// ServiceObjectiveNameDW2500c ...
ServiceObjectiveNameDW2500c ServiceObjectiveName = "DW2500c"
// ServiceObjectiveNameDW300 ...
ServiceObjectiveNameDW300 ServiceObjectiveName = "DW300"
// ServiceObjectiveNameDW3000 ...
ServiceObjectiveNameDW3000 ServiceObjectiveName = "DW3000"
// ServiceObjectiveNameDW30000c ...
ServiceObjectiveNameDW30000c ServiceObjectiveName = "DW30000c"
// ServiceObjectiveNameDW3000c ...
ServiceObjectiveNameDW3000c ServiceObjectiveName = "DW3000c"
// ServiceObjectiveNameDW400 ...
ServiceObjectiveNameDW400 ServiceObjectiveName = "DW400"
// ServiceObjectiveNameDW500 ...
ServiceObjectiveNameDW500 ServiceObjectiveName = "DW500"
// ServiceObjectiveNameDW5000c ...
ServiceObjectiveNameDW5000c ServiceObjectiveName = "DW5000c"
// ServiceObjectiveNameDW600 ...
ServiceObjectiveNameDW600 ServiceObjectiveName = "DW600"
// ServiceObjectiveNameDW6000 ...
ServiceObjectiveNameDW6000 ServiceObjectiveName = "DW6000"
// ServiceObjectiveNameDW6000c ...
ServiceObjectiveNameDW6000c ServiceObjectiveName = "DW6000c"
// ServiceObjectiveNameDW7500c ...
ServiceObjectiveNameDW7500c ServiceObjectiveName = "DW7500c"
// ServiceObjectiveNameElasticPool ...
ServiceObjectiveNameElasticPool ServiceObjectiveName = "ElasticPool"
// ServiceObjectiveNameFree ...
ServiceObjectiveNameFree ServiceObjectiveName = "Free"
// ServiceObjectiveNameP1 ...
ServiceObjectiveNameP1 ServiceObjectiveName = "P1"
// ServiceObjectiveNameP11 ...
ServiceObjectiveNameP11 ServiceObjectiveName = "P11"
// ServiceObjectiveNameP15 ...
ServiceObjectiveNameP15 ServiceObjectiveName = "P15"
// ServiceObjectiveNameP2 ...
ServiceObjectiveNameP2 ServiceObjectiveName = "P2"
// ServiceObjectiveNameP3 ...
ServiceObjectiveNameP3 ServiceObjectiveName = "P3"
// ServiceObjectiveNameP4 ...
ServiceObjectiveNameP4 ServiceObjectiveName = "P4"
// ServiceObjectiveNameP6 ...
ServiceObjectiveNameP6 ServiceObjectiveName = "P6"
// ServiceObjectiveNamePRS1 ...
ServiceObjectiveNamePRS1 ServiceObjectiveName = "PRS1"
// ServiceObjectiveNamePRS2 ...
ServiceObjectiveNamePRS2 ServiceObjectiveName = "PRS2"
// ServiceObjectiveNamePRS4 ...
ServiceObjectiveNamePRS4 ServiceObjectiveName = "PRS4"
// ServiceObjectiveNamePRS6 ...
ServiceObjectiveNamePRS6 ServiceObjectiveName = "PRS6"
// ServiceObjectiveNameS0 ...
ServiceObjectiveNameS0 ServiceObjectiveName = "S0"
// ServiceObjectiveNameS1 ...
ServiceObjectiveNameS1 ServiceObjectiveName = "S1"
// ServiceObjectiveNameS12 ...
ServiceObjectiveNameS12 ServiceObjectiveName = "S12"
// ServiceObjectiveNameS2 ...
ServiceObjectiveNameS2 ServiceObjectiveName = "S2"
// ServiceObjectiveNameS3 ...
ServiceObjectiveNameS3 ServiceObjectiveName = "S3"
// ServiceObjectiveNameS4 ...
ServiceObjectiveNameS4 ServiceObjectiveName = "S4"
// ServiceObjectiveNameS6 ...
ServiceObjectiveNameS6 ServiceObjectiveName = "S6"
// ServiceObjectiveNameS7 ...
ServiceObjectiveNameS7 ServiceObjectiveName = "S7"
// ServiceObjectiveNameS9 ...
ServiceObjectiveNameS9 ServiceObjectiveName = "S9"
// ServiceObjectiveNameSystem ...
ServiceObjectiveNameSystem ServiceObjectiveName = "System"
// ServiceObjectiveNameSystem0 ...
ServiceObjectiveNameSystem0 ServiceObjectiveName = "System0"
// ServiceObjectiveNameSystem1 ...
ServiceObjectiveNameSystem1 ServiceObjectiveName = "System1"
// ServiceObjectiveNameSystem2 ...
ServiceObjectiveNameSystem2 ServiceObjectiveName = "System2"
// ServiceObjectiveNameSystem2L ...
ServiceObjectiveNameSystem2L ServiceObjectiveName = "System2L"
// ServiceObjectiveNameSystem3 ...
ServiceObjectiveNameSystem3 ServiceObjectiveName = "System3"
// ServiceObjectiveNameSystem3L ...
ServiceObjectiveNameSystem3L ServiceObjectiveName = "System3L"
// ServiceObjectiveNameSystem4 ...
ServiceObjectiveNameSystem4 ServiceObjectiveName = "System4"
// ServiceObjectiveNameSystem4L ...
ServiceObjectiveNameSystem4L ServiceObjectiveName = "System4L"
)
// PossibleServiceObjectiveNameValues returns an array of possible values for the ServiceObjectiveName const type.
func PossibleServiceObjectiveNameValues() []ServiceObjectiveName {
return []ServiceObjectiveName{ServiceObjectiveNameBasic, ServiceObjectiveNameDS100, ServiceObjectiveNameDS1000, ServiceObjectiveNameDS1200, ServiceObjectiveNameDS1500, ServiceObjectiveNameDS200, ServiceObjectiveNameDS2000, ServiceObjectiveNameDS300, ServiceObjectiveNameDS400, ServiceObjectiveNameDS500, ServiceObjectiveNameDS600, ServiceObjectiveNameDW100, ServiceObjectiveNameDW1000, ServiceObjectiveNameDW10000c, ServiceObjectiveNameDW1000c, ServiceObjectiveNameDW1200, ServiceObjectiveNameDW1500, ServiceObjectiveNameDW15000c, ServiceObjectiveNameDW1500c, ServiceObjectiveNameDW200, ServiceObjectiveNameDW2000, ServiceObjectiveNameDW2000c, ServiceObjectiveNameDW2500c, ServiceObjectiveNameDW300, ServiceObjectiveNameDW3000, ServiceObjectiveNameDW30000c, ServiceObjectiveNameDW3000c, ServiceObjectiveNameDW400, ServiceObjectiveNameDW500, ServiceObjectiveNameDW5000c, ServiceObjectiveNameDW600, ServiceObjectiveNameDW6000, ServiceObjectiveNameDW6000c, ServiceObjectiveNameDW7500c, ServiceObjectiveNameElasticPool, ServiceObjectiveNameFree, ServiceObjectiveNameP1, ServiceObjectiveNameP11, ServiceObjectiveNameP15, ServiceObjectiveNameP2, ServiceObjectiveNameP3, ServiceObjectiveNameP4, ServiceObjectiveNameP6, ServiceObjectiveNamePRS1, ServiceObjectiveNamePRS2, ServiceObjectiveNamePRS4, ServiceObjectiveNamePRS6, ServiceObjectiveNameS0, ServiceObjectiveNameS1, ServiceObjectiveNameS12, ServiceObjectiveNameS2, ServiceObjectiveNameS3, ServiceObjectiveNameS4, ServiceObjectiveNameS6, ServiceObjectiveNameS7, ServiceObjectiveNameS9, ServiceObjectiveNameSystem, ServiceObjectiveNameSystem0, ServiceObjectiveNameSystem1, ServiceObjectiveNameSystem2, ServiceObjectiveNameSystem2L, ServiceObjectiveNameSystem3, ServiceObjectiveNameSystem3L, ServiceObjectiveNameSystem4, ServiceObjectiveNameSystem4L}
}
// StorageKeyType enumerates the values for storage key type.
type StorageKeyType string
const (
// SharedAccessKey ...
SharedAccessKey StorageKeyType = "SharedAccessKey"
// StorageAccessKey ...
StorageAccessKey StorageKeyType = "StorageAccessKey"
)
// PossibleStorageKeyTypeValues returns an array of possible values for the StorageKeyType const type.
func PossibleStorageKeyTypeValues() []StorageKeyType {
return []StorageKeyType{SharedAccessKey, StorageAccessKey}
}
// SyncAgentState enumerates the values for sync agent state.
type SyncAgentState string
const (
// NeverConnected ...
NeverConnected SyncAgentState = "NeverConnected"
// Offline ...
Offline SyncAgentState = "Offline"
// Online ...
Online SyncAgentState = "Online"
)
// PossibleSyncAgentStateValues returns an array of possible values for the SyncAgentState const type.
func PossibleSyncAgentStateValues() []SyncAgentState {
return []SyncAgentState{NeverConnected, Offline, Online}
}
// SyncConflictResolutionPolicy enumerates the values for sync conflict resolution policy.
type SyncConflictResolutionPolicy string
const (
// HubWin ...
HubWin SyncConflictResolutionPolicy = "HubWin"
// MemberWin ...
MemberWin SyncConflictResolutionPolicy = "MemberWin"
)
// PossibleSyncConflictResolutionPolicyValues returns an array of possible values for the SyncConflictResolutionPolicy const type.
func PossibleSyncConflictResolutionPolicyValues() []SyncConflictResolutionPolicy {
return []SyncConflictResolutionPolicy{HubWin, MemberWin}
}
// SyncDirection enumerates the values for sync direction.
type SyncDirection string
const (
// Bidirectional ...
Bidirectional SyncDirection = "Bidirectional"
// OneWayHubToMember ...
OneWayHubToMember SyncDirection = "OneWayHubToMember"
// OneWayMemberToHub ...
OneWayMemberToHub SyncDirection = "OneWayMemberToHub"
)
// PossibleSyncDirectionValues returns an array of possible values for the SyncDirection const type.
func PossibleSyncDirectionValues() []SyncDirection {
return []SyncDirection{Bidirectional, OneWayHubToMember, OneWayMemberToHub}
}
// SyncGroupLogType enumerates the values for sync group log type.
type SyncGroupLogType string
const (
// SyncGroupLogTypeAll ...
SyncGroupLogTypeAll SyncGroupLogType = "All"
// SyncGroupLogTypeError ...
SyncGroupLogTypeError SyncGroupLogType = "Error"
// SyncGroupLogTypeSuccess ...
SyncGroupLogTypeSuccess SyncGroupLogType = "Success"
// SyncGroupLogTypeWarning ...
SyncGroupLogTypeWarning SyncGroupLogType = "Warning"
)
// PossibleSyncGroupLogTypeValues returns an array of possible values for the SyncGroupLogType const type.
func PossibleSyncGroupLogTypeValues() []SyncGroupLogType {
return []SyncGroupLogType{SyncGroupLogTypeAll, SyncGroupLogTypeError, SyncGroupLogTypeSuccess, SyncGroupLogTypeWarning}
}
// SyncGroupState enumerates the values for sync group state.
type SyncGroupState string
const (
// Error ...
Error SyncGroupState = "Error"
// Good ...
Good SyncGroupState = "Good"
// NotReady ...
NotReady SyncGroupState = "NotReady"
// Progressing ...
Progressing SyncGroupState = "Progressing"
// Warning ...
Warning SyncGroupState = "Warning"
)
// PossibleSyncGroupStateValues returns an array of possible values for the SyncGroupState const type.
func PossibleSyncGroupStateValues() []SyncGroupState {
return []SyncGroupState{Error, Good, NotReady, Progressing, Warning}
}
// SyncMemberDbType enumerates the values for sync member db type.
type SyncMemberDbType string
const (
// AzureSQLDatabase ...
AzureSQLDatabase SyncMemberDbType = "AzureSqlDatabase"
// SQLServerDatabase ...
SQLServerDatabase SyncMemberDbType = "SqlServerDatabase"
)
// PossibleSyncMemberDbTypeValues returns an array of possible values for the SyncMemberDbType const type.
func PossibleSyncMemberDbTypeValues() []SyncMemberDbType {
return []SyncMemberDbType{AzureSQLDatabase, SQLServerDatabase}
}
// SyncMemberState enumerates the values for sync member state.
type SyncMemberState string
const (
// DeProvisioned ...
DeProvisioned SyncMemberState = "DeProvisioned"
// DeProvisionFailed ...
DeProvisionFailed SyncMemberState = "DeProvisionFailed"
// DeProvisioning ...
DeProvisioning SyncMemberState = "DeProvisioning"
// DisabledBackupRestore ...
DisabledBackupRestore SyncMemberState = "DisabledBackupRestore"
// DisabledTombstoneCleanup ...
DisabledTombstoneCleanup SyncMemberState = "DisabledTombstoneCleanup"
// Provisioned ...
Provisioned SyncMemberState = "Provisioned"
// ProvisionFailed ...
ProvisionFailed SyncMemberState = "ProvisionFailed"
// Provisioning ...
Provisioning SyncMemberState = "Provisioning"
// ReprovisionFailed ...
ReprovisionFailed SyncMemberState = "ReprovisionFailed"
// Reprovisioning ...
Reprovisioning SyncMemberState = "Reprovisioning"
// SyncCancelled ...
SyncCancelled SyncMemberState = "SyncCancelled"
// SyncCancelling ...
SyncCancelling SyncMemberState = "SyncCancelling"
// SyncFailed ...
SyncFailed SyncMemberState = "SyncFailed"
// SyncInProgress ...
SyncInProgress SyncMemberState = "SyncInProgress"
// SyncSucceeded ...
SyncSucceeded SyncMemberState = "SyncSucceeded"
// SyncSucceededWithWarnings ...
SyncSucceededWithWarnings SyncMemberState = "SyncSucceededWithWarnings"
// UnProvisioned ...
UnProvisioned SyncMemberState = "UnProvisioned"
// UnReprovisioned ...
UnReprovisioned SyncMemberState = "UnReprovisioned"
)
// PossibleSyncMemberStateValues returns an array of possible values for the SyncMemberState const type.
func PossibleSyncMemberStateValues() []SyncMemberState {
return []SyncMemberState{DeProvisioned, DeProvisionFailed, DeProvisioning, DisabledBackupRestore, DisabledTombstoneCleanup, Provisioned, ProvisionFailed, Provisioning, ReprovisionFailed, Reprovisioning, SyncCancelled, SyncCancelling, SyncFailed, SyncInProgress, SyncSucceeded, SyncSucceededWithWarnings, UnProvisioned, UnReprovisioned}
}
// TransparentDataEncryptionActivityStatus enumerates the values for transparent data encryption activity
// status.
type TransparentDataEncryptionActivityStatus string
const (
// Decrypting ...
Decrypting TransparentDataEncryptionActivityStatus = "Decrypting"
// Encrypting ...
Encrypting TransparentDataEncryptionActivityStatus = "Encrypting"
)
// PossibleTransparentDataEncryptionActivityStatusValues returns an array of possible values for the TransparentDataEncryptionActivityStatus const type.
func PossibleTransparentDataEncryptionActivityStatusValues() []TransparentDataEncryptionActivityStatus {
return []TransparentDataEncryptionActivityStatus{Decrypting, Encrypting}
}
// TransparentDataEncryptionStatus enumerates the values for transparent data encryption status.
type TransparentDataEncryptionStatus string
const (
// TransparentDataEncryptionStatusDisabled ...
TransparentDataEncryptionStatusDisabled TransparentDataEncryptionStatus = "Disabled"
// TransparentDataEncryptionStatusEnabled ...
TransparentDataEncryptionStatusEnabled TransparentDataEncryptionStatus = "Enabled"
)
// PossibleTransparentDataEncryptionStatusValues returns an array of possible values for the TransparentDataEncryptionStatus const type.
func PossibleTransparentDataEncryptionStatusValues() []TransparentDataEncryptionStatus {
return []TransparentDataEncryptionStatus{TransparentDataEncryptionStatusDisabled, TransparentDataEncryptionStatusEnabled}
}
// UnitDefinitionType enumerates the values for unit definition type.
type UnitDefinitionType string
const (
// UnitDefinitionTypeBytes ...
UnitDefinitionTypeBytes UnitDefinitionType = "Bytes"
// UnitDefinitionTypeBytesPerSecond ...
UnitDefinitionTypeBytesPerSecond UnitDefinitionType = "BytesPerSecond"
// UnitDefinitionTypeCount ...
UnitDefinitionTypeCount UnitDefinitionType = "Count"
// UnitDefinitionTypeCountPerSecond ...
UnitDefinitionTypeCountPerSecond UnitDefinitionType = "CountPerSecond"
// UnitDefinitionTypePercent ...
UnitDefinitionTypePercent UnitDefinitionType = "Percent"
// UnitDefinitionTypeSeconds ...
UnitDefinitionTypeSeconds UnitDefinitionType = "Seconds"
)
// PossibleUnitDefinitionTypeValues returns an array of possible values for the UnitDefinitionType const type.
func PossibleUnitDefinitionTypeValues() []UnitDefinitionType {
return []UnitDefinitionType{UnitDefinitionTypeBytes, UnitDefinitionTypeBytesPerSecond, UnitDefinitionTypeCount, UnitDefinitionTypeCountPerSecond, UnitDefinitionTypePercent, UnitDefinitionTypeSeconds}
}
// UnitType enumerates the values for unit type.
type UnitType string
const (
// UnitTypeBytes ...